public final class JapanesePartOfSpeechStopFilter extends FilteringTokenFilter
AttributeSource.StateversioninputDEFAULT_TOKEN_ATTRIBUTE_FACTORYDEFAULT_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
JapanesePartOfSpeechStopFilter(TokenStream input,
Set<String> stopTags)
Create a new
JapanesePartOfSpeechStopFilter. |
JapanesePartOfSpeechStopFilter(Version version,
boolean enablePositionIncrements,
TokenStream input,
Set<String> stopTags)
Deprecated.
enablePositionIncrements=false is not supported anymore as of Lucene 4.4.
|
JapanesePartOfSpeechStopFilter(Version version,
TokenStream input,
Set<String> stopTags)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept() |
end, getEnablePositionIncrements, incrementToken, reset, setEnablePositionIncrementscloseaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString@Deprecated public JapanesePartOfSpeechStopFilter(Version version, boolean enablePositionIncrements, TokenStream input, Set<String> stopTags)
public JapanesePartOfSpeechStopFilter(TokenStream input, Set<String> stopTags)
JapanesePartOfSpeechStopFilter.input - the TokenStream to consumestopTags - the part-of-speech tags that should be removed@Deprecated public JapanesePartOfSpeechStopFilter(Version version, TokenStream input, Set<String> stopTags)
JapanesePartOfSpeechStopFilter(TokenStream,Set)protected boolean accept()
accept in class FilteringTokenFilterCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.