Python3 中的英语词典库

English dictionary library in Python3

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

你试过 PyDictionary 了吗?

from PyDictionary import PyDictionary

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

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