Amazon Comprehend · JSON Structure

Openapi.Yml Detect Dominant Language Response Structure

DetectDominantLanguageResponse schema

Type: object Properties: 1
Machine LearningNatural Language ProcessingNLPText Analysis

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

Properties

Languages

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-detect-dominant-language-response-structure.json",
  "name": "DetectDominantLanguageResponse",
  "description": "DetectDominantLanguageResponse schema",
  "type": "object",
  "properties": {
    "Languages": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ListOfDominantLanguages"
        },
        {
          "description": "<p>Array of languages that Amazon Comprehend detected in the input text. The array is sorted in descending order of the score (the dominant language is always the first element in the array).</p> <p>For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see <a href=\"https://tools.ietf.org/html/rfc5646\">Tags for Identifying Languages</a> on the <i>IETF Tools</i> web site.</p>"
        }
      ]
    }
  }
}