ELIZA
The ELIZA program is a famous program, written by Joseph Weizenbaum at M. I. T. between 1964 and 1966, to carry on conversations with people. The following descriptions comes from pages 2-3 of Weizenbaum's classic book, "Computer Power and Human Reason," W. H. Freeeman, 1976.
I composed a computer program with which one could "converse" in English. The human conversationalist partner would type his portion of the conversation on a typewriter connected to a computer, and the computer, under control of my program, would analyze the message that had so been transmitted to it, compose a response to it in English, and cause the response to be typed on the computer's typewriter.To run ELIZA on the MathLAN computers, follow these steps:I chose the name ELIZA for the language analysis program because, like the Eliza of Pygmalion fame, it could be taught to "speak" increasingly well. Because conversations must be about something, that is, because they must take place within some context, the program was constructed in a two-tier arrangement, the first tier consisting of the language analyzer and the second of a script. The script is a set of rules rather like those that might be given to an actor is to use them to improvise around a certain theme. Thus ELIZA could be given a script to enable it to maintain a conversation about cooking eggs or about managing a bank checking account, and so on. Each specific script thus enabled ELIZA to plan a specific conversational role.
ESC x doctor
where ESC is the escape key that appears at the upper left of the
keyboard. Note that ESC appears as "M-" when you type.
C-x C-c
This means, "hold down the 'control' key while you type the letter 'x'".
Then, hold down the 'control' key while you type the letter 'c'.
The Department of Mathematics and Computer Science uses an expert system to help advise students about which mathematics and computer science courses they might take first. The program was first developed in the Spring, 1993, as a student-faculty project; students Vikram Subramaniam and Ivan Sykes worked with faculty member Henry Walker. The program has been refined and expanded several times over the years to reflect new or revised courses.
Input includes high school transcript information and standardized test scores; the program then suggests a first mathematics course and a first computer science course for a student. The program can be used interactively with the user entering needed data, or the program can process information received electronically from the Registrar. In this latter mode, the program can generate letters for students.
To run the student placement program on the MathLAN computers, follow these steps:
lisp
and pressing the "return" key.
(load "~walker/placement/newstudents.lsp")
(placement)
(exit)
more ~walker/placement/newstudents.lsp
This command displays the first screen of the rule base. Hit the space bar
to view subsequent screens.
http://www.cs.grinnell.edu/~walker/courses/tutorial/labs/lab-eliza.html
|
created August 19, 1997 last revised September 14, 2001 |
|
| For more information, please contact Henry M. Walker at walker@cs.grinnell.edu |