AssessmentSentiment Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Confidence |
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. |
Is |
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. |
Product | Versions |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: