Im not able to understand parts of speech of nltk tutorial

by: Rejo Varghese, 8 years ago


Can anyone tell me about PunktTokenizer being used for and the aim of the program
https://pythonprogramming.net/part-of-speech-tagging-nltk-tutorial/   here is the url of the tutorial



You must be logged in to post. Please login or register an account.



Not totally sure what you're asking here. What don't you get?

The PunktTokenizer is just a tokenizer that has been trained to detect the "part of speech" for a given word in a sentence. We want to know the part of speech, since it has a significant impact on the actual meaning itself, and if a machine knows it, it can better help the machine to understand the meaning of sentence.

If you just want the verbs or adjectives from a sentence, or maybe just the nouns, you can also use it to filter.

-Harrison 8 years ago

You must be logged in to post. Please login or register an account.