public final class EnglishPossessiveFilter extends TokenFilter
You may specify the Version
compatibility when creating EnglishPossessiveFilter:
AttributeSource.State
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
DEFAULT_ATTRIBUTE_FACTORY
Constructor and Description |
---|
EnglishPossessiveFilter(TokenStream input)
Deprecated.
Use
EnglishPossessiveFilter(Version, TokenStream) instead. |
EnglishPossessiveFilter(Version version,
TokenStream input) |
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
close, end, reset
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
@Deprecated public EnglishPossessiveFilter(TokenStream input)
EnglishPossessiveFilter(Version, TokenStream)
instead.public EnglishPossessiveFilter(Version version, TokenStream input)
public boolean incrementToken() throws IOException
incrementToken
in class TokenStream
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.