9 Commits
dev ... main

Author SHA1 Message Date
821a3a9d5f Update Vocabulary/政治类型.txt 2025-12-18 14:58:51 +08:00
ce23dcbab0 Update Vocabulary/政治类型.txt 2025-12-18 14:20:29 +08:00
f72a5a6710 Update Vocabulary/政治类型.txt 2025-10-29 22:24:53 +08:00
a03cbd22e4 Update Vocabulary/政治类型.txt 2025-10-29 22:15:50 +08:00
b61da8dc17 Update Vocabulary/政治类型.txt 2025-10-18 11:58:39 +08:00
a8a116269c Update Vocabulary/政治类型.txt
移除重复。
2025-10-17 22:28:15 +08:00
RookieCuzz
276c7bcb97 add: 三大理论 2025-10-08 11:04:15 +08:00
RookieCuzz
8ee187f5be update: dev分支介绍 2025-10-08 10:52:23 +08:00
RookieCuzz
33bd23f781 add: gitignore 2025-10-08 10:52:08 +08:00
4 changed files with 100 additions and 25 deletions

68
.gitignore vendored Normal file
View 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

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" /> <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`

View File

@@ -1,8 +1,10 @@
习近平 习近平
平近习 平近习
xjp xjp
JinPing Xi
习太子 习太子
习明泽 习明泽
彭丽媛
老习 老习
温家宝 温家宝
温加宝 温加宝
@@ -267,7 +269,6 @@ g产
g匪 g匪
共匪 共匪
仇共 仇共
政府
症腐 症腐
政腐 政腐
政付 政付
@@ -278,7 +279,6 @@ zhengfu
政zhi 政zhi
挡中央 挡中央
档中央 档中央
中央领导
中国zf 中国zf
中央zf 中央zf
国wu院 国wu院
@@ -286,41 +286,24 @@ zhengfu
gong和 gong和
大陆官方 大陆官方
北京政权 北京政权
江泽民
胡锦涛 胡锦涛
温家宝
习近平
习仲勋
贺国强
贺子珍 贺子珍
周永康
李长春
李德生 李德生
王岐山
姚依林 姚依林
回良玉
李源潮
李干成 李干成
戴秉国
黄镇 黄镇
刘延东
刘瑞龙 刘瑞龙
俞正声
黄敬 黄敬
薄熙 薄熙
薄一波
周小川 周小川
周建南 周建南
温云松
徐明 徐明
江泽慧
江绵恒
江绵康
李小鹏
李鹏
李小琳
朱云来
朱容基
法轮功 法轮功
李洪志 李洪志
新疆骚乱 新疆骚乱
李强
郭文贵
张又侠
老王来了
六四
反送中

View File

@@ -0,0 +1,14 @@
力工梭哈
力工梭哈定律
力工梭哈理论
供养者思维
梭哈结婚
梭哈婚姻
梭哈成家
梭哈买房
梭哈家庭
攒钱结婚梭哈
理工男脉冲
性压抑大一统
性压抑大一统理论
性压抑相对论