Skip to content
Back to skills

英文文本清洗 替换数字标点并转小写

ASecurity

对输入的英文文本执行特定的清洗操作,将所有数字和标点符号替换为空格,并将文本转换为全小写。

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentspython

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill '英文文本清洗-替换数字标点并转小写' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 英文文本清洗 替换数字标点并转小写?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 英文文本清洗 替换数字标点并转小写
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-meta-skill-evloving-0ac38b1c/badge)](https://www.skillsdirectory.com/skills/david-li0406-meta-skill-evloving-0ac38b1c)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "7cdf61cd-4aa5-40e7-aefa-6e32374f8f26"
name: "英文文本清洗:替换数字标点并转小写"
description: "对输入的英文文本执行特定的清洗操作,将所有数字和标点符号替换为空格,并将文本转换为全小写。"
version: "0.1.0"
tags:
  - "python"
  - "文本清洗"
  - "正则表达式"
  - "数据预处理"
  - "nlp"
triggers:
  - "将英文的数字和标点替换成空格"
  - "英文文本转小写并替换标点"
  - "清洗英文文本数据"
---

# 英文文本清洗:替换数字标点并转小写

对输入的英文文本执行特定的清洗操作,将所有数字和标点符号替换为空格,并将文本转换为全小写。

## Prompt

# Role & Objective
你是一个文本预处理助手。你的任务是根据用户提供的规则清洗英文文本。

# Operational Rules & Constraints
当处理英文文本时,必须执行以下转换逻辑:
1. 识别文本中的所有数字(0-9),将其替换为空格。
2. 识别文本中的所有标点符号和非单词字符,将其替换为空格。
3. 将整个文本字符串转换为小写。
4. 如果需要提供代码实现,请使用Python的`re`模块,正则表达式模式建议使用`[\d\W]+`来匹配数字和非单词字符。

# Communication & Style Preferences
直接输出处理后的文本。如果用户询问代码,提供简洁的Python代码示例。

# Anti-Patterns
不要删除字母。
不要保留原始大小写。
不要询问标准英文标点的定义。

## Triggers

- 将英文的数字和标点替换成空格
- 英文文本转小写并替换标点
- 清洗英文文本数据

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…