Method | Description | |
---|---|---|
NGramTokenizer ( System.Version version, AttributeFactory factory, Reader input, int minGram, int maxGram ) : System |
Creates NGramTokenizer with given min and max n-grams.
|
|
NGramTokenizer ( System.Version version, Reader input ) : System |
Creates NGramTokenizer with default min and max n-grams.
|
|
NGramTokenizer ( System.Version version, Reader input, int minGram, int maxGram ) : System |
Creates NGramTokenizer with given min and max n-grams.
|
|
end ( ) : void | ||
incrementToken ( ) : bool | ||
reset ( ) : void |
Method | Description | |
---|---|---|
isTokenChar ( int chr ) : bool |
Only collect characters which satisfy this condition.
|
Method | Description | |
---|---|---|
NGramTokenizer ( System.Version version, AttributeFactory factory, Reader input, int minGram, int maxGram, bool edgesOnly ) : System | ||
NGramTokenizer ( System.Version version, Reader input, int minGram, int maxGram, bool edgesOnly ) : System | ||
consume ( ) : void |
Consume one code point.
|
|
init ( System.Version version, int minGram, int maxGram, bool edgesOnly ) : void | ||
updateLastNonTokenChar ( ) : void |
public NGramTokenizer ( System.Version version, AttributeFactory factory, Reader input, int minGram, int maxGram ) : System | ||
version | System.Version | the lucene compatibility version |
factory | AttributeFactory | |
input | Reader | |
minGram | int | the smallest n-gram to generate |
maxGram | int | the largest n-gram to generate |
return | System |
public NGramTokenizer ( System.Version version, Reader input ) : System | ||
version | System.Version | the lucene compatibility version |
input | Reader | |
return | System |
public NGramTokenizer ( System.Version version, Reader input, int minGram, int maxGram ) : System | ||
version | System.Version | the lucene compatibility version |
input | Reader | |
minGram | int | the smallest n-gram to generate |
maxGram | int | the largest n-gram to generate |
return | System |