from nltk.corpus import wordnet
syn=wordnet.synsets('cookbook')[0]
print syn.definition
Expected Output:
'a book of recipes and cooking directions'
Actual Output:
bound method Synset.definition of Synset('cookbook.n.01')
I am unable to pinpoint the error in my code which is causing the difference between the actual output and the expected output.