I\'m try to tag a single word with the nltk pos tagger:
word = \"going\" pos = nltk.pos_tag(word) print pos
But the output is this:
>>> word = 'going' >>> word = nltk.word_tokenize(word) >>> l1 = nltk.pos_tag(word) >>> l1 [('going', 'VBG')]