public final class JapanesePartOfSpeechStopFilter extends FilteringTokenFilter
AttributeSource.AttributeFactory, AttributeSource.State
input
Constructor and Description |
---|
JapanesePartOfSpeechStopFilter(boolean enablePositionIncrements,
TokenStream input,
Set<String> stopTags) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept()
Override this method and return if the current input token should be returned by
FilteringTokenFilter.incrementToken() . |
getEnablePositionIncrements, incrementToken, reset, setEnablePositionIncrements
close, end
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public JapanesePartOfSpeechStopFilter(boolean enablePositionIncrements, TokenStream input, Set<String> stopTags)
protected boolean accept() throws IOException
FilteringTokenFilter
FilteringTokenFilter.incrementToken()
.accept
in class FilteringTokenFilter
IOException