次の方法で共有


TranslationText Class

Definition

Translation result.

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

Properties

Alignment

Alignment information.

SentenceBoundaries

Sentence boundaries in the input and output texts.

TargetLanguage

A string representing the language code of the target language.

Text

A string giving the translated text.

Transliteration

An object giving the translated text in the script specified by the toScript parameter.

Explicit Interface Implementations

IJsonModel<TranslationText>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TranslationText>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TranslationText>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TranslationText>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TranslationText>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to