public final class JapanesePartOfSpeechStopFilter extends FilteringTokenFilter
AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
JapanesePartOfSpeechStopFilter(TokenStream input,
java.util.Set<java.lang.String> stopTags)
Create a new
JapanesePartOfSpeechStopFilter. |
| 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(). |
end, incrementToken, resetcloseaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic JapanesePartOfSpeechStopFilter(TokenStream input, java.util.Set<java.lang.String> stopTags)
JapanesePartOfSpeechStopFilter.input - the TokenStream to consumestopTags - the part-of-speech tags that should be removedprotected boolean accept()
FilteringTokenFilterFilteringTokenFilter.incrementToken().accept in class FilteringTokenFilterCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.