你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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

Name Description
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