Constructor Lucene43NGramTokenizer
Lucene43NGramTokenizer(TextReader, Int32, Int32)
Creates Lucene43NGramTokenizer with given min and max n-grams.
Declaration
public Lucene43NGramTokenizer(TextReader input, int minGram, int maxGram)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | System.IO.TextReader holding the input to be tokenized |
System.Int32 | minGram | the smallest n-gram to generate |
System.Int32 | maxGram | the largest n-gram to generate |
Lucene43NGramTokenizer(AttributeSource.AttributeFactory, TextReader, Int32, Int32)
Creates Lucene43NGramTokenizer with given min and max n-grams.
Declaration
public Lucene43NGramTokenizer(AttributeSource.AttributeFactory factory, TextReader input, int minGram, int maxGram)
Parameters
Type | Name | Description |
---|---|---|
AttributeSource.AttributeFactory | factory | |
System.IO.TextReader | input | System.IO.TextReader holding the input to be tokenized |
System.Int32 | minGram | the smallest n-gram to generate |
System.Int32 | maxGram | the largest n-gram to generate |
Lucene43NGramTokenizer(TextReader)
Creates Lucene43NGramTokenizer with default min and max n-grams.
Declaration
public Lucene43NGramTokenizer(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextReader | input | System.IO.TextReader holding the input to be tokenized |