I am using wordnet to find the synonyms for a particular word as shown below
synonyms = wn.synsets('good','a')
where wn is wordnet. This returns a list of synsets like
Synset('good.a.01')
Synset('full.s.06')
Synset('good.a.03')
Synset('estimable.s.02')
Synset('beneficial.s.01')
etc...
How to iterate through each synset and get the name and the pos tag of each synset?