Nettoyage

This commit is contained in:
Antoine Van Elstraete 2022-01-24 20:21:54 +01:00
parent cb17864265
commit 758d6bb0bb

View File

@ -69,10 +69,6 @@ def resolv_len(liste, lenght):
return [mot for mot in liste if len(mot) == lenght]
# First Try
#if ft:
# bestWords = noDouble(firstTryFilter(goodLen, ft))
# Pattern : élimination des mots ne satisfaisant pas la pattern
#if pattern:
# patternCount = len(pattern) - pattern.count(".")
@ -188,9 +184,6 @@ if __name__ == "__main__":
# Bad Letters
bl = args.badLetters
# First Try
ft = args.firstTry
liste = load_dict(args.dictionary)
liste = resolv_len(liste, args.nbLetters)
liste = resolv_fl(liste, args.firstLetter)