共用方式為


DetectedLanguage Class

Definition

Contains the details of the detected language for the text.

public class DetectedLanguage : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.DetectedLanguage>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.DetectedLanguage>
type DetectedLanguage = class
    interface IJsonModel<DetectedLanguage>
    interface IPersistableModel<DetectedLanguage>
Public Class DetectedLanguage
Implements IJsonModel(Of DetectedLanguage), IPersistableModel(Of DetectedLanguage)
Inheritance
DetectedLanguage
Implements

Properties

ConfidenceScore

A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true.

Iso6391Name

A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr).

Name

Long name of a detected language (e.g. English, French).

Script

Identifies the script of the input document.

ScriptCode

Identifies the script of the input document.

Explicit Interface Implementations

IJsonModel<DetectedLanguage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DetectedLanguage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DetectedLanguage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DetectedLanguage>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DetectedLanguage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to