02-05-2021, 10:00 AM | #1 |
Member
Posts: 21
Karma: 3620
Join Date: Feb 2021
Device: Pocketbook
|
Wiktionary for Pocketbook
Hi,
I converted the french wiktionary from this GitHub project: https://github.com/BoboTiG/ebook-reader-dict This project extract every day dictionaries from Wiktionary in several languages. So, the work I made could easiliy be done for other language too. The french version I made is base on the 28th of January 2021. It contains more than 1.5 millions word ! It is downloadable here: https://gofile.io/d/a27MMk The .dic file must be copied into the "system\dictionaries" folder of your Pocketbook reader. (Note: the "System" folder is hidden) Any comment and suggestion is welcomed ! ------------------ If you want to make the convertion yourself, here are the steps to proceed: # 1 ## Download the woktionary in the Stardict format: https://github.com/BoboTiG/ebook-reader-dict I used the french version: https://github.com/BoboTiG/ebook-rea...eleases/tag/fr # 2 ## Convert the Stardict files to a XDXF file using Linguae 0.15. Download Linguae here: https://linguae.stalikez.info/ # 3 ## Proceed to some cleanup of the XDXF with the "sed" tools: 1) Change the dictionary name : "Wiktionnaire" 2) Remove colors codes not needed on reader : #([0-9a-fA-F]){6} 3) Add "\n" after each </li> : this truncates long lines to avoid crash of the Pocketbook converter (step 4) 4) Add "#" at the beginning of definitions : a matter of look and lisibility. Change to whatever you like... 5) For french wiktionary, remove <i>(Date à préciser)</i> : this text is useless for readers. Change the text to your language. I used this light and standalone sed for windows: https://raw.githubusercontent.com/mb...ed-4.8-x64.exe and used this command: sed -e "s/<full_name>.*<\/full_name>/<full_name>Wiktionnaire<\/full_name>/" -e "s/\(<\/li>\)/\1\n/g" -e "s/#\([0-9a-fA-F]\)\{6\}//g" -e "s/<li>/<li># /g" -e "s/<i>(Date .* pr.*ciser)<\/i>//g" dict.xdxf >Wiktionnaire.xdxf # 4 ## Convert to Pocketbook format: The official converter can be downloader here: https://support.pocketbook-int.com/d...yConverter.zip This version includes only few "locales" files. The "fr" local was not included. These locales are available in an older version in this post: https://www.mobileread.com/forums/sh...06&postcount=4 The file is here: https://www.mobileread.com/forums/at...4&d=1435862948 I used this patched version of the converter which avoid crash with long XDXF content: https://www.mobileread.com/forums/sh...82&postcount=4 To convert the file from XDXF to Pocketbook format: converter Wiktionnaire.xdxf fr => Create: Wiktionnaire.dic
|
02-08-2021, 06:11 AM | #2 |
Zealot
Posts: 147
Karma: 22818
Join Date: Apr 2013
Device: Pocketbook Touch HD 3 + koreader
|
That’s great, thanks for the work. Any idea if the dic could work with Koreader ?
|
Advert | |
|
02-08-2021, 06:29 AM | #3 |
Guru
Posts: 746
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
|
02-09-2021, 12:08 PM | #4 |
Member
Posts: 21
Karma: 3620
Join Date: Feb 2021
Device: Pocketbook
|
Hi,
I packed a bundle of the tools required to convert dictionaries without the need of Linguae (I use a modified version of the Penelope tools instead). So, the convertion process can now be fully automated. See my post in the developper corner: https://www.mobileread.com/forums/sh...7&postcount=76 Note: this bundle also include also the Wiktionary (fr) and an adapted version of the Nouveau Littré. |
03-12-2021, 09:13 PM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2021
Device: Pocketbook Touch HD
|
Upload possible
Hi folks,
I came too late -> The "wiktionnaire" file is NOT available anymore. I have already sent a message to InMyPocket and maybe he will help me BUT someone could also upload it again.... Thanks anyway! Have a nice day |
Advert | |
|
03-14-2021, 05:26 AM | #6 |
Guru
Posts: 746
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Same here, seems to be that InMyPocket went missing. Tried to contact her/him too. No responce.
|
03-14-2021, 11:42 PM | #7 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2021
Device: Pocketbook Touch HD
|
Quote:
For me it's just that I am too busy right now to learn how to do the work myself. InMyPocket even described, how he created the dictionary. Have a nice day! |
|
03-15-2021, 02:11 AM | #8 |
Guru
Posts: 746
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Hope InMyPocket is well, I do have a backup of the aformentioned Penelope hack and a Windows Sed version, hope that helps.
|
03-15-2021, 02:33 PM | #9 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2021
Device: Pocketbook Touch HD
|
|
03-16-2021, 12:45 PM | #10 | ||
Member
Posts: 21
Karma: 3620
Join Date: Feb 2021
Device: Pocketbook
|
Yes, I'm well, thanks ! I was just disconnected for some days...
All files can be found here. There many Wiktionaries in there (I génerated a German version for you) and several multilanguage version. e.g: An FR_EN_NL version or a ES_PT_PL version. See discussion in the developper corner for more details. The WiktDict_XXXX files were generated with a all new program I made to convert dbnary files to xdxf. I also uploaded that tool: dbnary2xdxf.py To use it python must be installed on your computer. Then start: Quote:
Then convert the xdxf file with the PocketBook converter (included PBConvertTools.zip) : Quote:
Last edited by InMyPocket; 03-16-2021 at 01:00 PM. |
||
12-04-2022, 06:48 AM | #11 | |
Member
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: Pocketbook inkpad 3 pro
|
Quote:
Hi thankyou, the first time I understand how to use the converter, I am a new one. A question, are the files to be in the same directory? I am tyrying to find a French-Spanish dictionary for my Pocketbook but I can't find it even paying it. I will try to read your interesting posts. Thankyou. |
|
12-04-2022, 02:39 PM | #12 |
Member
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: Pocketbook inkpad 3 pro
|
The link does not work
The french version I made is base on the 28th of January 2021. It contains more than 1.5 millions word !
It is downloadable here: https://gofile.io/d/a27MMk Hi, the link does not work, is there another one? thanks Last edited by mandelgado58; 12-04-2022 at 02:42 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New bilingual Kobo dictionaries based on Wiktionary | karl42 | Kobo Reader | 15 | 10-10-2022 01:36 PM |
Englisches Wiktionary Wörterbuch für Pocketbook | SIRSteiner | PocketBook | 35 | 11-16-2021 06:45 AM |
Deutsches Wiktionary Wörterbuch für Pocketbook | SIRSteiner | PocketBook | 21 | 04-21-2020 02:58 PM |
English Wiktionary for Pocketbook (En-En) | SIRSteiner | PocketBook | 26 | 09-04-2014 05:26 AM |
beta offline(ish) Wiktionary viewer for DR | Mr. X | iRex | 11 | 11-06-2011 08:56 PM |