public final class IndonesianStemFilter extends TokenFilter
TokenFilter that applies IndonesianStemmer to stem Indonesian words.AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
IndonesianStemFilter(TokenStream input)
|
IndonesianStemFilter(TokenStream input,
boolean stemDerivational)
Create a new IndonesianStemFilter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
incrementToken() |
close, end, resetaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic IndonesianStemFilter(TokenStream input)
public IndonesianStemFilter(TokenStream input, boolean stemDerivational)
If stemDerivational is false,
only inflectional suffixes (particles and possessive pronouns) are stemmed.
public boolean incrementToken()
throws IOException
incrementToken in class TokenStreamIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.