From c2f942c84ac1e893782abb84e1a489a2f6824ffc Mon Sep 17 00:00:00 2001 From: Evan-6 Date: Wed, 14 Dec 2022 05:26:27 +0800 Subject: [PATCH] coolect->collect --- utils/cache_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])