profanity Questions

5

Solved

I’m having a crack at profanity filtering for a web forum written in Python. As part of that, I’m attempting to write a function that takes a word, and returns all possible mock spellings of that ...
Power asked 29/2, 2012 at 0:20

3

What is the correct way to strip profane words from a string given: 1) I have a list of 100 words to look for in an array of strings. 2) What is the correct way to handle partial words? How do most...
Hindgut asked 29/11, 2011 at 23:17

2

Solved

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,...
Propman asked 22/7, 2011 at 10:45

6

Solved

Like https://stackoverflow.com/questions/1521646/best-profanity-filter, but for Python — and I’m looking for libraries I can run and control myself locally, as opposed to web services. (And ...
Foreman asked 20/8, 2010 at 14:20

1

Solved

I am trying to convert speech to text in an iOS application using Google's Speech to Text API. I am simply sending some audio data to the URL "https://www.google.com/speech-api/v1/recognize?xjerr=1...
Worth asked 22/2, 2013 at 17:57

9

Solved

Not very technical, but... I have to implement a bad words filter in a new site we are developing. So I need a "good" bad words list to feed my db with... any hint / direction? Looking around...
Balladry asked 23/8, 2008 at 19:17

3

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); $t is the input text and simply, $f = pre...
Juan asked 23/5, 2011 at 11:37

3

Solved

Last year I was working on a Christmas project which allowed customers to send emails to each other with a 256 character free-text field for their Christmas request. The project worked by searching...
Flimsy asked 25/4, 2011 at 16:52

2

Solved

I'm trying to replace a set of words in a text string. Now I have a loop, which does not perform well: function clearProfanity(s) { var profanity = ['ass', 'bottom', 'damn', 'shit']; for (var i=...
Surrounding asked 12/3, 2011 at 11:42

2

Solved

I want to use base36 in a web application I am developing... but as the id is visible to users as a url, I want to filter out profanity. Has anyone solved this? Or is this even a real problem? Doe...
Redhot asked 17/2, 2011 at 17:23

3

Solved

I'm thinking of something like: foreach (var word in paragraph.split(' ')) { if (badWordArray.Contains(word) { // do something about it } } but I'm sure there's a better way. Thanks in advan...
Apostatize asked 9/7, 2010 at 3:20
1

© 2022 - 2024 — McMap. All rights reserved.