removed non alpha words from dict

This commit is contained in:
Hazel Noack 2025-06-30 12:18:52 +02:00
parent 3f2f19943a
commit dec1323c47
2 changed files with 2 additions and 104334 deletions

File diff suppressed because it is too large Load Diff

View File

@ -75,6 +75,8 @@ 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():
break
lines.append(f'\t"{l.strip()}",') lines.append(f'\t"{l.strip()}",')
lines.append("}") lines.append("}")