Key phrases
Find the main noun phrases of a text, such as "the monthly invoice" or "three new laptops" (Amazon Comprehend).
Command in the AWS AI services toolkit · id ooa.aws_ai/comprehend_key_phrases · 4 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. | |
| Language | String | No | en | Language of the text, e.g. en, es, fr, de, it, pt, ja, ko, zh, ar or hi. |
| Minimum score | Number | No | 0 | Leave out phrases scored below this (0 to 1). |
Outputs
| Output | Type | What it is |
|---|---|---|
| phrases | List | The phrases, most likely first. |
| key_phrases | Table | Columns: text, score, begin_offset, end_offset. |
| count | Number | How many phrases were found. |