Amazon Comprehend · Schema

KeyPhrase

Describes a key noun phrase.

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
Score object
Text object
BeginOffset object
EndOffset object
View JSON Schema on GitHub

JSON Schema

openapi.yml-key-phrase-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-key-phrase-schema.json",
  "title": "KeyPhrase",
  "description": "Describes a key noun phrase.",
  "type": "object",
  "properties": {
    "Score": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Float"
        },
        {
          "description": "The level of confidence that Amazon Comprehend has in the accuracy of the detection."
        }
      ]
    },
    "Text": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The text of a key noun phrase."
        }
      ]
    },
    "BeginOffset": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Integer"
        },
        {
          "description": "The zero-based offset from the beginning of the source text to the first character in the key phrase."
        }
      ]
    },
    "EndOffset": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Integer"
        },
        {
          "description": "The zero-based offset from the beginning of the source text to the last character in the key phrase."
        }
      ]
    }
  }
}