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] | |
print(without_stop_words) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment