| enact | 2.0.0 |
| name | enact/text-summarizer |
| version | 1.0.1 |
| description | Analyzes text and provides word count, character count, and sentence statistics |
| from | node:20-alpine |
| command | node /work/summarize.js ${text} |
| timeout | 30s |
| inputSchema | [object Object] |
| outputSchema | [object Object] |
| annotations | [object Object] |
| tags | text, analysis, utility |
Text Summarizer
A tool that analyzes text and provides useful statistics including word count, character count, sentence count, and estimated reading time.
Usage
enact run keithgroves/text-summarizer --args '{"text": "Hello world. This is a test."}'
Features
- Word count
- Character count (excluding spaces)
- Sentence count estimation
- Average word length calculation
- Reading time estimation (based on 200 words/minute)
Example Output
{
"wordCount": 6,
"characterCount": 22,
"sentenceCount": 2,
"averageWordLength": 3.67,
"readingTimeMinutes": 0.03
}