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

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

공개 메소드들

메소드 설명
IncrementToken ( ) : bool

Returns the next token in the stream, or null at EOS.

NGramTokenFilter ( LuceneVersion version, TokenStream input ) : Lucene.Net.Analysis.Miscellaneous

Creates NGramTokenFilter with default min and max n-grams.

NGramTokenFilter ( LuceneVersion version, TokenStream input, int minGram, int maxGram ) : Lucene.Net.Analysis.Miscellaneous

Creates NGramTokenFilter with given min and max n-grams.

Reset ( ) : void

메소드 상세

IncrementToken() 공개 메소드

Returns the next token in the stream, or null at EOS.
public IncrementToken ( ) : bool
리턴 bool

NGramTokenFilter() 공개 메소드

Creates NGramTokenFilter with default min and max n-grams.
public NGramTokenFilter ( LuceneVersion version, TokenStream input ) : Lucene.Net.Analysis.Miscellaneous
version LuceneVersion Lucene version to enable correct position increments. /// See above for details.
input TokenStream holding the input to be tokenized
리턴 Lucene.Net.Analysis.Miscellaneous

NGramTokenFilter() 공개 메소드

Creates NGramTokenFilter with given min and max n-grams.
public NGramTokenFilter ( LuceneVersion version, TokenStream input, int minGram, int maxGram ) : Lucene.Net.Analysis.Miscellaneous
version LuceneVersion Lucene version to enable correct position increments. /// See above for details.
input TokenStream 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.Miscellaneous

Reset() 공개 메소드

public Reset ( ) : void
리턴 void