Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » analysis » br » [javadoc | source]
org.apache.lucene.analysis.br
public final class: BrazilianAnalyzer [javadoc | source]
java.lang.Object
   org.apache.lucene.analysis.Analyzer
      org.apache.lucene.analysis.br.BrazilianAnalyzer
Analyzer for Brazilian language. Supports an external list of stopwords (words that will not be indexed at all) and an external list of exclusions (word that will not be stemmed, but indexed).
Field Summary
public static final  String[] BRAZILIAN_STOP_WORDS    List of typical Brazilian stopwords. 
Constructor:
 public BrazilianAnalyzer() 
 public BrazilianAnalyzer(String[] stopwords) 
    Builds an analyzer with the given stop words.
 public BrazilianAnalyzer(Hashtable stopwords) 
    Builds an analyzer with the given stop words.
 public BrazilianAnalyzer(File stopwords) throws IOException 
    Builds an analyzer with the given stop words.
Method from org.apache.lucene.analysis.br.BrazilianAnalyzer Summary:
setStemExclusionTable,   setStemExclusionTable,   setStemExclusionTable,   tokenStream
Methods from org.apache.lucene.analysis.Analyzer:
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.br.BrazilianAnalyzer Detail:
 public  void setStemExclusionTable(String[] exclusionlist) 
    Builds an exclusionlist from an array of Strings.
 public  void setStemExclusionTable(Hashtable exclusionlist) 
    Builds an exclusionlist from a Hashtable.
 public  void setStemExclusionTable(File exclusionlist) throws IOException 
    Builds an exclusionlist from the words contained in the given file.
 public final TokenStream tokenStream(String fieldName,
    Reader reader) 
    Creates a TokenStream which tokenizes all the text in the provided Reader.