Save This Page
Home » lucene-2.4.1-src » org.apache » lucene » analysis » snowball » [javadoc | source]
org.apache.lucene.analysis.snowball
public class: SnowballAnalyzer [javadoc | source]
java.lang.Object
   org.apache.lucene.analysis.Analyzer
      org.apache.lucene.analysis.snowball.SnowballAnalyzer
Filters StandardTokenizer with StandardFilter , LowerCaseFilter , StopFilter and SnowballFilter . Available stemmers are listed in net.sf.snowball.ext . The name of a stemmer is the part of the class name before "Stemmer", e.g., the stemmer in org.tartarus.snowball.ext.EnglishStemmer is named "English".
Constructor:
 public SnowballAnalyzer(String name) 
    Builds the named analyzer with no stop words.
 public SnowballAnalyzer(String name,
    String[] stopWords) 
    Builds the named analyzer with the given stop words.
Method from org.apache.lucene.analysis.snowball.SnowballAnalyzer Summary:
tokenStream
Methods from org.apache.lucene.analysis.Analyzer:
close,   getPositionIncrementGap,   getPreviousTokenStream,   reusableTokenStream,   setPreviousTokenStream,   tokenStream
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.analysis.snowball.SnowballAnalyzer Detail:
 public TokenStream tokenStream(String fieldName,
    Reader reader)