Share via


MicrosoftLanguageStemmingTokenizer Class

Definition

Divides text using language-specific rules and reduces words to their base forms.

public class MicrosoftLanguageStemmingTokenizer : Azure.Search.Documents.Indexes.Models.LexicalTokenizer, System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.MicrosoftLanguageStemmingTokenizer>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.MicrosoftLanguageStemmingTokenizer>
type MicrosoftLanguageStemmingTokenizer = class
    inherit LexicalTokenizer
    interface IJsonModel<MicrosoftLanguageStemmingTokenizer>
    interface IPersistableModel<MicrosoftLanguageStemmingTokenizer>
Public Class MicrosoftLanguageStemmingTokenizer
Inherits LexicalTokenizer
Implements IJsonModel(Of MicrosoftLanguageStemmingTokenizer), IPersistableModel(Of MicrosoftLanguageStemmingTokenizer)
Inheritance
MicrosoftLanguageStemmingTokenizer
Implements

Constructors

MicrosoftLanguageStemmingTokenizer(String)

Initializes a new instance of MicrosoftLanguageStemmingTokenizer.

Properties

IsSearchTokenizer

A value indicating how the tokenizer is used. Set to true if used as the search tokenizer, set to false if used as the indexing tokenizer. Default is false.

Language

The language to use. The default is English.

MaxTokenLength

The maximum token length. Tokens longer than the maximum length are split. Maximum token length that can be used is 300 characters. Tokens longer than 300 characters are first split into tokens of length 300 and then each of those tokens is split based on the max token length set. Default is 255.

Name

The name of the tokenizer. 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 LexicalTokenizer)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LexicalTokenizer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from LexicalTokenizer)
IJsonModel<LexicalTokenizer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from LexicalTokenizer)
IJsonModel<MicrosoftLanguageStemmingTokenizer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MicrosoftLanguageStemmingTokenizer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LexicalTokenizer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from LexicalTokenizer)
IPersistableModel<LexicalTokenizer>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from LexicalTokenizer)
IPersistableModel<LexicalTokenizer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from LexicalTokenizer)
IPersistableModel<MicrosoftLanguageStemmingTokenizer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MicrosoftLanguageStemmingTokenizer>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MicrosoftLanguageStemmingTokenizer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to