text_plain_output_1.png
from nltk.tokenize import word_tokenize, sent_tokenize

text = 'Mary had a little lamb. Her fleece was white as snow'

sents = sent_tokenize(text)

words = [word_tokenize(sent) for sent in sents]
print(words)