maxim-saplin / dikt

Off-line dictionary with simplistic UI. Optimized for one-hand on with mobile phones. Cross-platform, tailored desktop as well
MIT License
34 stars 5 forks source link

Reading JSON downloaded from kaikki.org #2

Open Digital-XxX opened 2 years ago

Digital-XxX commented 2 years ago

Does this app supports JSON dictionary downloaded from kaikki?

It's a pre-extracted wiktionary dump. More info here.

maxim-saplin commented 2 years ago

Unfortunately nope... The app can consume JSON of a trivial structure with just 2 items: key (word) and value (article). Yet the JSON at kaki has complex schema and essential serialises a complex object...

If this JSON can be converted to any of the formats supported by pyglossary (https://github.com/ilius/pyglossary), e.g. to DSL or StarDict, that it would make possible converting those dictionaries to formants supported by the app (JSON or binary DIKT/MDIKT)