Show / Hide Table of Contents

Class Sentiment

Represents the feeling associated with the entire text or entities in the text.

Inheritance
object
Sentiment
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX