Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 821a3a9d5f | |||
| ce23dcbab0 | |||
| f72a5a6710 | |||
| a03cbd22e4 | |||
| b61da8dc17 | |||
| a8a116269c | |||
|
|
276c7bcb97 | ||
|
|
8ee187f5be | ||
|
|
33bd23f781 |
68
.gitignore
vendored
Normal file
68
.gitignore
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
# Go build artifacts
|
||||
bin/
|
||||
build/
|
||||
dist/
|
||||
out/
|
||||
|
||||
# Executables and shared libs
|
||||
*.exe
|
||||
*.exe~
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
|
||||
# Test and coverage outputs
|
||||
*.test
|
||||
coverage.out
|
||||
*.coverprofile
|
||||
cover/
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
logs/
|
||||
|
||||
# Env files
|
||||
.env
|
||||
.env.*
|
||||
.envrc
|
||||
|
||||
# Caches & temp
|
||||
.cache/
|
||||
tmp/
|
||||
|
||||
# Profiling & traces
|
||||
*.prof
|
||||
*.pprof
|
||||
trace.out
|
||||
|
||||
# PID and backup files
|
||||
*.pid
|
||||
*.bak
|
||||
*.orig
|
||||
|
||||
# Editor swap files
|
||||
*.swp
|
||||
*.swo
|
||||
~*
|
||||
|
||||
# IDE settings
|
||||
.vscode/
|
||||
.idea/
|
||||
*.iml
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Archives
|
||||
*.zip
|
||||
*.tar
|
||||
*.tar.gz
|
||||
*.rar
|
||||
*.7z
|
||||
|
||||
# Keys & certs (avoid committing secrets)
|
||||
*.pem
|
||||
*.key
|
||||
*.crt
|
||||
*.cert
|
||||
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" />
|
||||
</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`
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
习近平
|
||||
平近习
|
||||
xjp
|
||||
JinPing Xi
|
||||
习太子
|
||||
习明泽
|
||||
彭丽媛
|
||||
老习
|
||||
温家宝
|
||||
温加宝
|
||||
@@ -267,7 +269,6 @@ g产
|
||||
g匪
|
||||
共匪
|
||||
仇共
|
||||
政府
|
||||
症腐
|
||||
政腐
|
||||
政付
|
||||
@@ -278,7 +279,6 @@ zhengfu
|
||||
政zhi
|
||||
挡中央
|
||||
档中央
|
||||
中央领导
|
||||
中国zf
|
||||
中央zf
|
||||
国wu院
|
||||
@@ -286,41 +286,24 @@ zhengfu
|
||||
gong和
|
||||
大陆官方
|
||||
北京政权
|
||||
江泽民
|
||||
胡锦涛
|
||||
温家宝
|
||||
习近平
|
||||
习仲勋
|
||||
贺国强
|
||||
贺子珍
|
||||
周永康
|
||||
李长春
|
||||
李德生
|
||||
王岐山
|
||||
姚依林
|
||||
回良玉
|
||||
李源潮
|
||||
李干成
|
||||
戴秉国
|
||||
黄镇
|
||||
刘延东
|
||||
刘瑞龙
|
||||
俞正声
|
||||
黄敬
|
||||
薄熙
|
||||
薄一波
|
||||
周小川
|
||||
周建南
|
||||
温云松
|
||||
徐明
|
||||
江泽慧
|
||||
江绵恒
|
||||
江绵康
|
||||
李小鹏
|
||||
李鹏
|
||||
李小琳
|
||||
朱云来
|
||||
朱容基
|
||||
法轮功
|
||||
李洪志
|
||||
新疆骚乱
|
||||
李强
|
||||
郭文贵
|
||||
张又侠
|
||||
老王来了
|
||||
六四
|
||||
反送中
|
||||
14
Vocabulary/新思想启蒙.txt
Normal file
14
Vocabulary/新思想启蒙.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
力工梭哈
|
||||
力工梭哈定律
|
||||
力工梭哈理论
|
||||
供养者思维
|
||||
梭哈结婚
|
||||
梭哈婚姻
|
||||
梭哈成家
|
||||
梭哈买房
|
||||
梭哈家庭
|
||||
攒钱结婚梭哈
|
||||
理工男脉冲
|
||||
性压抑大一统
|
||||
性压抑大一统理论
|
||||
性压抑相对论
|
||||
Reference in New Issue
Block a user