Class SnowballStemmerAdapter

java.lang.Object
org.carrot2.language.SnowballStemmerAdapter
All Implemented Interfaces:
Stemmer

public final class SnowballStemmerAdapter extends Object implements Stemmer
An adapter converting Snowball programs into Stemmer interface.
  • Constructor Details

    • SnowballStemmerAdapter

      public SnowballStemmerAdapter(org.carrot2.language.snowball.SnowballProgram s)
  • Method Details

    • stem

      public CharSequence stem(CharSequence word)
      Description copied from interface: Stemmer
      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.
      Specified by:
      stem in interface Stemmer