You started with a known solution to find out the best possible five letter word to start with. While this may work with a specific word, the challenge is to identify which combination of letters that will also be a valid word in their 'dictionary' that can lead to matching the word in question. Unfortunately that solution is difficult to converge as it seems that they have a pool of n number of words, i.e., n*5 number of non-ransom assortment of letters presented non-random order. Your code has not provided the solution to the best starting word or if it did can you please explain? Reading the code it was not clear. If you can please annotate that'd be great.
Some people suggest NLP to start with most frequent words in English language and their assortment of letters ; while this may be useful the approach is likely to be wrong because in this localised solution, we are testing out only a fixed set of character solutions.
If you want, you can cheat the system by first downloading their sets of words and letters from the site, and then reconstructing the words etc. While this may match some solutions, there is no guarantee that will give you the best starting prior.
Tricky stuff
Thank you for the comment Arindam, i just wanted to look at the dictionary which 5 letters are most used. I extracted the Wordlist from the Wordle JavaScript and the most used letters are "s,e,a,o,r". This just means, that "AROSE" can be a good opener.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You started with a known solution to find out the best possible five letter word to start with. While this may work with a specific word, the challenge is to identify which combination of letters that will also be a valid word in their 'dictionary' that can lead to matching the word in question. Unfortunately that solution is difficult to converge as it seems that they have a pool of n number of words, i.e., n*5 number of non-ransom assortment of letters presented non-random order. Your code has not provided the solution to the best starting word or if it did can you please explain? Reading the code it was not clear. If you can please annotate that'd be great.
Some people suggest NLP to start with most frequent words in English language and their assortment of letters ; while this may be useful the approach is likely to be wrong because in this localised solution, we are testing out only a fixed set of character solutions.
If you want, you can cheat the system by first downloading their sets of words and letters from the site, and then reconstructing the words etc. While this may match some solutions, there is no guarantee that will give you the best starting prior.
Tricky stuff
Thank you for the comment Arindam, i just wanted to look at the dictionary which 5 letters are most used. I extracted the Wordlist from the Wordle JavaScript and the most used letters are "s,e,a,o,r". This just means, that "AROSE" can be a good opener.