@Deprecated public final class SnowballAnalyzer extends org.apache.lucene.analysis.Analyzer
StandardTokenizer with StandardFilter, LowerCaseFilter, StopFilter and SnowballFilter.
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".| Constructor and Description |
|---|
SnowballAnalyzer(String name)
Deprecated.
Builds the named analyzer with no stop words.
|
SnowballAnalyzer(String name,
org.apache.lucene.analysis.util.CharArraySet stopWords)
Deprecated.
Builds the named analyzer with the given stop words.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents(String fieldName)
Deprecated.
Constructs a
StandardTokenizer filtered by a StandardFilter, a LowerCaseFilter, a StopFilter,
and a SnowballFilter |
public SnowballAnalyzer(String name)
public SnowballAnalyzer(String name, org.apache.lucene.analysis.util.CharArraySet stopWords)
public org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName)
StandardTokenizer filtered by a StandardFilter, a LowerCaseFilter, a StopFilter,
and a SnowballFiltercreateComponents in class org.apache.lucene.analysis.AnalyzerCopyright © 2009–2017. All rights reserved.