Skip to content

Detect Dominant Language

comprehend_detect_dominant_language R Documentation

Determines the dominant language of the input text

Description

Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.

Usage

comprehend_detect_dominant_language(Text)

Arguments

Text

[required] A UTF-8 text string. The string must contain at least 20 characters. The maximum string size is 100 KB.

Value

A list with the following syntax:

list(
  Languages = list(
    list(
      LanguageCode = "string",
      Score = 123.0
    )
  )
)

Request syntax

svc$detect_dominant_language(
  Text = "string"
)