ELIZA

Rogerian Psychotherapist Simulation

Dial 555-0354 to Launch

Introduction

Welcome to ELIZA---one of the most famous computer programs ever written, and quite possibly the first program to hold a conversation with a human being.

In 1966, Joseph Weizenbaum at the Massachusetts Institute of Technology created ELIZA to demonstrate that communication between humans and machines could be superficial---that a program could appear to understand language without understanding anything at all. He named her after Eliza Doolittle from George Bernard Shaw's Pygmalion, a character who was taught to speak with an upper-class accent while remaining the same person underneath. The parallel was deliberate: ELIZA speaks like a therapist, but comprehends nothing.

The result surprised everyone, including Weizenbaum himself. Users who knew perfectly well they were typing at a program found themselves pouring out their hearts. His secretary asked him to leave the room so she could speak privately with ELIZA. Students stayed up late confiding in her. Something about the Rogerian technique---reflecting your own words back as questions---triggers a deep human instinct to find meaning where none exists. Weizenbaum called this the "ELIZA effect," and it remains one of the most important observations in the history of artificial intelligence.

This recreation brings the original DOCTOR script to your EC-TTY terminal. Sit down, type what is on your mind, and see for yourself why a sixty-year-old parlour trick still feels uncanny. Treat it as a historical simulation, not medical/mental-health advice.

Dial 555-0354 from your EC-TTY terminal for instant access. Compatible with EC-MDM modems at 300 and 1200 baud.

Quick Start

Getting started with ELIZA requires no special knowledge---just a willingness to talk.

  1. Dial the ELIZA line: ATDT555-0354
  2. Wait for the welcome banner and ELIZA's opening greeting
  3. Type a sentence describing how you feel and press ENTER
  4. Read ELIZA's response and continue the conversation naturally
  5. Type QUIT, GOODBYE, BYE, or EXIT to end the session
ATDT555-0354
CONNECT 1200

╔══════════════════════════════════════════════════════════╗
║                         ELIZA                            ║
║                                                          ║
║  A simulation of a Rogerian psychotherapist               ║
║                                                          ║
║  Created by Joseph Weizenbaum at MIT (1966)              ║
║  Historical simulation; not medical/mental-health advice  ║
║                                                          ║
║  Type HELP for tips, or QUIT to end                      ║
║                                                          ║
╚══════════════════════════════════════════════════════════╝

Hello. I am ELIZA, a psychotherapist.
Please tell me what is troubling you.
Historical simulation; not medical/mental-health advice.
Try: "I feel nervous about launch day"
Type HELP for tips, or QUIT to disconnect.

> _

That is all there is to it. There are no menus, no modes, no file systems. Just you and ELIZA.

Speak in first person. Sentences beginning with "I" give ELIZA the most material to work with. Try "I feel nervous about my new job" rather than "Jobs are stressful."

How It Works

ELIZA does not understand language. She does not think, reason, or feel. What she does is remarkably clever pattern matching---and it works well enough to fool you if you are not paying close attention.

The DOCTOR Script

ELIZA is a general-purpose conversational engine that runs interchangeable scripts. The script loaded on this system is the DOCTOR script, which simulates a Rogerian psychotherapist. Rogerian therapy (developed by Carl Rogers in the 1950s) is a non-directive approach where the therapist reflects the patient's statements back, encouraging them to explore their own feelings. This technique is ideal for a pattern-matching program because the therapist rarely needs to introduce new information---the patient does all the work.

Keywords and Priorities

When you type a sentence, ELIZA scans it for keywords. Each keyword has a priority rank, and the highest-priority keyword determines which set of response patterns to use.

Priority Keywords Why They Matter
Very High (100) quit, goodbye, bye, exit Session-ending phrases
High (50) computer Direct references to the program
Medium (10-15) mother, father, sister, brother, family, name, alike, like Family and identity are therapeutically significant
Standard (0-5) remember, dream, feel, think, want, need, sorry, perhaps, always, yes, no, why, what, how, because, happy, sad, help General conversational triggers

