Generates all words for the New York Times Spelling Bee game.
spelling_bee.py [-h] -c CENTER -o OTHER [-m MIN] -d DICT [DICT ...]
Options:
-h, --help Help
-c CENTER, --center CENTER Center letter
-o OTHER, --other OTHER Other letters
-m MIN, --min MIN Minimum word length
-d DICT [DICT ...], --dict DICT [DICT ...] Dictionary files
./spelling_bee.py -c n -o ruoajd -d WORD.LST
Total words: 37
Pangrams: ['adjourn']
Valid words: ['runaround', 'nonjuror', 'runround', 'adjourn', 'unround', 'adnoun', 'anuran', 'around', 'donjon', 'jordan', 'randan', 'adorn', 'donna', 'donor', 'jnana', 'radon', 'rondo', 'round', 'ruana', 'anna', 'anoa', 'anon', 'darn', 'dona', 'durn', 'naan', 'nada', 'nana', 'nard', 'nona', 'noon', 'noun', 'nurd', 'rand', 'roan', 'unau', 'undo']
Apache License 2.0