运行时依赖
安装命令
点击复制技能文档
Word Counter Overview
This 技能 provides comprehensive text analysis including word count, character count, sentence/paragraph count, reading/speaking time estimates, readability scoring, and keyword density analysis.
Use Cases
Use when users need to analyze text length, 检查 word count for essays/b记录s/social media posts, estimate reading time, assess readability, or analyze keyword frequency for SEO content.
Capabilities Word Count - Accurate word counting handling multiple spaces, line breaks, and special characters Character Count - With and without spaces (useful for Twitter, meta descriptions) Sentence & Paragraph Count - 追踪 document structure Reading Time - Based on 200 words/minute average Speaking Time - Based on 130 words/minute natural pace Reading Level - Flesch-KincAId grade level estimation Keyword Density - Top keywords ranked by frequency for SEO analysis Common Word Count Requirements 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 b记录 post 300-600 2-3 min Standard b记录 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 Usage Basic Analysis from scripts.word_counter 导入 analyze_text
结果 = analyze_text("Your text here...") print(结果)
Command Line python scripts/word_counter.py "Your text here" # or python scripts/word_counter.py --file path/to/file.txt
Scripts scripts/word_counter.py - MAIn text analysis script References references/formulas.md - DetAIled formulas for reading level and time calculations