Struct aws_sdk_lexruntimev2::model::SentimentScore
source ·
[−]#[non_exhaustive]pub struct SentimentScore {
pub positive: f64,
pub negative: f64,
pub neutral: f64,
pub mixed: f64,
}Expand description
The individual sentiment responses for the utterance.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.positive: f64The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE sentiment.
negative: f64The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE sentiment.
neutral: f64The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEUTRAL sentiment.
mixed: f64The level of confidence that Amazon Comprehend has in the accuracy of its detection of the MIXED sentiment.
Implementations
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE sentiment.
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE sentiment.
The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEUTRAL sentiment.
Creates a new builder-style object to manufacture SentimentScore
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SentimentScore
impl Send for SentimentScore
impl Sync for SentimentScore
impl Unpin for SentimentScore
impl UnwindSafe for SentimentScore
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
