Skip to content

Instantly share code, notes, and snippets.


shubham769/remove Secret

Created Apr 29, 2020
What would you like to do?
import nltk
stop_words = set(stopwords.words("english"))
sentence = "We are one of the organization using tensorflow heavily."
words = nltk.word_tokenize(sentence)
without_stop_words = [word for word in words if not word in stop_words]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.