Share via


LanguageDetectionSkill Class

Definition

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. https://docs.microsoft.com/azure/search/cognitive-search-skill-language-detection

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

Constructors

LanguageDetectionSkill()

Initializes a new instance of the LanguageDetectionSkill class.

LanguageDetectionSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String)

Initializes a new instance of the LanguageDetectionSkill class.

Properties

Context

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

(Inherited from Skill)
Description

Gets or sets the description of the skill which describes the inputs, outputs, and usage of the skill.

(Inherited from Skill)
Inputs

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

(Inherited from Skill)
Name

Gets or sets 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 '#'.

(Inherited from Skill)
Outputs

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

(Inherited from Skill)

Methods

Validate()

Validate the object.

Applies to