Python NLTK: How to tag sentences with the simplified set of part-of-speech tags?
Python NLTK: How to tag sentences with the simplified set of part-of-speech tags? Question: Chapter 5 of the Python NLTK book gives this example of tagging words in a sentence: >>> text = nltk.word_tokenize(“And now for something completely different”) >>> nltk.pos_tag(text) [(‘And’, ‘CC’), (‘now’, ‘RB’), (‘for’, ‘IN’), (‘something’, ‘NN’), (‘completely’, ‘RB’), (‘different’, ‘JJ’)] nltk.pos_tag calls …