命令行查单词
查阅 README 的时候,在命令行中直接查单词可能是好主意。
sudo apt-get install dictd
sudo apt-get install dict-gcide # 英文辞典
如果你试图安装更多辞典:
nr@nr-linux-pc ~/workspace/cc % apt-cache search "dict-freedict"
dict-freedict-afr-deu - Afrikaans-German dictionary for the dict server/client
dict-freedict-afr-eng - Afrikaans-English dictionary for the dict server/client
dict-freedict-all - meta-package to install or dictionary databases from the FreeDict project
...
查阅单词:
dict -d gcide ${word}
如果希望在 vim 中按下 shift-k 查单词
setlocal keywordprg=dict\ -d\ gcide
Stardict
个人感觉还可以,可以直接在桌面环境下 query 单词,只需要鼠标指过去就可以了,读 pdf 还是挺好的。
安装:
sudo apt-get install stardict
由于某些原因,目前项目主页不提供辞典下载,可以在这里:
StarDict 辞典下载 ,然后放在 /usr/share/stardict/dic/ 文件夹中(For Ubuntu)。