image_output_1.png
from nltk.tokenize import word_tokenize, sent_tokenize

import nltk

text2.concordance('monstrous')

text2.similar('monstrous')

text2.common_contexts(['monstrous', 'very'])

text2 = 'Mary closed on closing night when she was in the mood to close.'

nltk.pos_tag(word_tokenize(text2))