Closed hammad786 closed 1 year ago
This shouldn't impact the script. To fix the error, please see here: https://stackoverflow.com/questions/34230592/nltk-quadgram-collocation-finder
Thanks so much for the feedback. I'm still getting error at content generation. Tried locally and at Google Collab as well.
KeyError Traceback (most recent call last) ~\Anaconda3\lib\site-packages\pandas\core\indexes\base.py in get_loc(self, key, method, tolerance) 2896 try: -> 2897 return self._engine.get_loc(key) 2898 except KeyError:
pandas_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
pandas_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
KeyError: 'Article Text'
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)
I'm getting this error while running Long Form content module
[nltk_data] Error loading trigram_collocations: Package [nltk_data] 'trigram_collocations' not found in index [nltk_data] Error loading quadgram_collocations: Package [nltk_data] 'quadgram_collocations' not found in index