尝试使用 pyDictionary,但命令同义词和反义词有问题......
from PyDictionary import PyDictionary
dictionary=PyDictionary()
print (dictionary.synonym("Life"))
Run Code Online (Sandbox Code Playgroud)
出现此错误
Life has no Synonyms in the API
None
Run Code Online (Sandbox Code Playgroud)
我该如何解决?