Constructs a ShingleFilter with the specified single size from the TokenStream

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

Syntax

C#
public ShingleFilter(
	TokenStream input,
	int maxShingleSize
)
Visual Basic
Public Sub New ( _
	input As TokenStream, _
	maxShingleSize As Integer _
)
Visual C++
public:
ShingleFilter(
	TokenStream^ input, 
	int maxShingleSize
)

Parameters

input
Type: Lucene.Net.Analysis..::..TokenStream
input token stream
maxShingleSize
Type: System..::..Int32
maximum shingle size produced by the filter.

See Also