public final class BrazilianStemFilter
extends org.apache.lucene.analysis.TokenFilter
TokenFilter that applies BrazilianStemmer.
To prevent terms from being stemmed use an instance of
KeywordMarkerFilter or a custom TokenFilter that sets
the KeywordAttribute before this TokenStream.
KeywordMarkerFilter| Constructor and Description |
|---|
BrazilianStemFilter(org.apache.lucene.analysis.TokenStream in)
Creates a new BrazilianStemFilter
|
BrazilianStemFilter(org.apache.lucene.analysis.TokenStream in,
Set<?> exclusiontable)
Deprecated.
use
KeywordAttribute with KeywordMarkerFilter instead. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
incrementToken() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringpublic BrazilianStemFilter(org.apache.lucene.analysis.TokenStream in)
in - the source TokenStream@Deprecated public BrazilianStemFilter(org.apache.lucene.analysis.TokenStream in, Set<?> exclusiontable)
KeywordAttribute with KeywordMarkerFilter instead.in - the source TokenStreamexclusiontable - a set of terms that should be prevented from being stemmed.public boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.