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
All Methods Instance Methods Abstract Methods 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 Detail
-
stem
CharSequence stem(CharSequence word)
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.
-
-