5

SDCV:终端上的星际译王

 3 years ago
source link: https://www.lujun9972.win/blog/2019/09/01/sdcv-%E7%BB%88%E7%AB%AF%E4%B8%8A%E7%9A%84%E6%98%9F%E9%99%85%E8%AF%91%E7%8E%8B/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

SDCV:终端上的星际译王

SDCV是StarDict Console Version的缩写,表示终端版的星际译王。 星际译王的特点就是可选的字典超多,我们可以从 这里 下载字典(不过很多链接都已经失效了),中文字典可以从 这里 下载。

  1. 安装SDCV

    sudo pacman -S sdcv --noconfirm
    
  2. 安装字典文件 下载下来的字典文件是一个tar包,你可以把它解压到 /usr/share/stardict/dic 中(全局可见),或者 $HOME/.stardict/dic 中(仅自己可见)

    curl http://download.huzheng.org/zh_CN/stardict-langdao-ec-gb-2.4.2.tar.bz2 |sudo tar -jxvf - -C /usr/share/stardict/dic
    
  3. sdcv $word
    
    Found 1 items, similar to vim.
    -->牛津现代英汉双解词典
    -->vim
    
    /vɪm; vɪm/ n [U] (dated infml 旧, 口) energy orvigour 力量; 活力; 精力: full of vim 精力充沛 * Put morevim into your acting! 你演出时要活泼些!
    
    

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK