AssessmentSentiment Struct

Definition

Contains the predicted sentiment, confidence scores, and other information related to Opinion Mining analysis.

For example, in the sentence "The food is good", the assessment of the target 'food' is 'good'.

public readonly struct AssessmentSentiment
type AssessmentSentiment = struct
Public Structure AssessmentSentiment
Inheritance
AssessmentSentiment

Properties

ConfidenceScores

Gets the sentiment confidence score (Softmax score) between 0 and 1, for the assessment for 'positive' and 'negative' labels. Its score for 'neutral' will always be 0. Higher values signify higher confidence.

IsNegated

Whether the assessment is negated.

For example, in "The food is not good", the assessment "good" is negated.

Length

Gets the length of the assessment text.

Offset

Gets the starting position for the assessment text.

Sentiment

Gets the predicted Sentiment for the assessment taking into account the value of IsNegated. Possible values include 'positive', 'mixed', and 'negative'.

Text

Gets the assessment text.

Applies to