← 返回
未分类 中文

text-cleaner-lite

Normalize whitespace, remove duplicated blank lines, and trim leading/trailing spaces from text input.
规范化空白字符,删除重复的空行,并去除文本输入的首尾空格。
askjda askjda 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 318
下载
💾 0
安装
1
版本
#latest

概述

# Skill Name

text-cleaner-lite

Function Description

Normalize whitespace, remove duplicated blank lines, and trim leading/trailing spaces.

Input Parameters

  • raw_text (string), keep_newlines (boolean, optional)

Output Result

  • cleaned_text (string)

Usage Example

`ash

python main.py --input sample.txt --mode clean

`

Risk Statement

  • Risk level: L1
  • This skill may perform actions matching category $(@{skill_id=skill_001; name=text-cleaner-lite; category=text-processing; risk_level=L1; source_template=skillsmp_download/1/SKILL.md; description=Normalize whitespace, remove duplicated blank lines, and trim leading/trailing spaces.; input=raw_text (string), keep_newlines (boolean, optional); output=cleaned_text (string); tags=System.Object[]; example=python main.py --input sample.txt --mode clean}.category) and should be reviewed before production use.

Category Tags

  • text-processing, normalization, safe

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 18:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

csv-profile-stepper

askjda
读取CSV,输出字段类型、空值率、唯一值计数。
★ 0 📥 352

text-cleaner-cli

askjda
清除文本中多余的空格、空行和行尾空格。
★ 1 📥 392

webhook-post-task

askjda
将本地 JSON 发送到 webhook 并记录响应。
★ 0 📥 377