Recreation of the 1966 Chatbot in python.
-
ELIZA Chatbot Part 1

ELIZA an early chatbot created by Joseph Weizenbaum in 1966. In this series I will attempt to recreate the program in python and learn the fundamental concepts and techniques to make it work. This is solely a learning experience for me to get my feet wet on programming AI. Like…
-
ELIZA Chatbot Part 2
In order to create the rulebook, we need a dictionary of keywords, consisting of a priority number and a list of possible patterns, and responses to be made if the patterns do match. In code it looks something like this: The pattern is a list that contain a list of…
-
ELIZA Chatbot Part 3
Now that we can match the patterns, we have to get the keywords from a user’s input and find it in the rulebook. Then use the keywords to answer the question using the patterns and responses from the rulebook. Let’s go! The Rulebook For the rulebook we will be using…
