C# Class Lucene.Net.Analysis.Ngram.EdgeNGramTokenFilter

Inheritance: TokenFilter
Mostrar archivo Open project: paulirwin/lucene.net Class Usage Examples

Public Methods

Method Description
EdgeNGramTokenFilter ( Lucene.Net.Util.Version version, TokenStream input, int minGram, int maxGram ) : System

Creates EdgeNGramTokenFilter that can generate n-grams in the sizes of the given range

IncrementToken ( ) : bool
Reset ( ) : void
getSide ( String sideName ) : Side

Private Methods

Method Description
EdgeNGramTokenFilter ( Lucene.Net.Util.Version version, TokenStream input, Side side, int minGram, int maxGram ) : System
EdgeNGramTokenFilter ( Lucene.Net.Util.Version version, TokenStream input, string sideLabel, int minGram, int maxGram ) : System

Method Details

EdgeNGramTokenFilter() public method

Creates EdgeNGramTokenFilter that can generate n-grams in the sizes of the given range
public EdgeNGramTokenFilter ( Lucene.Net.Util.Version version, TokenStream input, int minGram, int maxGram ) : System
version Lucene.Net.Util.Version the Lucene match version
input TokenStream holding the input to be tokenized
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
return System

IncrementToken() public method

public IncrementToken ( ) : bool
return bool

Reset() public method

public Reset ( ) : void
return void

getSide() public static method

public static getSide ( String sideName ) : Side
sideName String
return Side