public final class JapanesePartOfSpeechStopFilter extends FilteringTokenFilter
AttributeSource.State
version
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
DEFAULT_ATTRIBUTE_FACTORY
Constructor and Description |
---|
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)
Create a new
JapanesePartOfSpeechStopFilter . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept() |
end, getEnablePositionIncrements, incrementToken, reset, setEnablePositionIncrements
close
addAttribute, 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(Version version, TokenStream input, Set<String> stopTags)
JapanesePartOfSpeechStopFilter
.version
- the Lucene match versioninput
- the TokenStream
to consumestopTags
- the part-of-speech tags that should be removedprotected boolean accept()
accept
in class FilteringTokenFilter
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.