org.apache.uima.conceptMapper.support.stemmer
Class JunkStemmer

java.lang.Object
  extended by org.apache.uima.conceptMapper.support.stemmer.JunkStemmer
All Implemented Interfaces:
Stemmer

public class JunkStemmer
extends java.lang.Object
implements Stemmer


Constructor Summary
JunkStemmer()
           
 
Method Summary
 void initialize(java.lang.String dictionary)
          Initialize the stemmer with a dictionary
 java.lang.String stem(java.lang.String token)
          Take a single token in as a String, stem the token, and return the stemmed token as a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JunkStemmer

public JunkStemmer()
Method Detail

stem

public java.lang.String stem(java.lang.String token)
Description copied from interface: Stemmer
Take a single token in as a String, stem the token, and return the stemmed token as a String.

Specified by:
stem in interface Stemmer
Parameters:
token - the input token to stem
Returns:
the stemmed token

initialize

public void initialize(java.lang.String dictionary)
Description copied from interface: Stemmer
Initialize the stemmer with a dictionary

Specified by:
initialize in interface Stemmer


Copyright © 2011. All Rights Reserved.