Amazon Comprehend · Schema

SentimentScore

Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
Positive object
Negative object
Neutral object
Mixed object
View JSON Schema on GitHub

JSON Schema

openapi.yml-sentiment-score-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-sentiment-score-schema.json",
  "title": "SentimentScore",
  "description": "Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.",
  "type": "object",
  "properties": {
    "Positive": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Float"
        },
        {
          "description": "The level of confidence that Amazon Comprehend has in the accuracy of its detection of the <code>POSITIVE</code> sentiment."
        }
      ]
    },
    "Negative": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Float"
        },
        {
          "description": "The level of confidence that Amazon Comprehend has in the accuracy of its detection of the <code>NEGATIVE</code> sentiment."
        }
      ]
    },
    "Neutral": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Float"
        },
        {
          "description": "The level of confidence that Amazon Comprehend has in the accuracy of its detection of the <code>NEUTRAL</code> sentiment."
        }
      ]
    },
    "Mixed": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Float"
        },
        {
          "description": "The level of confidence that Amazon Comprehend has in the accuracy of its detection of the <code>MIXED</code> sentiment."
        }
      ]
    }
  }
}