显示标签为“AAA.English.Dictionary”的博文。显示所有博文
显示标签为“AAA.English.Dictionary”的博文。显示所有博文

2008年2月3日星期日

StarDict

[Name]
StarDict / 星际译王

[URL]
Google: stardict

[OnLine]
YES

[Hardware Platform]
X86

[Software Platform (OS)]
WXP+SP2

[Prerequisite]
GTK+

[Need Installation?]
YES

[Can be Greened?]
NO(GTK+ Issue)

[Need OS Restarting?]
NO

[Security]
when za alert stardict want to inject code to explorer, just deny, although it seems not harmful
when za alerted stardict want to access internet, ok. (stardict 3' net ditioarny fuantinality)





[As a Platform?]
YES

dictioarny:
You can also download the Dictionary files here.StarDict uses the opensource dictionaries collected from the internet. If any of them influence your copyright, please let us know, we will delete it.

network dic: new feature in version 3. but even after I register an account(by the UI of the software), I can only choose at most 8 net dicts. more, this funcionality seems unstable, the program dead when I was browsing the net dicts.

customize dictionary:http://stardict.sourceforge.net/HowToCreateDictionary
"
How to create your own dictionaries.

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
the sencond line.

======
Use babylon to compile it. stardict-editer can compile it too.

If you want to distribute your dictionary at StarDict website, just contact me.

lee ray
http://www.stardict.org
2006.6.29
"






[?]
pronunciation: on download page.
"
WyabdcRealPeopleTTS package make StarDict pronounce those English words. It is just many .wav files.
In Linux, you can extract(tar -xjvf) the tarball at "/usr/share/". In Windows, you can use WinRAR to extract the tarball and install it at "C:\Program Files\" or "Program Files\StarDict\".
"
wyabdc:我也爱背单词
but recommend m-w

全文翻译:it use google/yahoo... . new in version 3

取词否:左下角

如果界面显示不了中文有两个可能:
1. 因为 Gtk+ 运行环境设置为不支持中文编码. 开始 -> 所有程序 -> GTK+ Runtime Environment -> Select language.
2. 因为某些字体不支持中文, 比如 Calibri. 在软件窗口的点击右下角"设置"按钮, 将字体改成"Tahoma 9".

至于在 windows 的安装顺序是:
1. Gtk+
2. StarDict
3. 解压词典到[StarDict的安装目录]\dic, 装到这里可以先试试可否查单词, 但现在还不能发音.
4. 解压发音文件到[StarDict的安装目录], 解压音乐文件分别放在[StarDict的安装目录]\WyabdcRealPeopleTTS\[a~z]中.现在重新进入系统试一下点击窗口上的小齿轮, 就可以听到发音了.





[Portable Support]
7-zip ok (or UE which also calls 7-zip)
$[31]\ has 7 dirs same as that after-installed
$R9\ has plug_ins/ which contains PDF plugin:StarDict.api (copy this file to adobe reader's installation dir's plug_ins/ dir then restart adobe reader, enable the extra button inside the reader)
$TEMP\ contain gtk_runtime.exe

but the installed has an empty dir: treedict/

the files: stardict.exe, TextOutHook.dll, TextOutSpy.dll

just copy, start stardict.exe and it complain lack dll file
try install the gtk_runtime.exe, silent. rerun, a dialog pop up saying already installed. but still dll lack. unpack this exe, copy all dll, program starts but abnormal

goto gtk+'s homepage,on dowload page for windows, there are so many components. try just downloading "gtk+" component, but just a zip file, no readme. and still lack dll. see http://library.gnome.org/devel/gtk-faq/stable/, no use.

so gotta setup. and setup tells me gtk+ already installed(because i've executed the gtk_runtime.exe extracted already) and next next... OK
this time try copy out and run, still fail, say an png not found.
so gotta use setup

[Resource]
http://wiki.linux.org.hk/w/StarDict_in_Windows
http://hi.baidu.com/landnow/blog/item/97e261f002227baba50f5271.html

2008年1月24日星期四

Babylon

金山词霸发音和音标的不准确,让我萌生了换到babylon的念头。
Babylon是最好的选择。
Babylon同样可以取词查词,发音,而它的辞典质量,特别是那些收费的顶级辞典,是金山词霸望尘莫及的。
我只要离线,在线很容易被封。
"
个人觉得这个破解的东东只能离线使用,千万不可联网查询;这个很容易就被它查到是盗版;感觉它的反盗版能力太强了!
"
现在我需要的就是某个合适的版本的babylon和一些好字典。
当然,我是买不起的,see: http://www.chinababylon.com/shop/class.php?cid=5
babylon本身也要几百元

[URL]
http://www.babylon.com/systems/affiliates/landing/download.php?id=&lang=eng

[Version]
7.0.1.4

[Install]
注意选自定义安装,去掉插件

[License]
Username: BabylonSpecial
License code: JRXW2NCGC4FVPSTK8CNB5
this license seems so popular, I suspect it is banned already.
but it told me success... and then i can install local dictionaries form harddisk
i then choose to require it to connect by an nonexisting proxy, hope it not connect to internet. but then, babylon seems to be unstable.

another:
Name: People
S/N: 4BECA202B9C8963E

M-W

[URL]
Google: m-w

[OnLine]
YES

[Hardware Platform]
X86

[Software Platform (OS)]
WXP+SP2

[Need Installation?]
YES

[Can be Greened?]
NO

[Need OS Restarting?]
YES!

[Version]
大学词典(程序中的名称是Merriam-Webster's 11th Collegiate Dictionary)和W3(程序中的名称是Merriam-Webster's Unabridged Dictionary). the former has e-version in verycd, and it's 11th collegiate dictioanry (just consider the version of the dictionary itself) and V3.0 deluxe (3.0 means software version 3.0, deluxe means with audio --- the best audio among all dictionaries)

[Install]
Install File:
Merriam-Webster Collegiate Dictionary(v3.0 Deluxe).ISO
韦式字典豪华版3.0.ISO is exact the same
(mount the iso file and then install)

[RunTime]
Fonts\mw*.ttf: copy to system font (control panel->fonts, sorted by 2nd
column - filename, you can have a look)
Merriam-Webster\msvcrt.dll and msvcirt.dll: may need copy to system32

[Portable Support]
just install and delete unnecessary files. something notable:
2 pdf only exist in iso, may need, copy them
setup.ilg not exist in iso, so bkp and delete
setup.ini diff with that in iso, so bkp and delete
also see [RunTime]

!Important: run directly instead of by PortableApps Menu!

[Resource]
【感想】整合安装Merriam-Webster的词典

Merriam-Webster公司出品的英语词典我就不用多介绍了,大家用得比较多的大概是大学词典(程序中的名称是Merriam-Webster's 11th Collegiate Dictionary)和W3(程序中的名称是Merriam-Webster's Unabridged Dictionary)了。网上客户端的电子版也比较多见,体积较小、界面简洁,并且都是绿色版,使用还算比较方便。今天到办公室装W3电子版的时候突然灵机一动,之前分开用的几个m-w词典界面看起来是一样的,能否合并起来呢?
随后分析安装后的目录结构,只有一个books子目录,里面就是词典文件了。大学词典中是C11,W3中是web3,拷贝到一起仍然无法识别,并且没有办法通过选项来修改。再仔细研究一把,发现安装目录中分别有C11.dct和web3.dct,哈哈,这个估计就是“索引”文件了。将它们拷贝到一起,进到界面看看?可以选择词典了吧。考虑到C11的程序版本是3.1,而W3是2.5,所以建议用新版程序。
最后简单说明下操作:
1.下载两本词典(VeryCD都有),然后分别解压缩(或设为虚拟光驱),一般可以不进行安装;
2.将W3中的books文件夹和web3.dct文件拷贝到C11的文件夹中;
3.运行C11中的merriam-webster.exe,看看那个下拉框,可以选择词典了吧。至于打开程序时的默认词典,到Edit选择Preferences吧,在里面修改即可。
注意:如果在修改Preferences时提示保存文件失败,请到程序文件夹里右键点击pref.mw,选择“属性”,然后去掉只读属性就可以啦。