Constructor and Description |
---|
JunkStemmer() |
Modifier and Type | Method and Description |
---|---|
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 . |
public java.lang.String stem(java.lang.String token)
Stemmer
String
, stem the token, and return the stemmed
token as a String
.public void initialize(java.lang.String dictionary)
Stemmer
initialize
in interface Stemmer
Copyright © 2013. All Rights Reserved.