AssessmentSentiment interface

Warning

This API is now deprecated.

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'.

Extends

Inherited 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.

Inherited Property Details

confidenceScores

Warning

This API is now deprecated.

Assessment sentiment confidence scores in the sentence.

confidenceScores: TargetConfidenceScoreLabel

Property Value

Inherited From SentenceAssessment.confidenceScores

isNegated

Warning

This API is now deprecated.

The indicator representing if the assessment is negated.

isNegated: boolean

Property Value

boolean

Inherited From SentenceAssessment.isNegated

length

Warning

This API is now deprecated.

The length of the assessment.

length: number

Property Value

number

Inherited From SentenceAssessment.length

offset

Warning

This API is now deprecated.

The assessment offset from the start of the sentence.

offset: number

Property Value

number

Inherited From SentenceAssessment.offset

sentiment

Warning

This API is now deprecated.

Assessment sentiment in the sentence.

sentiment: TokenSentimentValue

Property Value

Inherited From SentenceAssessment.sentiment

text

Warning

This API is now deprecated.

The assessment text detected.

text: string

Property Value

string

Inherited From SentenceAssessment.text