word_stats
Analyze text by counting words and Unicode characters and ranking words by case-insensitive frequency, with a configurable top-N list for quick frequency insights.
Instructions
Count words and Unicode characters, and rank words by frequency (case-insensitive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Number of top words to return. | |
| text | Yes | Text to analyze (up to 100,000 UTF-16 code units). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topWords | Yes | ||
| wordCount | Yes | ||
| characterCount | Yes |