Re: Re: Swear filter ideas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Colin Guthrie wrote:
> Daniel Brown wrote:
>> On 6/28/07, Colin Guthrie <gmane@xxxxxxxxxxxxxx> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux