my word counter and word detector! feel free to use this in any of your projects, just credit me! tdw is the letters, i is the letters including spaces, words are the words, and training data is the place where you can put your sentences (currently it only scans the first one though, if you have any idea on how to fix this pls make a remix showing your technique). you can place multiple sentences in each part of training data btw.
this is for my ai in scratch gpt (link is this: https://scratch.mit.edu/studios/51993493 ) this will be used for adding new words to the ais dictionary (dont worry, your words will not be stolen by the ai unless you join the team). i am planning to make this a true analyser by analysing the most used words in your own training data. want to join? message me!