Compartir a través de


SentenceBoundaries Class

Definition

An object returning sentence boundaries in the input and output texts.

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

Properties

SourceSentencesLengths

An integer array representing the lengths of the sentences in the input text. The length of the array is the number of sentences, and the values are the length of each sentence.

TranslatedSentencesLengths

An integer array representing the lengths of the sentences in the translated text. The length of the array is the number of sentences, and the values are the length of each sentence.

Explicit Interface Implementations

IJsonModel<SentenceBoundaries>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SentenceBoundaries>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SentenceBoundaries>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SentenceBoundaries>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SentenceBoundaries>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to