public sealed class Document.Types.Page.Types.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.
Implements
IMessageDocumentTypesPageTypesDetectedLanguage, IEquatableDocumentTypesPageTypesDetectedLanguage, IDeepCloneableDocumentTypesPageTypesDetectedLanguage, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
DetectedLanguage()
public DetectedLanguage()
DetectedLanguage(DetectedLanguage)
public DetectedLanguage(Document.Types.Page.Types.DetectedLanguage other)
Parameter | |
---|---|
Name | Description |
other | DocumentTypesPageTypesDetectedLanguage |
Properties
Confidence
public float Confidence { get; set; }
Confidence of detected language. Range [0, 1]
.
Property Value | |
---|---|
Type | Description |
float |
LanguageCode
public string LanguageCode { get; set; }
The BCP-47 language
code,
such as en-US
or sr-Latn
.
Property Value | |
---|---|
Type | Description |
string |