Class Lucene43NGramTokenizer
Old broken version of NGramTokenizer.
Implements
IDisposable
Inherited Members
Namespace: Lucene.Net.Analysis.NGram
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public sealed class Lucene43NGramTokenizer : Tokenizer, IDisposable
Constructors
| Improve this Doc View SourceLucene43NGramTokenizer(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 | |
TextReader | input | |
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 |
---|---|---|
TextReader | input |
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 |
---|---|---|
TextReader | input | |
System.Int32 | minGram | the smallest n-gram to generate |
System.Int32 | maxGram | the largest n-gram to generate |
Fields
| Improve this Doc View SourceDEFAULT_MAX_NGRAM_SIZE
Declaration
public const int DEFAULT_MAX_NGRAM_SIZE = null
Field Value
Type | Description |
---|---|
System.Int32 |
DEFAULT_MIN_NGRAM_SIZE
Declaration
public const int DEFAULT_MIN_NGRAM_SIZE = null
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceEnd()
Declaration
public override void End()
Overrides
| Improve this Doc View SourceIncrementToken()
Returns the next token in the stream, or null at EOS.
Declaration
public override bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceReset()
Declaration
public override void Reset()
Overrides
Implements
IDisposable