Skip to main content

text-stats

Analyze text files for word count, character count, line count, sentence count, reading time, speaking time, readability scores (Flesch Reading Ease, Flesch-Kincaid Grade Level), and vocabulary statistics. Use when counting words, analyzing readability, estimating reading time, or getting text metrics for documents, essays, blog posts, or any text content.

설치로 이동

소스 정보

저장소
knownasnaffy/prompthound
최근 소스 활동
2026년 7월 6일 07:03
감지된 SKILL.md 언어
영어
스타
0
포크
1

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
text-stats
description
Analyze text files for word count, character count, line count, sentence count, reading time, speaking time, readability scores (Flesch Reading Ease, Flesch-Kincaid Grade Level), and vocabulary statistics. Use when counting words, analyzing readability, estimating reading time, or getting text metrics for documents, essays, blog posts, or any text content.
# Text Stats Analyze text for word count, readability, reading time, and more. Reads files or stdin. ## Quick Start ```bash # Analyze a file python3 scripts/text_stats.py README.md # Multiple files python3 scripts/text_stats.py file1.txt file2.txt # From stdin echo "The quick brown fox jumps over the lazy dog." | python3 scripts/text_stats.py # JSON output python3 scripts/text_stats.py essay.md -f json # Compact (key metrics only) python3 scripts/text_stats.py chapter.txt --compact ``` ## Output Metrics | Metric | Description | |--------|-------------| | Words | Total word count | | Characters | Total characters (with and without spaces) | | Lines | Total and non-blank line count | | Sentences / Paragraphs | Count of each | | Syllables | Estimated syllable count | | Unique Words | Vocabulary diversity | | Avg Word/Sentence Length | Average sizes | | Reading Time | Estimated at 238 WPM | | Speaking Time | Estimated at 150 WPM | | Flesch Reading Ease | 0-100 scale (higher = easier) | | Flesch-Kincaid Grade | US grade level equivalent | | Difficulty | Easy / Standard / Fairly Difficult / Difficult / Very Difficult | ## Options | Flag | Description | |------|-------------| | `-f, --format` | `plain` or `json` output | | `--compact` | Show only words, sentences, reading time, grade, difficulty | ## Notes - No external dependencies (Python 3 stdlib only) - Handles UTF-8 text with graceful fallback for encoding errors - Syllable counting is heuristic-based (English-optimized)
GitHub에서 보기