public final class ICUTransliterateTokenFilter extends TokenFilter
Transliteratorクラスを
使用したトークンテキスト変換。カタカナ〜ひらがな変換やローマ字への変換が可能。IDには以下のものが使える:
AttributeSource.StateinputDEFAULT_TOKEN_ATTRIBUTE_FACTORY| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
ICUTransliterateTokenFilter(java.lang.String id,
TokenStream input) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
incrementToken() |
close, end, resetaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringprotected ICUTransliterateTokenFilter(java.lang.String id,
TokenStream input)
public final boolean incrementToken()
throws java.io.IOException
incrementToken クラス内 TokenStreamjava.io.IOExceptionCopyright © 2009-2018 RONDHUIT Co.,Ltd. All Rights Reserved.