24

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.

TPR
  • 2,567
  • 10
  • 41
  • 65

2 Answers2

42

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/

devdigital
  • 34,151
  • 9
  • 98
  • 120
  • I did stumble upon that link, but it leaves implementation in my hand and by reading the comments, it seemed more on the naive side. I could be wrong. I will give that a try if nothing open-source is available. – TPR Jul 22 '11 at 11:38
  • thanks, i finaly found what i was looking for between the closed question or downvoted questions -_-.. – Sebastien H. Apr 03 '14 at 09:01
0

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

Rafael Ferreira
  • 1,260
  • 8
  • 11