Guest User

Untitled

a guest
May 26th, 2018
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. Traceback information is provided below:
  2.  
  3. Traceback (most recent call last):
  4. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/coalib/bears/Bear.py", line 282, in execute
  5. return [] if result is None else list(result)
  6. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/bears/vcs/git/GitCommitBear.py", line 129, in run
  7. **self.get_shortlog_checks_metadata().filter_parameters(kwargs))
  8. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/bears/vcs/git/GitCommitBear.py", line 185, in check_shortlog
  9. has_flaws = self.check_imperative(shortlog)
  10. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/bears/vcs/git/GitCommitBear.py", line 208, in check_imperative
  11. words = nltk.word_tokenize(nltk.sent_tokenize(paragraph)[0])
  12. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/nltk/tokenize/__init__.py", line 94, in sent_tokenize
  13. tokenizer = load('tokenizers/punkt/{0}.pickle'.format(language))
  14. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/nltk/data.py", line 834, in load
  15. opened_resource = _open(resource_url)
  16. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/nltk/data.py", line 952, in _open
  17. return find(path_, path + ['']).open()
  18. File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/nltk/data.py", line 673, in find
  19. raise LookupError(resource_not_found)
  20. LookupError:
  21. **********************************************************************
  22. Resource punkt not found.
  23. Please use the NLTK Downloader to obtain the resource:
  24.  
  25. >>> import nltk
  26. >>> nltk.download('punkt')
  27.  
  28. Searched in:
  29. - '/Users/nalinbhardwaj/nltk_data'
  30. - '/usr/share/nltk_data'
  31. - '/usr/local/share/nltk_data'
  32. - '/usr/lib/nltk_data'
  33. - '/usr/local/lib/nltk_data'
  34. - '/Library/Frameworks/Python.framework/Versions/3.6/nltk_data'
  35. - '/Library/Frameworks/Python.framework/Versions/3.6/lib/nltk_data'
  36. - ''
  37. **********************************************************************
Add Comment
Please, Sign In to add comment