Skip to content

Instantly share code, notes, and snippets.

View kon3m's full-sized avatar
🎯
Focusing

Aakash kon3m

🎯
Focusing
View GitHub Profile
@kon3m
kon3m / gist:a738006c0e86fc51e56123098b60995a
Created February 25, 2017 20:23
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.
>>>