klarkxy/dsh-editor--packages-dsh-proofread ↗★ 11
dsh-proofread
按确定性规则独立检查中文标点、错别字与敏感词。 适合在Web端需要快速校对中文文本、过滤敏感词与口癖的创作者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:klarkxy/dsh-editor#45bfe9acd47ac14d63b602f1f007870fc8c8d7ed&path:packages/dsh-proofread说明文档
阅读完整 README ↗dsh-proofread
按确定性规则检查中文文本的标点、错别字、敏感词、重复与口癖。可独立用于 DSH Web。
安装
需要 Node.js ≥22、DSH 0.1.7-alpha.1。本包尚未发布到 npm;在仓库根运行 pnpm build、pnpm pack:plugins,从 .pack/ 取得 tarball。
将包放在不含空格的目录,停止目标 Web profile,再在该目录执行:
$packagePath = (Resolve-Path .\dsh-proofread-0.1.0.tgz).Path.Replace('\', '/')
dsh plugin --profile web add "file:$packagePath"
dsh --profile web
文件名以实际打包版本为准。重启后打开「校对」,输入文本检查。
开发接口见 src/contracts.ts。