C# Class Lucene.Net.Analysis.NGram.EdgeNGramTokenizer

Inheritance: Tokenizer
Exibir arquivo Open project: synhershko/lucene.net Class Usage Examples

Public Properties

Property Type Description
DEFAULT_MAX_GRAM_SIZE int
DEFAULT_MIN_GRAM_SIZE int
DEFAULT_SIDE Side

Public Methods

Method Description
EdgeNGramTokenizer ( AttributeFactory factory, TextReader input, Side side, int minGram, int maxGram ) : System.IO
EdgeNGramTokenizer ( AttributeFactory factory, TextReader input, string sideLabel, int minGram, int maxGram ) : System.IO
EdgeNGramTokenizer ( Lucene.Net.Util.AttributeSource source, TextReader input, Side side, int minGram, int maxGram ) : System.IO
EdgeNGramTokenizer ( Lucene.Net.Util.AttributeSource source, TextReader input, string sideLabel, int minGram, int maxGram ) : System.IO
EdgeNGramTokenizer ( TextReader input, Side side, int minGram, int maxGram ) : System.IO
EdgeNGramTokenizer ( TextReader input, string sideLabel, int minGram, int maxGram ) : System.IO
End ( ) : void
IncrementToken ( ) : bool
Reset ( ) : void
Reset ( TextReader input ) : void

Private Methods

Method Description
init ( Side side, int minGram, int maxGram ) : void

Method Details

EdgeNGramTokenizer() public method

public EdgeNGramTokenizer ( AttributeFactory factory, TextReader input, Side side, int minGram, int maxGram ) : System.IO
factory AttributeFactory to use
input System.IO.TextReader holding the input to be tokenized
side Side the from which to chop off an n-gram
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
return System.IO

EdgeNGramTokenizer() public method

public EdgeNGramTokenizer ( AttributeFactory factory, TextReader input, string sideLabel, int minGram, int maxGram ) : System.IO
factory AttributeFactory to use
input System.IO.TextReader holding the input to be tokenized
sideLabel string the name of the from which to chop off an n-gram
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
return System.IO

EdgeNGramTokenizer() public method

public EdgeNGramTokenizer ( Lucene.Net.Util.AttributeSource source, TextReader input, Side side, int minGram, int maxGram ) : System.IO
source Lucene.Net.Util.AttributeSource to use
input System.IO.TextReader holding the input to be tokenized
side Side the from which to chop off an n-gram
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
return System.IO

EdgeNGramTokenizer() public method

public EdgeNGramTokenizer ( Lucene.Net.Util.AttributeSource source, TextReader input, string sideLabel, int minGram, int maxGram ) : System.IO
source Lucene.Net.Util.AttributeSource to use
input System.IO.TextReader holding the input to be tokenized
sideLabel string the name of the from which to chop off an n-gram
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
return System.IO

EdgeNGramTokenizer() public method

public EdgeNGramTokenizer ( TextReader input, Side side, int minGram, int maxGram ) : System.IO
input System.IO.TextReader holding the input to be tokenized
side Side the from which to chop off an n-gram
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
return System.IO

EdgeNGramTokenizer() public method

public EdgeNGramTokenizer ( TextReader input, string sideLabel, int minGram, int maxGram ) : System.IO
input System.IO.TextReader holding the input to be tokenized
sideLabel string the name of the from which to chop off an n-gram
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
return System.IO

End() public method

public End ( ) : void
return void

IncrementToken() public method

public IncrementToken ( ) : bool
return bool

Reset() public method

public Reset ( ) : void
return void

Reset() public method

public Reset ( TextReader input ) : void
input System.IO.TextReader
return void

Property Details

DEFAULT_MAX_GRAM_SIZE public_oe static_oe property

public static int DEFAULT_MAX_GRAM_SIZE
return int

DEFAULT_MIN_GRAM_SIZE public_oe static_oe property

public static int DEFAULT_MIN_GRAM_SIZE
return int

DEFAULT_SIDE public_oe static_oe property

public static Side DEFAULT_SIDE
return Side