Discuss Scratch

Joshagibby
Scratcher
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
Scratcher
1000+ posts

Amount Of Repeated Words In A List Counter.

repeatuntilnotlistcontainsthing?iflistcontainsthing?thenreplaceitemitem#ofthinginlistoflistwiththingachangecounterby1repeatuntilnotlistcontainsthinga?replaceitemitem#ofthinginlistoflistwiththing

Last edited by Nezon (Nov. 17, 2020 04:19:25)

Joshagibby
Scratcher
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
Scratcher
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
Scratcher
1000+ posts

Amount Of Repeated Words In A List Counter.

Joshagibby wrote:

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?
confusion, explain more
Joshagibby
Scratcher
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
Scratcher
1000+ posts

Amount Of Repeated Words In A List Counter.

Joshagibby wrote:

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.
Grammer please, I am still confused.
Joshagibby
Scratcher
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
Scratcher
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
Scratcher
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
Scratcher
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
Scratcher
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
Scratcher
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
Scratcher
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
Scratcher
1000+ posts

Amount Of Repeated Words In A List Counter.

Joshagibby wrote:

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.
oh ok
Joshagibby
Scratcher
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
Scratcher
1000+ posts

Amount Of Repeated Words In A List Counter.

I'll create a system tommorrow for you.
Joshagibby
Scratcher
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
Scratcher
100+ posts

Amount Of Repeated Words In A List Counter.

Was it to difficult? Because still no solution found.
Nezon
Scratcher
1000+ posts

Amount Of Repeated Words In A List Counter.

Joshagibby wrote:

Was it to difficult? Because still no solution found.
sorry, had school. i'll try now.

Last edited by Nezon (Nov. 18, 2020 19:16:14)

Powered by DjangoBB