Fields inherited from class org.apache.lucene.analysis.TokenFilter
input
Constructor Summary
PhoneticFilter(org.apache.lucene.analysis.TokenStream in,
PhoneticEncoder phoneticEncoder)
Constructs a filter which encodes words from the input
TokenStream using the given phonetic encoder.
PhoneticFilter(org.apache.lucene.analysis.TokenStream in,
PhoneticEncoder[] phoneticEncoder)
Constructs a filter which encodes words from the input
TokenStream using the given phonetic encoder.
Method Summary
org.apache.lucene.analysis.Token
next()
Returns the next token in the stream, or null at EOF.
Methods inherited from class org.apache.lucene.analysis.TokenFilter
public PhoneticFilter(org.apache.lucene.analysis.TokenStream in,
PhoneticEncoder phoneticEncoder)
Constructs a filter which encodes words from the input
TokenStream using the given phonetic encoder.
If no encoder is given, i.e. if it is null,
no encoding takes place and the input TokenStream remains unchanged.
PhoneticFilter
public PhoneticFilter(org.apache.lucene.analysis.TokenStream in,
PhoneticEncoder[] phoneticEncoder)
Constructs a filter which encodes words from the input
TokenStream using the given phonetic encoder.
If no encoder is given, i.e. if it is null,
no encoding takes place and the input TokenStream remains unchanged.
Method Detail
next
public org.apache.lucene.analysis.Token next()
throws java.io.IOException
Returns the next token in the stream, or null at EOF.
Specified by:
next in class org.apache.lucene.analysis.TokenStream