dict_dl/maintenance.py
2022-07-10 03:16:16 +00:00

12 lines
293 B
Python

from dict_dl import FullDictionary
# d = FullDictionary("en_merriam_webster/", "_mw.json")
# d = FullDictionary("en_MW_thesaurus/", "_mwt.json")
d = FullDictionary("de_duden/", "_duden.json")
print(f"{d.readtime:.06f}")
ke = d.keys()
print(len(ke))
pre = {k[:3] for k in ke}
print(len(pre))