generated from PlexSheep/rs-base
Merge branch 'devel' into feat/naive
cargo devel CI / cargo CI (push) Failing after 2m11s
Details
cargo devel CI / cargo CI (push) Failing after 2m11s
Details
This commit is contained in:
commit
b6f639da67
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -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)
|
Loading…
Reference in New Issue