Class Sentiment
Represents the feeling associated with the entire text or entities in the text.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v2.dll
Syntax
public class Sentiment : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Magnitude
A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).
Declaration
[JsonProperty("magnitude")]
public virtual float? Magnitude { get; set; }
Property Value
Type | Description |
---|---|
float? |
Score
Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
Declaration
[JsonProperty("score")]
public virtual float? Score { get; set; }
Property Value
Type | Description |
---|---|
float? |