I’ve been on try 6 in wordle many a time with no end in sight. Although I sure love looking through a dictionary, I decided to take a data science approach by synthesizing a wordle solving tool using a letter frequency analysis. You can try it by downloading the wordle solver from GitHub and running it yourself.
It takes a three step approach:
- Use the game rules to generate a set of possible solutions
- Rank remaining words based on their apperance in the Oxford dictionary’s “3000 words every English speaker should know”
- Rank remaining words based on their likelyhood to eliminate other remaining words (letter frequency analysis)
- Assign a compound score to each word
- Sort by score (reccomended word) and allow user to play next word
Enjoy!