image_output_1.png
import nltk

nltk.download('stopwords')
stop_words_english = nltk.corpus.stopwords.words('english')

test_sentence = "I don't know what's going on in this world, but all you know is that connection will bring freedom. Although we live in an unknown world, the existence of a woman who burns heaven is the cause of all beauty."

words_of_sentence = nltk.word_tokenize(test_sentence)

words_of_sentence = [w_ for w_ in words_of_sentence if w_ not in stop_words_english]

print(f'WORDS WITHOUT STOP WORDS:\n\n{words_of_sentence}')