removed non alpha words from dict
This commit is contained in:
parent
04f84e34c0
commit
18e9322013
File diff suppressed because it is too large
Load Diff
@ -75,9 +75,10 @@ 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():
|
||||||
|
l = l.strip()
|
||||||
if not l.isalpha():
|
if not l.isalpha():
|
||||||
continue
|
continue
|
||||||
lines.append(f'\t"{l.strip()}",')
|
lines.append(f'\t"{l}",')
|
||||||
|
|
||||||
lines.append("}")
|
lines.append("}")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user