In [1]:
from nltk.corpus import wordnet

In [2]:
synsets = wordnet.synsets('dog')
for i in range(len(synsets)):
    print("{num} : {value}".format(num=i, value=synsets[i].definition()))


0 : a member of the genus Canis (probably descended from the common wolf) that has been domesticated by man since prehistoric times; occurs in many breeds
1 : a dull unattractive unpleasant girl or woman
2 : informal term for a man
3 : someone who is morally reprehensible
4 : a smooth-textured sausage of minced beef or pork usually smoked; often served on a bread roll
5 : a hinged catch that fits into a notch of a ratchet to move a wheel forward or prevent it from moving backward
6 : metal supports for logs in a fireplace
7 : go after with the intent to catch