public class JaSuggestFilter extends TokenFilter
AttributeSource.State
input
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
修飾子 | コンストラクタと説明 |
---|---|
protected |
JaSuggestFilter(TokenStream input,
boolean concatKanjiToken,
boolean matchExactKanji) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected boolean |
decideConcat(java.lang.StringBuilder token,
int offsetStart,
int offsetEnd,
java.lang.StringBuilder nextToken,
int nextStart,
int nextEnd) |
protected void |
flushToken() |
protected java.lang.StringBuilder |
getReading(CharTermAttribute termAtt,
ReadingAttribute readingAtt) |
boolean |
incrementToken() |
protected boolean |
isKanjiIncluded(char[] str) |
void |
reset() |
protected java.lang.String |
toRomaji(java.lang.String str) |
close, end
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
protected JaSuggestFilter(TokenStream input, boolean concatKanjiToken, boolean matchExactKanji)
public final boolean incrementToken() throws java.io.IOException
incrementToken
クラス内 TokenStream
java.io.IOException
protected void flushToken()
protected java.lang.StringBuilder getReading(CharTermAttribute termAtt, ReadingAttribute readingAtt)
protected java.lang.String toRomaji(java.lang.String str)
protected boolean decideConcat(java.lang.StringBuilder token, int offsetStart, int offsetEnd, java.lang.StringBuilder nextToken, int nextStart, int nextEnd)
protected boolean isKanjiIncluded(char[] str)
public void reset() throws java.io.IOException
reset
クラス内 TokenFilter
java.io.IOException
Copyright © 2009-2018 RONDHUIT Co.,Ltd. All Rights Reserved.