update: dev分支介绍

This commit is contained in:
RookieCuzz
2025-10-08 10:52:23 +08:00
parent 33bd23f781
commit 8ee187f5be

View File

@@ -83,3 +83,13 @@ git clone https://github.com/Konsheng/Sensitive-lexicon.git
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=konsheng/Sensitive-lexicon&type=Date" />
</picture>
</a>
## 敏感词检测服务Go
- 提供基于 Go 的敏感词检测服务,支持模糊匹配与词库热加载。
- 服务代码路径:`./cmd/server`(包含 REST API`/detect``/contains``/reload``/health`)。
- 分支导航:
- `dev` 开发版服务与工程化更新更频繁https://github.com/Konsheng/Sensitive-lexicon/tree/dev
- Docker 运行示例:
- `docker run -p 8080:8080 ghcr.io/<你的用户名>/sensitive-lexicon-server:latest`
- 环境变量:`PORT`, `LEXICON_DIR`, `FUZZY_MIN_NGRAM`, `FUZZY_MAX_NGRAM`, `FUZZY_MAX_DISTANCE`