RE: [PHP] Re: Swear filter ideas
Humans are such a strange bunch :) That's why I live with computers and cats - No fucking cats! Kill all of them...keep only dogs and whales (to protect them) The only cat I like is a pussy. Damn... used up a bit of my swear words quota of the day... -- - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) - Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
Re: [PHP] Re: Swear filter ideas
On 6/28/07, Colin Guthrie [EMAIL PROTECTED] wrote: We implemented a simple key = value array map of rude words to sanitised equivalents: e.g. breast = sandwich, felch = retrieve etc. etc. Today we have Chicken Marsala over angel hair pasta, which is a chicken sandwich braised in Marsala wine Please keep me asandwich of the events as they transpire. The added bonus is that you can flip the key/values in your array and turn perfectly nice sentences into torrents of abuse ;) Sandy was a golden felcher It's not perfect but it works for the most part. And it's fun to think of all the rude words people might use!! We had a pretty decent thread on this about two weeks back, if memory serves. Check the archives and you can make your corporate firewall cry. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Swear filter ideas
Colin Guthrie wrote: Daniel Brown wrote: On 6/28/07, Colin Guthrie [EMAIL PROTECTED] wrote: We implemented a simple key = value array map of rude words to sanitised equivalents: e.g. breast = sandwich, felch = retrieve etc. etc. Today we have Chicken Marsala over angel hair pasta, which is a chicken sandwich braised in Marsala wine Indeed. Your word list would have to allow certain words that could be used in genuine text. Other words which I wont post here would never be used in general conversation ;) unless the general was in the heat of combat, there the implied language would probably be justified. :- Please keep me asandwich of the events as they transpire. This one wouldn't happen due to the stop words regexp. The added bonus is that you can flip the key/values in your array and turn perfectly nice sentences into torrents of abuse ;) Sandy was a golden felcher ^-- this 'e' shouldn't be there according to the amp given above. which means Sandy is not only on the cutting edge of porn, but also web2.0 ready :-P [think flickr] ... which begs the question of what to do with multilingual situations. one languages' mundane word can be another's rudest addition (dutch has a phonetically indentical word for 'flicker' which has altogether different connotations than it does in english) maybe we should all just shut the up on a global level ... it is said that silence is golden (which is a condrum of itself, what with it be said and all) Exactly! Awesome eh!?! Hours of fun! nothing like a little be of mind bending with words eh :-) Col. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Swear filter ideas
On 6/28/07, Colin Guthrie [EMAIL PROTECTED] wrote: Daniel Brown wrote: On 6/28/07, Colin Guthrie [EMAIL PROTECTED] wrote: We implemented a simple key = value array map of rude words to sanitised equivalents: e.g. breast = sandwich, felch = retrieve etc. etc. Today we have Chicken Marsala over angel hair pasta, which is a chicken sandwich braised in Marsala wine Indeed. Your word list would have to allow certain words that could be used in genuine text. Other words which I wont post here would never be used in general conversation ;) That's for fucking sure. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Swear filter ideas
:O Bad Word :P Anyway, I would think that there should be some sort of library already out there that has this functionality. This problem has been arround since the internet started. - Dan Daniel Brown [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 6/28/07, Colin Guthrie [EMAIL PROTECTED] wrote: Daniel Brown wrote: On 6/28/07, Colin Guthrie [EMAIL PROTECTED] wrote: We implemented a simple key = value array map of rude words to sanitised equivalents: e.g. breast = sandwich, felch = retrieve etc. etc. Today we have Chicken Marsala over angel hair pasta, which is a chicken sandwich braised in Marsala wine Indeed. Your word list would have to allow certain words that could be used in genuine text. Other words which I wont post here would never be used in general conversation ;) That's for fucking sure. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Swear filter ideas
This problem has been arround since the internet started. rant problem? They're just words! Not sure why some people are so offended by them? My parents have even purchased a little device that sits between their TV and DVD/VHS and bleeps out bad words. And they're in their 60's and have no kids at home. It's certainly not kids/children who are offended. They're probably the ones saying these words the most and writing them the most in your forum/blog/whatever you're trying to protect. If it's adults, then I'm sure it's nothing they've not heard before. It just seems like a lot of work for little payoff and something that will NEVER be accurate. If someone is that easily offended, then perhaps they need to get out into the real world once and a while. It seems to me also, you have liability issues. If you have some filter mode, then what happens when a word gets through? Are you to blame for offending some poor child/adults sensitive ears/eyes? A simple age-check or disclaimer indicating you're not responsible for the content of your posters comments seems more safe. But that's just my opinion. /rant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Swear filter ideas
On Thu, 2007-06-28 at 17:57 -0700, Daevid Vincent wrote: This problem has been arround since the internet started. rant problem? They're just words! Not sure why some people are so offended by them? My parents have even purchased a little device that sits between their TV and DVD/VHS and bleeps out bad words. And they're in their 60's and have no kids at home. It's certainly not kids/children who are offended. They're probably the ones saying these words the most and writing them the most in your forum/blog/whatever you're trying to protect. If it's adults, then I'm sure it's nothing they've not heard before. It just seems like a lot of work for little payoff and something that will NEVER be accurate. If someone is that easily offended, then perhaps they need to get out into the real world once and a while. It seems to me also, you have liability issues. If you have some filter mode, then what happens when a word gets through? Are you to blame for offending some poor child/adults sensitive ears/eyes? A simple age-check or disclaimer indicating you're not responsible for the content of your posters comments seems more safe. But that's just my opinion. /rant I've always found it amusing how much people get their nickers in a twist over some words. I mean take the word fuck... what is so bad about it? Is the word intercourse as offensive? Didn't think so. So it's not the meaning. What about the word duck, it's has the same sound with the exclusion of the leading consonant, but nobody takes offence if you run around shouting duck (unless you're at a golf course :) So really, words are only offensive to those who somehow infer a secondary meaning. What that inference is, I've yet to understand. I can say the baby pooped, had a bowel movement, or dirtied its diaper, but as soon as you say the baby shit its diaper... people give you a funny look. Humans are such a strange bunch :) Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Swear filter ideas
At 9:27 PM -0400 6/28/07, Robert Cummings wrote: On Thu, 2007-06-28 at 17:57 -0700, Daevid Vincent wrote: This problem has been arround since the internet started. rant problem? They're just words! Not sure why some people are so offended by them? My parents have even purchased a little device that sits between their TV and DVD/VHS and bleeps out bad words. And they're in their 60's and have no kids at home. It's certainly not kids/children who are offended. They're probably the ones saying these words the most and writing them the most in your forum/blog/whatever you're trying to protect. If it's adults, then I'm sure it's nothing they've not heard before. It just seems like a lot of work for little payoff and something that will NEVER be accurate. If someone is that easily offended, then perhaps they need to get out into the real world once and a while. It seems to me also, you have liability issues. If you have some filter mode, then what happens when a word gets through? Are you to blame for offending some poor child/adults sensitive ears/eyes? A simple age-check or disclaimer indicating you're not responsible for the content of your posters comments seems more safe. But that's just my opinion. /rant I've always found it amusing how much people get their nickers in a twist over some words. I mean take the word fuck... what is so bad about it? Is the word intercourse as offensive? Didn't think so. So it's not the meaning. What about the word duck, it's has the same sound with the exclusion of the leading consonant, but nobody takes offence if you run around shouting duck (unless you're at a golf course :) So really, words are only offensive to those who somehow infer a secondary meaning. What that inference is, I've yet to understand. I can say the baby pooped, had a bowel movement, or dirtied its diaper, but as soon as you say the baby shit its diaper... people give you a funny look. Humans are such a strange bunch :) That's why I live with computers and cats - steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMAIL PROTECTED] | | Bioinformatics programming/database/sysadmin (530)754-9127 | + said t e lawrence, picking up his fork + -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php