Markov: disable working backwards, it is slow

This commit is contained in:
Brian S. Stephan 2013-07-28 17:01:59 -05:00
parent f9eab7932b
commit 0d465ee670
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ class Markov(Module):
# first, see if we should start a new sentence. if so,
# work backwards
if gen_words[-1] in (self.start2, self.stop) and seed_word is not None:
if gen_words[-1] in (self.start2, self.stop) and seed_word is not None and 0 == 1:
# drop a stop, since we're starting another sentence
if gen_words[-1] == self.stop:
gen_words = gen_words[:-1]