name: word-counter description: A comprehensive text analysis tool that counts words, characters, sentences, and paragraphs. Calculates reading time, speaking time, reading level (Flesch-Kincaid), and keyword density.
This skill provides comprehensive text analysis including word count, character count, sentence/paragraph count, reading/speaking time estimates, readability scoring, and keyword density analysis.
Use when users need to analyze text length, check word count for essays/blogs/social media posts, estimate reading time, assess readability, or analyze keyword frequency for SEO content.
| Content Type | Word Count | Reading Time |
|---|---|---|
| X (Twitter) post | 40-50 | < 1 min |
| Facebook post | 40-80 | < 1 min |
| LinkedIn post | 50-100 | < 1 min |
| Email subject line | 6-10 | < 1 min |
| Meta description | 25-30 | < 1 min |
| Short blog post | 300-600 | 2-3 min |
| Standard blog post | 1,000-1,500 | 5-7 min |
| Long-form article | 2,000-3,000 | 10-15 min |
| College essay | 500-5,000 | 3-25 min |
from scripts.word_counter import analyze_text
result = analyze_text("Your text here...")
print(result)
python scripts/word_counter.py "Your text here"
# or
python scripts/word_counter.py --file path/to/file.txt
scripts/word_counter.py - Main text analysis scriptreferences/formulas.md - Detailed formulas for reading level and time calculations这个工具质量不错,功能覆盖全面,能满足日常文本分析需求。文档写得清楚易懂,代码实现规范,还贴心地提供了各类内容的字数参考表。美中不足的是,音节估算采用简化算法,可读性评分可能存在偏差,词数统计在处理连字符、缩写等特殊格式时也可能有误差。总体来说是一个值得使用的文本分析工具,但重要场合的结果建议人工复核。