white

Results 9 comments of white

> 添加了这个敏感词库后,我在公共号里发内容,都回复 “您的内容包含敏感词”。 我在敏感词表里ctrl f也找不到对应的词汇,感觉好像还是有点小问题 看看运行日志和敏感词.txt

> > > 添加了这个敏感词库后,我在公共号里发内容,都回复 “您的内容包含敏感词”。 我在敏感词表里ctrl f也找不到对应的词汇,感觉好像还是有点小问题 > > > > > > 看看运行日志和敏感词.txt > > 大佬能不能再加个功能,机器人在输出前再过滤一次嘛 星期六天再搞这个。 这个功能就是在do_sent函数里面实现的,把敏感词添加进去也是一个逻辑

> https://github.com/houbb/sensitive-word 这个项目里面管理的敏感词库比较厉害,前面那个有点老了,好像还是8年前的 https://github.com/cjh0613/tencent-sensitive-words 据说是腾讯的 敏感词是按用户输入的每句话中按照两个两个分隔的,如果任意其中两个字包含在sensitive_words.txt 里面,那么程序就会按照敏感词来阻止运行。

![image](https://user-images.githubusercontent.com/38567612/223410004-27c4445e-227a-4040-b586-796f430494db.png) ![image](https://user-images.githubusercontent.com/38567612/223410054-4b585a2c-5ec0-43f8-906f-b1c6728bc159.png) 我怎么没有问题

> > > > > ![图像](https://user-images.githubusercontent.com/38567612/223410004-27c4445e-227a-4040-b586-796f430494db.png) ![图像](https://user-images.githubusercontent.com/38567612/223410054-4b585a2c-5ec0-43f8-906f-b1c6728bc159.png) 我怎么没有问题 > > ![微信图片_20230307195620](https://user-images.githubusercontent.com/76683744/223416074-3feea4dd-8fc7-469c-a14d-db7768ada978.png) 已经使用大佬你的sensitive_words.txt了,但是并没有效果,sensitive_words.txt已经放在bot-on-anything里面的根目录下了 建议重新拉仓库, 重新添加敏感词 一行一个敏感词

> > > > > > > > > > > > > > ![图像](https://user-images.githubusercontent.com/38567612/223410004-27c4445e-227a-4040-b586-796f430494db.png) ![图像](https://user-images.githubusercontent.com/38567612/223410054-4b585a2c-5ec0-43f8-906f-b1c6728bc159.png) 我怎么没有问题 > > > > > > > > > ![微信图片_20230307195620](https://user-images.githubusercontent.com/76683744/223416074-3feea4dd-8fc7-469c-a14d-db7768ada978.png) 已经使用大佬你的sensitive_words.txt了,但是并没有效果,sensitive_words.txt已经放在bot-on-anything里面的根目录下了 > >...

> 啊对 是那个。那我自己用也没问题啊 ![1678191942496](https://user-images.githubusercontent.com/38567612/223421606-331d18d2-82aa-44d1-8bb8-279c36aac65d.png)

> > > 啊对 是那个。那我自己用也没问题啊 > > > ![1678191942496](https://user-images.githubusercontent.com/38567612/223421606-331d18d2-82aa-44d1-8bb8-279c36aac65d.png) > > 是要另外安装什么依赖么?还是说还要修改其它参数。。。。? 啥都不用改只需要添加词就可以用 你这个运行着的日志都报错了。你应该改动了哪里 重新来过吧

> > > > > 啊对 是那个。那我自己用也没问题啊 > > > > > ![1678191942496](https://user-images.githubusercontent.com/38567612/223421606-331d18d2-82aa-44d1-8bb8-279c36aac65d.png) > > > > > > > > > 是要另外安装什么依赖么?还是说还要修改其它参数。。。。? > > > > > > 啥都不用改只需要添加词就可以用...