Skip to content

Commit

Permalink
Bump nltk from 3.8.1 to 3.9.1 (#966)
Browse files Browse the repository at this point in the history
* Bump nltk from 3.8.1 to 3.9.1

Bumps [nltk](https://github.com/nltk/nltk) from 3.8.1 to 3.9.1.
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](nltk/nltk@3.8.1...3.9.1)

---
updated-dependencies:
- dependency-name: nltk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Download punk_tab

* Semver

* Add missing installs

* Add missing installs

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alonso Guevara <[email protected]>
  • Loading branch information
dependabot[bot] and AlonsoGuevara authored Aug 20, 2024
1 parent 62546a3 commit 5a781dd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .semversioner/next-release/patch-20240820202507768622.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "patch",
"description": "Update to nltk 3.9.1"
}
3 changes: 3 additions & 0 deletions graphrag/index/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ def bootstrap():
from nltk.corpus import wordnet as wn

nltk.download("punkt")
nltk.download("punkt_tab")
nltk.download("averaged_perceptron_tagger")
nltk.download("averaged_perceptron_tagger_eng")
nltk.download("maxent_ne_chunker")
nltk.download("maxent_ne_chunker_tab")
nltk.download("words")
nltk.download("wordnet")
wn.ensure_loaded()
Expand Down
11 changes: 6 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ aiofiles = "^24.1.0"

# LLM
openai = "^1.37.1"
nltk = "3.8.1"
nltk = "3.9.1"
tiktoken = "^0.7.0"

# Data-Sci
Expand Down

0 comments on commit 5a781dd

Please sign in to comment.