Passage from "The Hitchhiker's Guide to the Galaxy" by Douglas Adams
A few years ago I bought a Pocketbook Touch HD 3 e-book reader and found it had a lousy standard dictionary. As a non-native speaker, I enjoy reading English books, so I occasionally need a translation of a word. The standard dictionaries on this device only provide basic vocabulary and therefore do not help me any further. Because of this problem, I looked around a little and only found expensive dictionaries that weren't big enough for my taste. After a little research I found out that you can now use stardict dictionaries if you use another reader application on your eBook reader. This instruction is for the classic way and here I decided to create my own dictionary based on the data provided by dict.cc.
Excerpt from the page "About dict.cc":
[...]
All services offered by dict.cc can be used in the web browser for free, both for private and business purposes. All other ways of usage, particularly automated requests (parsing) require express permission.
[...]
Therefore I do not offer the finished dictionary for download, you have to download the vocabulary from dict.cc yourself.
The instructions were developed and tested on January 7, 2021 for the ENG-GER data (English to German). If I have the time and feel like it, I will provide assistance, but cannot guarantee it. Feel free to add new languages to this script or improve it elsewhere.
(These instructions have only been tested with the Pocketbook Touch 3, but the newly created dictionaries should work on all Pocketbook devices.)
python3 ./parser.py
in the dictionary that lex.txt
and parser.py
are located and get some coffee, read a book, or clean your kitchen - it will take some timelex.xdxf
1 file with converter.exe
lex.xdxf
file into the extracted directory of the converter. There should be an executable file and some folders like ger
or eng
. These are needed for the converter../converter.exe ./lex.xdxf eng
(set paths correct for your os)/system/dictionionaries/lex.dic
Good luck and much fun with your new dictionary
1 Further information on the xdxf standard: https://github.com/soshial/xdxf_makedict