public final class JapanesePartOfSpeechStopFilter extends FilteringTokenFilter
AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
JapanesePartOfSpeechStopFilter(TokenStream input,
Set<String> stopTags)
Create a new
JapanesePartOfSpeechStopFilter. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept() |
end, incrementToken, resetcloseaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic JapanesePartOfSpeechStopFilter(TokenStream input, Set<String> stopTags)
JapanesePartOfSpeechStopFilter.input - the TokenStream to consumestopTags - the part-of-speech tags that should be removedprotected boolean accept()
accept in class FilteringTokenFilterCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.