Eliza

For this assignment, you are to implement a rudimentary version of Eliza, the program that we have seen in class.

You may choose any programming language to implement this assignment.

The Eliza program is part of the emacs editor. In any UNIX system, enter "emacs" to get going. Once in emacs, hit the "esc" key then the "x" key, then type "doctor" and hit return.

To see how sophisticated this can get, have a look at the pages of the Loebner Prize competition.

To review, there are three components to Eliza, which will be run in this order.

  1. One that attempts to parse the user's response
  2. One that searches for keywords
  3. One that issues random responses
It is easiest to implement these components in reverse order.

Turning in your work

This assignment is due on Tuesday, Sep. 4, BC. Please zip all necessary files and submit them to the appropriate drop-box on Angel.