org.apache.lucene.analysis.br.BrazilianAnalyzerpublic class Analyzer_br extends DefaultAnalyzer
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ANALYZER_TYPE
Deprecated.
|
static java.lang.String[] |
BRAZILIAN_STOP_WORDS
Deprecated.
List of typical brazilian stopwords.
|
ATTRIBUTE_EXCLUDE_STEMS, ATTRIBUTE_USE_STOP_WORDS, DEFAULT_STOP_WORDS, EXCLUDE_STEM_ELEMENT, EXCLUDE_STEMS_ELEMENT, excludeTable, stopTablelogger| Constructor and Description |
|---|
Analyzer_br(java.io.File stopwords)
Deprecated.
Builds an analyzer with the given stop words.
|
Analyzer_br(java.util.Set stopwords)
Deprecated.
Builds an analyzer with the given stop words.
|
Analyzer_br(java.lang.String[] stopwords)
Deprecated.
Builds an analyzer with the given stop words.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getAnalyzerType()
Deprecated.
|
void |
setStemExclusionTable(java.io.File exclusionlist)
Deprecated.
Builds an exclusionlist from the words contained in the given file.
|
void |
setStemExclusionTable(java.util.Set exclusionlist)
Deprecated.
Builds an exclusionlist from a Hashtable.
|
void |
setStemExclusionTable(java.lang.String[] exclusionlist)
Deprecated.
Builds an exclusionlist from an array of Strings.
|
org.apache.lucene.analysis.TokenStream |
tokenStream(java.lang.String fieldName,
java.io.Reader reader)
Deprecated.
Creates a TokenStream which tokenizes all the text in the provided Reader.
|
buildExcludeTable, buildStopTable, configure, getDefaultStopWords, tokenStreamenableLogging, toSAXprotected static final java.lang.String ANALYZER_TYPE
public static final java.lang.String[] BRAZILIAN_STOP_WORDS
public Analyzer_br(java.lang.String[] stopwords)
stopwords - public Analyzer_br(java.util.Set stopwords)
stopwords - public Analyzer_br(java.io.File stopwords)
throws java.io.IOException
stopwords - java.io.IOExceptionpublic void setStemExclusionTable(java.lang.String[] exclusionlist)
exclusionlist - public void setStemExclusionTable(java.util.Set exclusionlist)
exclusionlist - public void setStemExclusionTable(java.io.File exclusionlist)
throws java.io.IOException
exclusionlist - java.io.IOExceptionpublic final org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
java.io.Reader reader)
tokenStream in interface AnalyzertokenStream in class DefaultAnalyzerprotected java.lang.String getAnalyzerType()
getAnalyzerType in class DefaultAnalyzerfr.gouv.culture.sdx.search.lucene.analysis.AbstractAnalyzer#getAnalyserType()Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.