Compartilhar via


LanguageDetectionDocumentResult Class

Definition

Contains the language detection for a document.

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

Properties

DetectedLanguage

Detected Language.

Id

Unique, non-empty document identifier.

Statistics

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

Warnings

Warnings encountered while processing document.

Explicit Interface Implementations

IJsonModel<LanguageDetectionDocumentResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LanguageDetectionDocumentResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LanguageDetectionDocumentResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LanguageDetectionDocumentResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LanguageDetectionDocumentResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to