From 6e2f0bd5b7379461e86e65a608cf7e3cc29f5360 Mon Sep 17 00:00:00 2001 From: Rob Guinness Date: Thu, 9 Aug 2018 16:58:30 +0300 Subject: [PATCH] Removes duplicate count in phraser logging --- gensim/models/phrases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gensim/models/phrases.py b/gensim/models/phrases.py index 1730d769c4..6f6e34b6a0 100644 --- a/gensim/models/phrases.py +++ b/gensim/models/phrases.py @@ -776,7 +776,7 @@ def __init__(self, phrases_model): count += 1 if not count % 50000: logger.info('Phraser added %i phrasegrams', count) - logger.info('Phraser built with %i %i phrasegrams', count, len(self.phrasegrams)) + logger.info('Phraser built with %i phrasegrams', len(self.phrasegrams)) def pseudocorpus(self, phrases_model): """Alias for :func:`gensim.models.phrases.pseudocorpus`.