Class SnowballFilter

    • Constructor Detail

      • SnowballFilter

        public SnowballFilter​(TokenStream input,
                              org.tartarus.snowball.SnowballStemmer stemmer)
      • SnowballFilter

        public SnowballFilter​(TokenStream in,
                              String name)
        Construct the named stemming filter.

        Available stemmers are listed in org.tartarus.snowball.ext. The name of a stemmer is the part of the class name before "Stemmer", e.g., the stemmer in EnglishStemmer is named "English".

        Parameters:
        in - the input tokens to stem
        name - the name of a stemmer