arya2004 / arya2004/Data-Filtering-Chatbot

Avoid redundant nltk.download() calls

Open
#6 2 comments 0 reactions 1 assignee Claimed by @Meghana-2124 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.