Compartilhar via


SentenceSentiment Class

Definition

A document's sentence sentiment.

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

Properties

Assessments

The array of assessments for the sentence.

ConfidenceScores

The sentiment confidence score between 0 and 1 for the sentence for all classes.

Length

The length of the target.

Offset

The target offset from the start of the sentence.

Sentiment

The predicted Sentiment for the sentence.

Targets

The array of sentence targets for the sentence.

Text

The sentence text.

Explicit Interface Implementations

IJsonModel<SentenceSentiment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SentenceSentiment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SentenceSentiment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SentenceSentiment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SentenceSentiment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to