'Load language mappings between codes and description from table.txt'

def _load_lang_mapping_data(self):

    if isinstance(self.root, ZipFilePathPointer):
        raise RuntimeError(u"Please    install    the    'crubadan'    corpus    first,    use    nltk.download()")
    mapper_file = path.join(self.root, self._LANG_MAPPER_FILE)
    if (self._LANG_MAPPER_FILE not in self.fileids()):
        raise RuntimeError((u'Could    not    find    language    mapper    file:    ' + mapper_file))
    if PY3:
        raw = open(mapper_file, u'r', encoding=u'utf-8').read().strip()
    else:
        raw = open(mapper_file, u'rU').read().decode(u'utf-8').strip()
    self._lang_mapping_data = [row.split(u' DCTB ') for row in raw.split(u'\n')]
