Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > PocketBook

Notices

Reply
 
Thread Tools Search this Thread
Old 01-09-2021, 04:27 AM   #1
p4cx
Junior Member
p4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-books
 
p4cx's Avatar
 
Posts: 4
Karma: 794
Join Date: Jan 2021
Location: Germany
Device: Pocketbook Touch HD 3
Dictionary ENG-GER with data by dict.cc

Hello,

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.
Therefore I wrote a small program to parse the data from dict.cc into the xdxf format, ready for the converter (which I got from this forum, thanks) to load these into the binary dic format by pocketbook. If you are wondering: My script only picks the translation of the words, no explanations or grammatical informations. I think, that another languages won't work with my tool - it has to be customized for it.

https://github.com/p4cx/pocketbook_dic

Please check it out. I am open for criticism and improvements. If you want, feel free to contribute to my repo. If you need help, feel free to ask.

p4cx is offline   Reply With Quote
Old 01-10-2021, 01:04 PM   #2
Markismus
Guru
Markismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicing
 
Markismus's Avatar
 
Posts: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
Nice!
You can combine it with the dictionary script from this thread. In case you would like to convert mobi-, Stardict- and csv-format to Pocketbook dic-format, too.

Looking at your code dict.cc is a csv-format with tab as separation symbol?
Markismus is offline   Reply With Quote
Advert
Old 01-10-2021, 05:12 PM   #3
p4cx
Junior Member
p4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-books
 
p4cx's Avatar
 
Posts: 4
Karma: 794
Join Date: Jan 2021
Location: Germany
Device: Pocketbook Touch HD 3
Ah, I already found it on github and starred it. But I didn't had the time to investigate this further. But I will, it's looking really promising.

Yeah, the format of dict.cc is a textfile with all entries in own lines, seperated with tabs. Quite easy to parse, it would even be possible to write a beautiful xdxf file with grammatical informations, etc.. But I don't like this kind of stuff while reading and translating words. Therefore I got rid of all that stuff.

But it shouldn't be that complicated to rewrite it with variable options and use your script for generating the dic file (so I don't have to use my Windows VM for the generator, yey )
p4cx is offline   Reply With Quote
Old 01-11-2021, 03:07 AM   #4
Markismus
Guru
Markismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicingMarkismus causes much rejoicing
 
Markismus's Avatar
 
Posts: 955
Karma: 149907
Join Date: Jul 2013
Location: Rotterdam
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
I used a command line approach using wine: wine convert.exe etc.etc.
So without using my script, you can already get rid of the VM.
Markismus is offline   Reply With Quote
Old 01-11-2021, 04:14 AM   #5
p4cx
Junior Member
p4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-booksp4cx has learned how to read e-books
 
p4cx's Avatar
 
Posts: 4
Karma: 794
Join Date: Jan 2021
Location: Germany
Device: Pocketbook Touch HD 3
Yeah, i already tried that - won't work on my system. But there are some tools, I need Windows for, therefore the VM isn't that much a problem.
But I always prefer a Linux/Mac only solution.
p4cx is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glo Kobo Glo... Eng-Eng dictionary quality? Katmandu Kobo Reader 15 12-05-2014 04:15 AM
Can I read Kindle w/ Eng-French Dictionary? LenEdgerly Amazon Kindle 8 12-27-2010 09:07 AM
Content ENG - GER dictionary Edy Amazon Kindle 10 07-12-2010 10:44 AM
Fantasy de Campi, Alex: Valentine Episode 01. Version 2. 02/14/2010 ENG/FRE/GER alexdecampi ePub Books 3 02-14-2010 10:43 PM
Fantasy de Campi, Alex: Valentine Episode 02. Version 2. 02/14/2010 ENG/FRE/GER alexdecampi ePub Books 0 02-14-2010 03:00 PM


All times are GMT -4. The time now is 08:20 PM.


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