04-19-2022, 03:17 AM | #136 | |
Guru
Posts: 897
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
Quote:
(Maybe add @Markismus to your post next time. Than I will be notified, instead of stumbling upon your post weeks later.) @arlekin89 Could you send a link to the dictionary and to the altered script? EDIT: Char 3 would be the end-of-text control character, which doesn't show up in a terminal. Did you just add char 3 to the sub removeInvalidChars? Last edited by Markismus; 04-21-2022 at 02:52 PM. |
|
05-01-2022, 08:32 PM | #137 |
Junior Member
Posts: 4
Karma: 12
Join Date: May 2022
Device: Kindle Voyage
|
@Markismus Thanks for your truly awesome work! Could you perhaps provide an optmized version of the webster's dictionary for KOReader? I noticed that some dictionaries has a KOREADER_optimized version but sadly the webster one does not
|
Advert | |
|
05-02-2022, 12:54 AM | #138 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2021
Device: kobo h2o libra
|
German arabic kobo dictionary
Hello
i am looking for a German arabic dictionary for Kobo , the one I uploaded here is to poor... I have a Schreggle German arabic its full but its in pdf and epub and kindle ... https://archive.org/details/german-a...ge/n1/mode/2up can you help me plse ? |
05-03-2022, 03:25 PM | #139 |
Guru
Posts: 897
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
@takfarinas Nope. The thread is about dictionary format conversion.
So the starting point is a given formatted dictionary. Then the question is whether it can be converted? That's were I take an interest. Your pdf-, epub-file is not a formatted dictionary. It needs a reader to interpret it and generate the data in a format. Normally, we do this when we look at a lemma and read its meaning. To write a new script to look for visually repeating patterns is also very interesting. However, the script that I wrote, can't do that. Rather it would take the results from the new script and parse it into another format when needed. |
05-07-2022, 10:55 AM | #140 |
Groupie
Posts: 169
Karma: 1686
Join Date: Jul 2020
Location: Greece
Device: Pocketbook Touch Lux 5
|
Hi,
Could anyone convert this dictionary into dict format for KOReader, please? Thank you in advance! |
Advert | |
|
06-09-2022, 08:27 AM | #143 |
Member
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: Pocketbook inkpad 3 pro
|
How to change kindle french spanish diccionary to .dic format
Hello, would it be possible to change a kindle .azw dictionary to .dic format?. I have been a lot of time looking for a program to do it without luck. If it is possible how can I upload the file? Thanks
|
06-11-2022, 09:27 AM | #144 |
Guru
Posts: 897
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
@madelgado58 Basically: You could get lucky.
Both mobi- and kindle-dictionaries are a free format. The formats are getting more uniform, so you have better luck with Kindle than with Mobi formats. But that's it. The script unpacks it with KindleUnpacker and then looks at the resulting data whether it is recognizable. If it is, it converts it to for instance Pocketbook dic-files. If it isn't, you'll have to tinker or it has to be a very interesting dictionary for me to take an interest and tinker. You can upload any file to a fileserver and post the share link. Known fileservers are e.g. Dropbox and pCloud, but the internet is actually flooded with them. For an example of pCloud, you can look at post #1 of this thread. |
06-26-2022, 12:37 PM | #145 |
Member
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: Pocketbook inkpad 3 pro
|
Thankyou very much for your answer. I have not used KindleUnpacker but I will try. If it is interesting for you to tinker here is the file:
https://www.dropbox.com/s/9z6ey0eivm...06NQM.azw?dl=0 Thanks again Markismus great work |
06-27-2022, 06:04 AM | #146 |
Guru
Posts: 897
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
I ran your azw-file and it failed due to being encrypted. So you'll have to hack it first, before you can convert it.
Code:
Command line arguments provided: 'dict/Dictionnaire français de définitions_B005306NQM.azw' 'fr' Found command line argument: dict/Dictionnaire français de définitions_B005306NQM.azw. Assuming it is meant as the dictionary file name. Found command line argument: fr. Assuming it is meant as language directory. Operating system is linux: All good to go! Local path is dict. Full path is /home/mark/Downloads/PocketbookDic/dict Found python responding as expected. The script kindelunpack.py is now unpacking the file: /home/mark/Downloads/PocketbookDic/dict/Dictionnaire français de définitions_B005306NQM.azw to: /home/mark/Downloads/PocketbookDic/dict/Dictionnaire français de définitions_B005306NQ. This will take some time. 20220627 10:59:23 Traceback (most recent call last): File "/home/mark/git/KindleUnpack/lib/kindleunpack.py", line 1020, in <module> sys.exit(main()) File "/home/mark/git/KindleUnpack/lib/kindleunpack.py", line 1008, in main unpackBook(infile, outdir, apnxfile, epubver, use_hd) File "/home/mark/git/KindleUnpack/lib/kindleunpack.py", line 923, in unpackBook process_all_mobi_headers(files, apnxfile, sect, mhlst, K8Boundary, False, epubver, use_hd) File "/home/mark/git/KindleUnpack/lib/kindleunpack.py", line 767, in process_all_mobi_headers raise unpackException('Book is encrypted') __main__.unpackException: Book is encrypted KindleUnpack failed to convert the mobi-file. KindleUnpack v0.82 Based on initial mobipocket version Copyright © 2009 Charles M. Hannum <root@ihack.net> Extensive Extensions and Improvements Copyright © 2009-2014 by: P. Durrant, K. Hendricks, S. Siebert, fandrieu, DiapDealer, nickredding, tkeo. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3. Unpacking Book... Palm DB type: BOOKMOBI, 16373 sections. Warning: Bad key, size, value combination detected in EXTH 406 16 0000000000000000 Unpacking a Mobipocket 7 book... Processing Mobipocket 7 section of book... Mobi Version: 7 Codec: utf-8 Title: Dictionnaire Français Cordial EXTH Title: Dictionnaire français Cordial (French Edition) Palmdoc compression --- Begin stack trace --- pocketbookdic.pl line 1388 in function main::Die pocketbookdic.pl line 1807 in function main::loadXDXF --- End stack trace --- Died at pocketbookdic.pl line 375. You can get the same results by search&replace all Code:
$FileName =~ m~^(?<filename>((?!\.azw3).)+)\.azw3$ Code:
$FileName =~ m~^(?<filename>((?!\.azw3?).)+)\.azw3?$ Last edited by Markismus; 06-27-2022 at 06:10 AM. |
06-28-2022, 04:31 AM | #147 | |
Guru
Posts: 746
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Looks like a typo to me. Isn't it
Quote:
|
|
06-28-2022, 05:37 AM | #148 |
Member
Posts: 12
Karma: 10
Join Date: Jun 2022
Device: Pocketbook inkpad 3 pro
|
I am sorry I do not understand it. I am not used to Python (I do not have the program either) I thought it would be a Windows program. Sorry it is the first time I try to convert a dictionary. But thankyou for your work. I will follow this thread to see if anyone can help me.
|
06-28-2022, 05:53 AM | #149 |
Guru
Posts: 897
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
Nope. It's the '3' that matches zero or one time.
Last edited by Markismus; 06-28-2022 at 08:59 AM. |
06-28-2022, 08:56 AM | #150 |
Guru
Posts: 746
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Ups, my fault, thanks for the correction!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pocketbook dictionary | logan | PocketBook | 322 | 03-05-2024 09:48 AM |
Dictionary coversion from .mobi to pocketbook format? | doctorat | PocketBook | 16 | 07-01-2020 05:34 PM |
Webster's 1913 Dictionary in Pocketbook Format | luqmaninbmore | PocketBook | 8 | 05-27-2020 10:41 AM |
SW>EN Dictionary for Pocketbook | tttrine | PocketBook | 3 | 06-09-2015 06:01 AM |