Inspired by conditional probabilities, the idea is to pick the optimal character by max(p(char | len(word) & known characters for positions)). So, given a list of common english words, for each word that is of the same length as the word being searched for, and that has the characters guessed so far in the correct positioons, then we can guess the highest frequency character, which is the maximum probability character.
-
Notifications
You must be signed in to change notification settings - Fork 0
disrae/hangmanAI
About
little hangman bot inspired by conditional probabilities
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published