GoldenDict 是开源软件, 同时也支持 windows 和 linux
1. 安装 GoldenDict
$ sudo apt-get install goldendict
2. 字典
2.1 下载字典
http://blog.sina.com.cn/s/blog_4d3294390101dk02.html
2.2. 解压, 然后放到 /usr/share/stardict/dic
$ tar -xjvf stardict-cdict-gb-2.4.2.tar.bz2
$ sudo mv stardict-cdict-gb-2.4.2 /usr/share/stardict/dic
在 Edit - Dictionaries - Sources - Files - 添加 /usr/share/stardict/dic
3. WyabdcRealPeopleTTS
3.1 下载 WyabdcRealPeopleTTS
https://code.google.com/p/stardict-3/downloads/detail?name=WyabdcRealPeopleTTS.tar.bz2&can=2&q=
下载 WyabdcRealPeopleTTS.tar.bz2
3.2. 解压 WyabdcRealPeopleTTS
$ sudo tar -xvf WyabdcRealPeopleTTS.tar.bz2 -C /usr/share
4. 声音设置
有3种软件可发音. 选一个即可.
$ sudo apt-get install mplayer
Edit -> Preferences -> Audio -> Playback -> Use external program : mplayer
Edit -> Preferences -> Audio -> Playback -> Use external program : mplayer
$ sudo apt-get install python mpg321
Edit -> Preferences -> Audio -> Playback -> Use external program: mpg321
Edit -> Preferences -> Audio -> Playback -> Use external program: aplay
在 Edit - Dictionaries - Sources - Sound Dirs - 添加 /usr/share/WyabdcRealPeopleTTS
在 Edit - Dictionaries - Sources - Sound Dirs - 添加 /usr/share/WyabdcRealPeopleTTS
5. 卸载
$ dpkg -l | grep -i 'goldendict' # 检查有没有 goldendict 的包
$ sudo apt-get --purge remove goldendict
没有评论:
发表评论