From 7d346695ce1892bfe07e9c27e7dfeb4dd5e4d606 Mon Sep 17 00:00:00 2001 From: shibing624 Date: Wed, 8 Nov 2023 11:26:51 +0800 Subject: [PATCH] update logger for kenlm. --- pycorrector/detector.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pycorrector/detector.py b/pycorrector/detector.py index 58a63f5b..87397918 100644 --- a/pycorrector/detector.py +++ b/pycorrector/detector.py @@ -107,7 +107,6 @@ def _initialize_detector(self): verbose=1 ) self.lm = kenlm.Model(self.language_model_path) - logger.debug('Loaded language model: %s' % self.language_model_path) # 词、频数dict self.word_freq = self.load_word_freq_dict(self.word_freq_path)