Initializes a new instance of the NGramTokenizer class

Namespace: Lucene.Net.Analysis.NGram
Assembly: Lucene.Net.Contrib.Analyzers (in Lucene.Net.Contrib.Analyzers.dll) Version: 2.9.2.1 (2.9.2.1)

Syntax

C#
public NGramTokenizer(
	AttributeSource source,
	TextReader input,
	int minGram,
	int maxGram
)
Visual Basic
Public Sub New ( _
	source As AttributeSource, _
	input As TextReader, _
	minGram As Integer, _
	maxGram As Integer _
)
Visual C++
public:
NGramTokenizer(
	AttributeSource^ source, 
	TextReader^ input, 
	int minGram, 
	int maxGram
)

Parameters

source
Type: Lucene.Net.Util..::..AttributeSource

[Missing <param name="source"/> documentation for "M:Lucene.Net.Analysis.NGram.NGramTokenizer.#ctor(Lucene.Net.Util.AttributeSource,System.IO.TextReader,System.Int32,System.Int32)"]

input
Type: System.IO..::..TextReader

[Missing <param name="input"/> documentation for "M:Lucene.Net.Analysis.NGram.NGramTokenizer.#ctor(Lucene.Net.Util.AttributeSource,System.IO.TextReader,System.Int32,System.Int32)"]

minGram
Type: System..::..Int32

[Missing <param name="minGram"/> documentation for "M:Lucene.Net.Analysis.NGram.NGramTokenizer.#ctor(Lucene.Net.Util.AttributeSource,System.IO.TextReader,System.Int32,System.Int32)"]

maxGram
Type: System..::..Int32

[Missing <param name="maxGram"/> documentation for "M:Lucene.Net.Analysis.NGram.NGramTokenizer.#ctor(Lucene.Net.Util.AttributeSource,System.IO.TextReader,System.Int32,System.Int32)"]

See Also