blog

.........................................................................................................
.........................................................................................................
.........................................................................................................
.........................................................................................................

talking to eliza

Below is an implementation of ELIZA1, an early conversational program built on pattern matching. During its development, its creator’s secretary allegedly asked for privacy before talking to ELIZA. Transcripts of conversations with the program suggest how readily people open up2.

>HELLO. WHAT IS ON YOUR MIND?

The fundamental technical problems with which ELIZA must be preoccupied are the following: The identification of the “most important” keyword occurring in the input message. The identification of some minimal context within which the chosen keyword appears; e.g., if the keyword is “you”, is it followed by the word “are” (in which case an assertion is probably being made). The choice of an appropriate transformation rule, and, of course, the making of the transformation itself. The provision of a mechanism that will permit ELIZA to respond “intelligently” when the input text contained no keywords. The provision of machinery that facilitates editing, particularly extension, of the script on the script writing level

Footnotes

  1. [1] Weizenbaum’s original paper, published in Communications of the ACM, January 1966, describes the program and includes an example conversation. ↩

  2. [2] An excerpt from the Weizenbaum paper. ↩