public abstract class KeywordMarkerFilter extends TokenFilter
KeywordAttribute.KeywordAttributeAttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Modifier | Constructor and Description |
|---|---|
protected |
KeywordMarkerFilter(TokenStream in)
Creates a new
KeywordMarkerFilter |
| Modifier and Type | Method and Description |
|---|---|
boolean |
incrementToken() |
protected abstract boolean |
isKeyword() |
close, end, resetaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringprotected KeywordMarkerFilter(TokenStream in)
KeywordMarkerFilterin - the input streampublic final boolean incrementToken()
throws IOException
incrementToken in class TokenStreamIOExceptionprotected abstract boolean isKeyword()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.