From f53892772e5ca43dd6579995c65629e56e2a9189 Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Fri, 27 Aug 2021 11:04:19 -0700 Subject: [PATCH] Respond to standard greeting --- python/dialog/eliza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/dialog/eliza.py b/python/dialog/eliza.py index fac8384b7..6cd24382c 100644 --- a/python/dialog/eliza.py +++ b/python/dialog/eliza.py @@ -129,7 +129,7 @@ gPats = [ [r'(.*) sorry (.*)', ['There are many times when no apology is needed.', 'What feelings do you have when you apologize?']], - [r'Hello(.*)', ["Hello... I'm glad you could drop by today.", + [r'(Hi)|(Hello(.*))', ["Hello... I'm glad you could drop by today.", 'Hi there... how are you today?', 'Greetings, how are you?', 'Hello, how are you feeling today?']],