From a30ad667ed069852ec8dba716ef9251bab239ee8 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 30 Sep 2004 20:00:41 +0000 Subject: [PATCH] Added some more stop words. --- plugins/Infobot.py | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/plugins/Infobot.py b/plugins/Infobot.py index 54912a77c..c427da10e 100755 --- a/plugins/Infobot.py +++ b/plugins/Infobot.py @@ -101,19 +101,25 @@ confirms = ['10-4', 'Got it', 'Gotcha', 'I hear ya'] -initialIs = {'who': '', - 'what': '', - 'when': '', - 'where': '', - 'why': '', - 'it': '', +NORESPONSE = '' +initialIs = {'who': NORESPONSE, + 'what': NORESPONSE, + 'when': NORESPONSE, + 'where': NORESPONSE, + 'why': NORESPONSE, + 'it': NORESPONSE, + 'that': NORESPONSE, + 'this': NORESPONSE, } -initialAre = {'who': '', - 'what': '', - 'when': '', - 'where': '', - 'why': '', - 'it': '', +initialAre = {'who': NORESPONSE, + 'what': NORESPONSE, + 'when': NORESPONSE, + 'where': NORESPONSE, + 'why': NORESPONSE, + 'it': NORESPONSE, + 'they': NORESPONSE, + 'these': NORESPONSE, + 'those': NORESPONSE, 'roses': 'red', 'violets': 'blue', }