SentenceAssessment interface

Properties

confidenceScores

Assessment sentiment confidence scores in the sentence.

isNegated

The indicator representing if the assessment is negated.

length

The length of the assessment.

offset

The assessment offset from the start of the sentence.

sentiment

Assessment sentiment in the sentence.

text

The assessment text detected.

Property Details

confidenceScores

Assessment sentiment confidence scores in the sentence.

confidenceScores: TargetConfidenceScoreLabel

Property Value

isNegated

The indicator representing if the assessment is negated.

isNegated: boolean

Property Value

boolean

length

The length of the assessment.

length: number

Property Value

number

offset

The assessment offset from the start of the sentence.

offset: number

Property Value

number

sentiment

Assessment sentiment in the sentence.

sentiment: TokenSentimentValue

Property Value

text

The assessment text detected.

text: string

Property Value

string