Dur*_*har 57 dictionary software-recommendation
哪个是 Ubuntu 最好的离线词典?
它应该像剑桥或牛津词典一样有发音。
我发现字典中没有足够的句子示例,也没有说明很多含义。
pre*_*ise 60
(一世)。
dict- 一个 CLI 客户端到dictd服务器(离线使用):
部分 - 文本
安装:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
Run Code Online (Sandbox Code Playgroud)
(允许宇宙回购)
sudo apt-get install dict
sudo apt-get install dictd
Run Code Online (Sandbox Code Playgroud)
安装英语词典数据库(gcide 、wn、devil):
sudo apt-get install dict-gcide
sudo apt-get install dict-wn
sudo apt-get install dict-devil
Run Code Online (Sandbox Code Playgroud)
安装英文同义词库(moby-thesaurus):
sudo apt-get install dict-moby-thesaurus
Run Code Online (Sandbox Code Playgroud)
用法:
使用特定的数据库(例如 WordNet - wn):
dict -d wn "dictionary"
Run Code Online (Sandbox Code Playgroud)不指定 dict-database 将输出所有可用数据库的定义/翻译/同义词库。例如。
dict "dictionary"
Run Code Online (Sandbox Code Playgroud)
让我们定义一个espeak用于音素助记符和dict定义、叙词表等的函数。
首先安装espeak(如果还没有):
sudo apt-get install espeak
Run Code Online (Sandbox Code Playgroud).bashrc使用您选择的文本编辑器打开用户主目录中的文件:
nano ~/.bashrc
Run Code Online (Sandbox Code Playgroud)
或者
gedit ~/.bashrc &
Run Code Online (Sandbox Code Playgroud)
(如果您将自定义别名和函数放在~/.bash_aliases而不是放在 中,那就更好了~/.bashrc)
添加以下函数并保存文件:
function define {
# espeak for the pronunciation audible output and phonetic alphabet string
echo "Phoneme mnemonics: $(espeak -ven-uk-rp -x -s 120 "$1" 2> /dev/null)"
# dict - the client for the dictionary server
dict "$1"
}
Run Code Online (Sandbox Code Playgroud)
[这里我使用了-ven-uk-rp英式英语接收发音的开关(espeak --voices更多),-x以显示助记符,-s以提高语音输出速度。您可以修改交换机进行espeak或dict按您的需求。]
打开一个新的终端实例并用于define查找定义。例如:
define dictionary
Run Code Online (Sandbox Code Playgroud)
或者
define dictionary | less
Run Code Online (Sandbox Code Playgroud)
(less您可以使用箭头键滚动浏览定义;按h将显示更多您可以使用的控件;退出按q)
(二)。 侏儒词典:
部分 - 宇宙/侏儒
安装:
sudo apt-get install gnome-dictionary
Run Code Online (Sandbox Code Playgroud)

注意:gnome-dictionary离线使用需要先安装字典服务器和需要的数据库(安装dictd和部分数据库见上面选项(一)。)
安装后gnome-dictionary,您必须配置一个字典服务器(例如dictd)和数据库(例如dict-wn,dict-gcide),以便它查找本地安装的服务器。为此,请开始gnome-dictionary并从菜单导航到Edit -> Preferences。在“词典首选项”窗口中,单击Add按钮,然后在“添加词典源”中添加有关您本地词典服务器的信息;添加描述(如dictd)、主机名 - localhost(或本地网络中的其他一些)、端口号2628(2628是 DICT 协议 RFC 中指定的默认值。摘自dictd文档)并点击Add按钮。然后在字典首选项窗口中,选择dictd单选按钮并关闭首选项窗口。现在您应该可以离线使用它了。

(三)。 “Artha”,一个方便的基于 WordNet 的离线词库:
部分 - Universe/utils
安装:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
Run Code Online (Sandbox Code Playgroud)
(允许宇宙回购)
sudo apt-get install artha
Run Code Online (Sandbox Code Playgroud)

(四)。 "GoldenDict",提供功能丰富的字典查找程序,使用 WebKit 来准确表示文章,包括所有格式、颜色、图像和链接。
部分 - Universe/utils
安装:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
Run Code Online (Sandbox Code Playgroud)
(允许宇宙回购)
sudo apt-get install goldendict
Run Code Online (Sandbox Code Playgroud)

rɑː*_*dʒɑ 13
我已经安装了 Artha,好词典。但是 Artha 不提供“发音”功能。
您可以从软件中心或终端安装它
sudo apt-get install artha
Run Code Online (Sandbox Code Playgroud)
Goldendict 与 wybbandtts 文件。
或从终端
sudo apt-get install goldendict
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
64349 次 |
| 最近记录: |