Skip to content

Commit

Permalink
Remove duplicate count from Phraser log message (#2151)
Browse files Browse the repository at this point in the history
Remove duplicate count from `Phraser` log message
  • Loading branch information
robguinness authored and menshikh-iv committed Aug 10, 2018
1 parent 6a4424d commit 0107800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/models/phrases.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 0107800

Please sign in to comment.