---
# System prepended metadata

title: Run `rake-nltk` python script

---

# Run `rake-nltk` python script

Run this command in your command line(cmd) first:

```bash=
pip install rake-nltk
python3 -c "import nltk; nltk.download('stopwords'); nltk.download('punkt')"
```

Then create a file called `read.txt` in the same folder as the python file I've given you.

In `read.txt` add all the content you want `rake` to go through. Then run the python script:
```bash=
python3 main.py
```
