we only need 1 level of "end" markov chains

This commit is contained in:
jesopo 2019-09-20 18:52:52 +01:00
parent 781b6bf525
commit 72ff24227d

View file

@ -24,7 +24,6 @@ class Module(ModuleManager.BaseModule):
inserts.append(words[i:i+3]) inserts.append(words[i:i+3])
inserts.append([words[-2], words[-1], None]) inserts.append([words[-2], words[-1], None])
inserts.append([words[-1], None, None])
for insert in inserts: for insert in inserts:
frequency = self.bot.database.execute_fetchone("""SELECT frequency = self.bot.database.execute_fetchone("""SELECT