diff --git a/bot.py b/bot.py index b4cb832..4a54dc1 100755 --- a/bot.py +++ b/bot.py @@ -131,7 +131,7 @@ async def main(): params = ConnectionParams( "min", - host = "einstein.sturtz.cf", + host = "irc.sturtz.cf", port = 6667, tls = False, autojoin = ['#sturtz_network']) diff --git a/modules/nlp.py b/modules/nlp.py index 49701b2..f81c760 100644 --- a/modules/nlp.py +++ b/modules/nlp.py @@ -102,10 +102,16 @@ async def go(self, c, n, m): async def init(self): shared.qtime = {} - shared.learntime = 0 - shared.learndelay = 1 - shared.enmul = 40 - shared.rawm['nlp'] = filter + # delay between grabbing random messages and passively + # learning. + shared.learndelay = 1 + # sentance ending weight, lower means longer sentances, + # higher means shorter sentances. this will need to slowly + # get larger as the database grows + shared.enmul = 6 + + + shared.rawm['nlp'] = filter shared.cstate = {}