Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > PocketBook

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2021, 10:00 AM   #1
InMyPocket
Member
InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.
 
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
InMyPocket is offline   Reply With Quote
Old 02-08-2021, 06:11 AM   #2
ploum
Zealot
ploum can tie a knot in a cherry stem with his or her tongueploum can tie a knot in a cherry stem with his or her tongueploum can tie a knot in a cherry stem with his or her tongueploum can tie a knot in a cherry stem with his or her tongueploum can tie a knot in a cherry stem with his or her tongueploum can tie a knot in a cherry stem with his or her tongueploum can tie a knot in a cherry stem with his or her tongueploum can tie a knot in a cherry stem with his or her tongueploum can tie a knot in a cherry stem with his or her tongueploum can tie a knot in a cherry stem with his or her tongueploum can tie a knot in a cherry stem with his or her tongue
 
ploum's Avatar
 
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 ?
ploum is offline   Reply With Quote
Advert
Old 02-08-2021, 06:29 AM   #3
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 746
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Quote:
Originally Posted by ploum View Post
That’s great, thanks for the work. Any idea if the dic could work with Koreader ?
I guess you could say that. Since KoReader uses Stardict file format, I'm sure you can find a link in the first post of the thread
nhedgehog is offline   Reply With Quote
Old 02-09-2021, 12:08 PM   #4
InMyPocket
Member
InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.
 
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é.
InMyPocket is offline   Reply With Quote
Old 03-12-2021, 09:13 PM   #5
janno19
Junior Member
janno19 began at the beginning.
 
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
janno19 is offline   Reply With Quote
Advert
Old 03-14-2021, 05:26 AM   #6
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
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.
nhedgehog is offline   Reply With Quote
Old 03-14-2021, 11:42 PM   #7
janno19
Junior Member
janno19 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2021
Device: Pocketbook Touch HD
Thumbs up

Quote:
Originally Posted by nhedgehog View Post
Same here, seems to be that InMyPocket went missing. Tried to contact her/him too. No responce.
- Thank you, but maybe he's just busy. So I will will wait, but if no help is coming, we will have to find another way.


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!
janno19 is offline   Reply With Quote
Old 03-15-2021, 02:11 AM   #8
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
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.
Attached Files
File Type: zip penelope-3.1.3-XDXF-InMyPocket.zip (59.1 KB, 236 views)
File Type: zip sed-4.8-x64.exe.zip (202.2 KB, 232 views)
nhedgehog is offline   Reply With Quote
Old 03-15-2021, 02:33 PM   #9
janno19
Junior Member
janno19 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2021
Device: Pocketbook Touch HD
Quote:
Originally Posted by nhedgehog View Post
Hope InMyPocket is well, I do have a backup of the aformentioned Penelope hack and a Windows Sed version, hope that helps.
Dear nhedgehog, thank you for uploading the tools, but quite frankly I will be busy for some time.

Have a nice evening!
janno19 is offline   Reply With Quote
Old 03-16-2021, 12:45 PM   #10
InMyPocket
Member
InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.InMyPocket can teach chickens to fly.
 
Posts: 21
Karma: 3620
Join Date: Feb 2021
Device: Pocketbook
Quote:
Originally Posted by nhedgehog View Post
Hope InMyPocket is well
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:
dbnary2xdxf.py the_dbnary_ontolex_file lang_from lang_to [lang_to2...] > dest_file.xdxf
Rem:
Then convert the xdxf file with the PocketBook converter (included PBConvertTools.zip) :
Quote:
converter dest_file.xdxf language_code
Enjoy !

Last edited by InMyPocket; 03-16-2021 at 01:00 PM.
InMyPocket is offline   Reply With Quote
Old 12-04-2022, 06:48 AM   #11
mandelgado58
Member
mandelgado58 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: Pocketbook inkpad 3 pro
Quote:
Originally Posted by InMyPocket View Post
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



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.
mandelgado58 is offline   Reply With Quote
Old 12-04-2022, 02:39 PM   #12
mandelgado58
Member
mandelgado58 began at the beginning.
 
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.
mandelgado58 is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 05:21 AM.


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