public final class JapanesePartOfSpeechStopFilter extends FilteringTokenFilter
AttributeSource.AttributeFactory, AttributeSource.State
version
input
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() |
getEnablePositionIncrements, incrementToken, reset, setEnablePositionIncrements
close, end
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState
@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-2013 Apache Software Foundation. All Rights Reserved.