public final class IndonesianStemFilter extends TokenFilter
TokenFilter
that applies IndonesianStemmer
to stem Indonesian words.AttributeSource.State
input
DEFAULT_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, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public 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 TokenStream
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.