Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SentenceSentiment

Package version

The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis. The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis.

Hierarchy

  • SentenceSentiment

Index

Properties

Optional aspects

aspects: SentenceAspect[]

The array of aspect object for the sentence.

confidenceScores

confidenceScores: SentimentConfidenceScores

The sentiment confidence score between 0 and 1 for the sentence for all classes. The sentiment confidence score between 0 and 1 for the sentence for all classes.

minedOpinions

minedOpinions: MinedOpinion[]

The list of opinions mined from this sentence. For example in "The food is good, but the service is bad", we would mind these two opinions "food is good", "service is bad". Only returned if show_opinion_mining is set to True in the call to analyze_sentiment.

offset

offset: number

The sentence offset from the start of the document. The sentence text offset from the start of the document.

Optional opinions

opinions: SentenceOpinion[]

The array of opinion object for the sentence.

sentiment

The predicted Sentiment for the sentence. The predicted Sentiment for the sentence.

text

text: string

The sentence text. The sentence text.

Generated using TypeDoc