arya2004 / arya2004/Data-Filtering-Chatbot
Avoid redundant nltk.download() calls
Open
enhancement
good first issue
hacktoberfest
hacktoberfest-accepted
python
refactor
- Dominant language
- Python
- Stars
- 2
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
### ⚠️ nltk.download() should not run every time
`nltk.download()` is being run every time the script executes.
#### 💡 Suggestion:
* Move downloads to a setup script like `setup_nltk.py`
* Or wrap it in a condition to avoid redownloading:
```python
nltk.download('wordnet', quiet=True)
```
Contributor guide
Assessment
This issue has not been assessed yet.