Thread: Dictionary FAQ
View Single Post
Old 01-11-2016, 05:07 PM   #99
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,589
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by mendesitba View Post
I was wondering if there is a way of converting a Kindle dictionary into a .bgl (or similar) file. I bought a French-Portuguese dictionary (Porto Editora) at Amazon.com and I would like to use it with Golden Dict and Anki Droid android apps.
AFAIK, there is no automated solution. You'd have to do the following:
  1. DeDRM the book.
  2. Unpack it with KindleUnpack.
  3. Open the main html file in a text editor that can handle very large files.
  4. Using regular expressions, change the existing entry format to the GLS format* or a two-column excel spreadsheet.
  5. Use Babylon Glossary Builder to generate the .bgl file.

As you can see this involves so much work that it's not really worth it.

* The GLS format is

Code:
headword1|synonym1|synonym2
Definition of headword1 in a single line

headword2|synonym1|synonym2
Definition of headword2 in a single line
Doitsu is offline   Reply With Quote