Compress StarDict 'dict-data.dict' to 'dict-data.dict.dz'
See original GitHub issueMost readers should be able to read ‘.dz’ (compressed dictionaries) files nowadays.
I suggest we also compress the StarDict dict-data.dict
files into dict-data.dict.dz
. Upon successful compression the .dict
file can be removed. Saves much space.
I use dictzip
for that. On Debian derivatives, it can usually be got, together with dictunzip
and dictzcat
, from the package repos, using:
sudo apt install dictzip
If invoked without other parameters, dictzip
will remove the originating .dict
file, so the following command should be enough:
dictzip dict-data.dict
(from within the data/XX
folder)
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
convert a stardict dictionary to txt - gists · GitHub
- `compressed`: indicate whether the .idx file is compressed. - `index_offset_bits`: the offset field length in bits. """.
Read more >How to convert stardict dictionary file format to any readable ...
Now look at the dictionary files of StarDict you got, there should be 3 files : *.idx, *.ifo, *.dz. Rename the *.dz file...
Read more >Color Dict - Social & Mobile Apps
StarDict compatible multi source dictionary. ... Dict data stored in the SD card. ... Copy compressed file(tar.bz2, *.tar.gz, *.zip) to sdcard /dictdata ......
Read more >GoldenDict
dict (.dz) dictionary files; ABBYY Lingvo .dsl source files, together with abbreviations. The files can be optionally compressed with dictzip. Dictionary ...
Read more >[OmTdev] [PATCH 0/2] delayed loading of stardict dictionary ...
Hi, OmegaT loads an entire dictionaries' articles in memory when opening project. This consume memories and CPU time. Fortunately StarDict dictionary format ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You are right : https://github.com/ilius/pyglossary/issues/338
If it’s only for the StarDict output, we could probably call pyglossary with the relevant option to get a dict.dz file instead .dict.
https://github.com/ilius/pyglossary/blob/master/doc/p/stardict.md