有没有脱网用的可抓词的翻译软件啊?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
vitamin
帖子: 247
注册时间: 2008-09-23 21:13

有没有脱网用的可抓词的翻译软件啊?

#1

帖子 vitamin » 2009-05-02 10:58

stardict一定要联网才能用,可是我需要不联机也能用的,什么软件能满足需要阿? :em03
念几句佛经就以为自己在悟道,引用几句圣经就以为自己是上帝的使者。
躲在阴暗的角落就以为看不见你那肮脏的灵魂?
游走在灰色领域就以为安然无恙?
举头三尺有神明,不是不报是时候未到。
JiangHui
论坛版主
帖子: 21308
注册时间: 2007-08-02 20:29
系统: 窓辺とうこ

Re: 有没有脱网用的可抓词的翻译软件啊?

#2

帖子 JiangHui » 2009-05-02 11:19

谁说的?
下载字典文件没?
头像
gaint_star
帖子: 413
注册时间: 2008-02-20 0:09
来自: 深圳
联系:

Re: 有没有脱网用的可抓词的翻译软件啊?

#3

帖子 gaint_star » 2009-05-02 11:26

http://tombkeeper.googlepages.com/stardict-dict.htm

下载字典然后解压之后放在/usr/share/stardict/dic
生活就像对待Linux一样,要敢于折腾也要学会折腾。
──────────────────────────────────
@picobird
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 有没有脱网用的可抓词的翻译软件啊?

#4

帖子 eexpress » 2009-05-02 12:41

sdcv安装就是。用下面的脚本吧。

代码: 全选

☎dog  sdcv-notify-send.bash 
w=`xsel -o`
notify-send -u critical -t 5000 -i '/home/exp/媒体/128软件png/pidgin.png' 'sdcv翻译' "`sdcv.pl $w`"
☎ cat sdcv.pl 
#!/usr/bin/perl

open(SDCV,"sdcv -n $ARGV[0]|");
my $r;
while($l=<SDCV>){
if($l!~/^$/){$r=$l;chomp($r);$r=~s/-->//;}
else{print "$r --> ";last;}
}
while($l=<SDCV>){
if($l=~/相关|^$/){close(SDCV);exit;}
chomp($l);print " ► $l";
}
● 鸣学
头像
jioyo源
帖子: 3476
注册时间: 2008-10-08 13:48

Re: 有没有脱网用的可抓词的翻译软件啊?

#5

帖子 jioyo源 » 2009-05-02 12:47

eexpress 写了:sdcv安装就是。用下面的脚本吧。

代码: 全选

☎dog  sdcv-notify-send.bash 
w=`xsel -o`
notify-send -u critical -t 5000 -i '/home/exp/媒体/128软件png/pidgin.png' 'sdcv翻译' "`sdcv.pl $w`"
☎ cat sdcv.pl 
#!/usr/bin/perl

open(SDCV,"sdcv -n $ARGV[0]|");
my $r;
while($l=<SDCV>){
if($l!~/^$/){$r=$l;chomp($r);$r=~s/-->//;}
else{print "$r --> ";last;}
}
while($l=<SDCV>){
if($l=~/相关|^$/){close(SDCV);exit;}
chomp($l);print " ► $l";
}
人家连stardict如何安装词典都不知道,你弄这脚本他知道怎么用呀……就搞些新手不会的……
--------------------------------------
论坛精华贴全集:http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=199845
book:http://forum.ubuntu.org.cn/viewtopic.php?f=21&t=198286
头像
jioyo源
帖子: 3476
注册时间: 2008-10-08 13:48

Re: 有没有脱网用的可抓词的翻译软件啊?

#6

帖子 jioyo源 » 2009-05-02 12:48

eexpress 写了:sdcv安装就是。用下面的脚本吧。

代码: 全选

☎dog  sdcv-notify-send.bash 
w=`xsel -o`
notify-send -u critical -t 5000 -i '/home/exp/媒体/128软件png/pidgin.png' 'sdcv翻译' "`sdcv.pl $w`"
☎ cat sdcv.pl 
#!/usr/bin/perl

open(SDCV,"sdcv -n $ARGV[0]|");
my $r;
while($l=<SDCV>){
if($l!~/^$/){$r=$l;chomp($r);$r=~s/-->//;}
else{print "$r --> ";last;}
}
while($l=<SDCV>){
if($l=~/相关|^$/){close(SDCV);exit;}
chomp($l);print " ► $l";
}
人家连stardict如何安装词典都不知道,你弄这脚本他知道怎么用呀……就搞些新手不会的……
--------------------------------------
论坛精华贴全集:http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=199845
book:http://forum.ubuntu.org.cn/viewtopic.php?f=21&t=198286
vitamin
帖子: 247
注册时间: 2008-09-23 21:13

Re: 有没有脱网用的可抓词的翻译软件啊?

#7

帖子 vitamin » 2009-05-02 14:54

gaint_star 写了:http://tombkeeper.googlepages.com/stardict-dict.htm

下载字典然后解压之后放在/usr/share/stardict/dic
感谢,已经解决了,现在能脱网用了,真方便。
能不能告诉我你又是怎么知道的呢?我以为看了编程详解就能看懂source包,结果还是一头雾水,我还要在看什么呢?如何才能看懂source包呢?
指点一下迷津吧 :em03
念几句佛经就以为自己在悟道,引用几句圣经就以为自己是上帝的使者。
躲在阴暗的角落就以为看不见你那肮脏的灵魂?
游走在灰色领域就以为安然无恙?
举头三尺有神明,不是不报是时候未到。
回复