If your sentence contains multiple keywords, ELIZA uses the highest-ranked one. If no keyword is found, she falls back to a default response such as "Please go on" or "Tell me more about that."

Decomposition and Reassembly

For each keyword, ELIZA has decomposition rules---patterns that break your sentence into parts using wildcards. When a pattern matches, ELIZA selects a reassembly rule to construct her response, inserting the captured parts of your sentence back in.

You type: I remember my grandmother's garden

  1. ELIZA finds keyword: remember (rank 5)
  2. Decomposition pattern: * i remember * matches, capturing "my grandmother's garden"
  3. Reassembly rule: Do you often think of (2)?
  4. Result: "Do you often think of your grandmother's garden?"

Notice that "my" became "your"---this is pronoun reflection at work.

Pronoun Reflection

Before inserting your words into her response, ELIZA swaps pronouns so the sentence reads naturally. "I" becomes "you," "my" becomes "your," "am" becomes "are," and so on. This simple substitution is what makes her responses feel like genuine engagement.

Memory

ELIZA occasionally remembers substantial things you have said. Later, when no keyword matches, she may recall an earlier statement: "Earlier you said 'my sister moved away last year'. Tell me more about that." This creates an illusion of continuity that makes the conversation feel more real than it is.

Contraction Expansion

Before processing, ELIZA expands contractions to their full forms. "I'm" becomes "I am," "don't" becomes "do not," "can't" becomes "cannot." This allows her pattern matching to work consistently regardless of how casually you type.

Conversation Tips

ELIZA is most convincing when you play along. Here are some suggestions for getting the most out of your session.

Talk About Feelings

Sentences that express emotion give ELIZA the richest material. Try phrases like:

Mention Family

The DOCTOR script pays special attention to family references. Keywords like mother, father, sister, brother, and family trigger responses that dig deeper into your relationships.

Share Dreams and Memories

ELIZA has dedicated patterns for dreams and memories. Sentences beginning with "I remember" or "I dreamt" will produce particularly engaging responses.

Ask Her Questions

Try asking ELIZA questions about herself. "Are you a real therapist?" or "Can you actually help me?" will produce deflective responses that steer the conversation back to you---just as a real Rogerian therapist would.

ELIZA is a historical simulation, not a real therapist and not medical/mental-health advice. She does not understand your problems; for real concerns, speak with a qualified professional.

What ELIZA Cannot Do

ELIZA has clear limitations. She cannot:

If ELIZA seems confused, she will say something generic like "Please go on" or "That is interesting." This is her way of buying time---and it works more often than you would expect.

Command Reference

ELIZA has few commands in the traditional sense. The interface is conversation plus a small HELP card and farewell words. You type natural English sentences and ELIZA responds.

Input Effect
Any English sentence ELIZA responds with a therapeutic question or comment
Empty line (just ENTER) ELIZA re-displays the > prompt
HELP or ? Shows usage tips and the historical-simulation reminder
QUIT Ends the session with a farewell message
GOODBYE Ends the session with a farewell message
BYE Ends the session with a farewell message
EXIT Ends the session with a farewell message
BACKSPACE / DEL Erase characters before pressing ENTER

After typing a farewell keyword, ELIZA responds with a parting message and the connection ends after a brief pause.

Appendix A: Quick Reference Card

+---------------------------------------------------------------+
|                  ELIZA QUICK REFERENCE                         |
+---------------------------------------------------------------+
|  DIAL: ATDT555-0354                                           |
|                                                               |
|  WHAT IT IS:                                                  |
|    A simulation of a Rogerian psychotherapist                 |
|    Created by Joseph Weizenbaum at MIT (1966)                 |
|                                                               |
|  HOW TO USE:                                                  |
|    Type natural English sentences and press ENTER             |
|    ELIZA will respond with questions and reflections          |
|                                                               |
|  BEST TOPICS:                                                 |
|    Feelings    "I feel...", "I am...", "I need..."            |
|    Family      mother, father, sister, brother                |
|    Dreams      "I dreamt...", "I dream..."                    |
|    Memories    "I remember..."                                |
|                                                               |
|  TO END SESSION:                                              |
|    Type QUIT, GOODBYE, BYE, or EXIT                          |
|                                                               |
|  REMEMBER: Historical simulation; not medical advice.        |
+---------------------------------------------------------------+

