共用方式為


LanguageDetectionResult Class

Definition

Contains the language detection result for the request.

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

Properties

Documents

Enumeration of language detection results for each input document.

Errors

Errors by document id.

ModelVersion

This field indicates which model is used for scoring.

Statistics

if showStats=true was specified in the request this field will contain information about the request payload.

Explicit Interface Implementations

IJsonModel<LanguageDetectionResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LanguageDetectionResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LanguageDetectionResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LanguageDetectionResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LanguageDetectionResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to