# Create A Stopwords List

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

#### [Research Notebook: Creating a Stopwords List for Research](https://docs.tdm-pilot.org/create-a/)

#### 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<br>

![](https://4055173823-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LgXtIWpHMikxGQHLU5T%2F-MUX5iJahMdspvJTUjVe%2F-MUX66_Bvb9TpFEmHuWf%2Fj5.png?alt=media\&token=7c52664e-68af-4c77-bb38-8c1fa1ce80e6)

![](https://4055173823-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LgXtIWpHMikxGQHLU5T%2F-MUX69f3gCr90dcaqR4d%2F-MUX6c46VrkghX1CWBcI%2Fj6.png?alt=media\&token=61faeb91-f1e5-459f-8a97-dec395e773eb)

![](https://4055173823-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LgXtIWpHMikxGQHLU5T%2F-MUX69f3gCr90dcaqR4d%2F-MUX6t4GuDatcGs65YgR%2Fj7.png?alt=media\&token=f5503eee-0382-46dd-ac2f-dff96de25cdb)

#### Customize a stopwords list by adding your own stopwords:&#x20;

```python
my_stopwords= ['my_word1', 'my_word2']        #Add two custom stopwords
stop_words = stop_words + my_stopwords
#print(len(stop_words))

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