nltk.wordnet.wup_similarity gives None value for adjectives , adverbs and different parts of speech even if simulate_root = True

前端 未结 0 1844
悲哀的现实
悲哀的现实 2020-12-14 13:27

https://www.nltk.org/_modules/nltk/corpus/reader/wordnet.html#Synset.wup_similarity

from nltk.corpus import wordnet as wn
sy1 = wn.synsets(\'beautiful\') 
sy2         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题