如何在Python中使用WordNet?

时间:2015-04-12 13:35:54

标签: python nltk wordnet

代码

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'

0 个答案:

没有答案