Discuss Scratch
- bidulule
-
1000+ posts
A kewl block for Chatbots
Hi! i'm there to suggest you to add a new block 
Recently, i made a chatbot (Evelyn)… it's supposed to answer messages…. but a lot of users insulted her (Evelyn)…. and she can't answer these messages because she doesn't know the volcabulary…. So i would like to be able to filter messages and to detect “bad words”
I know that blacklists are not allowed in a scratch project because anyone can see them with “see inside”.
However, in the comment section, messages are filtered by an internal blacklist…..
So here is my idea :
it would use the same blacklist as in the comment section and would not appears in the “lists”.
By this way, we would be able to moderate our project and no one would be able to see inside the hidden black list….

Recently, i made a chatbot (Evelyn)… it's supposed to answer messages…. but a lot of users insulted her (Evelyn)…. and she can't answer these messages because she doesn't know the volcabulary…. So i would like to be able to filter messages and to detect “bad words”
I know that blacklists are not allowed in a scratch project because anyone can see them with “see inside”.
However, in the comment section, messages are filtered by an internal blacklist…..
So here is my idea :
<[thing] contains bad word:: sensing>It would be a block, made by the scratch team, that returns true if a word is considered as a “bad word”.
it would use the same blacklist as in the comment section and would not appears in the “lists”.
By this way, we would be able to moderate our project and no one would be able to see inside the hidden black list….
Last edited by bidulule (Sept. 6, 2018 05:10:19)
- TheAdriCoolManDude
-
1000+ posts
A kewl block for Chatbots
Having no see inside is rejected. Anyways, no support, just create a whitelist.
- Botcho_Otkho
-
1000+ posts
A kewl block for Chatbots
Imagine JDKOGFJ is a bad word.
If an user sees inside the project and then finds this block
They see the bad word and then it would be the same thing.
If an user sees inside the project and then finds this block
They see the bad word and then it would be the same thing.
Was it ever mentioned? Having no see inside is rejected.
Read their motivations. Anyways, no support, just create a whitelist.
Last edited by Botcho_Otkho (Sept. 5, 2018 20:29:49)
- bidulule
-
1000+ posts
A kewl block for Chatbots
you don't seems to understand what i mean… Having no see inside is rejected. Anyways, no support, just create a whitelist.
- bidulule
-
1000+ posts
A kewl block for Chatbots
uh why testing a fix value? Imagine JDKOGFJ is a bad word.
If an user sees inside the project and then finds this block:blacklist contains [JDKOGFJ]?::extension booleanThey see the bad word and then it would be the same thing.
it would be used like this :
ask [type something] and wait
if <blacklist contains (answer)> then
say [hey! be respectfull please!] for (2) secs
end
- TheAdriCoolManDude
-
1000+ posts
A kewl block for Chatbots
I do. But having no “See Inside” is not allowed. And I said, just create a whitelist.you don't seems to understand what i mean… Having no see inside is rejected. Anyways, no support, just create a whitelist.
- ScratchDiogoh
-
1000+ posts
A kewl block for Chatbots
they are not talking about chattroms, but about chatbots Having no see inside is rejected. Anyways, no support, just create a whitelist.
- Botcho_Otkho
-
1000+ posts
A kewl block for Chatbots
Ah, true. Guess I support, it's a nice feature and would help in making chatbots more clever. <snip>
- TheAdriCoolManDude
-
1000+ posts
A kewl block for Chatbots
Having “No See Inside” is rejected still.they are not talking about chattroms, but about chatbots Having no see inside is rejected. Anyways, no support, just create a whitelist.
- bidulule
-
1000+ posts
A kewl block for Chatbots
sorry but you don't…. i don't ask to remove the “see inside” but just the access to the “official blaclist block” content….I do. But having no “See Inside” is not allowed. And I said, just create a whitelist.you don't seems to understand what i mean… Having no see inside is rejected. Anyways, no support, just create a whitelist.
- bidulule
-
1000+ posts
A kewl block for Chatbots
thanks!Ah, true. Guess I support, it's a nice feature and would help in making chatbots more clever. <snip>
- TheAdriCoolManDude
-
1000+ posts
A kewl block for Chatbots
That kind of breaks the sharing aspect of Scratch.sorry but you don't…. i don't ask to remove the “see inside” but just the access to the “official blaclist block” content….I do. But having no “See Inside” is not allowed. And I said, just create a whitelist.you don't seems to understand what i mean… Having no see inside is rejected. Anyways, no support, just create a whitelist.
- bidulule
-
1000+ posts
A kewl block for Chatbots
oooh maaaaannnn……… hiding the content from a list containing bad word would be “breaking the sharing aspect of scratch”?? wowThat kind of breaks the sharing aspect of Scratch.sorry but you don't…. i don't ask to remove the “see inside” but just the access to the “official blaclist block” content….I do. But having no “See Inside” is not allowed. And I said, just create a whitelist.you don't seems to understand what i mean… Having no see inside is rejected. Anyways, no support, just create a whitelist.
- Not_Me_You_Me_Me
-
100+ posts
A kewl block for Chatbots
Kind of arguable for a chatbot to need a black OR whitelist considering it's just a bot (unless it saves answers like cleverbot) but I support this.
- bidulule
-
1000+ posts
A kewl block for Chatbots
Evelyn would need that Kind of arguable for a chatbot to need a black OR whitelist considering it's just a bot (unless it saves answers like cleverbot) but I support this.
- Inkulumo
-
500+ posts
A kewl block for Chatbots
Full support, thought if I were to do it, it would be connected to the Scratch word filter, and the offline editor would have support to download and encrypt the list of bad words in order for offline functionality. Here's how I'd do the block (with a different color, don't use the SB alot on forums, so please fix it)
([thing] contains bad word :: sensing)edit: thanks for fixing not me you me
Last edited by Inkulumo (Sept. 6, 2018 17:12:19)
- Not_Me_You_Me_Me
-
100+ posts
A kewl block for Chatbots
wouldn't downloading the blacklist be super bad tho? idk if they'd actually be able to see the bad words since I'm not a computer geek Full support, thought if I were to do it, it would be connected to the Scratch word filter, and the offline editor would have support to download and encrypt the list of bad words in order for offline functionality. Here's how I'd do the block (with a different color, don't use the SB alot on forums, so please fix it)([thing] contains bad word:: sensing)

