View Single Post
Old 06-24-2020, 02:11 PM   #87
Alanon
Connoisseur
Alanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watchAlanon is clearly one to watch
 
Alanon's Avatar
 
Posts: 76
Karma: 10742
Join Date: Jul 2017
Location: Serbia
Device: Kobo Aura One
Quote:
Originally Posted by geek1011 View Post
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.
Ok, that makes sense. I tried to play around some more, but no matter what I tried, I wasn't able to get PyGlossary to output a readable dictionary. I'd hoped that it might prove useful for reading .mdx and as a tool for automatic conversions, but at this point I'm just about ready to give up on it.

However, makedict with Penelope still works as it should, and your tool also has tremendous value. Keeping with my standard conversion steps (dsl to stardict to kobo), I was able to make some tweaks thanks to the decompiler, and improve the overall readability of my conversions. I'm still battling with multiple blockquotes and ways to disentangle them, and learning how to use regex replacement features, but I can already see what a difference it can make!

I did encounter an interesting issue that I presume has to do with Kobo rather than my dictionaries. Many glyphs used in English phonetic transcription seem to be missing? Is this an encoding error or are they actually missing from the default font? (For example, "o͞o" is rendered as two o's with a block above them.)
Alanon is offline   Reply With Quote