Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OpinionSentiment

Package version

OpinionSentiment contains the predicted sentiment, confidence scores and other information about an opinion of an aspect. For example, in the sentence "The food is good", the opinion of the aspect 'food' is 'good'.

Hierarchy

Index

Properties

confidenceScores

confidenceScores: AspectConfidenceScoreLabel

Opinion level sentiment confidence scores for the aspect in the sentence.

isNegated

isNegated: boolean

The indicator representing if the opinion is negated.

offset

offset: number

The opinion offset from the start of the sentence.

sentiment

Opinion level sentiment for the aspect in the sentence.

text

text: string

The aspect text detected.

Generated using TypeDoc