You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered: