code: def _check_distributed_corpora_file(self):
          
          if self.testing:
              distributed_corpora_fp = os.path.expanduser('~/cltk_data/test_distributed_corpora.yaml')
          else:
              distributed_corpora_fp = os.path.expanduser('~/cltk_data/distributed_corpora.yaml')
  
          try:
              with open(distributed_corpora_fp) as file_open:
                  corpora_dict = yaml.safe_load(file_open)
          except FileNotFoundError:
              logger.info('`~/cltk_data/distributed_corpora.yaml` file not found.')
              return []
          except yaml.parser.ParserError as parse_err:
              logger.debug('Yaml parsing error: %s' % parse_err)
              return []
  
          user_defined_corpora = []
          for corpus_name in corpora_dict:
              about = corpora_dict[corpus_name]
  
              if about['language'].lower() == self.language:
                  user_defined_corpus = dict()
                  # user_defined_corpus['git_remote'] = about['git_remote']
                  user_defined_corpus['origin'] = about['origin']
                  user_defined_corpus['type'] = about['type']
                  user_defined_corpus['name'] = corpus_name
                  user_defined_corpora.append(user_defined_corpus)
  
          return user_defined_corpora
docs: Check '~/cltk_data/distributed_corpora.yaml' for any custom,
          distributed corpora that the user wants to load locally.
  
          TODO: write check or try if `cltk_data` dir is not present