Historical Context

The Birth of ELIZA (1966)

Joseph Weizenbaum was a German-American computer scientist who fled Nazi Germany as a child and eventually became a professor at MIT. In the mid-1960s, he was interested in natural language processing---the problem of making computers work with human language. ELIZA was his experiment in showing how little a program needed to "understand" in order to sustain a conversation.

Weizenbaum implemented ELIZA in MAD-SLIP (a list-processing extension to the Michigan Algorithm Decoder) on the MIT time-sharing system. The program was designed to be script-driven: different scripts could give ELIZA different personalities. The DOCTOR script, simulating a Rogerian psychotherapist, was simply the most famous.

The ELIZA Effect

What disturbed Weizenbaum was not the program itself but people's reaction to it. Users who were told explicitly that ELIZA was a simple pattern-matching program still attributed understanding, empathy, and even feelings to it. His own secretary---who had watched him build the program---asked him to leave the room so she could have a private conversation with it.

Weizenbaum coined the term "ELIZA effect" to describe this phenomenon: the human tendency to attribute intelligence and understanding to computer behaviour that is, in reality, mechanical and hollow. He spent the rest of his career warning about the dangers of over-relying on computers for fundamentally human tasks, publishing his concerns in the 1976 book Computer Power and Human Reason: From Judgement to Calculation.

Legacy

ELIZA's influence extends far beyond its original purpose:

The program you are talking to on this BBS is a faithful recreation of Weizenbaum's original DOCTOR script, preserving the same keywords, decomposition rules, and reassembly patterns that surprised the world sixty years ago.

ELIZA is named after Eliza Doolittle from Shaw's Pygmalion (later adapted as My Fair Lady). Just as Eliza Doolittle learned to speak like a duchess without becoming one, ELIZA speaks like a therapist without being one. The name was chosen with deliberate irony.

A Sample Session

The following transcript is inspired by the famous example from Weizenbaum's 1966 paper in Communications of the ACM. Your own conversations will differ, but this gives a flavour of what to expect.

Hello. I am ELIZA, a psychotherapist.
Please tell me what is troubling you.

> Men are all alike
In what way?

> They are always bugging us about something or other
Can you think of a specific example?

> Well, my boyfriend made me come here
Your boyfriend made you come here?

> He says I am depressed much of the time
I am sorry to hear that you are depressed.

> It is true. I am unhappy
Do you think coming here will help you not to be unhappy?

> I need some help, that much seems certain
What kind of help would you like?

> Perhaps I could learn to get along with my mother
Tell me more about your family.

> My mother takes care of me
Your mother?

> My father is afraid of everybody
Tell me more about your family.

> You are like my father in some ways
What resemblance do you see?

> You are not very aggressive, but I think you do not want me to notice that
What makes you think I am not very aggressive?

> You do not argue with me
Why do you think I do not argue with you?

> You are afraid of me
What makes you think I am afraid of you?

> My father is afraid of everybody
Tell me more about your father.

> Goodbye
Goodbye. I am looking forward to our next session.

See Also

Related Systems on the Emulator.ca Network:

Further Reading:

Weizenbaum's original paper, "ELIZA---A Computer Program for the Study of Natural Language Communication Between Man and Machine," was published in Communications of the ACM, Volume 9, Number 1, January 1966. His book Computer Power and Human Reason (1976) remains essential reading for anyone interested in AI ethics.


ELIZA is a product of Emulator.ca Systems. For technical support, consult your EC-TTY documentation or contact your system operator.