btw, if you're showing a reporter you have to put the :: inside the brackets
Last edited by Not_Me_You_Me_Me (Sept. 6, 2018 02:23:45)
- Inkulumo
-
500+ posts
A kewl block for Chatbots
No, they'd be hidden in the source code. Only downloading it would just add support for the 3.0 offline editor.wouldn't downloading the blacklist be super bad tho? idk if they'd actually be able to see the bad words since I'm not a computer geek Full support, thought if I were to do it, it would be connected to the Scratch word filter, and the offline editor would have support to download and encrypt the list of bad words in order for offline functionality. Here's how I'd do the block (with a different color, don't use the SB alot on forums, so please fix it)([thing] contains bad word:: sensing)
- TheRealNetherBefore
-
1000+ posts
A kewl block for Chatbots
Semi support, going off of the current cloud situation I don't think this would be all too useful but having a unviewable blacklist inbuilt to the code would be a lot more useful than trying to whitelist everything you can think of.
Last edited by TheRealNetherBefore (Sept. 6, 2018 07:45:28)
- ShinigamiBlacky
-
100+ posts
A kewl block for Chatbots
H…how do you know that users insuled her…?
Anyways, no support as you could just create a List containing keywords
Anyways, no support as you could just create a List containing keywords
Last edited by ShinigamiBlacky (Sept. 6, 2018 12:11:12)