Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback information is provided below:
- Traceback (most recent call last):
- File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/coalib/bears/Bear.py", line 282, in execute
- return [] if result is None else list(result)
- File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/bears/vcs/git/GitCommitBear.py", line 129, in run
- **self.get_shortlog_checks_metadata().filter_parameters(kwargs))
- File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/bears/vcs/git/GitCommitBear.py", line 185, in check_shortlog
- has_flaws = self.check_imperative(shortlog)
- File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/bears/vcs/git/GitCommitBear.py", line 208, in check_imperative
- words = nltk.word_tokenize(nltk.sent_tokenize(paragraph)[0])
- File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/nltk/tokenize/__init__.py", line 94, in sent_tokenize
- tokenizer = load('tokenizers/punkt/{0}.pickle'.format(language))
- File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/nltk/data.py", line 834, in load
- opened_resource = _open(resource_url)
- File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/nltk/data.py", line 952, in _open
- return find(path_, path + ['']).open()
- File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/nltk/data.py", line 673, in find
- raise LookupError(resource_not_found)
- LookupError:
- **********************************************************************
- Resource punkt not found.
- Please use the NLTK Downloader to obtain the resource:
- >>> import nltk
- >>> nltk.download('punkt')
- Searched in:
- - '/Users/nalinbhardwaj/nltk_data'
- - '/usr/share/nltk_data'
- - '/usr/local/share/nltk_data'
- - '/usr/lib/nltk_data'
- - '/usr/local/lib/nltk_data'
- - '/Library/Frameworks/Python.framework/Versions/3.6/nltk_data'
- - '/Library/Frameworks/Python.framework/Versions/3.6/lib/nltk_data'
- - ''
- **********************************************************************
Add Comment
Please, Sign In to add comment