View Single Post
Old 01-24-2020, 11:12 AM   #23
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,805
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by rtiangha View Post
Um, if you're saying what I think you're saying and you figured it out the way I think you figured it out, then I'm definitely not letting my Kobo get online in case the same information that protects the dictionaries is also used to protect communications, lol.
No comment, other than if you think I've cracked SSL, that's certainly not the case (dict encryption and HTTPS are protected differently).

Quote:
When thinking about general algorithms at high-level, I did consider embedding things in the definition field, although I wasn't sure how to handle merged definitions from other dictionaries that might have a different set of synonyms for the same word (figuring out how to say it in Python however would be a different challenge for me).
Yes, that would be a limitation of that method and the way Penelope processes stuff.

Quote:
But for just going Stardict->Kobo, I almost think it'd be easier to decompile the dictionary into Stardict XML format and then use XSLT to transform the definitions to Kobo format. And I think you'd be able to go in the opposite direction using that method as well. Or maybe something like that ends up being a totally different utility instead.
Or, you could use XSLT to transform it into my own (future) format. To merge dictionaries in my format, all you'll need to do is append the files (most likely, I'll need to test a few details, such as how variants are matched). More on this later.
geek1011 is offline   Reply With Quote