Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
pvanand/search-generate-prod-broken
pvanand
/
general_chat
like
0
Running
App
Files
Files
Community
26b976d
general_chat
/
download_nltk_data.py
pvanand
Update download_nltk_data.py
9631168
verified
5 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'
)