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 or null if the base form cannot be determined.
  • Method Details

    • stem

      CharSequence stem​(CharSequence word)
      Returns the base form of the provided word or null 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.