Class DetectedLanguage
The language detected in a document.
Inherited Members
Namespace: Oci.AivisionService.Models
Assembly: OCI.DotNetSDK.Aivision.dll
Syntax
public class DetectedLanguage
Properties
Confidence
Declaration
[Required(ErrorMessage = "Confidence is required.")]
[JsonProperty(PropertyName = "confidence")]
public float? Confidence { get; set; }
Property Value
Type | Description |
---|---|
float? | The confidence score between 0 and 1. |
Remarks
Required
LanguageCode
Declaration
[Required(ErrorMessage = "LanguageCode is required.")]
[JsonProperty(PropertyName = "languageCode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DocumentLanguage? LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
DocumentLanguage? | The language of the document, abbreviated according to ISO 639-2. |
Remarks
Required