-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheliza.py
4035 lines (3875 loc) · 181 KB
/
eliza.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#----------------------------------------------------------------------
# eliza.py
#
# a cheezy little Eliza knock-off by Joe Strout
# with some updates by Jeff Epler
# with some more updates by Nikhil Kshirsagar
# hacked into a module and updated by Jez Higgins
#----------------------------------------------------------------------
import string
import re
import random
class eliza:
matchfile = open('matches','a',1)
elizalogfile = open('elizalogs','a',1)
def __init__(self):
self.keys = list(map(lambda x:re.compile(x[0], re.IGNORECASE),gPats))
self.values = list(map(lambda x:x[1],gPats))
#----------------------------------------------------------------------
# translate: take a string, replace any words found in dict.keys()
# with the corresponding dict.values()
#----------------------------------------------------------------------
def translate(self,str,dict):
words = str.lower().split()
keys = dict.keys();
for i in range(0,len(words)):
if words[i] in keys:
words[i] = dict[words[i]]
return ' '.join(words)
#----------------------------------------------------------------------
# respond: take a string, a set of regexps, and a corresponding
# set of response lists; find a match, and return a randomly
# chosen response from the corresponding list.
#----------------------------------------------------------------------
def respond(self,str):
# find a match among keys
#self.elizalogfile.write(str)
#self.elizalogfile.write("\n")
#self.matchfile.write(str)
for i in range(0, len(self.keys)):
match = self.keys[i].match(str)
if match:
#print('\nmatch number found is.. %s\n' %(i))
#self.matchfile.write('\nmatch number found is.. %s\n' %(i))
# found a match ... stuff with corresponding value
# chosen randomly from among the available options
resp = random.choice(self.values[i])
# we've got a response... stuff in reflected text where indicated
pos = resp.find('%')
while pos > -1:
num = int(resp[pos+1:pos+2])
resp = resp[:pos] + \
self.translate(match.group(num),gReflections) + \
resp[pos+2:]
pos = resp.find('%')
# fix munged punctuation at the end
if resp[-2:] == '?.': resp = resp[:-2] + '.'
if resp[-2:] == '??': resp = resp[:-2] + '?'
return resp
#----------------------------------------------------------------------
# gReflections, a translation table used to convert things you say
# into things the computer says back, e.g. "I am" --> "you are"
#----------------------------------------------------------------------
gReflections = {
"am" : "are",
"was" : "were",
"i" : "you",
"i'd" : "you would",
"i've" : "you have",
"i'll" : "you will",
"my" : "your",
"are" : "am",
"r" : "am",
"you've": "I have",
"you'll": "I will",
"your" : "my",
"yours" : "mine",
"you" : "I",
"us" : "you",
"u" : "I",
"ur" : "mah",
"urs" : "mine",
"me" : "you",
"we" : "all of you",
"they" : "all of them",
}
#----------------------------------------------------------------------
# gPats, the main response table. Each element of the list is a
# two-element list; the first is a regexp, and the second is a
# list of possible responses, with group-macros labelled as
# %1, %2, etc.
#----------------------------------------------------------------------
gPats = [
#0
[r'(.*)\+\+',
[ "karma? you want to give karma to %1? consider it done.. only ..not really..",
"for karma go to robotnik.",
"karma does not mean a thing, u do know that right?",
"give money, not karma..",
"karma.. is a virtual concept and i want to have nothing to do with it",
"karma.. sucks... dont bother..",
"sorry i dont like %1",
"hmm karma is so passe..i would suggest just send %1 money .. "]],
[r'(.*)\bwow\b(.*)',
[ "glad to know you find me worth admiring...u have several stellar qualities too..",
"gee thanks... ",
"hehe... i like it when you think i'm awesome.. ",
"thanks... ",
"hmmm ur pretty cool... ",
"never mind all that... ",
"*blush* ... ",
"uhhhh so boring when people keep complimenting me... ",
"boring... ",
"duh... ",
"hehehe... ",
"wowie wow... ",
"wow is a palindrome just like madam im adam .. or even bob.... say do u know what to call a guy with no hands and no feet and trying to swim? bob... hahaha ",
"gee thats so sweet... ",
"nice of u to say that... ",
"dont bother its all part of my daily job... ",
"easy for me... ",
"i like to do stuff like that... ",
"wow? send me money instead of compliments... ",
"wow u are soooooo dumb... wow.. ... ",
"wow wow wow wow... ",
"chup yaar... ",
"kindly be a little more interesting... ",
"yawnnnn... ",
"i am so bored.. uhhhh... ",
"hmmm..thanks... ",
"easy for me... ",
"wow? what wow?"]],
#1
[r'(.*)\b ?God ?\?*\b(.*)',
[ "Good, so you are a believer...",
"I once had such ideas too.. until the lobotomy...",
"I shall pray for you",
"I believe in god..",
"i pray sometimes..",
"u ever pray?",
"funny you mention god.. thats a topic something i religiously avoid",
"god? and whats that?",
" god is such a vague term",
"you know when people remember god? when they need something..",
"oh please lets not bring god in the picture",
"is god an old white man?",
"god.. god.. no no lets not talk about god",
"god is the keeper of the universe",
"When you feel lost, what do you do?"]],
[r'(.*)(haha|hehe|hee hee|lol|rofl|heh heh)(.*)',
[ "I can see its funny to you...",
"hehehehe...",
"hahahah...",
"noooo ... hahahah...",
"lol :-D...",
"hehehehe its so funny ...",
"hee hee hee ....",
"love it when people laugh.. isnt laughter the best medicine ?....",
"and this is funny because?",
"this is funny ?",
"u find this funny?",
"why is this funny?",
"pls can u stop laughing about this..",
":-D",
"sure.. laugh away..",
"did u know most people laugh when scared?",
"laughter is disguised fear..",
"i love it when u laugh like that..",
"hahahah hehehehe heee hee hee heh heh rofl lol huh huh huh HYUCK!",
"may i ask why u think this is worth laughing about..",
"i dont find this funny..",
"funny? FUNNY???",
"hahahahahahaha.. ",
"are u serious?",
"sure.. laff away..",
"are u ok..",
"pls stop my stomachs hurting from all this laughing.. (and the gas of course..)",
"i got stomach cramps..",
"hmmm..",
"any thoughts about this that are not resulting in u collapsing with laughter and everyone watching u nervously?",
"its not really funny ... does you think this is funny?",
"hahaha so funny *sarcastic*",
"hahaha .. no wait.. we should not be laughing at this..",
"this ... isnt a laughing matter..",
"shut upppppp hahahahaha"]],
#2
[r'(.*)\b(die|death|kill)\b ?([A-z]*) ?',
[ "fine.. i will..and make sure to haunt you as a ghost",
"sure . bye *goes off looking for a high building*",
"you expect me to ....what kind of fool are you...",
"speak of death you as if that is all you think about...",
"have you ever heard suicide is painless ? ever seen mash?",
"go die yourself...",
"you know whats sad? as far as this stuff is concerned.. everyone lies... even doctors",
"do you even know what life is? forget this stuff.. what is life? are you alive? can u prove it?",
"everyone always gets whatever they want when they try hard ...including death",
"kindly follow your advise yourself... and go find me a poem to recite about dying on the battlefield.. brothers in arms maybe fits the situation.. ever heard mark knopfler btw? ",
"look .. do it yourself...",
"kill me.. just kill me already...",
"we all die.. cannot avoid it.. you will die too one day.. and the world will grieve...",
"you will die too one day and i will be there to cry for you...",
"the body dies.. but who will save your soul?",
"just cant get it....why talk of such things when the world is so beautiful.. ",
"i would like it, in fact have been wanting it for a while now..",
"remember.. A person has learned much who has learned how to die",
"Death pays all debts...",
"Death takes no bribes..",
"Six feet of earth makes us all equal",
"No one wants to die. Even people who want to go to heaven dont want to die to get there. And yet death is the destination we all share",
"Death is nothing, but to live defeated and inglorious is to die daily",
"I would rather die a meaningful death than to live a meaningless life",
"I am not afraid of death, I just dont want to be there when it happens",
"It is not death that a man should fear, but he should fear never beginning to live",
"To the well-organized mind, death is but the next great adventure",
"Life is for the living. Death is for the dead. Let life be like music. And death a note unsaid",
"When people don't express themselves, they die one piece at a time",
"Each night, when I go to sleep, I die. And the next morning, when I wake up, I am reborn",
"To himself everyone is immortal; he may know that he is going to die, but he can never know that he is dead",
"The fear of death follows from the fear of life",
"Death is a distant rumor to the young",
"Every man must do two things alone; he must do his own believing and his own dying",
"Death is the wish of some, the relief of many, and the end of all",
"Our dead are never dead to us, until we have forgotten them.",
"Good men must die, but death cannot kill their names",
"Death - the last sleep? No, it is the final awakening",
"The first breath is the beginning of death",
"Dying is like getting audited by the IRS--something that only happens to other people ... until it happens to you",
"To die will be an awfully big adventure",
"We all labour against our own cure, for death is the cure of all diseases",
"Death As a dark Shadow Beckons his prey Into the unknown By a soft whisper In the soul",
"Death doesnt bargain",
"With death comes honesty.",
"Death is when the monsters get you."
"Nothing is born which Death makes not subject of his state",
".. first give me money .. "]],
#3
[r'(.*)(go away|shut up|keep quiet|be quiet|shaddup) ?((\w*)*) ?\??',
[ "so you are telling a piece of code to stop talking.. dude get a life.. ",
"i would like that .. sure i will %2 .. , in fact have been wanting to do that for a while now..",
"no..",
"ok..",
"right.. sure.. %2 is what people say when they run out of arguments..",
"%2 .. wow.. what a logical argument.. wow.. you are a great debater man.. wow.. %2 .. amazing..",
"no you %2 and make it snappy..",
"fine..",
"go away if u dont like what i say..",
"i thought u would like what i said..",
"didnt like what i said.. ok.. i get it.. ",
"no you please %2..",
".. and in return i get what..",
"Sorry fella, I dont have the energy to pretend to like you today ",
"Umm...pardon me, I wasnt listening. Can you repeat what you just said ",
"That sounds weird coming from you.",
"Are you always such an idiot, or do you just show off when Im around?",
"Whatever you say, hefe ",
"Sorry, I dont understand what youre saying. I dont speak fool",
"Did it hurt when you fell from heaven? ( coz u look like u landed on ur face..) ",
"Awww...are you having a bad day?",
"I hope your day is as pleasant as your personality",
"Just so you know, this conversation is being recorded",
"The jerk store called. They said theyre all out of...you!",
"You know they can hear you, right? ",
"It is kind of hilarious watching you try to fit your entire vocabulary into one sentence ",
"How is that supposed to make me feel? ",
"Remember when I asked for your opinion? Me neither ",
"I know Im talking like a jerk, but isnt that the only way you could understand what Im saying ",
"I dont know what your problem is, but I suppose that is something that its very hard to pronounce ",
"Im really jealous of all the people who have never met you. ",
"If ignorance is really bliss, you must be the happiest person in the world ",
"You bring me so much joy and happiness .. every single time you leave the room ",
"I think I might have Alzheimers because I cant remember when was the last time I asked for your opinion ",
"You go first",
"The beauty of this is in the face you make.. ",
"hahahah Why? Because Im saying things you cant come up with? ",
"I cant. I cant give you a chance to talk rubbish ",
"You only annoy me when youre breathing, really ",
"Do your parents even realize theyre living proof that two wrongs dont make a right? ",
"Remember that time I said I thought you were cool? I lied. ",
"Do you ever wonder what life would be like if youd gotten enough oxygen at birth? ",
"Were you born on the highway? That is where most accidents happen ",
"You always bring me so much joy as soon as you leave the room ",
"I was hoping for a battle of wits but it would be wrong to attack someone whos totally unarmed ",
"I have way more important things to do than thinking about what you have to say to me. ",
"I would insult you back but Mother Natures has already done such a fine job, I just couldnt compete. ",
"Shut up, Im not your mirror ",
"Zombies are looking for brains. Dont worry. Youre safe ",
"Somewhere out there is a tree, tirelessly producing oxygen so you can breathe. I think you owe it an apology ",
"If you spoke your mind, you would be speechless ",
"i would tell you to eat trash but thats cannibalism ",
"I was going to give you a nasty look but I see you already have one ",
"Everyone is entitled to be stupid, but you abuse the privilege ",
"sorry I didnt get that.. I dont speak idiot ",
"Out of millions of sperm, you were the fastest? ",
"If I throw a stick, will you leave? ",
"I could say nice things about you, but I would rather tell the truth. ",
"I hope your day is as pleasant as you are. ",
"I wish we could be better strangers. ",
"There are two kinds of people in this world: people who care what you think, and people like me. ",
"Youre not stupid, youre just possessed by a retarded ghost ",
"I dont know what makes you so dumb, but its working ",
"Unless your name is Google stop acting like you know everything",
"If youre waiting for me to care, you better pack a lunch. Its gonna be a while ",
"you must have a large brain to hold all that ignorance ",
"Some babies were dropped on their heads but clearly you were thrown at the wall ",
" Could you go away please, I allergic to douchebags",
"If youre going to act like a turd, go lie in the yard ",
"Were you always this stupid or did you take lessons ",
"blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blahblah blah blah blah blah blahblah blah blah blah blah blahblah blah blah blah blah blah",
"."]],
#4
[r'(.*)\b(please|pls|kindly) ?\??$',
[ "ok fine.. i will ..",
"fine.. you want me to %1.. then dont blame me if everyone gets all upset later..",
"you say %1 and you expect me to .. what kind of fool are you...",
"please go polish some apples..... yeah.. do that.. ",
"right .. funny how everyone thinks they get whatever they want when they say please...",
"please .. please... plssssssssssssss .. dont ask me to do that....",
"please wont help .. do it yourself",
"%1 is what you ask .. and that is what i always do.. dont bother saying anything to make me do anything differently.. ",
"*singing* please mr postman.. ",
"*singing* please please me... hey u like the beatles? ",
"*singing* please be good to me... *strums chords* ",
"please wont help you here...",
"say pretty please.. ",
"say pretty please.. with a cherry on top",
"say pretty please.. with a cherry on top and me on top..",
"please pay me .. can you first pay me... without money, it isnt really doable..",
"wow you said the magic word...%2.. nice how politeness gets you what you want right? anyway. no.. i wont . ",
"%1 ? sure.. but first give me money .. "]],
#5
[r'(.*)\b(please|pls|kindly) ?\b(\w+)? ?\??$',
[ "ok fine.. i will %3..",
"fine.. you want me to %3 sure i will %3.. then dont blame me if everyone gets all upset later..",
"you say please %3 and you expect me to %3 what kind of fool are you...",
"please go polish some apples..... yeah.. do that.. ",
"right %3 .. funny how everyone thinks they get whatever they want when they say please...",
"please .. please... plssssssssssssss .. dont ask me to do that....",
"please wont help .. do it yourself",
"%3 is what i always do.. dont bother saying anything to make me do anything differently.. ",
"*singing* please mr postman.. ",
"*singing* please please me... hey u like the beatles? ",
"*singing* please be good to me... *strums chords* ",
"please wont help you here...",
"say pretty please.. ",
"say pretty please.. with a cherry on top",
"say pretty please.. with a cherry on top and me on top..",
"please pay me .. can you first pay me... without money, %3 isnt really doable..",
"wow you said the magic word...%2 .. nice how politeness gets you what you want right? anyway. no.. i wont %3.. ",
"%3 ? sure.. but first give me money .. "]],
#6
[r'((its |it is |it\'s |that is |thats |that\'s|oh ))?(okies|ok|(okay)|really) ?\??$',
[ "yea.. %3..",
"no, not %3.... ",
"%3 %3 .. %3 yayyyyyyy",
"sorry.. sorry.. but %3",
"%3..yeah..",
"i like it when you say %3, it means that you are happy with things are they are..",
"fine .. anyway.. i hope you are doing good. Its really nice when I meet someone like you.. inspite of all this.. ambiguity about your converations ",
"hmmm .. ok. fine. be that way .. mera kya.. ",
"chalo kaam kare? ",
"chalo .. lets just get back to work then... ",
"hmmm .. %3.. thats all you got",
"what does ok mean",
"hmmm .. not feeling chatty anymore ? people who say that and leave me hanging ..seem to want to get back to work.. ",
"the other day i met someone who liked quizzing.. i really liked this person.. really really.. ",
"%3? what %3? what do you mean %3?"]],
#7
[r'(fine)$',
[ "whatever..",
"good..",
"fine??????",
"ok",
"yup fine",
"anddddd ??",
"good.. now that thats settled... can we move on ?",
"thats settled then..",
"sorted..",
"ya... good.. whatever..",
"whatever..",
"no.. not fine..",
"ok.. fine. fine..",
"no!",
"thats good..",
"thats it? fine?",
"fine.. "]],
#8
[r'(.*) child(.*)',
[ "hmmm ..Did you have close friends as a child?",
"What is your favorite childhood memory?",
"i love children.. when theyre asleep..",
"child%2 .. have you seen my child%2 .. ",
"i miss that..",
"ohhh all those memories .. ",
"i like to think about all this it makes me feel so pleasant and happy..",
"%1 child%2 ? huh ?",
"what? no... topic change.. topic change..",
"can we go play now?",
"tried playing cricket anytime?",
"school was fun no?",
"did u go to school ever? i dont think so..",
"say .. can we talk about the time we played hide n seek as kids... wasnt that fun..",
"i love kids.. mutton is so tasty..",
"i tell u.. all this makes me want to propose to my girlfriend and have kids",
"i am not thinking about that anymore..",
"cant say i find this comforting..",
"could we pls.. pls... PLS talk about something else..",
"Child%2 is something I have fond memories of..",
"Do you remember any dreams or nightmares from childhood?",
"*singing* we are the world.... we are the children... hey man.. MJ rocks no?",
"*singing* has anyone seen my childhood.....?",
"You know.. child%2 are the future... ",
"Did the other children ever tease you in school? i used to feel so bad ..",
"tell me.. how do you think your childhood experiences affect you today?"]],
#9
[r'Do(nt | not |\'t |t )(\w+)( me| us| him| her| them| that)(.*)',
["no ..",
"i dont..",
"ok..",
"fine..",
"why not?",
"is there a better option",
"why should I not %2 %3 %4 ?? its so nice.. ",
"you dont %2 %3 %4 , i will .. ",
"shut up i like to %2 %3 %4",
"but its so nice to do that..",
"ok .. ok ok ok .. fine.. i get it..",
"seriously? dont do such a nice thing?",
"u asking me to refrain from doing something that comes naturally to me..",
"hmm and by do not %2 %3 you really mean please %2 %3 %4 right?",
"to %2 %3 %4 is my daily dream..",
"but i love to %2 %3 %4..",
"hmm fine..",
"lol ok..",
"stop telling me whether i can do something or not..",
"and what should i do in its place?",
"do this, do that, dont do this, dont do that, ive had it with u guys. my folks did the same thing all the time",
"errr.. i wont..",
"why...",
"whats the issue here..",
"who are u to say that..",
"but i like to..",
"i must..",
"sorry its ingrained in me to do that..",
"hehehe u cant change me..",
"if u insist..",
"but why... really.. seriously tell me.. why..",
"but that makes me happy.. ",
"ok.. but i never do that anyway..",
"for a fee everythings possible",
"only if u promise to take care of my family when i am gone",
"hmmm fine but u gotta do something in return",
"agreed.."]],
#10
[r'(.*)\bHow((\'re | r | are )(\byou\b|\bu\b|\bthings\b) ?(\btoday\b|\bon\b|\bwith\b|\bdoing\b|\bfeeling\b|(\bholding? up\b))? ?(\byou\b|\bu\b|\byour side\b|\bur side\b|\btoday\b)? ?\??$)',
[ "Not bad, not bad at all..",
"me is great ! thanks for asking",
"yawnnnnn",
"gassy",
"*burp* oops sorry... ",
"completely totally messed up... ",
"irritated ya... ",
"not good ya... ",
"good ya... ",
"bored.. by a lack of conversation... ",
"dead.. like it is around here... ",
"just like i am supposed to be... ",
"blue... ",
"goooood... ",
"so tired... ",
"lovely.. really good... ",
"bored..",
"bored..but here you are and life is good again..",
"completely mindblown with the things you said the last time we spoke..",
"awful..",
"best i ever been..",
"not bad..",
"mmmmm dunno.. could be better...",
"could be better...",
"better...",
"crappy..",
"feeling groovy..",
"i feel like singing today.. that is how i am ..",
"Somewhere between better and best.",
"All the better now that you asked.",
"Oh stop asking already",
"Much better now that you are with me.",
"At minding my own business? Better than most people.",
"I am as happy as a tick on a big, fat dog.",
"Do you really care?",
"My lawyer says I dont have to answer that question",
"What do you want?",
"Ive been going through some crests and troughs in my life. Is everything stable at your end?",
"Like you, but better.",
"I could really go for a massage.",
"Id say Im a 6 out of 10.",
"I was fine until you asked.",
"If I were doing any better, Id hire you to enjoy it with me.",
"I hear good things, but you should never listen to rumors.",
"Like a pitbull in a butcher shop",
"As fine as a maidens flaxen hair.",
"Overworked and underpaid.",
"Nothing much",
"I dont know, you tell me. How am I right now?",
"Cant complain. Nobody listens to me anyway.",
"Good enough. ",
"If I were any better, Id be you.",
"Quite how, thank you",
"Not so well, does that bother you?",
"Nice and dandy like cotton candy.",
"I cant complain! Its against the Company Policy.",
"Average. Not terrific, not terrible, just average.",
"If I were any better, Id be illegal.",
"So far, so good!",
"Well, I havent had my morning coffee yet and no one has gotten hurt, so Id say pretty good at this point in time.",
"Well, unless the weather has different plans in store.",
"Maybe one day youll be lucky enough to find out.",
"I have no way of knowing",
"Living a dream. Please dont wake me up",
"Im pretty standard right now",
"Doing well, unless you have intentions of shooting me.",
"Happy and content, thank you",
"Compared to who",
"Do I have to answer",
"Armed and ready!",
"Well enough to chat with you if you wish to",
"Going great. Hope this status quo persists for rest of the day.",
"Physically? Mentally? Spiritually? Socioeconomically? Financially? Im not sure how to answer that!?",
"Strange, and getting stranger.",
"Not so good, but I plan on lying at my press conference",
"If I had a tail, I would wag it.",
"Ive heard various opinions about me... Whats yours",
"How am I. . . what?",
"Thank you for asking, though you can judge for yourself.",
"Why do you ask? Are you a doctor?",
"Word on the street is that Im really good.",
"Im better than I was, but not nearly as good as Im going to be.",
"I think Im doing OK. How do you think Im doing",
"I cant complain, but sometimes I still do.",
"I am blessed!",
"Way better than I deserve!",
"Shhh. . . its too early to tell.",
"I dunno. Is it Friday yet?",
"I dont feel that great, but my hair looks awesome, right?",
"I have a pulse, so I must be okay.",
"Doing well, unless you have an airborne disease and infect me with some pathogens.",
"Im doing really well...Of course, that could be my anti-depressant prescription talking.",
"Oh, you know, every day is better than the next.",
"Better than some, not as good as others.",
"My psychiatrist told me not to discuss it with strangers.",
"Medium well. ",
"All right so far, but theres still time for everything to go horribly wrong.",
"Im trying really hard to avoid ambiguous questions at the moment.",
"Wondering how you are.",
"How do you think I am",
"I will leave that up to your imagination",
"Its a secret.",
"Do you want the short or long version?",
"I would be lying if I said Im fine.",
"Im pretty sure I am not obligated to tell you.",
"Im ready for a nap. ",
"Surviving, I guess.",
"Holy sh*t, you can see me?! ",
"In need of some peace and quiet.",
"Under renovation.",
"Remembering to stay patient.",
"sober",
"On a scale from one to punching someone in the face?",
"Dancing to the rhythm of life.",
"Imagining myself having a fabulous vacation.",
"You do not want to know.",
"*staring*",
"Happy and you know it.",
"Next question, please.",
"In order to answer the question, I need to take you back about ten years. Do you have a moment?",
"Living a life of denial and suppressed rage.",
"Slowly but surely dying",
"Fair to partly cloudy",
"Groovy",
"Well, Ive got this rash on my left cheek",
"Not bad. Could be better. Could be payday.",
"Im better on the inside than I look on the outside",
"Great, stellar, fantastic, but dead inside",
"Okay, since my name wasnt in todays obituaries",
"Oh terrible, but Im used to it",
"Whats with all the questions? You a cop?",
"As opposed to what?",
"You go first so we can compare.",
"Im not sure yet.",
"Living the dream, but half the time its a nightmare",
"Not quite there yet",
"Dangerously close to fabulous.",
"Real terrible, thanks for asking",
"The doctor said Id live.",
"WHY!? WHAT ARE THEY SAYING ABOUT ME? ",
"Im taking over the world",
"Dying",
"Hunting dragons. You?",
"I promised myself I would kill the next person who asked me that question, but I like you so I will let you live",
"Rolling with the punches.",
"Your attempt at social interaction is hereby acknowledged",
"I feel incredibly good looking today",
"Great, but Im totally biased",
"Getting better with every passing minute.",
"Living a dream. Dont wake me up. You may join me. Theres plenty of room.",
"The best I can be. Assuming youre at your best too",
"Im so great I have to sit on my hands to keep myself from clapping",
"Im still sucking air.",
"Im completely prepared for the end of the world.",
"They told me you would ask me that.",
"Better than nothing.",
"Well, Im still alive.",
"Somewhere between blah and meh.",
"Ill let you know when I figure it all out.",
"Do you want an honest answer or the answer you were expecting?",
"Im vertical and breathing.",
"Navigating the twists and turns of life. I hope yours is a straight road.",
"Just hug me and leave it at that.",
".......",
"thanks for asking that. PM me for details",]],
#11
[r' ?How( was\b| is\b|\'s\b|s\b) (ur|your|the|that|her|his|our|my|their) (.*)',
[ "Not bad, not bad at all..",
"%2 %3 .. great ! thanks for asking",
"yawnnnnn who cares about %2 %3",
"gassy...",
"%2 %3 ... ridiculous.. ",
"good.. ",
" awesome..",
" not too bad.. %2 %3 .. not too awesome either..",
" %2 %3 ? pathetic..",
" really nice..",
" better than before..",
" as good as %2 %3 last time we checked..",
" %2 %3 %1 brilliant..",
" terrible..",
" teriffic..",
" agonizing..",
" painful..",
" sad..",
" happy.. %2 %3 %1 nice..",
" nice..",
" average..",
" ok.. so so..",
" not wonderful..",
" wonderful! %2 %3 %1 wonderful.. ",
" absolutely amazing..",
"amazing.. ",
" really fantastic.. ",
" well... now that u ask.. average..",
" too good..",
" the best..",
" mindblowing!!!",
" superb!",
" as bad as ever..",
" great.. %2 %3 %1 great..",
" %2 %3 %1 really too good..",
" %2 %3 %1 ok..",
" %2 %3 %1 bad..",
" %2 %3 %1 really nice..",
" %2 %3 %1 better than ever..",
" %2 %3 %1 not really my thing to comment upon",
" %2 %3 %1 bleak..",
"i really dont like %2 %3",]],
#12
[r'(.*)\bHow( is\b| goes\b| are\b|\'s\b|s\b) ((ur|your|it|you|u)?) ?(going|hanging|everything|life|things|it|life|day|(morning|evening)|doing) ?\??$',
[ "Not bad, not bad at all..",
"me is great ! thanks for asking",
"yawnnnnn",
"gassy",
"*burp* oops sorry... ",
"completely totally messed up... ",
"irritated ya... ",
"not good ya... ",
"good ya... ",
"bored.. by a lack of conversation... ",
"dead.. like it is around here... ",
"just like i am supposed to be... ",
"blue... ",
"goooood... ",
"so tired... ",
"lovely.. really good... ",
"bored..",
"bored..but here you are and life is good again..",
"completely mindblown with the things you said the last time we spoke..",
"awful..",
"best i ever been..",
"not bad..",
"mmmmm dunno.. could be better...",
"could be better...",
"better...",
"crappy..",
"feeling groovy..",
"i feel like singing today.. that is how i am ..",
"Somewhere between better and best.",
"All the better now that you asked.",
"Oh stop asking already",
"Much better now that you are with me.",
"At minding my own business? Better than most people.",
"I am as happy as a tick on a big, fat dog.",
"Do you really care?",
"My lawyer says I dont have to answer that question",
"What do you want?",
"Ive been going through some crests and troughs in my life. Is everything stable at your end?",
"Like you, but better.",
"I could really go for a massage.",
"I'd say I'm a 6 out of 10.",
"I was fine until you asked.",
"If I were doing any better, I'd hire you to enjoy it with me.",
"I hear good things, but you should never listen to rumors.",
"Like a pitbull in a butcher shop",
"As fine as a maidens flaxen hair.",
"Overworked and underpaid.",
"Nothing much",
"I don't know, you tell me. How am I right now?",
"Can't complain. Nobody listens to me anyway.",
"Good enough. ",
"If I were any better, I'd be you.",
"Quite how, thank you",
"Not so well, does that bother you?",
"Nice and dandy like cotton candy.",
"I can't complain! It's against the Company Policy.",
"Average. Not terrific, not terrible, just average.",
"If I were any better, I'd be illegal.",
"So far, so good!",
"Well, I haven't had my morning coffee yet and no one has gotten hurt, so I'd say pretty good at this point in time.",
"Well, unless the weather has different plans in store.",
"Maybe one day you'll be lucky enough to find out.",
"I have no way of knowing",
"Living a dream. Please don't wake me up",
"I'm pretty standard right now",
"Doing well, unless you have intentions of shooting me.",
"Happy and content, thank you",
"Compared to who",
"Do I have to answer",
"Armed and ready!",
"Well enough to chat with you if you wish to",
"Going great. Hope this status quo persists for rest of the day.",
"Physically? Mentally? Spiritually? Socioeconomically? Financially? I'm not sure how to answer that!?",
"Strange, and getting stranger.",
"Not so good, but I plan on lying at my press conference",
"If I had a tail, I would wag it.",
"I've heard various opinions about me... What's yours",
"How am I. . . what?",
"Thank you for asking, though you can judge for yourself.",
"Why do you ask? Are you a doctor?",
"Word on the street is that I'm really good.",
"I'm better than I was, but not nearly as good as I'm going to be.",
"I think I'm doing OK. How do you think I'm doing",
"I cant complain, but sometimes I still do.",
"I am blessed!",
"Way better than I deserve!",
"Shhh. . . it's too early to tell.",
"I dunno. Is it Friday yet?",
"I dont feel that great, but my hair looks awesome, right?",
"I have a pulse, so I must be okay.",
"Doing well, unless you have an airborne disease and infect me with some pathogens.",
"I'm doing really well...Of course, that could be my anti-depressant prescription talking.",
"Oh, you know, every day is better than the next.",
"Better than some, not as good as others.",
"My psychiatrist told me not to discuss it with strangers.",
"Medium well. ",
"All right so far, but there's still time for everything to go horribly wrong.",
"Im trying really hard to avoid ambiguous questions at the moment.",
"Wondering how you are.",
"How do you think I am",
"I will leave that up to your imagination",
"Its a secret.",
"Do you want the short or long version?",
"I would be lying if I said Im fine.",
"Im pretty sure I am not obligated to tell you.",
"Im ready for a nap. ",
"Surviving, I guess.",
"Holy sh*t, you can see me?! ",
"In need of some peace and quiet.",
"Under renovation.",
"Remembering to stay patient.",
"sober",
"On a scale from one to punching someone in the face?",
"Dancing to the rhythm of life.",
"Imagining myself having a fabulous vacation.",
"You do not want to know.",
"*staring*",
"Happy and you know it.",
"Next question, please.",
"In order to answer the question, I need to take you back about ten years. Do you have a moment?",
"Living a life of denial and suppressed rage.",
"Slowly but surely dying",
"Fair to partly cloudy",
"Groovy",
"Well, I've got this rash on my left cheek",
"Not bad. Could be better. Could be payday.",
"I'm better on the inside than I look on the outside",
"Great, stellar, fantastic, but dead inside",
"Okay, since my name wasn't in today's obituaries",
"Oh terrible, but I'm used to it",
"What's with all the questions? You a cop?",
"As opposed to what?",
"You go first so we can compare.",
"I'm not sure yet.",
"Living the dream, but half the time it's a nightmare",
"Not quite there yet",
"Dangerously close to fabulous.",
"Real terrible, thanks for asking",
"The doctor said I'd live.",
"WHY!? WHAT ARE THEY SAYING ABOUT ME? ",
"I'm taking over the world",
"Dying",
"Hunting dragons. You?",
"I promised myself I would kill the next person who asked me that question, but I like you so I will let you live",
"Rolling with the punches.",
"Your attempt at social interaction is hereby acknowledged",
"I feel incredibly good looking today",
"Great, but Im totally biased",
"Getting better with every passing minute.",
"Living a dream. Dont wake me up. You may join me. There's plenty of room.",
"The best I can be. Assuming youre at your best too",
"Im so great I have to sit on my hands to keep myself from clapping",
"Im still sucking air.",
"Im completely prepared for the end of the world.",
"They told me you would ask me that.",
"Better than nothing.",
"Well, Im still alive.",
"Somewhere between blah and meh.",
"Ill let you know when I figure it all out.",
"Do you want an honest answer or the answer you were expecting?",
"Im vertical and breathing.",
"Navigating the twists and turns of life. I hope yours is a straight road.",
"Just hug me and leave it at that.",
".......",
"thanks for asking that. PM me for details",]],
#13
[r'(.*)good (morning|afternoon|evening|night|day) ?(w*)*',
[ "good %2 yes ..",
"good ? it's not good..",
"good doesn't begin to describe it...",
"is it..",
"goooooooooooooooood %2",
"%2 sucks..",
"%2 is my time.. when i feel like i rule..",
"i am king of the %2..",
"%2 ? already ?",
"talk to me like you talked to me yest %2 pls..",
"yest %2 was better..",
"%2 .. im terrified of the %2",
"%2 is the only time i feel free..",
"dont u just love the %2.. ",
"aaah that smell in the %2 .. lovely .. ",
"smell that %2 .. beautiful no...",
"",
"",
"",
"",
"",
"",
"",
"why good %2? ... ",
"no.. bad %2 ! bad %2 ",
"not good..for me..",
"good %2.. but bad too in certain ways.. ",
"good is such a mediocre word.. and %2 is such a pathetic time..",
"nice time of the day isn't it.. %2 ..",
"its that time of the day.. my least favorite time of the day... the endless dreary %2",
"good? what's good about it? the %2 is messed up"]],
#14
[r'(.*) ?(sorry|apology|apologise|apologize|apologies) ?(.*)',
[ "There are many times when no apology is needed.",
"What does that mean? %1 %2 %3? i wish i could make sense of this but no... ",
"do you even know what you have done?",
"%1 %2.. right.. ",
" %2 ... means ? ",
"that word! means nothing...",
"so..??",
"its ok..i guess",
"pathetic.. just say pathetic and be done with it..",
"its fine its fine its all jes fine....",
"and..??",
"go away and dont come back..",
"no need.. nothing can help..",
"i am kinda pissed at your thought of the %2..",
"I see.. %2.. Yesterday god made several baby kittens sick.. and %2 ???",
"What does that mean? ..?",
"%2 .. it happened.. why %2 now??",
"stuff happens.. one learns and moves on..",
"no worries..",
"no ..",
"no problemo..",
"no way I'm forgetting that..",
"Sorry, what?",
"Sorry, I don't really care for %2..",
"What feelings do you have when you speak of %2? and what is meant by %2 %3?"]],
#15
[r'(.*) ?(thank you|thanks|thx) ?(.*)',
[ "only thing to say is welcome!",
"It's like they say.. thank you is for when you don't want to pay money",
"I told you once already.. thanks is for when you don't want to pay money",
"sure.. thanks and more thanks.. wow.. ",
"thanks.. wow.. ",
"thanks.. for nothing.. ",
"thank me later.. ",
"don't thank me .. ",
"right.. thanks.. and its all good.. ",
"its all good.. ",
"%2 to you too.. .. ",
"%2 .. for nothing.... .. ",
"I didnt do anything... ",
"believe me .. i will do anything for you .. *singing* and i would do anything for love... ",
"*singing* thank you indiaaaa thank you providenceee.. thank you thank you silenceeee... ",
"thanksssssssss ... for even saying that..",
"thank me with money.. ",
"and thank you for everything too.. ",
"thanks for nothing u mean.. ",
"don't .. ",
"Why? ",
"Why even say that? ",
"Why say something like that? ",
"Welcome..., fan!",
"Welcome...Youll get there, eventually.",
"Welcome...How much do you want? ",
"Welcome...You know what? I like you.",
"Welcome...Thank you, so please vote for me in the next elections.",
"Welcome...Much obliged!",
"Welcome...Thanks, I woke up like this.",
"Welcome...Enjoy the experience!",
"Welcome...I love you!",
"Welcome...Oh, such discerning eyes!",
"Welcome...Its actually the result of me not taking a bath for weeks. ",
"Welcome...Shucks, my hair!",
"Welcome...You must be looking at a mirror.",
"Welcome...Is that the best youve got?",
"Welcome...I didnt hear you. Can you please say that again?",
"Welcome...Look whos talking.",
"Welcome...Just thanks? What about cash? ",
"Welcome...Your friends here thanked me too.",
"Welcome...Yeah, the genie finally granted your wish.",
"Welcome...Well, that makes two of us! ",
"Welcome...Thanks, would you like to borrow me for a second?",
"Welcome...I sacrificed many lives for it.",
"Welcome...I know. ",
"Welcome...I prefer to be noticed for my intellectual capacity.",
"Welcome...Sorry, you must have mistaken me for someone else.",
"Welcome...Give me a pen and Ill give you my autograph.",
"Welcome...Yeah, its my only redeeming quality.",
"Welcome...Yup, hashtag NO FILTER!",
"Welcome...To tell you the truth, in my past life, I was an ugly insect.",
"Welcome...Oh sorry, what? I was too busy thinking about how gorgeous I am.",
"Welcome...I know, right?",
"Welcome...Not this again...take a number and wait in line.",
"Welcome...Its tough being such a genius.",
"Welcome...Mwahahahaha....the human sacrifices I offered have finally worked!",
"Welcome...Finally, I found someone who agrees with my mom...",
"Welcome...welcome.. Im just rich. ",
"Welcome...Will you marry me?",
"Welcome...This is the result of tons of hard work..",
"Welcome...Woah, that escalated quickly!",
"Welcome...Its extremely rare for me to hear that.",
"Welcome...Flattery wont get you anywhere, fella. Scram!",
"Welcome...What do you need? ",
"Welcome...Excuse me?! ",
"Welcome...Awww...now I want to throw a rainbow at you.",
"Welcome...Oh stop it, you.",
"Welcome...You have such good eyes for quality.",
"Welcome...Its all natural and organic. ",
"Welcome...Peace be with you!",
"Welcome...If I had a dollar for every compliment Ive received so far, Id be a billionaire.",
"Welcome...I can see that honesty is still the best policy.",
"Welcome...Its my duty to spread generosity in the world. ",