Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 01-06-2025, 10:19 AM   #1
sabymammamia
Member
sabymammamia doesn't littersabymammamia doesn't litter
 
sabymammamia's Avatar
 
Posts: 11
Karma: 110
Join Date: Jan 2025
Device: Kindle Basic 11th (2022)
Exclamation KOReader StarDict formatting - multiple [image] bugs

Hi

I've downloaded some dictionaries to my KOReader (working on jailbroken Kindle 11) in a StarDict format and they are working correctly (EN-EN, PL-EN, PL-PL), but the problem is with one of my EN-PL dictionaries. I couldn't find any good EN-PL dictionary in a StarDict format, so I downloaded one destined for Kindle (one .mobi file) and converted it to a StarDict format with https://github.com/anezih/mobi2stardict this tool. It took a while (unpacking the original .mobi file from what I remember, not really the conversion to StarDict) and a final dictionary was over 400MB, so I've read that it is possible to compress it and it will still work with KOReader well, so I did it and now it's about 40MB. However when I press some word, the dictionary finds it, so the dictionary works, but there is this "bug" because at the top of the result I see multiple [image] [image] [image] words. Sometimes there are 2-3, sometimes 10 and it happens with every word and only with this particular EN-PL dictionary. Does anyone have a solution for this? Is it wrong formatting or some option that could be easily disabled?
sabymammamia is offline   Reply With Quote
Old 01-06-2025, 10:26 AM   #2
DJUNGELSKOG
Connoisseur
DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.
 
DJUNGELSKOG's Avatar
 
Posts: 67
Karma: 438804
Join Date: Nov 2023
Location: Belgium / Vlaanderen
Device: Kobo Libra 2
Would this work? This is how I managed to actually convert mine to Stardict.

https://www.mobileread.com/forums/sh...81&postcount=5

Last edited by DJUNGELSKOG; 01-06-2025 at 11:17 AM.
DJUNGELSKOG is offline   Reply With Quote
Advert
Old 01-06-2025, 11:31 AM   #3
sabymammamia
Member
sabymammamia doesn't littersabymammamia doesn't litter
 
sabymammamia's Avatar
 
Posts: 11
Karma: 110
Join Date: Jan 2025
Device: Kindle Basic 11th (2022)
Quote:
Originally Posted by DJUNGELSKOG View Post
Would this work? This is how I managed to actually convert mine to Stardict.

https://www.mobileread.com/forums/sh...81&postcount=5
python3 mobi2stardict.py --fix-links --dict-name "en-pl-dictionary" --textual --html-file "book.html"
usage: mobi2stardict.py [-h] [--html-file HTML_FILE] [--fix-links] [--dict-name DICT_NAME] [--author AUTHOR] [--chunked]
mobi2stardict.py: error: unrecognized arguments: --textual

Also this method looks extremely similar to what I did before and got those [image] [image] [image] ... but I will try maybe without this --textual option, but was that important for you? This argument is not valid in the current version of mobi2stardict
sabymammamia is offline   Reply With Quote
Old 01-06-2025, 11:49 AM   #4
DJUNGELSKOG
Connoisseur
DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.DJUNGELSKOG ought to be getting tired of karma fortunes by now.
 
DJUNGELSKOG's Avatar
 
Posts: 67
Karma: 438804
Join Date: Nov 2023
Location: Belgium / Vlaanderen
Device: Kobo Libra 2
The author of mobi2stardict.py is active on this forum and has previously answered user questions in this thread: https://www.mobileread.com/forums/sh...=363249&page=2, if you post your question in this thread as well then maybe he'll see it and will be able to advice?
DJUNGELSKOG is offline   Reply With Quote
Reply

Tags
dictionaries, dictionary, formattiing, help koreader, stardict


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does a "Child Friendly" dictionary exist for KOReader in Stardict? reader1xz KOReader 5 08-18-2023 12:48 AM
E-Books Dictionnaire Cordial au format Stardict (pour KOReader) matko Forum Français 2 10-08-2019 05:18 PM
french dict kobo nickel to koreader stardict cramoisi KOReader 3 06-05-2018 03:01 AM
Koreader formatting help oblox Kindle Developer's Corner 7 07-12-2016 09:40 AM
Image viewer bugs chalimac Amazon Kindle 2 08-14-2011 05:39 PM


All times are GMT -4. The time now is 04:37 PM.


MobileRead.com is a privately owned, operated and funded community.