bpkroth / wordle-solver

MIT License
0 stars 0 forks source link

Multi language support #3

Closed bpkroth closed 2 years ago

bpkroth commented 2 years ago

In particular German was suggested. Also Latin (though I don't believe Wordle supports Latin yet, but I bet we could PR that one too : )

bpkroth commented 2 years ago

Intent is to use a LANG=... override, similar to how we added support for controlling whether or not system dictionaries were used in 063a71bfa0a80b4165d88f42acc007b99da19170.

bpkroth commented 2 years ago

Added basic support for this in 944dfea8dad6d16681e8418d2fa6d0f418121c2e via the WORDLE_LANG environment variable.

WORDLE_LANG=de ./wordle-solver.sh 5 ernst:e..s. beils:.e..s asche:as..E

=== Possible match suggestions without repeat letters (better for early guesses) ===

maske
saufe
sauge

=== Possible match suggestions with repeat letters ===