Skip to content

Instantly share code, notes, and snippets.

@kon3m
Created February 25, 2017 20:23
Show Gist options
  • Save kon3m/a738006c0e86fc51e56123098b60995a to your computer and use it in GitHub Desktop.
Save kon3m/a738006c0e86fc51e56123098b60995a to your computer and use it in GitHub Desktop.
issue with hindi corpus
>>> from cltk.corpus.utils.importer import CorpusImporter as cs
>>> c=cs("hindi")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/mad5897/.local/lib/python3.5/site-packages/cltk/corpus/utils/importer.py", line 77, in __init__
self.user_defined_corpora = self._setup_language_variables()
File "/home/mad5897/.local/lib/python3.5/site-packages/cltk/corpus/utils/importer.py", line 155, in _setup_language_variables
raise CorpusImportError(msg)
cltk.corpus.utils.importer.CorpusImportError: Corpora not available (either core or user-defined) for the "hindi" language.
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment