ELIZA was an early influential
Artificial Intelligence computer program that simulated a psychotherapy session. Completed in 1966 by MIT computer scientist
Joseph Weizenbaum, it let a user at a computer terminal communicate in apparent natural language with a simulathed therapist of the Rogerian school. Although users were aware that ELIZA was a program, Weizenbaum found that the emotional reactions of many of them went beyond and considered ELIZA a sort of confident, which the researcher found disturbing.
ELIZA didn't understand what the user typed at the terminal. The program simply scanned input text searching for common conversation patterns stored in a database, and used other patterns to rewrote them as answers. For example, if the user entered the text "Perhaps I could learn to get along with my mother", ELIZA recognized a word indicating a family context, "mother", and answered "Tell me more about your family". At the dawn of the computer era, this looked impressive.