public final class DaitchMokotoffSoundexFilter extends TokenFilter
AttributeSource.State| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.codec.language.DaitchMokotoffSoundex |
encoder
phonetic encoder
|
protected boolean |
inject
true if encoded tokens should be added as synonyms
|
inputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| Constructor and Description |
|---|
DaitchMokotoffSoundexFilter(TokenStream in,
boolean inject)
Creates a DaitchMokotoffSoundexFilter by 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, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringprotected boolean inject
protected org.apache.commons.codec.language.DaitchMokotoffSoundex encoder
public DaitchMokotoffSoundexFilter(TokenStream in, 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-2016 Apache Software Foundation. All Rights Reserved.