YoutubeCommentsSentimentSentimentEntitySentimentAnnotation

GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotation


Table of Contents ▼

Jump to a specific part of the page:

Description

An entity level sentiment annotation containing the sentiment values aggregated over all mentions of an entity. Next tag: 7.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. entityName (type: String.t, default: nil)
    - The representative entity name. This can be blank for cases when there is no explicit name like "I" or "it". The mentions' tokens can be used to get more details about each entity.
  2. magnitude (type: number(), default: nil)
    - Total magnitude of the sentiment.
  3. mentionSentiment (type: list(GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotationMentionSentimentAnnotation), default: nil)
    -
  4. mid (type: String.t, default: nil)
    - MID for this entity, if available.
  5. polarity (type: number(), default: nil)
    - Polarity of the sentiment. See above for detail.
  6. score (type: number(), default: nil)
    - The per entity score between -1.0 and 1.0. Combines the signal from polarity and magnitude values.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotation{
entityName: String.t() | nil,
magnitude: number() | nil,
mentionSentiment: [ GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotationMentionSentimentAnnotation.t() ] | nil,
mid: String.t() | nil,
polarity: number() | nil,
score: number() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotation