public final class JapaneseReadingFormFilter
extends org.apache.lucene.analysis.TokenFilter
TokenFilter
that replaces the term
attribute with the reading of a token in either katakana or romaji form.
The default reading form is katakana.Constructor and Description |
---|
JapaneseReadingFormFilter(org.apache.lucene.analysis.TokenStream input) |
JapaneseReadingFormFilter(org.apache.lucene.analysis.TokenStream input,
boolean useRomaji) |
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public JapaneseReadingFormFilter(org.apache.lucene.analysis.TokenStream input, boolean useRomaji)
public JapaneseReadingFormFilter(org.apache.lucene.analysis.TokenStream input)
public boolean incrementToken() throws IOException
incrementToken
in class org.apache.lucene.analysis.TokenStream
IOException