我需要一个 Python 3 库来定义术语(词汇),构建一个英语词典。输入一个术语,输出将是该术语的定义。
1 回答

阿波罗的战车
TA贡献1862条经验 获得超6个赞
你试过 PyDictionary 吗?
from PyDictionary import PyDictionary
dictionary=PyDictionary("dog","cat","tree")
print(dictionary.printMeanings()) #This prints the definitions
https://pypi.org/project/PyDictionary/
添加回答
举报
0/150
提交
取消