On Tuesday 03 August 2004 04:20, Richard Lynch wrote:

> Perhaps a function which, given a short (subject length) input of
> text, and a dictionary of "bad" words, would return some kind of
> value indicating a percent match of how "close" the text was to any
> of the bad words.

PHP has a number of builtin "String Functions" which does string similarity 
comparisons. I'm not sure how useful they would be for your purpose so you 
would have to play around with them to find out.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Numeric stability is probably not all that important when you're guessing.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to