Closed lokeshkumarn closed 7 years ago
If the word is out of vocabulary, similarity computation returns 0. You can use wns.word2synset to check. In your case, the 'air_condition' should be 'air_conditioner'. wns.word2synset('air_conditioner') returns air_conditioner.n.01 and wns.word_similarity('cooling', 'air_conditioner', 'li') returns 0.8186
similarity match for cooling and air condition is zero
wns.word_similarity('cooling','air_condition','li') 0