Skip to main content

Detect language

Find which language a text is written in (Amazon Comprehend).

Command in the AWS AI services toolkit · id ooa.aws_ai/comprehend_detect_language · 2 inputs (1 required), 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
SessionStringNoaws_aiName of the session opened by Connect.
TextStringYesThe text to read, at most 100,000 bytes.

Outputs​

OutputTypeWhat it is
languageStringCode of the most likely language, e.g. en, de or fr.
scoreNumberHow sure Comprehend is about that language (0 to 1).
languagesTableEvery language found. Columns: language, score.