JL iV,TdZddlmZmZdZeeeZdZdZedk(reyy)a Zen Chatbot talks in gems of Zen wisdom. This is a sample conversation with Zen Chatbot: ZC: Welcome, my child. me: Good afternoon. ZC: Ask the question you have come to ask. me: How can I achieve enlightenment? ZC: How do you suppose? me: Through meditation. ZC: Form is emptiness, and emptiness form. me: How can I empty my mind of worldly troubles? ZC: Will an answer to that really help in your search for enlightenment? me: Yes. ZC: It is better to be right than to be certain. me: I seek truth and wisdom. ZC: The search for truth is a long journey. me: Are you sure? ZC: Maybe sure, maybe not sure. The chatbot structure is based on that of chat.eliza. Thus, it uses a translation table to convert from question to response i.e. "I am" --> "you are" Of course, since Zen Chatbot does not understand the meaning of any words, responses are very limited. Zen Chatbot will usually answer very vaguely, or respond to a question by asking a different question, in much the same way as Eliza. )Chat reflections) )z(hello(.*))|(good [a-zA-Z]+))z4The path to enlightenment is often difficult to see.zCGreetings. I sense your mind is troubled. Tell me of your troubles.z&Ask the question you have come to ask.z"Hello. Do you seek englightenment?)z i need (.*))z;%1 can be achieved by hard work and dedication of the mind.zM%1 is not a need, but a desire of the mind. Clear your mind of such concerns.z6Focus your mind on%1, and you will find what you need.) i want (.*))zFDesires of the heart will distract you from the path to enlightenment.z%Will%1 help you attain enlightenment?z+Is%1 a desire of the mind, or of the heart?)zwhy (.*) i (.*)\?)zYou%1%2?zPerhaps you only think you%1%2)zwhy (.*) you(.*)\?)z Why%1 you%2?z%2 I%1zAre you sure I%2?)z why (.*)\?)zI cannot tell you why%1.zWhy do you think %1?)zare you (.*)\?)zMaybe%1, maybe not%1.z(Whether I am%1 or not is God's business.)z am i (.*)\?)zPerhaps%1, perhaps not%1.z.Whether you are%1 or not is not for me to say.)z what (.*)\?)zSeek truth, not what%1.zWhat%1 should not concern you.)z how (.*)\?)zHow do you suppose?zDWill an answer to that really help in your search for enlightenment?zAsk yourself not how, but why.)zcan you (.*)\?)zI probably can, but I may not.z"Maybe I can%1, and maybe I cannot.z#I can do all, and I can do nothing.)z can i (.*)\?)z;You can%1 if you believe you can%1, and have a pure spirit.z*Seek truth and you will know if you can%1.)z it is (.*))zBHow can you be certain that%1, when you do not even know yourself?zPerhaps it is not about hating %2, but about hate from within.z$Weeds only grow when we dislike themzHate is a very strong emotion.)z(.*) truth(.*))z$Seek truth, and truth will seek you.z:Remember, it is not the spoon which bends - only yourself.z'The search for truth is a long journey.)zi want to (.*))z*You may %1 if your heart truly desires to.zYou may have to %1.)r)z Does your heart truly desire %1?z.Is this a desire of the heart, or of the mind?)z i can\'t (.*))z5What we can and can't do is a limitation of the mind.z?There are limitations of the body, and limitations of the mind.z&Have you tried to%1 with a clear mind?)z i think (.*))z"Uncertainty in an uncertain world.zBIndeed, how can we be certain of anything in such uncertain times.z%Are you not, in fact, certain that%1?)z i feel (.*))zlYour body and your emotions are both symptoms of your mind.What do you believe is the root of such feelings?z.Feeling%1 can be a sign of your state-of-mind.)z(.*)!)z-I sense that you are feeling emotional today.zYou need to calm your emotions.)z because (.*))zUDoes knowning the reasons behind things help you to understand the things themselves?zIf%1, what else must be true?)z (yes)|(no))z)Is there certainty in an uncertain world?z,It is better to be right than to be certain.)z (.*)love(.*))zThink of the trees: they let the birds perch and fly with no intention to call them when they come, and no longing for their return when they fly away. Let your heart be like the trees.z Free love!)z(.*)understand(.*))zfIf you understand, things are just as they are; if you do not understand, things are just as they are.z-Imagination is more important than knowledge.)z#(.*)(me )|( me)|(my)|(mine)|(i)(.*))z1'I', 'me', 'my'... these are selfish expressions.zrsD>-G  R9k*   zFr