如何在Python中使用WordNet? 密码 错误 您使用的是什么版本?python 2.6.4@PadRaiccunningham nltk的哪个版本?2.0b8@PadRaiccunningham您需要升级它 wn.synset('accident.

如何在Python中使用WordNet? 密码 错误 您使用的是什么版本?python 2.6.4@PadRaiccunningham nltk的哪个版本?2.0b8@PadRaiccunningham您需要升级它 wn.synset('accident.,python,nltk,wordnet,Python,Nltk,Wordnet,如何在Python中使用WordNet? 密码 错误 您使用的是什么版本?python 2.6.4@PadRaiccunningham nltk的哪个版本?2.0b8@PadRaiccunningham您需要升级它 wn.synset('accident.n.01').topic_domains() Traceback (most recent call last): File "<pyshell#46>", line 1, in <module> wn.s

如何在Python中使用WordNet? 密码 错误
您使用的是什么版本?python 2.6.4@PadRaiccunningham nltk的哪个版本?2.0b8@PadRaiccunningham您需要升级它
wn.synset('accident.n.01').topic_domains()
Traceback (most recent call last):
  File "<pyshell#46>", line 1, in <module>
    wn.synset('accident.n.01').topic_domains()
AttributeError: 'Synset' object has no attribute 'topic_domains'