Skip to content

Update download_corpora.py - add 'punkt_tab' - #1006

Open
Ronkiro wants to merge 1 commit into
codelucas:masterfrom
Ronkiro:patch-1
Open

Update download_corpora.py - add 'punkt_tab'#1006
Ronkiro wants to merge 1 commit into
codelucas:masterfrom
Ronkiro:patch-1

Conversation

@Ronkiro

@Ronkiro Ronkiro commented Sep 20, 2024

Copy link
Copy Markdown

I noticed that it was throwing error for not finding "punkt_tab" in corpora, either in Windows or Docker.

Adding the following code helped, but devs may not notice it.

import nltk
nltk.download('punkt_tab')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant