Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Amount Of Repeated Words In A List Counter.
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
Basically I want to be able to count how many times a list item is turned into a variables name. I am not sure how to do this as I am not good with programming. It would go through 13,273 words choosing one at random each time. Then count that word up by one if it's been mentioned. I'm just curious how often the same words will be chosen. Is there any easy solution for this? I would imagine the displaying of it could get messy. It would need to know I guess which words have the highest amounts as well is my understanding to show in a list.
Last edited by Joshagibby (Nov. 17, 2020 03:26:30)
- Nezon
-
1000+ posts
Amount Of Repeated Words In A List Counter.
Last edited by Nezon (Nov. 17, 2020 04:19:25)
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
Some how my stupid brain is still confused. Currently I have Word Generated as a variable, Words List Generated, and Gathered Words (The dictionary wordlist.) How would I implement these into making it work or would I need more variables or list?
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
I'm trying to figure it out further. Just in case there's no response.
- Nezon
-
1000+ posts
Amount Of Repeated Words In A List Counter.
confusion, explain more Some how my stupid brain is still confused. Currently I have Word Generated as a variable, Words List Generated, and Gathered Words (The dictionary wordlist.) How would I implement these into making it work or would I need more variables or list?
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
I would like to make it count each individually. Which I know is probably a problem. Like if it said Helpful 15 times it would display that. Along with the displaying of any other words that have been found that repeat. It also will need to be able to rank these in a list of highest to lowest for the display. Since it would be impossible to have it as variables.
Last edited by Joshagibby (Nov. 17, 2020 04:03:13)
- Nezon
-
1000+ posts
Amount Of Repeated Words In A List Counter.
Grammer please, I am still confused. I would like to make it count each individually. Which I know is probably a problem. Like if it said Helpful 15 times it would display that. Along with the displaying of any other words that have been found that repeat. It also will need to be able to rank these in a list of highest to lowest for the display. Since it would be impossible to have it as variables.
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
I am confused as well. Guess it's dead in the water. As I tried explaining and people never understand me. No matter how I type my sentences they never do.
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
Anyways it's alright. I just get tired of trying. If I could delete the post I would. Anyways have a goodnight then.
- Nezon
-
1000+ posts
Amount Of Repeated Words In A List Counter.
If you could show an example people could understand. It can help.
Last edited by Nezon (Nov. 17, 2020 04:31:51)
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
Well I don't understand how to code so I can't show that method of an example. I have no idea how to get people to understand anything that I say on here so it just gets frustrating and i lose hope. How would you get people to understand a request? For some reason I am cursed in which people act like I am not speaking English and explaining to them.
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
So explaining through code doesn't work so there goes visual examples and me talking is just pointless so that goes out the window as well.
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
Also everytime I ask someone what they don't understand they are never able to tell me which part that they don't understand. So nothing can be done about it.
Last edited by Joshagibby (Nov. 17, 2020 04:46:09)
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
I have a random word generator alright. It picks a word at random I want to see how many times it picks each word the same time. So if I get any word for example “Experiment” more than one time. It will record them dropping them into a list with how many times that each word was repeated by the generator. I then need this list to rank them in descending order visually on a list. So that it shows the highest usage of the words near the top and the lowest at the bottom of the list. I want it to always forever check all of that while the generator is running.
Last edited by Joshagibby (Nov. 17, 2020 04:53:12)
- Nezon
-
1000+ posts
Amount Of Repeated Words In A List Counter.
oh ok I have a random word generator alright. It picks a word at random I want to see how many times it picks each word the same time. So if I get any word for example “Experiment” more than one time. It will record them dropping them into a list with how many times that each word was repeated by the generator. I then need this list to rank them in descending order visually on a list. So that it shows the highest usage of the words near the top and the lowest at the bottom of the list. I want it to always forever check all of that while the generator is running.
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
So I am guessing quicksort would work best for the last portion of the project.
- Nezon
-
1000+ posts
Amount Of Repeated Words In A List Counter.
I'll create a system tommorrow for you.
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
Awesome thank you so much. Yeah was worried no one would be able to help.
- Joshagibby
-
100+ posts
Amount Of Repeated Words In A List Counter.
Was it to difficult? Because still no solution found.
- Nezon
-
1000+ posts
Amount Of Repeated Words In A List Counter.
sorry, had school. i'll try now. Was it to difficult? Because still no solution found.
Last edited by Nezon (Nov. 18, 2020 19:16:14)
- Discussion Forums
- » Help with Scripts
-
» Amount Of Repeated Words In A List Counter.