DictionaryDecompounderTokenFilter Constructors

Definition

Overloads

DictionaryDecompounderTokenFilter()

Initializes a new instance of the DictionaryDecompounderTokenFilter class.

DictionaryDecompounderTokenFilter(String, IList<String>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the DictionaryDecompounderTokenFilter class.

DictionaryDecompounderTokenFilter()

Source:
DictionaryDecompounderTokenFilter.cs

Initializes a new instance of the DictionaryDecompounderTokenFilter class.

public DictionaryDecompounderTokenFilter ();
Public Sub New ()

Applies to

DictionaryDecompounderTokenFilter(String, IList<String>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>)

Source:
DictionaryDecompounderTokenFilter.cs

Initializes a new instance of the DictionaryDecompounderTokenFilter class.

public DictionaryDecompounderTokenFilter (string name, System.Collections.Generic.IList<string> wordList, int? minWordSize = default, int? minSubwordSize = default, int? maxSubwordSize = default, bool? onlyLongestMatch = default);
new Microsoft.Azure.Search.Models.DictionaryDecompounderTokenFilter : string * System.Collections.Generic.IList<string> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Search.Models.DictionaryDecompounderTokenFilter
Public Sub New (name As String, wordList As IList(Of String), Optional minWordSize As Nullable(Of Integer) = Nothing, Optional minSubwordSize As Nullable(Of Integer) = Nothing, Optional maxSubwordSize As Nullable(Of Integer) = Nothing, Optional onlyLongestMatch As Nullable(Of Boolean) = Nothing)

Parameters

name
String

The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.

wordList
IList<String>

The list of words to match against.

minWordSize
Nullable<Int32>

The minimum word size. Only words longer than this get processed. Default is 5. Maximum is 300.

minSubwordSize
Nullable<Int32>

The minimum subword size. Only subwords longer than this are outputted. Default is 2. Maximum is 300.

maxSubwordSize
Nullable<Int32>

The maximum subword size. Only subwords shorter than this are outputted. Default is 15. Maximum is 300.

onlyLongestMatch
Nullable<Boolean>

A value indicating whether to add only the longest matching subword to the output. Default is false.

Applies to