![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Kobo Libra 2
|
Polish to Polish StarDict files too big (dictionary)
Hi there!
Ive recently conversed two .slob files to starDict to use these files as dictionaries in KOReader on my Kobo Libra 2. Files went from a 292 MB to 6,3 gb and from 3,5 gb to 33,6 gb. Of course I cant upload them to my device bcs I get the error The item “WiktionaryPL2.dict” can’t be copied because it is too large for the volume’ As the second one is indeed just too big to even fit on the device storage, the first one isn't. I have following questions: Is there any way to compress them? If not, are there any Polish to Polish dictionaries in starDict format (I only found multilangual ones) or at least some in the formats that pyGlossary can convert to starDict? P.S htmldict, epub, mobi is not supported by pyGlossary (entirely or the read function) ![]() |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
IIRC, the KOReader also supports compressed dict.dz StarDict files, which you can create with Dictzip.
Make sure to use dictzip -k dictionary.dict. Otherwise the original .dict file will be deleted. You also might be able to reduce the file size by decompiling the StartDict dict file, removing all HTML tags and compiling it as a non-HTML StarDict dictionary. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Kobo Libra 2
|
OK! So I've managed to compress WiktionaryPL2.dict to WiktionaryPL2.dict.dz, the file size is 398,1 MB so its great!
I transfered WiktionaryPL2.dict.dz , WiktionaryPL2.idx and WiktionaryPL2.ifo to KOReader. The dictionary is visable in the menu in KOReader and I've set it to use it but it doesnt work. Simply says "no definition found" when looking up a word. I didnt manage to use sdcv because I dont know how same with merge_syns=True. I tried deleting .idx and .ifo files with only .dict.dz and then KOReader cant even see this dictionary, so I've tried deleting .dict.dz and left only .idx and .ifo and KOReader can see it. So the .dict.dz is not even noticed by KOReader. (Im using gzip) gzip WiktionaryPL2.dict mv WiktionaryPL2.dict.gz WiktionaryPL2.dict.dz Last edited by polo2137; 01-29-2023 at 08:22 PM. Reason: Add info |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Kobo Libra 2
|
Ive tried splitting them using sdcv (split -b 500 command) but it spit out some random files.
Btw when I check the file format of the .dict file with 'file' command it says its a .html format but it can be that 'file' command doesnt support recognizing .dict format. Im using mac |
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
You also might want to install a Stardict dictionary client for macOS to test the dict.dz files that you've created. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Kobo Libra 2
|
Can you tell me how to instal dictzip on mac? I tried to google it but no luck!
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2023
Device: Kobo Libra 2
|
I already installed macports
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Installing the dict package should also install dictzip. However, since I don't have a Mac, I wasn't able to test this.
If if doesn't work, have the dictionary compressed by a friend with a Windows machine or use another Polish Stardict dictionary. |
![]() |
![]() |
![]() |
Tags |
dictionaries, dictionary, polish, polish dictionary, stardict |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Polish-English or Polish-Polish dictionary | tjasa | Onyx Boox | 1 | 05-24-2021 07:18 AM |
Polish-English or Polish-Polish dictionary | tjasa | General Discussions | 1 | 05-19-2021 07:15 AM |
Polish dictionary | San Zamoyski | Kindle Developer's Corner | 19 | 09-20-2018 05:41 AM |
Polish dictionary | San Zamoyski | Kindle Formats | 7 | 06-25-2016 12:45 PM |
GUI [Polish] vs. CLI ebook-polish | phossler | Calibre | 6 | 10-01-2015 08:27 AM |