Traceback (most recent call last):


 "D:/Apps/Python/HelloPython/WorExploreTest.py", line 19, in <module>

for word1, word2, word3 in tcf.nbest(TrigramAssocMeasures.likelihood_ratio, 8):


 "D:\Apps\Python\HelloPython\venv\lib\site-packages\nltk\collocations.py", line 125, in nbest

return [p for p, s in self.score_ngrams(score_fn)[:n]]


 "D:\Apps\Python\HelloPython\venv\lib\site-packages\nltk\collocations.py", line 121, in score_ngrams

return sorted(self._score_ngrams(score_fn), key=lambda t: (-t[1], t[0]))


 "D:\Apps\Python\HelloPython\venv\lib\site-packages\nltk\collocations.py", line 113, in _score_ngrams

score = self.score_ngram(score_fn, *tup)


 "D:\Apps\Python\HelloPython\venv\lib\site-packages\nltk\collocations.py", line 255, in score_ngram

n_all)


 "D:\Apps\Python\HelloPython\venv\lib\site-packages\nltk\metrics\association.py", line 143, in likelihood_ratio

for obs, exp in zip(cont, cls._expected_values(cont))))


 "D:\Apps\Python\HelloPython\venv\lib\site-packages\nltk\metrics\association.py", line 143, in <genexpr>

for obs, exp in zip(cont, cls._expected_values(cont))))
ValueError: math domain error

Traceback (most recent call last):


 "sendgrid.py", line 1, in <module>

import sendgrid


 "c:\ang\gurucho-back\modules\sendgrid.py", line 3, in <module>

from sendgrid.helpers.mail import *
ModuleNotFoundError: No module named 'sendgrid.helpers'; 'sendgrid' is not a package
