Condividi tramite


SentenceTarget Class

Definition

Represents a sentence target and the assessments or target objects related to it.

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

Properties

ConfidenceScores

Represents the confidence scores across all sentiment classes: positive and negative.

Length

The length of the target.

Offset

The target offset from the start of the sentence.

Relations

The array of either assessment or target objects which is related to the target.

Sentiment

The sentiment of the sentence.

Text

The target text detected.

Explicit Interface Implementations

IJsonModel<SentenceTarget>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SentenceTarget>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SentenceTarget>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SentenceTarget>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SentenceTarget>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to