- 提供智能鉴黄、涉政检测、暴恐违禁等 在线敏感词检测、在线敏感词过滤服务,
- 可部署至「本地服务器」或「云服务器」,保障数据私密性,提供一键启动私有化部署包。
- 『开箱即用的检测服务』
先下载本地部署包
选择其一下载即可
私有化部署优势
- 不限调用次数;
- 支持自定义词条;
- 直接服务器本地检测,低网络延迟、内容隐私。
部署硬件配置要求
普通云机器即可:CPU=1核/2核,内存200M
部署(Linux环境示例)
下载svc文件夹到服务器,运行
[root@localhost svc]# ls
blacklist.txt config.ini whitelist.txt wordscheck
[root@localhost svc]# ./wordscheck
完整部署文档
python敏感词过滤代码
import requests
import json
url = "http://localhost:8080/wordscheck"
content = '他在传播艳情内容'
data = json.dumps({'content': content})
headers = {'Content-Type': 'application/json'}
response = requests.post(url, data=data, headers=headers)
print(response.text)
过滤结果示例
{
"code": "0",
"msg": "检测成功",
"return_str": "他在传播**内容",
"word_list": [{
"keyword": "艳情",
"category": "色情",
"position": "4-5",
"level": "高"
}]
}