Udostępnij za pośrednictwem


SentenceSentiment Struct

Definition

The predicted sentiment and other analysis like Opinion mining for each sentence in the corresponding document.

For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/language-service/sentiment-opinion-mining/overview.

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

Properties

ConfidenceScores

Gets the sentiment confidence score (Softmax score) between 0 and 1, for each sentiment. Higher values signify higher confidence.

Length

Gets the length the matching text in the sentence.

Offset

Gets the starting position for the matching text in the sentence.

Opinions

Gets the opinion of a sentence. This is only returned if IncludeOpinionMining is set to True.

Sentiment

Gets the predicted sentiment for the analyzed sentence.

Text

Gets the sentence text.

Applies to