com.jivesoftware.util.search
Class BrazilianStemmingAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
com.jivesoftware.util.search.BrazilianStemmingAnalyzer
- All Implemented Interfaces:
- JiveAnalyzer
public final class BrazilianStemmingAnalyzer
- extends org.apache.lucene.analysis.Analyzer
- implements JiveAnalyzer
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).
- Version:
- $Id: BrazilianStemmingAnalyzer.java,v 1.0 2001/02/13 21:29:04
Field Summary |
static java.lang.String[] |
STOP_WORDS
|
Methods inherited from class org.apache.lucene.analysis.Analyzer |
getPositionIncrementGap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STOP_WORDS
public static final java.lang.String[] STOP_WORDS
BrazilianStemmingAnalyzer
public BrazilianStemmingAnalyzer()
- Builds an analyzer.
BrazilianStemmingAnalyzer
public BrazilianStemmingAnalyzer(java.lang.String[] stopwords)
- Builds an analyzer with the given stop words.
tokenStream
public final org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
java.io.Reader reader)
- Specified by:
tokenStream
in class org.apache.lucene.analysis.Analyzer
setDisableSynonyms
public void setDisableSynonyms(boolean disabled)
- Specified by:
setDisableSynonyms
in interface JiveAnalyzer
isSynonymsDisabled
public boolean isSynonymsDisabled()
- Specified by:
isSynonymsDisabled
in interface JiveAnalyzer
setDisableStemming
public void setDisableStemming(boolean disabled)
- Specified by:
setDisableStemming
in interface JiveAnalyzer
isStemmingDisabled
public boolean isStemmingDisabled()
- Specified by:
isStemmingDisabled
in interface JiveAnalyzer
Copyright © 1999-2006 Jive Software.