I have created a Scratch project to censor any bad words the user inputs without a trace of a bad word in the actual project.
http://scratch.mit.edu/projects/MathWizz/2722305
There is a major drawback though. It only censors exact words. If you enter a bad word with any letter attached (without a space,) it will not censor it.
What do you think?
Offline
MathWizz wrote:
I have created a Scratch project to censor any bad words the user inputs without a trace of a bad word in the actual project.
![]()
http://scratch.mit.edu/projects/MathWizz/2722305
There is a major drawback though. It only censors exact words. If you enter a bad word with any letter attached (without a space,) it will not censor it.
What do you think?![]()
Are the bad words hashed?
Offline
nathanprocks wrote:
MathWizz wrote:
I have created a Scratch project to censor any bad words the user inputs without a trace of a bad word in the actual project.
![]()
http://scratch.mit.edu/projects/MathWizz/2722305
There is a major drawback though. It only censors exact words. If you enter a bad word with any letter attached (without a space,) it will not censor it.
What do you think?![]()
Are the bad words hashed?
Exactly.
Offline
So it takes the individual words and loops through the list, I guess.
Then, why don't you try making a (obviously not so secure but who cares) hash that instead replaces the letters with something else? Then you could go through letter by letter! (until Scratch adds X contains X)
EDIT
Actually, that doesn't make sense programming wise, but you understand the concept of hashing by letter instead, I hope?
Last edited by LS97 (2012-08-10 09:47:40)
Offline
It doesn't censor any of my favourites :'(
Offline
The main problem I see are variations (esp. gerunds). Nonetheless, a cool way to use hashing!
Offline