Jerz > Interactive Fiction
Eliza (Weizenbaum 1966) is the first chatterbot — a computer program that mimics human conversation. In only about 200 lines of computer code, Eliza models the behavior of a psychiatrist (or, more specifically, the “active listening” strategies of a touchy-feely 1960s Rogerian therapist).
Comment | Interaction | Transcripts | References
To interact with Eliza for yourself, visit Hayden’s java Eliza — “a complete and faithful implementation of the program described by Weizenbaum.” (The site requires the Java browser extension. You will probably see a warning message that asks permission to run a Java applet.)
There are scores of online Elizas. Some of them seem to modify Weizenbaum’s original code without any notice (I was ready to use one of these versions as a classroom demo, until it started making rude remarks and referred to recent events.
The program looks for simple grammatical structures and a small set of keywords, which include computers, family members, and emotions.
Fig. Eliza 1-1 |
How do you do. Please state your problem. >> I spend too much time with computers. Why do you mention computers ? >> You are one. Does it please you to believe I am one ? >> Yes. You seem to be quite positive. >> I suppose I am. How long have you been ? |
The following transcript shows Eliza’s limitations fairly clearly. The program recognized the text “I am”, but proceeded as if the user had typed something like “I am happy.” Since there was no word following “I am”, Eliza’s response “How long have you been ?” makes little sense.
Fig. Eliza 1-2 |
How long have you been ? >> 31 years. I’m not sure I understand you fully. >> Join the club. Please go on. >> You don’t make too much sense yourself. We were discussing you — not me. |
See also: Kenneth Colby’s “Parry,” a simulation of a paranoid schizophrenic.
Dennis G. Jerz
Jan 2000 — first posted
06 Mar 2001 — last updated
30 Oct 2006 — pruning and tweaking
04 Jun 2013 — minor reformatting
See Also |
Games Links(Jerz’s Literacy Weblog) Cyberculture Links (Jerz’s Literacy Weblog) |