LanguageDetectionSkill interface

A skill that detects the language of input text and reports a single language code for every document submitted on the request. The language code is paired with a score indicating the confidence of the analysis.

Extends

Properties

defaultCountryHint

A country code to use as a hint to the language detection model if it cannot disambiguate the language.

modelVersion

The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary.

odatatype

Polymorphic discriminator, which specifies the different types this object can be

Inherited Properties

context

Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.

description

The description of the skill which describes the inputs, outputs, and usage of the skill.

inputs

Inputs of the skills could be a column in the source data set, or the output of an upstream skill.

name

The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'.

outputs

The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.

Property Details

defaultCountryHint

A country code to use as a hint to the language detection model if it cannot disambiguate the language.

defaultCountryHint?: string

Property Value

string

modelVersion

The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary.

modelVersion?: string

Property Value

string

odatatype

Polymorphic discriminator, which specifies the different types this object can be

odatatype: "#Microsoft.Skills.Text.LanguageDetectionSkill"

Property Value

"#Microsoft.Skills.Text.LanguageDetectionSkill"

Inherited Property Details

context

Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.

context?: string

Property Value

string

Inherited From BaseSearchIndexerSkill.context

description

The description of the skill which describes the inputs, outputs, and usage of the skill.

description?: string

Property Value

string

Inherited From BaseSearchIndexerSkill.description

inputs

Inputs of the skills could be a column in the source data set, or the output of an upstream skill.

inputs: InputFieldMappingEntry[]

Property Value

Inherited From BaseSearchIndexerSkill.inputs

name

The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'.

name?: string

Property Value

string

Inherited From BaseSearchIndexerSkill.name

outputs

The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.

outputs: OutputFieldMappingEntry[]

Property Value

Inherited From BaseSearchIndexerSkill.outputs