@Deprecated public final class Lucene43JapanesePartOfSpeechStopFilter extends Lucene43FilteringTokenFilter
AttributeSource.State
input
DEFAULT_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, reset
close, end
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public 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()
Lucene43FilteringTokenFilter
Lucene43FilteringTokenFilter.incrementToken()
.accept
in class Lucene43FilteringTokenFilter
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.