Cloud Document AI v1 API - Class Document.Types.Page.Types.DetectedLanguage (3.1.0)

public sealed class DetectedLanguage : IMessage<Document.Types.Page.Types.DetectedLanguage>, IEquatable<Document.Types.Page.Types.DetectedLanguage>, IDeepCloneable<Document.Types.Page.Types.DetectedLanguage>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.Page.Types.DetectedLanguage.

Detected language for a structural component.

Inheritance

Object > Document.Types.Page.Types.DetectedLanguage

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

DetectedLanguage()

public DetectedLanguage()

DetectedLanguage(Document.Types.Page.Types.DetectedLanguage)

public DetectedLanguage(Document.Types.Page.Types.DetectedLanguage other)
Parameter
NameDescription
otherDocument.Types.Page.Types.DetectedLanguage

Properties

Confidence

public float Confidence { get; set; }

Confidence of detected language. Range [0, 1].

Property Value
TypeDescription
Single

LanguageCode

public string LanguageCode { get; set; }

The BCP-47 language code, such as en-US or sr-Latn. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

Property Value
TypeDescription
String