Class SentimentData (1.2.1)

SentimentData(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The data for a sentiment annotation.

Attributes

NameDescription
magnitude float
A non-negative number from 0 to infinity which represents the abolute magnitude of sentiment regardless of score.
score float
The sentiment score between -1.0 (negative) and 1.0 (positive).