mvf / qolibri

Continuation of the qolibri EPWING dictionary/book reader
GNU General Public License v2.0
168 stars 13 forks source link

Add Epwing Data Dump Feature? #35

Open CalculusAce opened 3 years ago

CalculusAce commented 3 years ago

I wanted to see if it may be possible to add in a feature that can dump the contents of various epwing dictionaries into some kind of text / json file? I'm not sure if there are limitations that would prevent this from being possible, but there are a number of people, myself included, developing external applications to automate dictionary look ups when preparing cards for Anki and for other apps that would greatly benefit from being able to easily take an epwing dictionary of interest and extract the data from it. I definitely understand that it may seem to defeat the purpose of Qolibri, but I feel Qolibri will still be just as useful for doing look ups manually as you need them, despite having a feature that can extract all the data.

There are some tools that have been developed to re-form epwing data, zero-epwing, etc, but all of them seem to have some limitations in what dictionaries are supported. Since Qolibri can inherently open all of these epwing dictionaries, it seems like it would be the best place to implement a feature that could extract epwing data into a more readable/usable format.

I'm really interested to hear thoughts on this topic and whether it is fairly straightforward to implement in Qolibri as it is now. Thanks for maintaining this great app!

Thanks!