public final class NGramSynonymTokenizer extends Tokenizer
AttributeSource.State
修飾子とタイプ | フィールドと説明 |
---|---|
static java.lang.String |
DEFAULT_DELIMITERS |
static int |
DEFAULT_N_SIZE |
DEFAULT_TOKEN_ATTRIBUTE_FACTORY
修飾子 | コンストラクタと説明 |
---|---|
protected |
NGramSynonymTokenizer(int n,
java.lang.String delimiters,
boolean expand,
boolean ignoreCase,
SynonymMap map) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
end() |
boolean |
incrementToken() |
void |
reset() |
close, correctOffset, setReader
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, removeAllAttributes, restoreState, toString
public static final int DEFAULT_N_SIZE
public static final java.lang.String DEFAULT_DELIMITERS
protected NGramSynonymTokenizer(int n, java.lang.String delimiters, boolean expand, boolean ignoreCase, SynonymMap map)
public boolean incrementToken() throws java.io.IOException
incrementToken
クラス内 TokenStream
java.io.IOException
public void end()
end
クラス内 TokenStream
Copyright © 2009-2018 RONDHUIT Co.,Ltd. All Rights Reserved.