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.

Hierarchy

  • SentenceSentiment

Index

Properties

confidenceScores

confidenceScores: SentimentConfidenceScores

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

sentiment

The predicted Sentiment for the sentence. Possible values include: 'positive', 'neutral', 'negative'

Optional text

text: undefined | string

The sentence text.

Generated using TypeDoc