Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data MentionSentiment Source #
Contains the sentiment and sentiment score for one mention of an entity.
For more information about targeted sentiment, see Targeted sentiment.
See: newMentionSentiment
smart constructor.
MentionSentiment' | |
|
Instances
newMentionSentiment :: MentionSentiment Source #
Create a value of MentionSentiment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sentiment:MentionSentiment'
, mentionSentiment_sentiment
- The sentiment of the mention.
$sel:sentimentScore:MentionSentiment'
, mentionSentiment_sentimentScore
- Undocumented member.
mentionSentiment_sentiment :: Lens' MentionSentiment (Maybe SentimentType) Source #
The sentiment of the mention.
mentionSentiment_sentimentScore :: Lens' MentionSentiment (Maybe SentimentScore) Source #
Undocumented member.