Class SentimentData

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

Inheritance

builtins.object > proto.message.Message > SentimentData