Menu

Tree [20a9dd] master /
 History

HTTPS access


File Date Author Commit
 BG-EN 2015-10-28 kjussakov kjussakov [20a9dd] The scripts used to convert bg-en kindle dictio...
 EN-BG 2015-10-06 kjussakov kjussakov [3df811] Initial commit
 release-info 2015-10-06 kjussakov kjussakov [3df811] Initial commit
 screenshots 2015-10-06 kjussakov kjussakov [3df811] Initial commit
 README.md 2015-10-06 kjussakov kjussakov [3df811] Initial commit

Read Me

Generation Instructions

This file gives a step by step guide on performing the transformation of the BG Office dictionary
database (http://bgoffice.sourceforge.net/) into Kindle dictionary in .mobi format.

Perform the following steps for generating EN to BG dictionary (the generation of the BG to EN is
analogous):
1. Download the BG Office dictionary database (HTML format) from
http://sourceforge.net/p/bgoffice/code/HEAD/tree/trunk/ and save it in the folder /EN-BG
2. Convert the dictionary encoding from Windows-1251 to UTF-8 using a text editor for example
3. Run the script /EN-BG/clean-XML-EN-BG.sh to convert the HTML database into
valid xml which can be fed into XSLT processor
4. Download an XSLT 2.0 processor of your choice (a command line tool is recommended e.g., Saxon;
remember to set the class path accordingly in this case)
5. Perform an XSL transformation on the cleaned XML dictionary database with the XSLT processor
and the XSL definitions in /EN-BG/EN-BG-KindleEpub.xsl. If a command line tool is used, modify
accordingly the /EN-BG/do-xslt-EN-BG.sh script and execute it.
6. You need to split the file en-bg-kindle.html into two files en-bg-kindle1.html and
en-bg-kindle2.html due to problems with kindlegen when the source files are too bid.
The dictionary entries from A to L goes into en-bg-kindle1.html while M-Z into en-bg-kindle2.html
7. Finally generate the .mobi file by executing the script gen-mobi-dic-EN-BG.sh

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.