Udostępnij za pośrednictwem


SnowballTokenFilter Class

Definition

A filter that stems words using a Snowball-generated stemmer. This token filter is implemented using Apache Lucene. http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/snowball/SnowballFilter.html

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

Constructors

SnowballTokenFilter()

Initializes a new instance of the SnowballTokenFilter class.

SnowballTokenFilter(String, SnowballTokenFilterLanguage)

Initializes a new instance of the SnowballTokenFilter class.

Properties

Language

Gets or sets the language to use. Possible values include: 'armenian', 'basque', 'catalan', 'danish', 'dutch', 'english', 'finnish', 'french', 'german', 'german2', 'hungarian', 'italian', 'kp', 'lovins', 'norwegian', 'porter', 'portuguese', 'romanian', 'russian', 'spanish', 'swedish', 'turkish'

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)

Methods

Validate()

Validate the object.

Applies to