removed non alpha words from dict
This commit is contained in:
104334
internal/words/dictionary.go
104334
internal/words/dictionary.go
File diff suppressed because it is too large
Load Diff
@@ -75,6 +75,8 @@ var Words []string = []string{"""
|
||||
|
||||
with open("/usr/share/dict/words", "r") as f:
|
||||
for l in f.readlines():
|
||||
if not l.isalpha():
|
||||
break
|
||||
lines.append(f'\t"{l.strip()}",')
|
||||
|
||||
lines.append("}")
|
||||
|
||||
Reference in New Issue
Block a user