Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 08-23-2024, 02:27 PM   #1
qys
Junior Member
qys began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2024
Device: Kindle Paperwhite 3 (DP75SDI)
Question Using dictionaries purchased from Kindle Store

I wonder if it's possible to use a dictionary purchased from the Amazon Kindle Store (for example, this one) in KOReader. It looks like the dictionary downloaded to my Kindle is in some "azw" format, not the "stardict" format KOReader supports. However, the stock reader in Kindle supports the "azw" dictionaries in "Settings > Language & Dictionaries > Dictionaries".

How do I convert "azw" to "stardict"? What are these "azw" files anyway, a generic format for e-books, or a specialized format for dictionaries?
qys is offline   Reply With Quote
Old 08-23-2024, 06:35 PM   #2
Ebookus
Digital Grenadier
Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.
 
Ebookus's Avatar
 
Posts: 86
Karma: 750000
Join Date: Jan 2024
Device: Kindle
you can try pyglossary
Ebookus is offline   Reply With Quote
Advert
Old 08-30-2024, 10:42 AM   #3
DJUNGELSKOG
Enthusiast
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.
 
Posts: 32
Karma: 438804
Join Date: Nov 2023
Location: Belgium / Vlaanderen
Device: Kobo Libra 2
I've actually managed to pull it off and I have written a manual for my future self. However I won't be at home until next week. If you remind me about it next weel then I'll post the instructions here.

I've also managed to get Rakuten Serif font to work in Koreader lol.
DJUNGELSKOG is online now   Reply With Quote
Old 08-30-2024, 12:55 PM   #4
qys
Junior Member
qys began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2024
Device: Kindle Paperwhite 3 (DP75SDI)
Thanks Ebookus for suggesting pyglossary; that looks promising!

DJUNGELSKOG, please post the instructions once you have time! I'm sure many people like me will benefit from this.
qys is offline   Reply With Quote
Old Today, 06:26 AM   #5
DJUNGELSKOG
Enthusiast
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.
 
Posts: 32
Karma: 438804
Join Date: Nov 2023
Location: Belgium / Vlaanderen
Device: Kobo Libra 2
Ok here we go.

I was looking to achieve the same thing and eventually I've found these instructions: https://gist.github.com/Fef0/913caa8...0ed1eb9d0f11e7 . They didn't work for me initially so I have amended them.

Quote:
Step 1:
Download the KindleUnpack program from here: https://github.com/kevinhendricks/KindleUnpack
Start GUI with python ./KindleUnpack.pyw
Select .mobi file as input and choose your output directory
(optional) I don't know if it is necessary, but select ePub Output type: Auto-Detect
Click the Start button and wait
A file called mobi7/book.html is now present in the output directory

Step 2
Download the mobi2stardict.py script from here: https://github.com/anezih/mobi2stardict
Place the script in the same folder as the book.html file
Run it with
python mobi2stardict.py --fix-links --dict-name "vandale-nl-nl" --textual --html-file "book.html"
A file called book_stardict_textual.xml will appear

Step 3
Download PyGlossary https://github.com/ilius/pyglossary
Select input file book_stardict_textual.xml
Select input format stardict_textual_file (.xml)
Specify the ouput file /home/schatje/Downloads/dictionaries_to_convert/name_of_ur_file
Specify the output format StarDict.ifo

Step 4 (optional, KOReader on Kindle)

(optional) If you want to change the dictionary name (it is book by default) then open book.ifo with a text editor and update "bookname" entry to bookname=wordnet3
Copy ALL the files (book.dict, book.idx, book.ifo, book.syn) to koreader/data/dict/
Restart KOReader
From KOReader select the magnifying glass > Dictionary settings > Manage dictionaries > and select wordnet3
I'm very happy with the result! Maybe there is an easier way to achieve the conversion but I didn't look for it.

Last edited by DJUNGELSKOG; Today at 06:28 AM.
DJUNGELSKOG is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
so purchased a book from the kindle store Alrayes Amazon Kindle 27 12-12-2018 08:05 AM
Transfer ALL Purchased Books to Kindle? HeatherA Amazon Kindle 6 03-25-2014 03:50 PM
Kindle purchased content portability mj72 Amazon Kindle 5 09-26-2010 04:33 PM
Hacks Kindle noob... purchased books can't open with Kindle Riptide Amazon Kindle 16 10-13-2009 07:30 PM
poor illustration on books purchased through CONNECT store jakeluck Sony Reader 14 03-06-2007 04:50 PM


All times are GMT -4. The time now is 08:26 AM.


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