Creates a shingle filter using default settings. See ShingleMatrixFilter.DefaultSpacerCharacter, ShingleMatrixFilter.IgnoringSinglePrefixOrSuffixShingleByDefault, and ShingleMatrixFilter.DefaultSettingsCodec

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 ShingleMatrixFilter(
	TokenStream input,
	int minimumShingleSize,
	int maximumShingleSize
)
Visual Basic
Public Sub New ( _
	input As TokenStream, _
	minimumShingleSize As Integer, _
	maximumShingleSize As Integer _
)
Visual C++
public:
ShingleMatrixFilter(
	TokenStream^ input, 
	int minimumShingleSize, 
	int maximumShingleSize
)

Parameters

input
Type: Lucene.Net.Analysis..::..TokenStream
stream from which to construct the matrix
minimumShingleSize
Type: System..::..Int32
minimum number of tokens in any shingle.
maximumShingleSize
Type: System..::..Int32
maximum number of tokens in any shingle.

See Also