general_chat / download_nltk_data.py
pvanand's picture
Update download_nltk_data.py
9b1472e verified
raw
history blame
148 Bytes
import nltk
import os
# Download NLTK data
nltk.download('stopwords', download_dir='/nltk_data')
nltk.download('punkt', download_dir='/nltk_data')