I
InsightNexus

Struct DetectedLanguage | Azure SDK for Net

Author

David Richardson

Published Feb 16, 2026

A prediction of the language in which a document is written in.

Namespace: Azure.AI.TextAnalytics
Assembly: Azure.AI.TextAnalytics.dll
Syntax
public struct DetectedLanguage

Properties

ConfidenceScore

Gets a confidence score between 0 and 1. Scores close to 1 indicate high certainty that the identified language is correct.

Declaration
public double ConfidenceScore { get; }
Property Value

Iso6391Name

Gets a two letter representation of the detected language according to the ISO 639-1 standard (for example, "en" or "fr").

Declaration
public string Iso6391Name { get; }
Property Value

Name

Gets the spelled-out name of the detected language (for example, "English" or "French").

Declaration
public string Name { get; }
Property Value

Warnings

Gets the warnings encountered while processing the document.

Declaration
public System.Collections.Generic.IReadOnlyCollection<Azure.AI.TextAnalytics.TextAnalyticsWarning> Warnings { get; }
Property Value