Closeable, AutoCloseablepublic final class JapanesePartOfSpeechStopFilter extends FilteringTokenFilter
AttributeSource.AttributeFactory, AttributeSource.Stateinput| Constructor | Description |
|---|---|
JapanesePartOfSpeechStopFilter(boolean enablePositionIncrements,
TokenStream input,
Set<String> stopTags) |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
accept() |
Override this method and return if the current input token should be returned by
FilteringTokenFilter.incrementToken(). |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringgetEnablePositionIncrements, incrementToken, reset, setEnablePositionIncrementsclone, finalize, getClass, notify, notifyAll, wait, wait, waitclose, endpublic JapanesePartOfSpeechStopFilter(boolean enablePositionIncrements,
TokenStream input,
Set<String> stopTags)
protected boolean accept()
throws IOException
FilteringTokenFilterFilteringTokenFilter.incrementToken().accept in class FilteringTokenFilterIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.