返回顶部
t

text-stats

Analyze text documents for word count, reading time, readability scores (Flesch-Kincaid, Gunning Fog), keyword density, and sentence statistics. Supports multiple languages including CJK. Zero dependencies.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
347
下载量
0
收藏
概述
安装方式
版本历史

text-stats

# Text Stats Analyze any text document for readability, word count, keyword density, and more. Perfect for content optimization, SEO analysis, or writing improvement. ## Usage ### Full analysis ```bash python3 {baseDir}/scripts/text_stats.py analyze document.txt python3 {baseDir}/scripts/text_stats.py analyze document.md ``` ### Word count only ```bash python3 {baseDir}/scripts/text_stats.py wc document.txt ``` ### Keyword density ```bash python3 {baseDir}/scripts/text_stats.py keywords document.txt --top 20 ``` ### Reading time ```bash python3 {baseDir}/scripts/text_stats.py time document.txt ``` ## Output Example ``` 📊 Text Analysis: article.md ━━━━━━━━━━━━━━━━━━━━━━━━━━ Words: 2,847 Characters: 16,203 Sentences: 142 Paragraphs: 38 Avg words/sent: 20.0 Reading time: ~11 min (at 250 wpm) Readability: Flesch-Kincaid Grade: 8.2 (8th grade) Flesch Reading Ease: 62.1 (Standard) Gunning Fog Index: 10.4 Top Keywords: AI (47x, 1.65%) agent (31x, 1.09%) data (28x, 0.98%) ``` ## Features - 📏 Word, character, sentence, paragraph counts - ⏱️ Estimated reading time - 📖 Readability scores (Flesch-Kincaid, Gunning Fog, Flesch Reading Ease) - 🔑 Keyword frequency and density - 🇨🇳 CJK character counting (Chinese characters = words) - 🪶 Zero dependencies — Python stdlib only ## Dependencies None! Uses only Python standard library.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 text-stats-1776121179 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 text-stats-1776121179 技能

通过命令行安装

skillhub install text-stats-1776121179

下载 Zip 包

⬇ 下载 text-stats v1.0.0

文件大小: 3.6 KB | 发布时间: 2026-4-14 10:52

v1.0.0 最新 2026-4-14 10:52
Initial release of text-stats.

- Analyze text files for word, character, sentence, and paragraph counts
- Calculate reading time and readability scores (Flesch-Kincaid, Gunning Fog, Flesch Reading Ease)
- Extract keyword frequency and density
- Supports multilingual analysis, including CJK character counting
- Runs with zero dependencies (Python standard library only)

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部