Kali Linux安装字典StarDictStartDict是国外知名的字典框架,也可以加入国内翻译工具的字典.Kali Linux软件源提供该字典框架.用户需要安装qstardict软件包和词库包stardict-czech.stardict-english.stardict-german-czech.stardict-xmlittre.将其他翻译工具的词库文件(.dict.dz,.dix,.ifo.syn)复制到/usr/share/stardict/dic目录下,就可以用了.…
def dedupe(items, key=None): seen = set() for item in items: val = item if key is None else key(item) if val not in seen: yield item seen.add(val) def deleteRepeat(lst): ''' 列表去重 :param lst: :return: ''' if not lst: return lst try: l = list(dedupe(ls…
1. Access page http://code.google.com/p/stardict-3/ to download starDict package or use zypper in to install it from product repo 2. Download dictionary from http://abloz.com/huzheng/stardict-dic/ and extract them to installed path.…