Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AssessmentSentiment

Package version

AssessmentSentiment contains the predicted sentiment, confidence scores and other information about an assessment of a target. For example, in the sentence "The food is good", the assessment of the target 'food' is 'good'.

Hierarchy

Index

Properties

confidenceScores

confidenceScores: TargetConfidenceScoreLabel

Assessment sentiment confidence scores in the sentence.

isNegated

isNegated: boolean

The indicator representing if the assessment is negated.

length

length: number

The length of the assessment.

offset

offset: number

The assessment offset from the start of the sentence.

sentiment

Assessment sentiment in the sentence.

text

text: string

The assessment text detected.

Generated using TypeDoc