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 |
Synopsis
- data BatchDetectTargetedSentimentItemResult = BatchDetectTargetedSentimentItemResult' {}
- newBatchDetectTargetedSentimentItemResult :: BatchDetectTargetedSentimentItemResult
- batchDetectTargetedSentimentItemResult_entities :: Lens' BatchDetectTargetedSentimentItemResult (Maybe [TargetedSentimentEntity])
- batchDetectTargetedSentimentItemResult_index :: Lens' BatchDetectTargetedSentimentItemResult (Maybe Int)
Documentation
data BatchDetectTargetedSentimentItemResult Source #
Analysis results for one of the documents in the batch.
See: newBatchDetectTargetedSentimentItemResult
smart constructor.
Instances
newBatchDetectTargetedSentimentItemResult :: BatchDetectTargetedSentimentItemResult Source #
Create a value of BatchDetectTargetedSentimentItemResult
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:entities:BatchDetectTargetedSentimentItemResult'
, batchDetectTargetedSentimentItemResult_entities
- An array of targeted sentiment entities.
$sel:index:BatchDetectTargetedSentimentItemResult'
, batchDetectTargetedSentimentItemResult_index
- The zero-based index of this result in the input list.
batchDetectTargetedSentimentItemResult_entities :: Lens' BatchDetectTargetedSentimentItemResult (Maybe [TargetedSentimentEntity]) Source #
An array of targeted sentiment entities.
batchDetectTargetedSentimentItemResult_index :: Lens' BatchDetectTargetedSentimentItemResult (Maybe Int) Source #
The zero-based index of this result in the input list.