YoutubeCommentsSentimentSentimentEntitySentimentAnnotationMentionSentimentAnnotation

GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotationMentionSentimentAnnotation


Table of Contents ▼

Jump to a specific part of the page:

Description

A mention level sentiment annotation containing the sentiment values for a single entity mention. // Next tag: 6.

Attributes List

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

View Attributes

Attributes

  1. endToken (type: String.t, default: nil)
    - Token end index in corresponding SAFT document (inclusive).
  2. magnitude (type: number(), default: nil)
    - Total magnitude of the sentiment.
  3. polarity (type: number(), default: nil)
    - Polarity of the sentiment. See above for detail.
  4. score (type: number(), default: nil)
    - The per mention score between -1.0 and 1.0. Combines the signal from polarity and magnitude values.
  5. startToken (type: String.t, default: nil)
    - Token start index in corresponding SAFT document.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotationMentionSentimentAnnotation{
endToken: String.t() | nil,
magnitude: number() | nil,
polarity: number() | nil,
score: number() | nil,
startToken: String.t() | nil
}

Function

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

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