Amazon Comprehend · JSON Structure

Openapi.Yml Targeted Sentiment Entity Structure

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

For more information about targeted sentiment, see Targeted sentiment.

Type: object Properties: 2
Machine LearningNatural Language ProcessingNLPText Analysis

TargetedSentimentEntity is a JSON Structure definition published by Amazon Comprehend, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

DescriptiveMentionIndex Mentions

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-targeted-sentiment-entity-structure.json",
  "name": "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. "
        }
      ]
    }
  }
}