update: dev分支介绍
This commit is contained in:
10
README.md
10
README.md
@@ -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" />
|
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=konsheng/Sensitive-lexicon&type=Date" />
|
||||||
</picture>
|
</picture>
|
||||||
</a>
|
</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`
|
||||||
|
|||||||
Reference in New Issue
Block a user