Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data SentimentScore = SentimentScore' {}
- newSentimentScore :: SentimentScore
- sentimentScore_mixed :: Lens' SentimentScore (Maybe Double)
- sentimentScore_negative :: Lens' SentimentScore (Maybe Double)
- sentimentScore_neutral :: Lens' SentimentScore (Maybe Double)
- sentimentScore_positive :: Lens' SentimentScore (Maybe Double)
Documentation
data SentimentScore Source #
Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.
See: newSentimentScore
smart constructor.
SentimentScore' | |
|
Instances
newSentimentScore :: SentimentScore Source #
Create a value of SentimentScore
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:mixed:SentimentScore'
, sentimentScore_mixed
- The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the MIXED
sentiment.
$sel:negative:SentimentScore'
, sentimentScore_negative
- The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the NEGATIVE
sentiment.
$sel:neutral:SentimentScore'
, sentimentScore_neutral
- The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the NEUTRAL
sentiment.
$sel:positive:SentimentScore'
, sentimentScore_positive
- The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the POSITIVE
sentiment.
sentimentScore_mixed :: Lens' SentimentScore (Maybe Double) Source #
The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the MIXED
sentiment.
sentimentScore_negative :: Lens' SentimentScore (Maybe Double) Source #
The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the NEGATIVE
sentiment.
sentimentScore_neutral :: Lens' SentimentScore (Maybe Double) Source #
The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the NEUTRAL
sentiment.
sentimentScore_positive :: Lens' SentimentScore (Maybe Double) Source #
The level of confidence that Amazon Comprehend has in the accuracy of
its detection of the POSITIVE
sentiment.