Skip to content

Update main.py to download punkt_tab and solve this error#39

Open
abclution wants to merge 1 commit intoQiuYannnn:mainfrom
abclution:patch-1
Open

Update main.py to download punkt_tab and solve this error#39
abclution wants to merge 1 commit intoQiuYannnn:mainfrom
abclution:patch-1

Conversation

@abclution
Copy link

This solves this error, I was able to use the organizer, still however only with cpu.

raise LookupError(resource_not_found)
LookupError:
********************************************************************** Resource punkt_tab not found.
Please use the NLTK Downloader to obtain the resource:

import nltk
nltk.download('punkt_tab')

For more information see: https://www.nltk.org/data.html

Attempted to load tokenizers/punkt_tab/english/

raise LookupError(resource_not_found)
LookupError:
**********************************************************************
Resource punkt_tab not found.
Please use the NLTK Downloader to obtain the resource:

>>> import nltk
>>> nltk.download('punkt_tab')

For more information see: https://www.nltk.org/data.html

Attempted to load tokenizers/punkt_tab/english/
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