次の方法で共有


SentenceAssessment Class

Definition

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

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

Properties

ConfidenceScores

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

IsNegated

The indicator representing if the assessment is negated.

Length

The length of the target.

Offset

The target offset from the start of the sentence.

Sentiment

The sentiment of the sentence.

Text

The target text detected.

Explicit Interface Implementations

IJsonModel<SentenceAssessment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SentenceAssessment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SentenceAssessment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SentenceAssessment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SentenceAssessment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to