Closeable, AutoCloseablepublic 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 | Description |
|---|---|
JapaneseReadingFormFilter(org.apache.lucene.analysis.TokenStream input) |
|
JapaneseReadingFormFilter(org.apache.lucene.analysis.TokenStream input,
boolean useRomaji) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
incrementToken() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringpublic 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.TokenStreamIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.