I am trying to compare the similarity of two word with w1.wup_similarity(w2) from NLTK. One synonym and the original one if possible.
Yet I don't know how to create w1 and w2. Indeed, according to this tutorial, it seems I need a Synset from the class 'nltk.corpus.reader.wordnet.Synset. Yet when I try to put w1, let say in into a Synset object mode, it only gives me a synonym, inch. I would like to have in :/