Constructor and Description |
---|
JunkStemmer() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(String dictionary)
Initialize the stemmer with a dictionary
|
String |
stem(String token)
Take a single token in as a
String , stem the token, and return the stemmed
token as a String . |
public String stem(String token)
Stemmer
String
, stem the token, and return the stemmed
token as a String
.public void initialize(String dictionary)
Stemmer
initialize
in interface Stemmer
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.