다음을 통해 공유


DictionaryDecompounderTokenFilter Class

Definition

Decomposes compound words found in many Germanic languages. This token filter is implemented using Apache Lucene. http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/compound/DictionaryCompoundWordTokenFilter.html

[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.DictionaryDecompounderTokenFilter")]
public class DictionaryDecompounderTokenFilter : Microsoft.Azure.Search.Models.TokenFilter
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.DictionaryDecompounderTokenFilter")>]
type DictionaryDecompounderTokenFilter = class
    inherit TokenFilter
Public Class DictionaryDecompounderTokenFilter
Inherits TokenFilter
Inheritance
DictionaryDecompounderTokenFilter
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

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.

Properties

MaxSubwordSize

Gets or sets the maximum subword size. Only subwords shorter than this are outputted. Default is 15. Maximum is 300.

MinSubwordSize

Gets or sets the minimum subword size. Only subwords longer than this are outputted. Default is 2. Maximum is 300.

MinWordSize

Gets or sets the minimum word size. Only words longer than this get processed. Default is 5. Maximum is 300.

Name

Gets or sets 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

Gets or sets a value indicating whether to add only the longest matching subword to the output. Default is false.

WordList

Gets or sets the list of words to match against.

Methods

Validate()

Validate the object.

Applies to