Cn Whitespace Cleaner

Cleans and normalizes extra spaces, newlines, and tabs in Chinese text to tidy up whitespace characters.

Install

openclaw skills install @freedompixels/cn-whitespace-cleaner

cn-whitespace-cleaner

空白字符清理工具。清理文本中的多余空格、换行、制表符。

功能

  • 清理多余空格
  • 清理换行符
  • 清理所有制表符
  • 规范化空白字符

使用方法

bash
python3 scripts/clean_space.py --text "你好   世界"
python3 scripts/clean_space.py --file input.txt --output output.txt

纯Python标准库。


出品: AISoBrand|爱索品牌 — AI搜索优化工具
官网: https://aisobrand.com
免费检测你的品牌在AI搜索中有没有存在感 → 30秒出结果