Methods used:
- word_tokenize - Takes a single word separately form a sentence.
- pos_tag - Part-of-speech tagging. This method gives us particular grammatical value of a word in a sentence.
Libraries used:
nltk
To downoload nltk library enter the command in your terminal:
pip install nltk