Markov: trivial debugging fix

This commit is contained in:
Brian S. Stephan 2012-07-29 15:44:43 -05:00
parent 26ec854c67
commit 14fd5721c1
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ class Markov(Module):
if sentence_end[-1] not in eos_punctuation:
random.shuffle(eos_punctuation)
gen_words[-1] = sentence_end + eos_punctuation.pop()
self.log.debug("monkeyed with end of sentence, it's now: {0:s}".format(gen_words[:-1]))
self.log.debug("monkeyed with end of sentence, it's now: {0:s}".format(gen_words[-1]))
new_chain_words = []
# new word 1