tomaarsen / TwitchMarkovChain

Twitch Bot for generating messages based on what it learned from chat
MIT License
118 stars 25 forks source link

Direct recursion is disallowed when it's not guaranteed anyway #1

Closed jkeegan314 closed 5 years ago

jkeegan314 commented 5 years ago

Comments with "x x x" should be entered in the database if at least k% of messages of the format "x x y" (where y can equal x) are of the format "x x y" where y ≠ x

This will allow for the bot to produce messages like "LUL LUL LUL BANNED" if "LUL LUL BANNED" and "LUL LUL LUL" are both in the database. Of course, the message could be 20 LULs, but the probability of this is ((100-k)/100)^20 which is gonna be pretty low if k is something like 50

tomaarsen commented 5 years ago

Will look into implementing this.

tomaarsen commented 5 years ago

This has now been implemented into the most recent version.