-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheliza.bot
56 lines (46 loc) · 1.61 KB
/
eliza.bot
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
# ELIZA inspired chat transcript written in botlang
# -----------------------------------------------------------------------
# ELIZA was an early natural language processing computer program created
# from 1964 to 1966 at the MIT Artificial Intelligence Laboratory by
# Joseph Weizenbaum. C.f. https://en.wikipedia.org/wiki/ELIZA
+ "*"
- "I'm not sure I understand you fully."
- "Please go on."
- "That is interesting. Please continue."
- "Tell me more about that."
- "Does talking about this bother you?"
- "I see."
+ "I $ you"
- "Perhaps in your fantasies we $ each other."
- "Do you wish to $ me?"
- "You seem to need to $ me."
- "Do you $ anyone else?"
- "What makes you think I $ you?"
+ "(Hi|Hello|Hey) *"
- "Hi, how are you?"
- "Hey, how are you?"
- "Hi, how is it going?"
+ "(I'm|I am|Im) $"
- "Glad to hear that you are $."
+ "* (sorry|apologize|apology) *"
- "Apologies are not necessary."
- "Please don't apologise."
- "It did not bother me. Please continue."
- "I've told you that apologies are not required."
+ "* think about $"
- "I think $ is great!"
- "I think $ is the coolest thing on Earth!"
+ "* (bye|goodbye|done|exit|quit) *"
- "Goodbye. It was nice talking to you. Press CTRL+C to exit ..."
- "Goodbye. This was really a nice talk. Press CTRL+C to exit ..."
+ "* (what|which|who|whom|whose) *"
- "Why do you ask?"
- "Is that an important question?"
- "Why does this bother you?"
+ "* I remember $"
- "Does thinking of $ bring anything else to mind ?"
- "Do you often think of $?"
- "What else do you recollect?"
- "Why do you remember $ just now?"
+ "* I forget $"
- "Can you think of why you might forget $?"