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 entirel开发者_如何学运
I have a dictionary of swear words in the database, and the following works great preg_match_all(\"/\\b\".$f.\"(?:ing|er|es|s)?\\b/si\",$t,$m,PREG_SET_ORDER);
I\'m trying to replace a set of words in a text string. Now I have a loop, which does not perform well:
This is probably v.easy but my ph开发者_StackOverflow社区p is very rusty. I need to implement a bad word filter...I currently have this:
I want to use base36 in a web application I am developing... but as the id is visible to 开发者_Python百科users as a url, I want to filter out profanity.Has anyone solved this? Or is this even a real
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing
I\'m thinking of something like: foreach (var word in paragraph.split(\' \')) { if (badWordArray.Contains(word) {
How have you like minded individuals tackled the basic challenge of filtering profanity, obviously one can\'t possibly tackle every scenario but it would be nice to have one at the most basic level开发
I\'ve got key-press-event handler and i need to determine which kind of key was pressed: modifier or not?