Creates a shingle filter using default settings.
See IgnoringSinglePrefixOrSuffixShingleByDefault, and DefaultSettingsCodec
Namespace: Lucene.Net.Analyzers.ShingleAssembly: 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, Nullable<char> spacerCharacter ) |
Visual Basic |
---|
Public Sub New ( _ input As TokenStream, _ minimumShingleSize As Integer, _ maximumShingleSize As Integer, _ spacerCharacter As Nullable(Of Char) _ ) |
Visual C++ |
---|
public: ShingleMatrixFilter( TokenStream^ input, int minimumShingleSize, int maximumShingleSize, Nullable<wchar_t> spacerCharacter ) |
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.
- spacerCharacter
- Type: System..::..Nullable<(Of <(<'Char>)>)>
character to use between texts of the token parts in a shingle. null for none.