Python3中的英语词典库

时间:2019-03-09 01:36:46

标签: python python-3.x dictionary libraries

我需要Python 3中的库来定义术语(词汇),并建立英语词典。输入一个术语,输出将是该术语的定义。感谢您的关注!

1 个答案:

答案 0 :(得分:2)

您尝试过PyDictionary吗?

from PyDictionary import PyDictionary

dictionary=PyDictionary("dog","cat","tree")
print(dictionary.printMeanings()) #This prints the definitions

https://pypi.org/project/PyDictionary/