I would like to pos tag a sentence using the NLTK library in python. I am using the following couple of lines of code and it works fine:
>>> text = word_