import nltk 
from nltk.corpus import stopwords 
from nltk.tokenize import word_tokenize, sent_tokenize 
sw = set(stopwords.words('english'))

ch = '''This is a smaple text bit to check the
    consistency of this model.
    Diya and I, went on a date day before yesterday.
    The Quarantine is really geetting to me.'''     #this is going to be the text we will test for
  
tz = sent_tokenize(ch) 
for i in tz: 
    wol = nltk.word_tokenize(i) #returns a list
    wol = [w for w in wol if not w in sw]  #here we're just removing stop words 
    res = nltk.pos_tag(wol) # returns a list of tuples.
    print(res)

'''
COMPARE YOUR RESULT WITH THIS

CC coordinating conjunction
CD cardinal digit
DT determiner
EX existential there (like: “there is” … think of it like “there exists”)
FW foreign word
IN preposition/subordinating conjunction
JJ adjective ‘big’
JJR adjective, comparative ‘bigger’
JJS adjective, superlative ‘biggest’
LS list marker 1)
MD modal could, will
NN noun, singular ‘desk’
NNS noun plural ‘desks’
NNP proper noun, singular ‘Harrison’
NNPS proper noun, plural ‘Americans’
PDT predeterminer ‘all the kids’
POS possessive ending parent‘s
PRP personal pronoun I, he, she
PRP$ possessive pronoun my, his, hers
RB adverb very, silently,
RBR adverb, comparative better
RBS adverb, superlative best
RP particle give up
TO to go ‘to‘ the store.
UH interjection errrrrrrrm
VB verb, base form take
VBD verb, past tense took
VBG verb, gerund/present participle taking
VBN verb, past participle taken
VBP verb, sing. present, non-3d take
VBZ verb, 3rd person sing. present takes
WDT wh-determiner which
WP wh-pronoun who, what
WP$ possessive wh-pronoun whose
WRB wh-abverb where, when
'''