咖啡日语论坛

 找回密码
 注~册
搜索
查看: 1550|回复: 4

[软件分享] 星际词霸 日语辞典

[复制链接]
发表于 2007-10-26 19:55:10 | 显示全部楼层 |阅读模式
出了3.0,就又下载装了一下。以前辞典装载多了以后速度太慢,不知道这次有无改进。

软件下载地址
http://stardict.sourceforge.net/cn/

日文辞典下载地址
http://stardict.sourceforge.net/cn/Dictionaries_ja.php

Win32系统下安装字典文件:  
使用压缩软件(WinRAR)释放文件.tar.bz2,你会这个文件里找到一目录,然后将目录拷贝到dic\下面, 如C:\Program files\stardict\dic\
回复

使用道具 举报

 楼主| 发表于 2007-10-26 19:57:15 | 显示全部楼层
可以屏幕取词。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-26 20:16:12 | 显示全部楼层
First, read doc/DICTFILE_FORMAT.

Second, install stardict-editer package. For more tools, download the stardict-tools source code tarball and compile it, you will find many tools at src/, such as tabfile, babylon, stardict2txt, stardict_verify.

In most case, I recommend the "tabfile" converter to create your own dictionaries. You need to create a text file first, it should be encoded in UTF-8, and the new line characters should be "\n", if it is in DOS file format("\r\n"), you can use "dos2unix" to convert it.

Here is a example dict.tab file:
============
a        1\n2\n3
b        4\\5\n6
c        789
============
It means: write the search word first, then a Tab character, and the definition. If the definition contains new line, just write \n, if contains \ character, just write \\.

Then use "tabfile" to compile it:
./tabfile dict.tab
You will find three files that are generated by tabfile: "dict.ifo", "dict.dict" and "dict.idx", then you can compress the "dict.dict" file by dictzip:
dictzip dict.dict
You will get the "dict.dict.dz" file. You can find dictzip at DICT project, http://www.dict.org, just download its source code tarball and compile it, then you can find "dictzip" in it.
StarDict can load the dict.dict directly too, so dictzip is optional.

You can use gedit to edit the "dict.ifo" file, change the bookname, description, etc. and you can look at the "src/example.ifo" file for a example. Use "ls -l dict.tab.idx" to get the idxfilesize.

Now you can create a directory at /usr/share/stardict/dic/, for example:
mkdir /usr/share/stardict/dic/example-dict/
And move dict.dict.dz, dict.idx, dict.ifo into this directory:
mv dict.dict.dz dict.idx dict.ifo /usr/share/stardict/dic/example-dict/

It is suggested that you verify this dictionaries at last by:
./stardict_verify /usr/share/stardict/dic/example-dict/dict.ifo

Run StarDict and you will find the dictionary that created by yourself.

Another format that StarDict recommends is babylon source file format, it is just like this:
======
apple|apples
the meaning of apple

2dimensional|2dimensionale|2dimensionaler|2dimensionales|2dimensionalem|2dimensionalen
two dimensional's meaning<br>the sencond line.

======
Use babylon to compile it. stardict-editer can compile it too.
回复 支持 反对

使用道具 举报

发表于 2007-10-26 21:18:34 | 显示全部楼层
有了ebwin之后,其他的字典都有点多余。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-10-26 21:48:11 | 显示全部楼层
ebwin是壳,壳里可装万物。

我的想法是,stardict里的辞典倒成text,然后做epwing。不过我没时间了。看谁有兴趣尝试吧。

科技辞典 日英中,这未尝不是一个好的目标。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注~册

本版积分规则

小黑屋|手机版|咖啡日语

GMT+8, 2024-10-2 00:26

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表