ubuntu9.10自带字典(Dictionary 2.28.1)配置本地词库
来源:互联网 发布:linux自动化运维软件 编辑:程序博客网 时间:2024/06/08 01:22
http://forum.ubuntu.org.cn/viewtopic.php?f=35&t=243955&start=0
用ubuntu没有个字典很不方便,看到系统有自带的就不想试什么星际译王了,在网上找了下,方法如下:
首先安装词库:(那个各户断和服务器端不知道是不是必要的,我因为刚开始是用不了所以就都装了)
sudo apt-get install dict 客户端 (完后修改/etc/dictd/dict.conf来控制只从本地读字典,注释掉后面的服务器地址)
sudo apt-get install dictd 服务器端
sudo apt-get install dict-xdict dict-stardic 这两个是英汉字典的数据文件,翻译结果差不多。
sudo apt-get install dict-gcide 这个15M多的英文字典翻译结果很全,推荐安装。
然后“编辑”-“首选项”-“添加”,主机名添“127.0.0.1 ”,端口不变(2628),描述随便填个,其中的主机名网上很多都是填“localhost”,但是不能用,看了下外国朋友的网页,说是新版有个错误问题要填127.0.0.1替代localhost才可以。外文链接http://ubuntuforums.org/showthread.php?t=145949
首先安装词库:(那个各户断和服务器端不知道是不是必要的,我因为刚开始是用不了所以就都装了)
sudo apt-get install dict 客户端 (完后修改/etc/dictd/dict.conf来控制只从本地读字典,注释掉后面的服务器地址)
sudo apt-get install dictd 服务器端
sudo apt-get install dict-xdict dict-stardic 这两个是英汉字典的数据文件,翻译结果差不多。
sudo apt-get install dict-gcide 这个15M多的英文字典翻译结果很全,推荐安装。
然后“编辑”-“首选项”-“添加”,主机名添“127.0.0.1 ”,端口不变(2628),描述随便填个,其中的主机名网上很多都是填“localhost”,但是不能用,看了下外国朋友的网页,说是新版有个错误问题要填127.0.0.1替代localhost才可以。外文链接http://ubuntuforums.org/showthread.php?t=145949
HOWTO: use gnome-dictionary offline (& faster)
As a teacher, I find that gnome-dictionary and its applet are useful tools. But at first it was much too slow and required Internet access. Here are steps to install a database of definitions on your system so that gnome-dictionary works much faster and without Internet access.
1. Install the packages dictd, dict-gcide, and dict-wn.
-- dictd is the dictionary database "server" of sorts
-- dict-gcide is a comprehensive free English dictionary
-- dict-wn is another dictionary with more up-to-date definitions, but it is not comprehensive
2. Install other dictionary packages you might want
-- Look in Synaptic at the many packages under dict- and read their descriptions. If you want to download all the dictionaries, you can just get the metapackage dict-freedict. I avoided this option because I did not want to clutter my definition screen or to wait while the program searched all these extra dictionaries I'd rarely (if ever) use.
-- dict-moby-thesaurus is available if you want a thesaurus, too.
3. Change the preferences in gnome-dictionary.
-- Applications > Dictionary opens gnome-dictionary
-- Edit > Preferences
-- change server to localhost
-- change the Database to "search all databases"
4. work in progress: Change the order in which definitions appear
-- The file /etc/dictd/dictd.order apparently controls the order in which definitions are searched, the order in which they appear, or maybe both. I want the up-to-date definition (from wn) to be listed first when they are available, so I changed my order to "wn gcide web1913..." It does not appear to have made any difference -- the old-fashioned definition still appears first.
1. Install the packages dictd, dict-gcide, and dict-wn.
-- dictd is the dictionary database "server" of sorts
-- dict-gcide is a comprehensive free English dictionary
-- dict-wn is another dictionary with more up-to-date definitions, but it is not comprehensive
2. Install other dictionary packages you might want
-- Look in Synaptic at the many packages under dict- and read their descriptions. If you want to download all the dictionaries, you can just get the metapackage dict-freedict. I avoided this option because I did not want to clutter my definition screen or to wait while the program searched all these extra dictionaries I'd rarely (if ever) use.
-- dict-moby-thesaurus is available if you want a thesaurus, too.
3. Change the preferences in gnome-dictionary.
-- Applications > Dictionary opens gnome-dictionary
-- Edit > Preferences
-- change server to localhost
-- change the Database to "search all databases"
4. work in progress: Change the order in which definitions appear
-- The file /etc/dictd/dictd.order apparently controls the order in which definitions are searched, the order in which they appear, or maybe both. I want the up-to-date definition (from wn) to be listed first when they are available, so I changed my order to "wn gcide web1913..." It does not appear to have made any difference -- the old-fashioned definition still appears first.
- ubuntu9.10自带字典(Dictionary 2.28.1)配置本地词库
- ubuntu9.10自带字典(Dictionary 2.28.1)配置本地词库
- 在Mac系统自带Dictionary中添加Merrian-Webster字典
- 本地 安装 Ubuntu9.10
- python学习(1)-字典 (Dictionary)
- Python字典(Dictionary)
- swift-字典(Dictionary)
- Swift-字典(Dictionary)
- python dictionary(字典)
- ubuntu9.10 软件配置
- ubuntu9.10网络配置
- Python入门教程-10 字典dictionary
- 字典(dictionary)的设计
- Python中的字典(Dictionary)
- swift Dictionary 字典(四)【转自http://blog.csdn.net/zhang_biao_1991/article/details/31344785】
- (1)词库介绍
- dictionary字典
- dictionary字典
- 新手伤不起啊,esclipse中servlet和jsp的配置,也许,404并不是路径问题
- 比Magic Zoom 和jQZoom更好的图片轮换和图片放大效果
- CStatic显示bmp文件
- 字符串从一个字符串截取到另一个字符串
- .Net/C#中Cache的用法
- ubuntu9.10自带字典(Dictionary 2.28.1)配置本地词库
- 第八周C++实验报告(一)
- DBus学习笔记
- Lenovo 联想 E46 E47 SLIC Marker程序
- 关于android蓝牙每次开机有时候打不开。
- strcpy函数漏洞
- SWT中怎么获得Color
- 控制情绪需要多长时间?
- 第八周C++实验报告(二)