View Source GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentiment (google_api_content_warehouse v0.3.0)

Sentiment information extracted from the annotated content by Goldmine. This mirrors nlp_sentiment.SentimentAnnotation. Next tag: 5.

Attributes

  • entitySentiment (type: list(GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotation.t), default: nil) -
  • magnitude (type: number(), default: nil) - Total magnitude of the sentiment. A positive number representing the total intensity of sentiment regardless of positive vs negative polarity.
  • polarity (type: number(), default: nil) - Polarity of the sentiment. Value is between -1.0 and 1.0 inclusive, with larger numbers representing more positive sentiment and negative numbers representing negative sentiment.
  • score (type: number(), default: nil) - The average score over sentences. This combines the polarity and magnitude signals into one value. Bounded between -1.0 and 1.0.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentiment{
  entitySentiment:
    [
      GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotation.t()
    ]
    | nil,
  magnitude: number() | nil,
  polarity: number() | nil,
  score: number() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.