Sensitive word detection - 敏感词检测
附有词库大约5W
flask
jieba
./build.sh
./run.sh
python3 test.py
默认跑起来服务位于http://127.0.0.1:5002/api/check
传参: http://127.0.0.1:5002/api/check?input=content
{
"divide" : "哈哈",
"pass" : true,
"time" : 0.00537023871
}
blacklist.txt(黑名单):添加违禁词汇
whitelist.txt(白名单):添加解禁词汇