Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > PocketBook > PocketBook Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-12-2023, 03:47 PM   #211
DenS
Connoisseur
DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.
 
Posts: 65
Karma: 2500000
Join Date: Apr 2021
Device: Kindle Paperwhite 5, Kobo Libra 2
Quote:
Originally Posted by nezih View Post
I'm attaching the Windows mobitool binaries if you want to try it yourself.(Use at your own risk!)
Code:
mobitool -s filename.mobi
That worked! Thank you!
DenS is offline   Reply With Quote
Old 03-12-2023, 03:58 PM   #212
nezih
Enthusiast
nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.
 
nezih's Avatar
 
Posts: 40
Karma: 14828
Join Date: Feb 2023
Device: Kobo Aura SE
Quote:
Originally Posted by DenS View Post
That worked! Thank you!
You're welcome. I unpacked the file with KindleUnpack and it seems there were only 3 faulty headwords: curriculum vitæ, ex æquo and hors-d'œuvre.
nezih is offline   Reply With Quote
Advert
Old 03-12-2023, 07:28 PM   #213
DenS
Connoisseur
DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.
 
Posts: 65
Karma: 2500000
Join Date: Apr 2021
Device: Kindle Paperwhite 5, Kobo Libra 2
Yes! I tried again to edit the strange characters in vscode and I succeeded. Only this time I used the html file extracted by KindleUnpack, not the gls file generated by your script. Then I took the edited html and converted it to xml using your script and then to Stardict using pyglossary. My mistake was trying to convert gls to bgl by Babylon Glossary Builder and it always gave an error. Anyway, I think converting a file multiple times wouldn't be cool haha. Using mobitool is better and faster.

Last edited by DenS; 03-12-2023 at 07:35 PM.
DenS is offline   Reply With Quote
Old 03-12-2023, 08:54 PM   #214
nezih
Enthusiast
nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.nezih is less competitive than you.
 
nezih's Avatar
 
Posts: 40
Karma: 14828
Join Date: Feb 2023
Device: Kobo Aura SE
Quote:
Originally Posted by DenS View Post
Yes! I tried again to edit the strange characters in vscode and I succeeded. Only this time I used the html file extracted by KindleUnpack, not the gls file generated by your script. Then I took the edited html and converted it to xml using your script and then to Stardict using pyglossary. My mistake was trying to convert gls to bgl by Babylon Glossary Builder and it always gave an error. Anyway, I think converting a file multiple times wouldn't be cool haha. Using mobitool is better and faster.
Just a quick note: Even though Textual Format is more versatile and made gls obsolete, you don't actually have to convert gls to bgl. StarDict Editor supports it as an input format. Just select 'Babylon file' from the dropdown menu and compile.

https://code.google.com/archive/p/stardict-3/downloads
nezih is offline   Reply With Quote
Old 03-13-2023, 10:57 AM   #215
DenS
Connoisseur
DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.DenS ought to be getting tired of karma fortunes by now.
 
Posts: 65
Karma: 2500000
Join Date: Apr 2021
Device: Kindle Paperwhite 5, Kobo Libra 2
Quote:
Originally Posted by nezih View Post
Just a quick note: Even though Textual Format is more versatile and made gls obsolete, you don't actually have to convert gls to bgl. StarDict Editor supports it as an input format. Just select 'Babylon file' from the dropdown menu and compile.

https://code.google.com/archive/p/stardict-3/downloads
Thank you!

Last edited by DenS; 03-13-2023 at 09:23 PM.
DenS is offline   Reply With Quote
Advert
Old 03-21-2023, 12:40 PM   #216
Slavo
Junior Member
Slavo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Pocketbook Color
Hi, can someone please help me to convert these dictionaries to Pocketbook .dic dictionaries? thank you in advance :-)
https://anonfiles.com/52V2Z1fazd/New_folder_rar
Slavo is offline   Reply With Quote
Old 03-25-2023, 10:49 AM   #217
Slavo
Junior Member
Slavo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Pocketbook Color
anoyone? please. It is Serbo-Croatian dictionaries
Slavo is offline   Reply With Quote
Old 03-31-2023, 04:17 PM   #218
profysory
Junior Member
profysory began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2019
Location: Deutschland
Device: InkPad 3_(PB-740)
eng_serb.rar
Link:
https://drive.google.com/file/d/17B0...ew?usp=sharing
****************************
я для вас создал папку:
\...\DicConverter\serb
в которой есть пустые файлы =>
****************************
collates.txt
keyboard.txt
morphems.txt
****************************
1. вам необходимо создать эти файлы по примеру для других языков.
2. затем запускаете (для файла eng_serb.xdxf) => _eng_serb.bat

