View Single Post
Old 06-22-2020, 04:07 PM   #85
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,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Alanon View Post
I understand that Kobo is a fresh addition to PyGlossary version 3.3, so it could just be that the kinks haven't yet been worked out. Finally, I tried makedict (thank you Semwize!) to convert a .dsl to StarDict and used Penelope to get to Kobo, which worked.
I just looked through the code for PyGlossary, and it's not going to output correctly for anything but the simplest dictionaries. It also doesn't support images, multiple definitions, multiple headwords, cyrillic words, maybe not accented words, and words with numbers/spaces/symbols.

If there's enough interest, though, I might make a dictfile output for PyGlossary, which can then be used with dictutil.

Quote:
Decompile and compile with dictutil worked also. (Btw, are there any recommended parameters for compile/recompile of Penelope dictionaries? While I was testing, I just used drag and drop. I suppose that my old conversions would benefit from a dictutil pass-through, so if it's simple enough I might just go through them all.)
Yes, it's pretty simple. In 99% of cases, you just need to do `dictzip-decompile whatever.zip`, then `dictgen whatever.df`. You'll also be able to edit and merge the dictfiles (remember that duplicate entries are fine).
geek1011 is offline   Reply With Quote