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

Re: [MacPerl-WebCGI] censoring vulgar/curse words from form input



Hi-
Although I know of no such file, you may want to check out
http://trisomy21.dhs.org/akira/keywords.html
They are developing a program that will be an AI for AOL's chat program, but
their list of bad/good words will help for other projects, including yours.
HTH,
--Quentin

Ryan wrote:

> Hi all,
>
> Does anyone know if a freely available text file exists containing
> words to be censored from form input?  And if so, where I could get
> it?
>
> I'm writing a cgi that takes user input from a form and I need to
> filter vulgar words from the user's input.
>
> I already have a nice little subroutine that takes the user's
> requested username and checks if it contains any words that are in a
> small text file called 'badwords.txt' - this test file only has 5
> entries right now.  What I'm trying to avoid is creating a large file
> from scratch, why reinvent the wheel.
>
> I've searched the net - but obviously a search for 'vulgar', 'bad',
> 'obscene', 'naughty', etc. will bring up many sites that, while they
> may give me ideas of items to add to the list, won't actually help me
> get my work done (in the literal meaning...).  And searches for
> 'filter', 'dirty word list', etc. also haven't brought up anything
> useful.
>
> Any ideas will be appreciated.
>
> --
> Ryan
>
> ==== Want to unsubscribe from this list?
> ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org




--
-----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS d s:+ !a C++++ U*+++ P++++ L+ E-- W+++ N++ o+ K- w--- O? M++ V? PS
PE- Y--
PGP++ t+ 5 X R tv++ b+++ D I- D? G! e h! r
-----END GEEK CODE BLOCK-----

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org