GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentiment
Table of Contents ▼
Jump to a specific part of the page:
Description
Sentiment information extracted from the annotated content by Goldmine. This mirrors nlp_sentiment.SentimentAnnotation. Next tag: 5.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
entitySentiment
(type:list(GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotation)
, 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.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentiment{
entitySentiment: [ GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotation.t() ] | nil,
magnitude: number() | nil,
polarity: number() | nil,
score: number() | nil
}
entitySentiment: [ GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotation.t() ] | nil,
magnitude: number() | nil,
polarity: number() | nil,
score: number() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentiment