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 Length | Word Count |
1 | 26 |
2 | 676 |
3 | 12977 |
4 | 31140 |
5 | 39333 |
6 | 49040 |
7 | 50117 |
8 | 44551 |
9 | 35447 |
10 | 26100 |
11 | 17038 |
12 | 10614 |
13 | 6314 |
14 | 3668 |
15 | 2176 |
16 | 1296 |
17 | 782 |
18 | 464 |
19 | 308 |
20 | 206 |
21 | 122 |
22 | 99 |
23 | 75 |
24 | 44 |
25 | 22 |
26 | 11 |
27 | 12 |
28 | 12 |
29 | 14 |
30 | 6 |
31 | 6 |
32 | 4 |
33 | 2 |
34 | 5 |
35 | 2 |
36 | 2 |
38 | 2 |
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.