public final class ElisionFilter extends TokenFilter
TokenStream. For example, "l'avion" (the plane) will be
 tokenized as "avion" (plane).AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORYDEFAULT_ATTRIBUTE_FACTORY| Constructor and Description | 
|---|
ElisionFilter(TokenStream input,
             CharArraySet articles)
Constructs an elision filter with a Set of stop words 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
incrementToken()
Increments the  
TokenStream with a CharTermAttribute without elisioned start | 
close, end, resetaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringpublic ElisionFilter(TokenStream input, CharArraySet articles)
input - the source TokenStreamarticles - a set of stopword articlespublic final boolean incrementToken()
                             throws IOException
TokenStream with a CharTermAttribute without elisioned startincrementToken in class TokenStreamIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.