有没有开源/免费的 .NET 网站脏话过滤器?
您是否知道任何开源/免费的 .NET 脏话过滤器(准确地说是 ASP.NET MVC)?我搜索了谷歌,但我找不到任何结果。如果可能的话,我想避免完全自己实现它。很容易犯错误或忽略某些事情。
Are you aware of any open-source/free .NET profanity filter (ASP.NET MVC to be precise)? I searched google but I couldn't come up with any. I would like to avoid implementing it entirely on my own, if possible. It is so easy to make mistake or overlook something.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
多好的问题啊。
(我本来会将此添加为评论,但我是个****)
更新
好的,这里有一些可能更有用的东西:
http://james.newtonking.com/archive/2009/07/03/ simple-net-profanity-filter.aspx
上面描述了使用正则表达式从单词列表中过滤脏话的简单方法。
您可以从这里下载脏话列表 - http://www.noswearing.com/
What a ******* good question.
(I would have added this as a comment, but I'm a ****)
Update
Ok, here is something that might be a bit more useful:
http://james.newtonking.com/archive/2009/07/03/simple-net-profanity-filter.aspx
The above describes a simple swear filter from a list of words using regular expressions.
You could download a list of swear words from here - http://www.noswearing.com/
尽管不是特定于 .net,但这里有一个多种语言的亵渎单词的开源列表,您可以使用 https:// /github.com/uvasoftware/yara-language-nsfw
albeit not .net specific, here's an open source list of profane words in multiple languages you can use https://github.com/uvasoftware/yara-language-nsfw