Amazon Comprehend · Schema

DetectKeyPhrasesRequest

DetectKeyPhrasesRequest schema

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
Text object
LanguageCode object
View JSON Schema on GitHub

JSON Schema

openapi.yml-detect-key-phrases-request-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-detect-key-phrases-request-schema.json",
  "title": "DetectKeyPhrasesRequest",
  "description": "DetectKeyPhrasesRequest schema",
  "type": "object",
  "properties": {
    "Text": {
      "allOf": [
        {
          "$ref": "#/components/schemas/CustomerInputString"
        },
        {
          "description": "A UTF-8 text string. The string must contain less than 100 KB of UTF-8 encoded characters."
        }
      ]
    },
    "LanguageCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LanguageCode"
        },
        {
          "description": "The language of the input documents. You can specify any of the primary languages supported by Amazon Comprehend. All documents must be in the same language."
        }
      ]
    }
  },
  "required": [
    "Text",
    "LanguageCode"
  ]
}