Package version:

Interface AssessmentSentiment

An object that 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

  • AssessmentSentiment

Properties

confidenceScores: TargetConfidenceScores

Assessment sentiment confidence scores in the sentence.

isNegated: boolean

The indicator representing if the assessment is negated.

length: number

The length of the assessment.

offset: number

The assessment offset from the start of the sentence.

Assessment sentiment in the sentence.

text: string

The assessment text detected.

Generated using TypeDoc