Class SentimentData (0.6.1)

Stay organized with collections Save and categorize content based on your preferences.
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