Updated unknown words list.
This commit is contained in:
1 parent
7b3ac2c964
commit
27259bf53a
1 file changed
+4
-5
@@ -25,8 +25,9 @@ class InvalidWord(Exception):
|
||||
_wordle_dictionary = set()
|
||||
|
||||
|
||||
_invalid_words = set(['staia', 'erept', 'boily', 'bolty', 'pindy', 'hyrse', 'hirse', 'retan', 'sisel', 'skeel', 'telae', 'genae', 'beata', 'beala', 'macco', 'beele', 'divet', 'vedet', 'stail', 'roter'])
|
||||
|
||||
_invalid_words = set(['staia', 'erept', 'boily', 'bolty', 'pindy', 'hyrse', 'hirse', 'retan', 'sisel',
|
||||
'skeel', 'telae', 'genae', 'beata', 'beala', 'macco', 'beele', 'divet', 'vedet',
|
||||
'stail', 'roter', 'fikie', 'muang', 'nurry'])
|
||||
|
||||
def dictionary():
|
||||
if not _wordle_dictionary:
|
||||
@@ -214,9 +215,7 @@ def filter_dictionary(constraints, wordle_dictionary=dictionary()):
|
||||
|
||||
if __name__ == '__main__':
|
||||
constraints = Constraints()
|
||||
constraints.update_graded('cares', [LetterResult.INCORRECT, LetterResult.INCORRECT, LetterResult.MOVE, LetterResult.CORRECT, LetterResult.INCORRECT])
|
||||
constraints.update_graded('rover', [LetterResult.INCORRECT, LetterResult.CORRECT, LetterResult.MOVE, LetterResult.CORRECT, LetterResult.CORRECT])
|
||||
constraints.update_graded('vomer', [LetterResult.CORRECT, LetterResult.CORRECT, LetterResult.INCORRECT, LetterResult.CORRECT, LetterResult.CORRECT])
|
||||
constraints.update_graded('cares', [LetterResult.INCORRECT, LetterResult.INCORRECT, LetterResult.INCORRECT, LetterResult.INCORRECT, LetterResult.INCORRECT])
|
||||
|
||||
valid_words = filter_dictionary(constraints)
|
||||
|
||||
|
||||
Reference in new issue
Block a user