diff --git a/utils/cache_data.py b/utils/cache_data.py index 10ba6335..5c3f0d64 100644 --- a/utils/cache_data.py +++ b/utils/cache_data.py @@ -89,7 +89,7 @@ def __collect_data(self, lines, base_path, error_files, is_file=False): labels = list(set(labels)) if not self.conf['Model']['Word']: labels.insert(0, " ") - logger.info("\nCoolect labels is {}".format(json.dumps(labels, ensure_ascii=False))) + logger.info("\nCollect labels is {}".format(json.dumps(labels, ensure_ascii=False))) self.conf['System']['Path'] = base_path self.conf['Model']['CharSet'] = labels self.config.make_config(config_dict=self.conf, single=self.conf['Model']['Word'])