Skip to content

Commit

Permalink
add wordnet to readme instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jxmorris12 committed Apr 22, 2020
1 parent 27e5143 commit fa059fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ conda activate text-attack
pip install -e .
```

We use the list of stopwords from nltk. To download them run in Python shell:
We use the NLTK package for its list of stopwords and access to the WordNet lexical database. To download them run in Python shell:

```
import nltk
nltk.download('stopwords')
nltk.download('wordnet')
```

We use spaCy's English model. To download it, after installing spaCy run:
Expand Down

0 comments on commit fa059fb

Please sign in to comment.