C# 클래스 org.apache.lucene.analysis.ngram.NGramTokenizer

상속: Tokenizer
파일 보기 프로젝트 열기: paulirwin/lucene.net 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
isTokenChar ( int chr ) : bool

Only collect characters which satisfy this condition.

비공개 메소드들

메소드 설명
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

메소드 상세

NGramTokenizer() 공개 메소드

Creates NGramTokenizer with given min and max n-grams.
public NGramTokenizer ( System.Version version, AttributeFactory factory, Reader input, int minGram, int maxGram ) : System
version System.Version the lucene compatibility version
factory AttributeFactory to use
input Reader holding the input to be tokenized
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
리턴 System

NGramTokenizer() 공개 메소드

Creates NGramTokenizer with default min and max n-grams.
public NGramTokenizer ( System.Version version, Reader input ) : System
version System.Version the lucene compatibility version
input Reader holding the input to be tokenized
리턴 System

NGramTokenizer() 공개 메소드

Creates NGramTokenizer with given min and max n-grams.
public NGramTokenizer ( System.Version version, Reader input, int minGram, int maxGram ) : System
version System.Version the lucene compatibility version
input Reader holding the input to be tokenized
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
리턴 System

end() 공개 메소드

public end ( ) : void
리턴 void

incrementToken() 공개 메소드

public incrementToken ( ) : bool
리턴 bool

isTokenChar() 보호된 메소드

Only collect characters which satisfy this condition.
protected isTokenChar ( int chr ) : bool
chr int
리턴 bool

reset() 공개 메소드

public reset ( ) : void
리턴 void