Amazon Comprehend · Schema

BatchDetectSentimentItemResult

The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
Index object
Sentiment object
SentimentScore object
View JSON Schema on GitHub

JSON Schema

openapi.yml-batch-detect-sentiment-item-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-schema/openapi.yml-batch-detect-sentiment-item-result-schema.json",
  "title": "BatchDetectSentimentItemResult",
  "description": "The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.",
  "type": "object",
  "properties": {
    "Index": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Integer"
        },
        {
          "description": "The zero-based index of the document in the input list."
        }
      ]
    },
    "Sentiment": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SentimentType"
        },
        {
          "description": "The sentiment detected in the document."
        }
      ]
    },
    "SentimentScore": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SentimentScore"
        },
        {
          "description": "The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection."
        }
      ]
    }
  }
}