public final class DoubleMetaphoneFilter extends TokenFilter
AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description | 
|---|
DoubleMetaphoneFilter(TokenStream input,
                     int maxCodeLength,
                     boolean inject)
Creates a DoubleMetaphoneFilter with the specified maximum code length, 
  and either adding encoded forms as synonyms ( 
inject=true) or
  replacing them. | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
incrementToken()  | 
void | 
reset()  | 
close, endaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic DoubleMetaphoneFilter(TokenStream input, int maxCodeLength, boolean inject)
inject=true) or
  replacing them.public boolean incrementToken()
                       throws IOException
incrementToken in class TokenStreamIOExceptionpublic void reset()
           throws IOException
reset in class TokenFilterIOExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.