| 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 |
Amazonka.Comprehend.Types.TargetedSentimentEntity
Description
Synopsis
- data TargetedSentimentEntity = TargetedSentimentEntity' {}
- newTargetedSentimentEntity :: TargetedSentimentEntity
- targetedSentimentEntity_descriptiveMentionIndex :: Lens' TargetedSentimentEntity (Maybe [Int])
- targetedSentimentEntity_mentions :: Lens' TargetedSentimentEntity (Maybe [TargetedSentimentMention])
Documentation
data TargetedSentimentEntity Source #
Information about one of the entities found by targeted sentiment analysis.
For more information about targeted sentiment, see Targeted sentiment.
See: newTargetedSentimentEntity smart constructor.
Constructors
| TargetedSentimentEntity' | |
Fields
| |
Instances
newTargetedSentimentEntity :: TargetedSentimentEntity Source #
Create a value of TargetedSentimentEntity 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:descriptiveMentionIndex:TargetedSentimentEntity', targetedSentimentEntity_descriptiveMentionIndex - One or more index into the Mentions array that provides the best name
for the entity group.
$sel:mentions:TargetedSentimentEntity', targetedSentimentEntity_mentions - An array of mentions of the entity in the document. The array represents
a co-reference group. See
Co-reference group
for an example.
targetedSentimentEntity_descriptiveMentionIndex :: Lens' TargetedSentimentEntity (Maybe [Int]) Source #
One or more index into the Mentions array that provides the best name for the entity group.
targetedSentimentEntity_mentions :: Lens' TargetedSentimentEntity (Maybe [TargetedSentimentMention]) Source #
An array of mentions of the entity in the document. The array represents a co-reference group. See Co-reference group for an example.