Package version:

Interface LanguageDetectionSkill

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.

interface LanguageDetectionSkill {
    context?: string;
    defaultCountryHint?: string;
    description?: string;
    inputs: InputFieldMappingEntry[];
    modelVersion?: string;
    name?: string;
    odatatype: "#Microsoft.Skills.Text.LanguageDetectionSkill";
    outputs: OutputFieldMappingEntry[];
}

Hierarchy (view full)

Properties

context?: string

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.

defaultCountryHint?: string

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

description?: string

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

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

modelVersion?: string

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.

name?: string

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 '#'.

odatatype

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

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.