Skip to content

Commit

Permalink
update logger for kenlm.
Browse files Browse the repository at this point in the history
  • Loading branch information
shibing624 committed Nov 8, 2023
1 parent 8348779 commit 7d34669
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pycorrector/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7d34669

Please sign in to comment.