Class: Aws::Comprehend::Types::BatchDetectSentimentItemResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::BatchDetectSentimentItemResult
- Defined in:
- gems/aws-sdk-comprehend/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.
330 331 332 333 334 335 336 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 330 class BatchDetectSentimentItemResult < Struct.new( :index, :sentiment, :sentiment_score) SENSITIVE = [] include Aws::Structure end |
#sentiment ⇒ String
The sentiment detected in the document.
330 331 332 333 334 335 336 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 330 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.
330 331 332 333 334 335 336 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 330 class BatchDetectSentimentItemResult < Struct.new( :index, :sentiment, :sentiment_score) SENSITIVE = [] include Aws::Structure end |