DetectedLanguage Class

DetectedLanguage contains the predicted language found in text, its confidence score, and its ISO 639-1 representation.

Inheritance
azure.ai.textanalytics._models.DictMixin
DetectedLanguage

Constructor

DetectedLanguage(**kwargs)

Variables

name
str

Long name of a detected language (e.g. English, French).

iso6391_name
str

A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr).

confidence_score
float

A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true.