#tokensgenerated has the sequence of words
for word in tokensgenerated:
if(word not in nltk.corpus.stopwords.words('english')):
#do something with the word
>>> import nltk
>>> packages = ['stopwords']
>>> downloader.download(packages)
>>>
>>> stop = stopwords.words('english')
>>> sent = 'this is a foobar sentence'.split()
>>> [word for word in sent if word not in stop]
['foobar', 'sentence']