Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-12-2023, 02: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: 60
Karma: 2500000
Join Date: Apr 2021
Device: Kindle Paperwhite 5 SE
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, 02:58 PM   #212
nezih
Enthusiast
nezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watch
 
nezih's Avatar
 
Posts: 33
Karma: 10898
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
Old 03-12-2023, 06: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: 60
Karma: 2500000
Join Date: Apr 2021
Device: Kindle Paperwhite 5 SE
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 06:35 PM.
DenS is offline   Reply With Quote
Old 03-12-2023, 07:54 PM   #214
nezih
Enthusiast
nezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watchnezih is clearly one to watch
 
nezih's Avatar
 
Posts: 33
Karma: 10898
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, 09: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: 60
Karma: 2500000
Join Date: Apr 2021
Device: Kindle Paperwhite 5 SE
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 08:23 PM.
DenS is offline   Reply With Quote
Old 03-21-2023, 11:40 AM   #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, 09: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, 03:17 PM   #218
profysory
Junior Member
profysory began at the beginning.
 
Posts: 6
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, 04:24 AM   #219
profysory
Junior Member
profysory began at the beginning.
 
Posts: 6
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, 03: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, 04:36 AM   #221
profysory
Junior Member
profysory began at the beginning.
 
Posts: 6
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, 03: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, 02:08 PM   #223
EastEriq
Groupie
EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!
 
Posts: 169
Karma: 100516
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, 03: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: 895
Karma: 149877
Join Date: Jul 2013
Location: Netherlands
Device: Cracked 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 03:16 PM.
Markismus is offline   Reply With Quote
Old 04-24-2023, 04:04 PM   #225
EastEriq
Groupie
EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!EastEriq rocks like Gibraltar!
 
Posts: 169
Karma: 100516
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


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


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