any open-source/free .NET profanity filter for website?

我的梦境 提交于 2019-12-04 15:40:25

问题


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.


回答1:


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/




回答2:


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



来源:https://stackoverflow.com/questions/6788868/any-open-source-free-net-profanity-filter-for-website

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!