Struct aws_sdk_comprehend::model::TargetedSentimentEntity
source · #[non_exhaustive]pub struct TargetedSentimentEntity { /* private fields */ }Expand description
Information about one of the entities found by targeted sentiment analysis.
For more information about targeted sentiment, see Targeted sentiment.
Implementations§
source§impl TargetedSentimentEntity
impl TargetedSentimentEntity
sourcepub fn descriptive_mention_index(&self) -> Option<&[i32]>
pub fn descriptive_mention_index(&self) -> Option<&[i32]>
One or more index into the Mentions array that provides the best name for the entity group.
sourcepub fn mentions(&self) -> Option<&[TargetedSentimentMention]>
pub fn mentions(&self) -> Option<&[TargetedSentimentMention]>
An array of mentions of the entity in the document. The array represents a co-reference group. See Co-reference group for an example.
source§impl TargetedSentimentEntity
impl TargetedSentimentEntity
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TargetedSentimentEntity.
Trait Implementations§
source§impl Clone for TargetedSentimentEntity
impl Clone for TargetedSentimentEntity
source§fn clone(&self) -> TargetedSentimentEntity
fn clone(&self) -> TargetedSentimentEntity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TargetedSentimentEntity
impl Debug for TargetedSentimentEntity
source§impl PartialEq<TargetedSentimentEntity> for TargetedSentimentEntity
impl PartialEq<TargetedSentimentEntity> for TargetedSentimentEntity
source§fn eq(&self, other: &TargetedSentimentEntity) -> bool
fn eq(&self, other: &TargetedSentimentEntity) -> bool
This method tests for
self and other values to be equal, and is used
by ==.