Analyze text statistics
text_statsCount characters, words, unique words, sentences, paragraphs, and lines in text, plus average lengths and reading time, to check length limits or profile a draft before editing.
Instructions
Count characters, words, unique words, sentences, paragraphs and lines in a piece of text, plus average word/sentence length and an estimated reading time. Use this to check length limits or to profile a draft before editing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to analyze. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Number of lines. | |
| words | Yes | Word count. | |
| sentences | Yes | Sentence count. | |
| characters | Yes | Total characters, including whitespace. | |
| paragraphs | Yes | Blocks of text separated by a blank line. | |
| unique_words | Yes | Number of distinct lowercase words. | |
| average_word_length | Yes | Mean characters per word. | |
| characters_no_spaces | Yes | Characters excluding all whitespace. | |
| reading_time_minutes | Yes | Estimated silent reading time at 200 wpm. | |
| average_sentence_length | Yes | Mean words per sentence. |