Create A Stopwords List

Create a stopwords list from the Natural Language Tookit (NLTK)

Download the stopwords list to your local device:

Step 1: Click "Jupyter" and go to the main directory Step 2: Go to folder "Data" Step 3: Check "stop_words.csv" and click Download

Customize a stopwords list by adding your own stopwords:

my_stopwords= ['my_word1', 'my_word2']        #Add two custom stopwords
stop_words = stop_words + my_stopwords

with open('data/stop_words.csv', 'w', newline='') as f:
    writer = csv.writer(f)

Last updated