amazonka-comprehend-2.0: Amazon Comprehend SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Comprehend.Types.TargetedSentimentEntity

Description

 
Synopsis

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

Instances details
FromJSON TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

Generic TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

Associated Types

type Rep TargetedSentimentEntity :: Type -> Type #

Read TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

Show TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

NFData TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

Methods

rnf :: TargetedSentimentEntity -> () #

Eq TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

Hashable TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

type Rep TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

type Rep TargetedSentimentEntity = D1 ('MetaData "TargetedSentimentEntity" "Amazonka.Comprehend.Types.TargetedSentimentEntity" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "TargetedSentimentEntity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "descriptiveMentionIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Int])) :*: S1 ('MetaSel ('Just "mentions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TargetedSentimentMention]))))

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.