“Generic” Wordle Helper

In my Wordle Helper article, it describes how I built a Wordle Helper for 5 letter words. One of the to dos in there was to create a “Generic” one that’ll allow one to solve Wordle puzzles for other word lengths. Now the Generic Wordle Helper lets one solve Wordle puzzles with words of 2 – 15 letters in length. It takes a little while to load and may be a little slow determining the words but it works!

Searching online there appear to be Wordle puzzles for 4 letter words through 11 letters words.

Try out the Generic Wordle Helper and let me know what you think in the comments below!

Technical Details

The primary technical difference with the Generic Wordle Helper and the 5 letter one is the generic one downloads the Kabble file, parses out its words and word frequencies into different lists by word length. It then lets the user select the word length for the Wordle puzzle to use. This changes the list of words used to those of that word length. When one selects a word length of 4, only 4 letter words are being used.

Even though there are words longer than 15, the tool limits it to that because there are currently no Wordle puzzles longer than 11 found online and I’m doubtful the 16 letter words or higher have enough words to support a Wordle puzzle.

Check out the wordleHelperGeneric LWC available at my Github WordleHelper Repo for the details.

Word Counts By Word Length

The Kabble Source Dictionary has a list of 333,333 most commonly used English words. It was “derived derived from the Google Web Trillion Word Corpus.” Below are the word counts for each word length in that data set. This was helpful in finding out realistically how many “Wordle Puzzles” there could be for each word length. I’m skeptical that all the words in the dataset are real though because some of the longer words are composite words without spacing like “thisdatasetisawesome”.

Word LengthWord Count
126
2676
312977
431140
539333
649040
750117
844551
935447
1026100
1117038
1210614
136314
143668
152176
161296
17782
18464
19308
20206
21122
2299
2375
2444
2522
2611
2712
2812
2914
306
316
324
332
345
352
362
382

Limitations

  • Slowish. It can take a while for the tool to load and to perform the computations.
  • Unreal words? There seem to many words that may not be actual words.

To Dos

  • Optimize Performance. It’s likely the loading could be faster by parsing out the words ahead of time into various helper “service Javascript module” files similar to how the 5 Letter Words were embedded in Apex classes. The filtering of words could potentially be faster too by using multithreading but that’s a good amount of work trying to use web workers.
  • Mobile Friendly. The UI is “basic” and could be more mobile friendly.
  • Add a spinner when operations take a while.

Leave a Reply

Your email address will not be published.