我尝试dtrx
在 Mac OSX 的终端上安装,并从以下位置下载并提取 tarball:http://download.huzheng.org/ja/stardict-ej-edict-2.4.2.tar.bz2,它包含一个.dict.dz
文件:
再次使用 dtrx:
dtrx je-edict-kanji.dict.dz
它生成了je-edict-kanji.dict.dz.1
包含所需字典文件的文件,但是所有行都被压缩成一个,没有正确的换行符:
$ cat je-edict-kanji.dict.dz.1
暴く to disclose, to divulge, to expose暴れる to act violently, to rage, to struggle, to be riotous阿鼻叫喚 agonizing cries, a pandemonium, two of Buddhism's hells浴びる to bathe, to bask in the sun, to shower浴びせる to pour on危ない dangerous, critical, grave, uncertain, unreliable, limping, narrow, close, watch out!...
如果是在 Windows 计算机上进行提取,则不会发生这种情况。并且会产生:
暴く to disclose, to divulge, to expose
暴れる to act violently, to rage, to struggle, to be riotous
阿鼻叫喚 agonizing cries, a pandemonium, two of Buddhism's hells
浴びる to bathe, to bask in the sun, to shower
浴びせる to pour on
危ない dangerous, critical, grave, uncertain, unreliable, limping, narrow, close, watch out!
如何在 Mac OSX 上提取 .dict.dz 文件?