Sentiment

Rappresenta il sentimento associato all'intero testo o alle entità al suo interno.

Rappresentazione JSON
{
  "magnitude": number,
  "score": number
}
Campi
magnitude

number

Un numero non negativo nell'intervallo [0, +inf], che rappresenta l'intensità assoluta del sentiment indipendentemente dal punteggio (positivo o negativo).

score

number

Punteggio del sentiment compreso tra -1,0 (sentiment negativo) e 1,0 (sentiment positivo).