2007年12月02日 星期日 11:28
搭车,问一下有哪些好的开放了格式的词典,比如lingoes词典挺多的,但没
有公布词典格式,无法使用。
Jiahua Huang 写道:
> 给你这个吧,来自自由软件 xdict/pydoct 的词典
>
> http://linuxfire.com.cn/~huahua/soft/dict/xdict-ec.db.7z
>
> import bsddb
> db = bsddb.btopen('xdict.db')
>
> def quer(word):
> if word in db:
> return db[word]
> return ''
>
> if __name__=="__main__":
> import sys
> try:
> print quer(sys.argv[1]).decode('utf8'),
> except:
> pass
>
>
> On Nov 25, 2007 5:21 PM, york cao <yorkcao在gmail.com> wrote:
>
>> 要做一个小型的英文单词查找程序,群里面谁能够提供一下常用的单词表。
>> 谢谢。
>>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
> --~--~---------~--~----~------------~-------~--~----~
> '''邮件来自Groups "python-cn"--China Py User Group
> 详情: http://groups-beta.google.com/group/python-cn
> 发言: python-cn在googlegroups.com
> 退订: python-cn-unsubscribe在googlegroups.com
> 维基: http://wiki.woodpecker.org.cn/moin/CPUG
> 珠江事务: http://groups.google.com/group/zpug
> 东南事务: http://groups.google.com/group/cpug-eastchina
> 北京事务: http://groups.google.com/group/bpug
> 中国事务: http://groups.google.com/group/CPUG
> 同质列表: http://python.cn/mailman/listinfo/python-chinese
> '''
> -~----------~----~----~----~------~----~------~--~---
>
>
2007年12月05日 星期三 19:46
你想要字典?? stardict网站不是有字典吗? 它的手册也有字典格式的.
Zeuux © 2025
京ICP备05028076号