Condividi tramite


CustomSentenceSentiment Class

Definition

A document's sentence custom sentiment.

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

Properties

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.

Text

The sentence text.

Explicit Interface Implementations

IJsonModel<CustomSentenceSentiment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CustomSentenceSentiment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CustomSentenceSentiment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CustomSentenceSentiment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CustomSentenceSentiment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to