chore(wlist): make all wordlist json sources lowercase #20
cargo devel CI / cargo CI (push) Successful in 2m16s Details

This commit is contained in:
Christoph J. Scherr 2024-08-02 17:10:35 +02:00
parent cbce9341e7
commit 2fcdc062c8
3 changed files with 134373 additions and 134363 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
import json
with open('../data/wordlists/german_SUBTLEX-DE_small.json', 'r') as f:
word_freqs: dict[str,float] = json.load(f)
nd: dict[str, float] = dict()
for k in word_freqs:
nd[k.lower()] = word_freqs[k]
with open('../data/wordlists/german_SUBTLEX-DE_small.json', 'w') as f:
json.dump(nd, f, indent=4)