Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obscenity word table
Message
De
22/08/2010 09:26:53
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01477715
Message ID:
01477772
Vues:
77
>>>In English: http://www.noswearing.com/dictionary
>>>
>>>>I'm doing an input form and want to scan and redact obscene words. Does anyone know of an available table containing offending words to match against? I know almost 92% from my own vocabulary, but though I ask for help on the remainder.....hehehehe!
>>
>>Thank you. I found this and built a table containing some 340+ words. If anyone would benefit from it I'll gladly email a copy of the table. Did a scan through the table checking for occurrence of any word in $ myfield and I'd say it's 95% effective.
>>
>
>Be careful with $ operator because of partial matches.

Thank you. Yep, I found that with 'ho' found in hoe so I added a blank space to some words to check for them in their entirety.
(lcword = allt(table.word)+' ') .... check for lcword $ texttocheck.

Make sense?

dg
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform