in reply to Robust Anti-Swear script

The only workable idea I've known about for filtering content for profanity and vulgarity is none other than a pair of human eyes.

Beware trying to automate any solution to the problems. Humans are simply too creative, and human language is simply too ambiguous.

I think your best bet is to monitor what your script considers to be the worst potential offenders, then have a pair of human eyeballs peruse the transcripts and take action when necessary.

I speak from experience: A dot-com I worked for tried to automatically filter user content on a site, and it monumentally backfired. There were so many embarrassing and problematic false positives that the filters were eventually removed.

(I should point out that the site wasn't even the kind one would think would generate such problems: It was a recreational sports site! As it turns out, alot of people like to include double entendres or clever wordplay when naming their sports teams ;-)

Hope this helps!