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

Inheritance: Lucene.Net.Analysis.Tokenizer
Afficher le fichier Open project: synhershko/lucene.net Class Usage Examples

Méthodes publiques

Свойство Type Description
DEFAULT_MAX_NGRAM_SIZE int
DEFAULT_MIN_NGRAM_SIZE int

Méthodes publiques

Méthode Description
End ( ) : void
IncrementToken ( ) : bool
NGramTokenizer ( AttributeFactory factory, TextReader input, int minGram, int maxGram ) : System.IO
NGramTokenizer ( Lucene.Net.Util.AttributeSource source, TextReader input, int minGram, int maxGram ) : System.IO
NGramTokenizer ( TextReader input ) : System.IO
NGramTokenizer ( TextReader input, int minGram, int maxGram ) : System.IO
Reset ( ) : void
Reset ( TextReader input ) : void

Private Methods

Méthode Description
init ( int minGram, int maxGram ) : void

Method Details

End() public méthode

public End ( ) : void
Résultat void

IncrementToken() public méthode

public IncrementToken ( ) : bool
Résultat bool

NGramTokenizer() public méthode

public NGramTokenizer ( AttributeFactory factory, TextReader input, int minGram, int maxGram ) : System.IO
factory AttributeFactory to use
input System.IO.TextReader holding the input to be tokenized
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
Résultat System.IO

NGramTokenizer() public méthode

public NGramTokenizer ( Lucene.Net.Util.AttributeSource source, TextReader input, int minGram, int maxGram ) : System.IO
source Lucene.Net.Util.AttributeSource to use
input System.IO.TextReader holding the input to be tokenized
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
Résultat System.IO

NGramTokenizer() public méthode

public NGramTokenizer ( TextReader input ) : System.IO
input System.IO.TextReader holding the input to be tokenized
Résultat System.IO

NGramTokenizer() public méthode

public NGramTokenizer ( TextReader input, int minGram, int maxGram ) : System.IO
input System.IO.TextReader holding the input to be tokenized
minGram int the smallest n-gram to generate
maxGram int the largest n-gram to generate
Résultat System.IO

Reset() public méthode

public Reset ( ) : void
Résultat void

Reset() public méthode

public Reset ( TextReader input ) : void
input System.IO.TextReader
Résultat void

Property Details

DEFAULT_MAX_NGRAM_SIZE public_oe static_oe property

public static int DEFAULT_MAX_NGRAM_SIZE
Résultat int

DEFAULT_MIN_NGRAM_SIZE public_oe static_oe property

public static int DEFAULT_MIN_NGRAM_SIZE
Résultat int