org.apache.lucene.analysis.br
public final class BrazilianAnalyzer extends Analyzer
| Field Summary | |
|---|---|
| static String[] | BRAZILIAN_STOP_WORDS
List of typical Brazilian stopwords. |
| Constructor Summary | |
|---|---|
| BrazilianAnalyzer()
Builds an analyzer with the default stop words (BRAZILIAN_STOP_WORDS). | |
| BrazilianAnalyzer(String[] stopwords)
Builds an analyzer with the given stop words. | |
| BrazilianAnalyzer(Hashtable stopwords)
Builds an analyzer with the given stop words. | |
| BrazilianAnalyzer(File stopwords)
Builds an analyzer with the given stop words. | |
| Method Summary | |
|---|---|
| void | setStemExclusionTable(String[] exclusionlist)
Builds an exclusionlist from an array of Strings. |
| void | setStemExclusionTable(Hashtable exclusionlist)
Builds an exclusionlist from a Hashtable. |
| void | setStemExclusionTable(File exclusionlist)
Builds an exclusionlist from the words contained in the given file. |
| TokenStream | tokenStream(String fieldName, Reader reader)
Creates a TokenStream which tokenizes all the text in the provided Reader.
|
Returns: A TokenStream build from a StandardTokenizer filtered with StandardFilter, StopFilter, GermanStemFilter and LowerCaseFilter.