в папке появится файл словаря => eng_serb.dic
*******************
http://dadako.narod.ru/paperpoe.htm
http://lingvodics.com/dics/view/Serbo-Croatian
profysory is offline   Reply With Quote
Old 04-01-2023, 05:24 AM   #219
profysory
Junior Member
profysory began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2019
Location: Deutschland
Device: InkPad 3_(PB-740)
Link2:
https://www.asuswebstorage.com/navig...531725813F82F4
profysory is offline   Reply With Quote
Old 04-02-2023, 04:10 PM   #220
Slavo
Junior Member
Slavo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Pocketbook Color
Quote:
Originally Posted by profysory View Post
eng_serb.rar
Link:
https://drive.google.com/file/d/17B0...ew?usp=sharing
****************************
я для вас создал папку:
\...\DicConverter\serb
в которой есть пустые файлы =>
****************************
collates.txt
keyboard.txt
morphems.txt
****************************
1. вам необходимо создать эти файлы по примеру для других языков.
2. затем запускаете (для файла eng_serb.xdxf) => _eng_serb.bat

в папке появится файл словаря => eng_serb.dic
*******************
http://dadako.narod.ru/paperpoe.htm
http://lingvodics.com/dics/view/Serbo-Croatian

thank you so much :-) can you please help me how to convert dz dictionaries to xdxf? thank you :-)
Slavo is offline   Reply With Quote
Old 04-07-2023, 05:36 AM   #221
profysory
Junior Member
profysory began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2019
Location: Deutschland
Device: InkPad 3_(PB-740)
Файл *.dz - это архив gzip:
https://www.gnu.org/software/gzip/

Если у вас есть папка <name*> с файлами словаря:
*name*.dz
*name*.gz
*name*.ifo
то вы можете
1. программой 7-Zip (https://www.7-zip.org/) открыть и извлечь из name*.dz архива файл
*name*.dict
2. переименуйте *name*.dict => name*.txt
2. converter.exe *name*.txt serb
profysory is offline   Reply With Quote
Old 04-07-2023, 04:24 PM   #222
Slavo
Junior Member
Slavo began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2023
Device: Pocketbook Color
Quote:
Originally Posted by profysory View Post
Файл *.dz - это архив gzip:
https://www.gnu.org/software/gzip/

Если у вас есть папка <name*> с файлами словаря:
*name*.dz
*name*.gz
*name*.ifo
то вы можете
1. программой 7-Zip (https://www.7-zip.org/) открыть и извлечь из name*.dz архива файл
*name*.dict
2. переименуйте *name*.dict => name*.txt
2. converter.exe *name*.txt serb
Thank you so, so much!
Slavo is offline   Reply With Quote
Old 04-24-2023, 03:08 PM   #223
EastEriq
Groupie
EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.
 
Posts: 185
Karma: 194590
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
Despite my trying blindly in various ways, I am not able to convert the polished xdxf it-it vocabulary which I posted on another thread to stardict, for KOreader (no problem for converting to .dic, instead). Possibly my installation of python is fouled up. @Markismus, could you see if that is trivial for you?
EastEriq is offline   Reply With Quote
Old 04-24-2023, 04:12 PM   #224
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: 911
Karma: 149881
Join Date: Jul 2013
Location: Netherlands
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
They're uploaded to pCloud and reside in the subdirectory ITA-ITA. (I am assuming that the three letter code for Italian is ITA.)

One day I will get enough interest in Docker and make a Docker image for PocketBookDic, too. It seems too many people run into problems with the dependencies. @EastEriq Do you have the Stardict binaries installed? You know that they're only available for Linux, right? The script is in Perl, though, so your Python installation matters only for using KindleUnpack with mobi- and awzX-files.

Last edited by Markismus; 04-24-2023 at 04:16 PM.
Markismus is offline   Reply With Quote
Old 04-24-2023, 05:04 PM   #225
EastEriq
Groupie
EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.EastEriq can program the VCR without an owner's manual.
 
Posts: 185
Karma: 194590
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
Thank you very much Markismus, that will do. Do I need the stardict binaries to have PocketBookDic generate the stardict files? I would assume no, because time ago I managed to convert hebrew dictionaries. But since then maybe I upgraded my linux distribution, or ended up mixing python modules of different versions installed with different tools, so that pyglossary was not working for me anymore. Turning to external help was in this case better than looking for a fresh system, or wasting further time in attemtp. Much appreciated!
EastEriq is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pocketbook dictionary logan PocketBook 322 03-05-2024 10:48 AM
Dictionary coversion from .mobi to pocketbook format? doctorat PocketBook 16 07-01-2020 06:34 PM
Webster's 1913 Dictionary in Pocketbook Format luqmaninbmore PocketBook 8 05-27-2020 11:41 AM
SW>EN Dictionary for Pocketbook tttrine PocketBook 3 06-09-2015 07:01 AM


All times are GMT -4. The time now is 02:47 PM.


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