Wednesday, January 01, 2020

ELIZA in Python

ELIZA - Wikipedia

"ELIZA is an early natural language processing computer program created from 1964 to 1966[1] at the MIT Artificial Intelligence Laboratory by Joseph Weizenbaum.[2] Created to demonstrate the superficiality of communication between humans and machines, Eliza simulated conversation by using a "pattern matching" and substitution methodology that gave users an illusion of understanding on the part of the program, but had no built in framework for contextualizing events."

Eliza, Computer Therapist (online chat)
This is a little version of ELIZA, a famous natural-language AI demo from the 1960s, packaged up as a Python module. It's all smoke and mirrors; the program doesn't have a clue what it is saying and it's not difficult to catch it out, but it's amusing and it means your chatbot always has something to say.

wadetb/eliza: Python implementation of the Eliza chatbot @GitHub
Loosely based on Charles Hayden's version in Java, at @GitHub
This is a Processing library based on the Java implementation of the Eliza program by Charles Hayden. Hayden's code is a complete and faithful implementation of the original program described by Joseph Weizenbaum in the Communications of the ACM in January 1966.

No comments: