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

2

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.

Propman answered 22/7, 2011 at 10:45 Comment(5)
See here for some discussion around this: #274016Dwarfish
I did take a look at that discussion. Nothing for .NET (at least free/open source)Propman
Why would you ever need such a thing?Chit
It is just one of those things you need to have...Propman
@CodeInChaos I need one as the client i am work for would prefer not to have swear words on their site as it is based at children.Barling
K
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/

Konstance answered 22/7, 2011 at 10:51 Comment(2)
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.Propman
thanks, i finaly found what i was looking for between the closed question or downvoted questions -_-..Choppy
G
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

Gehman answered 18/8, 2016 at 5:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.