public sealed class DetectedLanguage : IMessage<TextAnnotation.Types.DetectedLanguage>, IEquatable<TextAnnotation.Types.DetectedLanguage>, IDeepCloneable<TextAnnotation.Types.DetectedLanguage>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class TextAnnotation.Types.DetectedLanguage.
Detected language for a structural component.
Implements
IMessage<TextAnnotation.Types.DetectedLanguage>, IEquatable<TextAnnotation.Types.DetectedLanguage>, IDeepCloneable<TextAnnotation.Types.DetectedLanguage>, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
DetectedLanguage()
public DetectedLanguage()
DetectedLanguage(TextAnnotation.Types.DetectedLanguage)
public DetectedLanguage(TextAnnotation.Types.DetectedLanguage other)
Parameter | |
---|---|
Name | Description |
other | TextAnnotation.Types.DetectedLanguage |
Properties
Confidence
public float Confidence { get; set; }
Confidence of detected language. Range [0, 1].
Property Value | |
---|---|
Type | Description |
Single |
LanguageCode
public string LanguageCode { get; set; }
The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
Property Value | |
---|---|
Type | Description |
String |