Condividi tramite


BreakSentenceItem Class

Definition

Item containing break sentence result.

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

Properties

DetectedLanguage

The detectedLanguage property is only present in the result object when language auto-detection is requested.

SentencesLengths

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.

SentLen

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.

Explicit Interface Implementations

IJsonModel<BreakSentenceItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BreakSentenceItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BreakSentenceItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BreakSentenceItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BreakSentenceItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to