Amazon Comprehend · Schema

MentionSentiment

Contains the sentiment and sentiment score for one mention of an entity.

For more information about targeted sentiment, see Targeted sentiment.

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

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

JSON Schema

openapi.yml-mention-sentiment-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-mention-sentiment-schema.json",
  "title": "MentionSentiment",
  "description": "<p>Contains the sentiment and sentiment score for one mention of an entity.</p> <p>For more information about targeted sentiment, see <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/how-targeted-sentiment.html\">Targeted sentiment</a>.</p>",
  "type": "object",
  "properties": {
    "Sentiment": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SentimentType"
        },
        {
          "description": "The sentiment of the mention. "
        }
      ]
    },
    "SentimentScore": {
      "$ref": "#/components/schemas/SentimentScore"
    }
  }
}