View Single Post
Old 03-06-2020, 05:21 PM   #10
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,808
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Semwize View Post
It would be great to add stardict converter (xml) -> df
I've decided against that one, as dictutil is not intended to be a general-purpose dictionary tool (that's what Penelope is for), and because the stardict format is too broad (there are 4+ different body text formats I would have to implement from scratch).

Quote:
and very good - the ability to convert dicthtml -> df
I'm working on it right now, and am nearly finished.

It will support seamless decompilation of dictionaries generated by Penelope, Kobo (the unencrypted ones, if any), or dictgen (although it won't be able to recover the original Markdown or images, only the raw HTML). Dictionaries generated by other tools or manually created will also be able to decompiled, but it won't be able to automatically extract the header and generate the best dictfile.

It will also be useful for fixing bugs with prefixes, variants, and missing words in existing dictionaries (just decompile and regenerate the dictfile). Another use will be merging dictionaries (just decompile it, and merge the resulting dictfiles).

You will also be able to use it to convert stardict dictionaries by using Penelope to convert it to a dictzip, then this tool to decompile it to a dictfile, and then modify it from there.

Last edited by geek1011; 03-06-2020 at 05:24 PM.
geek1011 is offline   Reply With Quote