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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Session | String | No | aws_ai | Name of the session opened by Connect. |
| Text | String | Yes | The text to read, at most 100,000 bytes. |
Outputs
| Output | Type | What it is |
|---|---|---|
| language | String | Code of the most likely language, e.g. en, de or fr. |
| score | Number | How sure Comprehend is about that language (0 to 1). |
| languages | Table | Every language found. Columns: language, score. |