Well, the script from Johhny Dangerously is safe:

farging icehole
corksucker
fork you

All went thru just fine... ;)

Will, I don't think anybody's saying this is a bad idea, and I was
more'n glad to help out. I think it's a great idea and when it's in a
stable version I think you should put it up on cflib.org to be used by
the community...

I think, from a technical perspective, you should use a webservice or
a URL like someone posted here to obtain your list of so-called "dirty
words" (very funny, Isaac... heh.) It's important to remember that the
bigger your library of words, the longer your script will take to
execute, though... hence the reason that Isaac recommended a slightly
more heuristic approach (i.e. pattern matching on a single string
rather than using a word-by-word loop like you have here). That's why
I recommended using a comparison via one loop over the library rather
than a word-by-word loop over the entire field and then subloops over
the various word categories...

But it's a work in progress and a learning tool for you, and I REALLY
recommend you stick with it and gain all the understanding you can
from it. And pester Isaac about regexes... he needs the practice! :P

Anyway... it seems to nicely catch any word tossed into the
dictionary. I would be interested to know how long it takes to test a
2000 word document with a reasonably populated dirty-word
dictionary... there's your next assignment, Jedi Novice Tomlinson. ;)

Laterz!

J

On Apr 9, 2005 5:02 PM, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> bugger
> 
> > wanker
> 
> 
> s. isaac dealey     954.522.6080
> new epoch : isn't it time for a change? 


-- 
Continuum Media Group LLC
Burnsville, MN 55337
http://www.web-relevant.com
http://www.web-relevant.com/blogs/cfobjective

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202126
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to