Show / Hide Table of Contents

Class DetectedLanguage

Attributes to the detected language. Contains Language Name , Code, and Confidence Score.

Inheritance
object
DetectedLanguage
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AilanguageService.Models
Assembly: OCI.DotNetSDK.Ailanguage.dll
Syntax
public class DetectedLanguage

Properties

Code

Declaration
[Required(ErrorMessage = "Code is required.")]
[JsonProperty(PropertyName = "code")]
public string Code { get; set; }
Property Value
Type Description
string

Detected language code as per ISO 639-1 standard. Example: en, fr, hi etc.

Remarks

Required

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

Full language name. Example: English, Hindi, and so on

Remarks

Required

Score

Declaration
[Required(ErrorMessage = "Score is required.")]
[JsonProperty(PropertyName = "score")]
public double Score { get; set; }
Property Value
Type Description
double

Score or confidence of detected language code. Example: 0.9999856066867399

Remarks

Required

In this article
Back to top