removed non alpha words from dict
This commit is contained in:
parent
dec1323c47
commit
04f84e34c0
@ -76,7 +76,7 @@ var Words []string = []string{"""
|
|||||||
with open("/usr/share/dict/words", "r") as f:
|
with open("/usr/share/dict/words", "r") as f:
|
||||||
for l in f.readlines():
|
for l in f.readlines():
|
||||||
if not l.isalpha():
|
if not l.isalpha():
|
||||||
break
|
continue
|
||||||
lines.append(f'\t"{l.strip()}",')
|
lines.append(f'\t"{l.strip()}",')
|
||||||
|
|
||||||
lines.append("}")
|
lines.append("}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user