Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
pvanand/search-generate-prod-broken
pvanand
/
general_chat
like
0
Running
App
Files
Files
Community
b067e10
general_chat
/
download_nltk_data.py
pvanand
Update download_nltk_data.py
9631168
verified
7 months ago
raw
Copy download link
history
blame
Safe
138 Bytes
import
nltk
# Download NLTK data
nltk.download(
'stopwords'
, download_dir=
'/nltk_data'
)
nltk.download(
'punkt'
, download_dir=
'/nltk_data'
)