Bagikan melalui


DictionaryDecompounderTokenFilter Class

Definition

Decomposes compound words found in many Germanic languages. This token filter is implemented using Apache Lucene.

public class DictionaryDecompounderTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
type DictionaryDecompounderTokenFilter = class
    inherit TokenFilter
Public Class DictionaryDecompounderTokenFilter
Inherits TokenFilter
Inheritance
DictionaryDecompounderTokenFilter

Constructors

DictionaryDecompounderTokenFilter(String, IEnumerable<String>)

Initializes a new instance of DictionaryDecompounderTokenFilter.

Properties

MaxSubwordSize

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

MinSubwordSize

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

MinWordSize

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

Name

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.

(Inherited from TokenFilter)
OnlyLongestMatch

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

WordList

The list of words to match against.

Applies to