Skip to content

Commit 5c6d693

Browse files
authored
Update README.md
1 parent 4388232 commit 5c6d693

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@ For platform-specific instructions, read [here](https://www.nltk.org/install.htm
3333
```
3434
pip install nltk
3535
```
36-
36+
### Installing required packages
37+
After NLTK has been downloaded, install required packages
38+
```
39+
import nltk
40+
from nltk.stem import WordNetLemmatizer
41+
nltk.download('popular', quiet=True) # for downloading popular packages
42+
nltk.download('punkt')
43+
nltk.download('wordnet')
44+
```
3745

3846

3947

0 commit comments

Comments
 (0)