Package org.carrot2.language
Interface Stemmer
- All Known Implementing Classes:
SnowballStemmerAdapter
public interface Stemmer
Simple lemmatization engine transforming an inflected form of a word to its base form or some
other unique token.
-
Method Summary
Modifier and Type Method Description CharSequence
stem(CharSequence word)
Returns the base form of the provided word ornull
if the base form cannot be determined.
-
Method Details
-
stem
Returns the base form of the provided word ornull
if the base form cannot be determined. In the latter case, the base form will be assumed to be the same as the original word.
-