检测并移除AI生成的写作模式,将文本重写为更自然、人工写作风格,提供诊断报告和版本对比。
人性化 AI Text 1: 从文本中移除 AI 生成的写作符号. . 编辑或审查文本时使用,使其听起来更自然,更人性化. 基于维基百科的全面"Signs of是一项面向实际任务的技能。它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。
实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。
执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。
从文本中移除 AI 生成写作的痕迹。适用于编辑或审阅文本时,使其读起来更自然、更像人类撰写。
基于 Wikipedia 全面的《AI 写作迹象》指南。
AI 检测:识别 16 类 AI 生成文本的模式
模式类别:
诊断报告:生成详细的 AI 检测报告
文本转换:重写文本,使其更具人类写作风格
对比模式:对比原始文本与人性化后的版本
# 基础检测 python skills/humanize-ai-text/scripts/detect.py text.txt # JSON 格式输出 python skills/humanize-ai-text/scripts/detect.py text.txt -j # 仅输出得分 python skills/humanize-ai-text/scripts/detect.py text.txt -s # 直接通过管道传入文本 echo "这段文字可能由 AI 生成" | python skills/humanize-ai-text/scripts/detect.py
# 基础转换 python skills/humanize-ai-text/scripts/transform.py text.txt # 输出到文件 python skills/humanize-ai-text/scripts/transform.py text.txt -o clean.txt # 激进模式(更多修改) python skills/humanize-ai-text/scripts/transform.py text.txt -a # 静默模式(不显示进度信息) python skills/humanize-ai-text/scripts/transform.py text.txt -q
# 对比原始文本与转换后文本 python skills/humanize-ai-text/scripts/compare.py text.txt # 对比并保存结果 python skills/humanize-ai-text/scripts/compare.py text.txt -o document_v2.txt
该技能已预装。如需使用,请确保系统已安装 Python 3。
无需外部依赖——仅使用 Python 标准库。
检测脚本可识别以下 AI 写作模式:
patterns.json 添加自定义检测规则编辑 skills/humanize-ai-text/scripts/patterns.json:
{
"custom_patterns": {
"my_pattern": {
"regex": "pattern_here",
"replacement": "replacement_text",
"description": "What this pattern detects"
}
}
}
批量处理多个文件:
for f in *.md; do
python skills/humanize-ai-text/scripts/detect.py "$f" -s
python skills/humanize-ai-text/scripts/transform.py "$f" -a -o "${f%.md}_clean.md" -q
done
AI 检测报告 =================== 文件:text.txt AI 概率:73% 检测到的模式: - AI 特有词汇:12 处 - 填充短语:8 处 - 修辞平行结构:5 处 ...
原文:"I'd be happy to delve into this important topic." 人性化后:"Let's explore this topic."
# 在 CI/CD 或 pre-commit 钩子中使用 python skills/humanize-ai-text/scripts/detect.py content.md -s # 若 AI 得分超过阈值则失败
部分符合规范的人类写作也可能触发某些模式,请人工复核确认。
AI 模型持续演进。请定期更新 patterns.json 中的规则。
请确保输入文件采用 UTF-8 编码:
python skills/humanize-ai-text/scripts/detect.py file.txt --encoding utf-8
# 检查 AI 得分 python skills/humanize-ai-text/scripts/detect.py blog_post.md -s # 输出:AI 概率:68% # 执行转换 python skills/humanize-ai-text/scripts/transform.py blog_post.md -o blog_post_clean.md -a # 对比版本 python skills/humanize-ai-text/scripts/compare.py blog_post.md -o blog_post_clean.md
echo "I hope this email finds you well. I wanted to reach out regarding..." | python skills/humanize-ai-text/scripts/detect.py
# 在论文中检测 AI 模式 python skills/humanize-ai-text/scripts/detect.py paper.md -j > report.json # 使用保守参数执行转换 python skills/humanize-ai-text/scripts/transform.py paper.md -o paper_clean.md
相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134.1万人学习
共49课时 | 82.6万人学习