public abstract class Stemmer extends Object implements Serializable
Constructor and Description |
---|
Stemmer() |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(List<String> list)
Replaces each value in the list with the stemmed version of the word
|
void |
applyTo(String[] arr)
Replaces each value in the array with the stemmed version of the word
|
abstract String |
stem(String word)
Reduce the given input to its stem word
|
public abstract String stem(String word)
word
- the unstemmed input wordpublic void applyTo(List<String> list)
list
- the list to apply stemming topublic void applyTo(String[] arr)
arr
- the array to apply stemming toCopyright © 2017. All rights reserved.