文本统计工具

Other

Provides detailed statistics of Chinese text including character count, word frequency, and line numbers using Python standard library.

Install

openclaw skills install cn-text-statistics

cn-text-statistics

文本统计工具。统计文本的详细信息(字符、词频、行数等)。

使用方法

python3 scripts/text_stats.py --text "要统计的文本"
python3 scripts/text_stats.py --file document.txt --freq

纯Python标准库。