Class SnowballAnalyzerProvider

  • All Implemented Interfaces:
    Provider<SnowballAnalyzer>, AnalyzerProvider<SnowballAnalyzer>, IndexComponent

    public class SnowballAnalyzerProvider
    extends AbstractIndexAnalyzerProvider<SnowballAnalyzer>
    Creates a SnowballAnalyzer initialized with stopwords and Snowball filter. Only supports Dutch, English (default), French, German and German2 where stopwords are readily available. For other languages available with the Lucene Snowball Stemmer, use them directly with the SnowballFilter and a CustomAnalyzer. Configuration of language is done with the "language" attribute or the analyzer. Also supports additional stopwords via "stopwords" attribute

    The SnowballAnalyzer comes with a LowerCaseFilter, StopFilter and the SnowballFilter.