code: def _get_corpus_properties(self, corpus_name):
          
          try:
              # corpora = LANGUAGE_CORPORA[self.language]
              corpora = self.all_corpora
          except NameError as name_error:
              msg = 'Corpus not available for language ' \
                    '"%s": %s' % (self.language, name_error)
              logger.error(msg)
              raise CorpusImportError(msg)
          for corpus_properties in corpora:
              if corpus_properties['name'] == corpus_name:
                  return corpus_properties
          msg = 'Corpus "%s" not available for the ' \
                '"%s" language.' % (corpus_name, self.language)
          logger.error(msg)
          raise CorpusImportError(msg)
docs: Check whether a corpus is available for import.
          :type corpus_name: str
          :param corpus_name: Name of available corpus.
          :rtype : str