import nltk
from nltk.tag import pos_tag, map_tag
text = nltk.word_tokenize('And now for something completely different')
Python NLTK: How to tag sentences with the simplified set of part-of-speech tags?