Markov: trivial debugging fix
This commit is contained in:
parent
26ec854c67
commit
14fd5721c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user