Discuss Scratch
- theonlygusti
-
1000+ posts
Show Possible Duplicate Posts
Yes, it would be This would be an interesting feature. But can we actually pull it off?super easy to pull off.
I'll support I guess…
It would work similarly to google; it would take the user input so far, everytime a new key is pressed, and match it against all current topics.
It would be really easy and fast.
- Blueinkproductions
-
1000+ posts
Show Possible Duplicate Posts
Except that Google is the current search engine for Scratch, and it doesn't work very well.Yes, it would be This would be an interesting feature. But can we actually pull it off?super easy to pull off.
I'll support I guess…
It would work similarly to google; it would take the user input so far, everytime a new key is pressed, and match it against all current topics.
It would be really easy and fast.
Generation 2: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.
____ _____ _______
| \ | | | | | |\ | | /
|___/ | | | |__ | | \ | |/
| \ | | | | | | \ | |\
| | | | | | | | \ | | \
|___/ L____ \___/ |_____ ___|___ | \| | \
PRODUCTIONS
Here's a hint: support = support.
<shameless self promotion>follow me! follow me! follow me! love my stuff! love my stuff! love my stuff! follow me! love my stuff! remix my stuff! follow me! follow me! </shameless self promotion>
- TimothyLawyer
-
1000+ posts
Show Possible Duplicate Posts
super easy to pull off.Could you link to how you would write the code for it? Yes, it would be
It would work similarly to google; it would take the user input so far, everytime a new key is pressed, and match it against all current topics.
It would be really easy and fast.
BeetleBlocks, WatercolorBot, and Turtle Art
Hover over a name or label to translate into current language
When Earth was… Purple?
☂️
- theonlygusti
-
1000+ posts
Show Possible Duplicate Posts
^^ I'm on holiday, so I can't actually write the code right now, but here's how I would go about it:
My code for matching the text would split the text by spaces, and match each permutation of the generated list against the possible duplicate title.
If a permutation matches, then it could be a duplicate.
Use a thesaurus, online or not, the match not only permutations, but also permutations of common synonyms.
All case insensitive, and allowing for character of error.
Then, remove some words from the text, and match against the new text. Only remove unimportant words, such as and or if or suggestion.
I know it won't be perfect, but it doesn't have to be. The current system does work pretty well, this would just try and prevent obvious duplicates.
- use JavaScript keypress event listener to see when user enters text in title area.
- use an ajax get method (jQuery or JavaScript) to compare each of the first hundred or so pages' titles with the users input, if it matches notify the user.
My code for matching the text would split the text by spaces, and match each permutation of the generated list against the possible duplicate title.
If a permutation matches, then it could be a duplicate.
Use a thesaurus, online or not, the match not only permutations, but also permutations of common synonyms.
All case insensitive, and allowing for character of error.
Then, remove some words from the text, and match against the new text. Only remove unimportant words, such as and or if or suggestion.
I know it won't be perfect, but it doesn't have to be. The current system does work pretty well, this would just try and prevent obvious duplicates.