Class: Aws::Comprehend::Types::BatchDetectSentimentItemResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::BatchDetectSentimentItemResult
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-comprehend/types.rb
Overview
The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#index ⇒ Integer
The zero-based index of the document in the input list.
-
#sentiment ⇒ String
The sentiment detected in the document.
-
#sentiment_score ⇒ Types::SentimentScore
The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.
Instance Attribute Details
#index ⇒ Integer
The zero-based index of the document in the input list.
295 296 297 298 299 300 301 |
# File 'lib/aws-sdk-comprehend/types.rb', line 295 class BatchDetectSentimentItemResult < Struct.new( :index, :sentiment, :sentiment_score) SENSITIVE = [] include Aws::Structure end |
#sentiment ⇒ String
The sentiment detected in the document.
295 296 297 298 299 300 301 |
# File 'lib/aws-sdk-comprehend/types.rb', line 295 class BatchDetectSentimentItemResult < Struct.new( :index, :sentiment, :sentiment_score) SENSITIVE = [] include Aws::Structure end |
#sentiment_score ⇒ Types::SentimentScore
The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.
295 296 297 298 299 300 301 |
# File 'lib/aws-sdk-comprehend/types.rb', line 295 class BatchDetectSentimentItemResult < Struct.new( :index, :sentiment, :sentiment_score) SENSITIVE = [] include Aws::Structure end |