View Single Post
Old 01-24-2020, 09:36 AM   #22
rtiangha
Evangelist
rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.rtiangha ought to be getting tired of karma fortunes by now.
 
Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
Quote:
Originally Posted by geek1011 View Post

You might also need to change the order of some of the checks to match. I'll give more details once I finish dictutil.
Ok, I'l wait for your notes.

Quote:
I've checked against all the Kobo dictionaries, but don't ask me how.
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.

Quote:
It's not really feasible to add synonyms to Penelope without either hacky stuff (putting them into the definition field), or a major restructure.
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).

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.

Last edited by rtiangha; 01-24-2020 at 10:13 AM.
rtiangha is offline   Reply With Quote