public final class KoreanPartOfSpeechStopFilter extends FilteringTokenFilter
AttributeSource.State| Modifier and Type | Field and Description |
|---|---|
static Set<POS.Tag> |
DEFAULT_STOP_TAGS
Default list of tags to filter.
|
inputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
KoreanPartOfSpeechStopFilter(TokenStream input)
Create a new
KoreanPartOfSpeechStopFilter with the default
list of stop tags DEFAULT_STOP_TAGS. |
KoreanPartOfSpeechStopFilter(TokenStream input,
Set<POS.Tag> stopTags)
Create a new
KoreanPartOfSpeechStopFilter. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept() |
end, incrementToken, resetcloseaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic KoreanPartOfSpeechStopFilter(TokenStream input)
KoreanPartOfSpeechStopFilter with the default
list of stop tags DEFAULT_STOP_TAGS.input - the TokenStream to consumepublic KoreanPartOfSpeechStopFilter(TokenStream input, Set<POS.Tag> stopTags)
KoreanPartOfSpeechStopFilter.input - the TokenStream to consumestopTags - the part-of-speech tags that should be removedprotected boolean accept()
accept in class FilteringTokenFilterCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.