public class ClassicFilter extends TokenFilter
ClassicTokenizer.AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
ClassicFilter(TokenStream in)
Construct filtering in.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
incrementToken()
Returns the next token in the stream, or null at EOS.
|
close, end, resetaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic ClassicFilter(TokenStream in)
public final boolean incrementToken()
throws IOException
Removes 's from the end of words.
Removes dots from acronyms.
incrementToken in class TokenStreamIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.