GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotationMentionSentimentAnnotation
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
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):
Attributes
-
endToken
(type:String.t
, default:nil
)
- Token end index in corresponding SAFT document (inclusive). -
magnitude
(type:number()
, default:nil
)
- Total magnitude of the sentiment. -
polarity
(type:number()
, default:nil
)
- Polarity of the sentiment. See above for detail. -
score
(type:number()
, default:nil
)
- The per mention score between -1.0 and 1.0. Combines the signal from polarity and magnitude values. -
startToken
(type:String.t
, default:nil
)
- Token start index in corresponding SAFT document.
Type
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsSentimentSentimentEntitySentimentAnnotationMentionSentimentAnnotation