C# 클래스 Lucene.Net.Analysis.Ngram.NGramTokenizer

상속: Tokenizer
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
End ( ) : void
IncrementToken ( ) : bool
NGramTokenizer ( LuceneVersion version, AttributeFactory factory, TextReader.TextReader input, int minGram, int maxGram ) : Lucene.Net.Analysis.Tokenattributes

Creates NGramTokenizer with given min and max n-grams.

NGramTokenizer ( LuceneVersion version, TextReader.TextReader input ) : Lucene.Net.Analysis.Tokenattributes

Creates NGramTokenizer with default min and max n-grams.

NGramTokenizer ( LuceneVersion version, TextReader.TextReader input, int minGram, int maxGram ) : Lucene.Net.Analysis.Tokenattributes

Creates NGramTokenizer with given min and max n-grams.

Reset ( ) : void

보호된 메소드들

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

Only collect characters which satisfy this condition.

비공개 메소드들

메소드 설명
Init ( LuceneVersion version, int minGram, int maxGram, bool edgesOnly ) : void
NGramTokenizer ( LuceneVersion version, AttributeFactory factory, TextReader.TextReader input, int minGram, int maxGram, bool edgesOnly ) : Lucene.Net.Analysis.Tokenattributes
NGramTokenizer ( LuceneVersion version, TextReader.TextReader input, int minGram, int maxGram, bool edgesOnly ) : Lucene.Net.Analysis.Tokenattributes
UpdateLastNonTokenChar ( ) : void
consume ( ) : void

Consume one code point.

메소드 상세

End() 공개 메소드

public End ( ) : void
리턴 void

IncrementToken() 공개 최종 메소드

public final IncrementToken ( ) : bool
리턴 bool

IsTokenChar() 보호된 메소드

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

NGramTokenizer() 공개 메소드

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

NGramTokenizer() 공개 메소드

Creates NGramTokenizer with default min and max n-grams.
public NGramTokenizer ( LuceneVersion version, TextReader.TextReader input ) : Lucene.Net.Analysis.Tokenattributes
version LuceneVersion the lucene compatibility version
input System.IO.TextReader.TextReader holding the input to be tokenized
리턴 Lucene.Net.Analysis.Tokenattributes

NGramTokenizer() 공개 메소드

Creates NGramTokenizer with given min and max n-grams.
public NGramTokenizer ( LuceneVersion version, TextReader.TextReader input, int minGram, int maxGram ) : Lucene.Net.Analysis.Tokenattributes
version LuceneVersion the lucene compatibility version
input System.IO.TextReader.TextReader holding the input to be tokenized
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
리턴 Lucene.Net.Analysis.Tokenattributes

Reset() 공개 메소드

public Reset ( ) : void
리턴 void