@Deprecated public final class Lucene43JapanesePartOfSpeechStopFilter extends Lucene43FilteringTokenFilter
AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
Lucene43JapanesePartOfSpeechStopFilter(boolean enablePositionIncrements,
TokenStream input,
Set<String> stopTags)
Deprecated.
Create a new
JapanesePartOfSpeechStopFilter. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept()
Deprecated.
Override this method and return if the current input token should be returned by
Lucene43FilteringTokenFilter.incrementToken(). |
incrementToken, resetclose, endaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringpublic Lucene43JapanesePartOfSpeechStopFilter(boolean enablePositionIncrements,
TokenStream input,
Set<String> stopTags)
JapanesePartOfSpeechStopFilter.input - the TokenStream to consumestopTags - the part-of-speech tags that should be removedprotected boolean accept()
Lucene43FilteringTokenFilterLucene43FilteringTokenFilter.incrementToken().accept in class Lucene43FilteringTokenFilterCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.