TextBlob icon indicating copy to clipboard operation
TextBlob copied to clipboard

include method to remove stopwords

Open mynameisvinn opened this issue 7 years ago • 0 comments

included method to remove stopwords from text.

here is an example with the blob text:

>>> blob = TextBlob(text)
>>> blob.remove_stopwords

... should produce the following output

'\nThe titular threat of The Blob has always struck me as the ultimate movie\n
monster: an insatiably hungry, amoeba-like mass able to penetrate\n
virtually any safeguard, capable of--as a doomed doctor chillingly\n
describes it--"assimilating flesh on contact.\n
Snide comparisons to gelatin be damned, it\'s a concept with the most\n
devastating of potential consequences, not unlike the grey goo scenario\n
proposed by technological theorists fearful of\n
artificial intelligence run rampant.\n'

mynameisvinn avatar May 14 '17 17:05 mynameisvinn