GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codeanticode/eliza: The classic Eliza psychologist program, implemented as a Processing library.

This repository was archived by the owner on Jun 24, 2024. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
data
data
 
 
examples
examples
 
 
lib
lib
 
 
resources
resources
 
 
src/codeanticode/eliza
src/codeanticode/eliza
 
 
web
web
 
 
.classpath
.classpath
 
 
.gitignore
.gitignore
 
 
.project
.project
 
 
README.md
README.md
 
 
license.txt
license.txt
 
 

Repository files navigation

This is a Processing library based on the Java implementation of the Eliza program by Charles Hayden. Hayden's code is a complete and faithful implementation of the original program described by Joseph Weizenbaum in the Communications of the ACM in January 1966.

ACKNOWLEDGMENTS

  1. Charles Hayden's Java implementation of Eliza: http://chayden.net/eliza/Eliza.html

  2. Processing Library Template: https://github.com/processing/processing-library-template

INSTRUCTIONS

The library is easy to use. Just import it, and then create an Eliza object:

import codeanticode.eliza.*;

Eliza eliza;
eliza = new Eliza(this);

String response = eliza.processInput("Hello");
println(response);

You can use the readScript() function to change the script that Eliza uses to construct its answers:

eliza.readScript("script");
eliza.readScript("http://chayden.net/eliza/script");

To go back to the default script that is loaded when Eliza is initialized, call the readDefaultScript() function.

For detailed instructions on how to modify the script file that determines Eliza's "behavior", read the following notes by Charles Hayden:
http://chayden.net/eliza/instructions.txt

FURTHER REFERENCES

  1. Wikipedia article about Eliza: http://en.wikipedia.org/wiki/ELIZA

  2. Article from the Jul-Aug 1977 issue of the Creative Computing magazine, with a complete listing in Altair BASIC of a version of Eliza by Jeff Schrager: http://vintagecomputer.net/cisc367/Creative%20Computing%20Jul-Aug%201977%20Eliza%20BASIC%20listing.pdf

About

The classic Eliza psychologist program, implemented as a Processing library.

processing.andrescolubri.net/libraries/eliza/

Resources

Readme
License
Activity

Stars

229 stars

Watchers

1 watching

Forks

80 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.