I need to classify words into their parts of speech. Like a verb, a noun, an adverb etc.. I used the
nltk.word_tokenize() #to identify word in a sentence nltk.
Now sent3[2].node is outdated.
use sent3[2].label() instead