简介:
NNSwearFilter 是首款此类插件;它是一个反脏话插件,利用神经网络来判断玩家发送的消息中是否包含脏话。
常见问题解答:
它是如何检测消息中是否包含脏话的?
该插件的工作原理是将玩家发送的消息输入网络,并逐个字符地进行分析。如果它检测到某些字母组合与脏话相似,就会阻止该消息的发送。
如果检测到脏话会发生什么?
在当前的版本中,插件会阻止其他玩家看到该消息,并向发送者发送一条提示,告知其消息中包含脏话。在未来的版本中,我或许能够实现“屏蔽”(censor)该词的功能,但这需要插件能够预先知道脏话包含多少个字符(否则只屏蔽部分单词又有什么意义呢?)。
玩家可以通过修改消息来绕过检测吗?
不能。由于神经网络旨在识别文本中的模式,将 "F*ck" 改为 "F************CK" 或 "F***_GHE-CK" 并不会改变检测结果。
这个插件会产生误报吗?
在测试过程中,除非我通过“乱按键盘”随机输入字符串直到触发检测,否则我没有产生过任何误报。对于大多数服务器常见的普通聊天内容,你不太会遇到误报。如果你或其他玩家遇到任何误报,请在此处报告,我可以添加“学习补丁”以教导网络允许这些词汇。
Github页面:
此插件使用 bStats 收集统计数据:
bStats 仅收集有关你的系统架构、服务器版本和插件版本的信息。如果你确实不希望发送任何这些信息,可以通过进入配置文件并将 "enableStats" 设置为 false 来禁用 bstats。
Introduction:
NNSwearFilter is the first plugin of it's kind; It is a anti-swear plugin that uses neural networks in order to determine if a message sent by a player contains a swear word.
FAQ:
How does it detect if a message contains a swear word?
The way this plugin works is that it feeds the message the player has sent into the network, and slowly moves through each character. If it detects that a certain string of letters is similar to a swear word, it will block the message.
What happens if it does detect a swear word?
For the current version, the plugin just blocks the message from being seen by the rest of the players, and sends a message to the sender that the message contains a swear word. In future versions, I may be able to make it "censor" the word, but it will require the plugin to know how many characters ahead were a part of the swear word (whats the use of censoring part of a word?)
Are players able to bypass it by changing their message?
No, not really. Since the neural network is designed to look at patterns in text, changing "F*ck" to "F************CK", or "F***_GHE-CK" will not change the outcome.
Does this plugin print out false positive?
While testing it, I was not able to produce any false positives unless I "keymashed" random strings of text until it detected it. For general chat that happens on most servers, you should not run into any false positives. If you or another player run into any false positives, report it here and I can add "learning patches" to teach the network to allow those words.
GithubPage:
This plugin collects stats using bStats:
Bestats only collects information regarding your system architecture, the server version, and plugin version. If you really do not want any of this information being sent, you can disable bstats by going into the config and setting: "enableStats" to false.
评论 0
登录后参与评分
还没有评论,来抢沙发吧