Amazon Comprehend · Schema

TargetedSentimentEntity

Information about one of the entities found by targeted sentiment analysis.

For more information about targeted sentiment, see Targeted sentiment.

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
DescriptiveMentionIndex object
Mentions object
View JSON Schema on GitHub

JSON Schema

openapi.yml-targeted-sentiment-entity-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-targeted-sentiment-entity-schema.json",
  "title": "TargetedSentimentEntity",
  "description": "<p>Information about one of the entities found by targeted sentiment analysis.</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": {
    "DescriptiveMentionIndex": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ListOfDescriptiveMentionIndices"
        },
        {
          "description": "One or more index into the Mentions array that provides the best name for the entity group."
        }
      ]
    },
    "Mentions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ListOfMentions"
        },
        {
          "description": "An array of mentions of the entity in the document. The array represents a co-reference group. See <a href=\"https://docs.aws.amazon.com/comprehend/latest/dg/how-targeted-sentiment.html#how-targeted-sentiment-values\"> Co-reference group</a> for an example. "
        }
      ]
    }
  }
}