Amazon Comprehend · JSON Structure

Openapi.Yml Dominant Language Structure

Returns the code for the dominant language in the input text and the level of confidence that Amazon Comprehend has in the accuracy of the detection.

Type: object Properties: 2
Machine LearningNatural Language ProcessingNLPText Analysis

DominantLanguage 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

LanguageCode Score

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-dominant-language-structure.json",
  "name": "DominantLanguage",
  "description": "Returns the code for the dominant language in the input text and the level of confidence that Amazon Comprehend has in the accuracy of the detection.",
  "type": "object",
  "properties": {
    "LanguageCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "description": "The RFC 5646 language code for the dominant language. 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."
        }
      ]
    },
    "Score": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Float"
        },
        {
          "description": "The level of confidence that Amazon Comprehend has in the accuracy of the detection."
        }
      ]
    }
  }
}