Home

Awesome

ELIZA-Smalltalk

Smalltalk (Pharo) implementation of ELIZA, an early natural language processing computer program created from 1964 to 1966 at the MIT Artificial Intelligence Laboratory by Joseph Weizenbaum.

This implementation is based on this Python implementation and elizabot.js (for the welcome messages). There are similar implementations for Go and Swift.

Installation

In a Playground, Do it:

Metacello new 
  repository: 'github://brackendev/ELIZA-Smalltalk/src';
  baseline: 'ELIZA';
  load.

Example Usage

In a Playground, Do it:

"Start the ELIZA chat interface"
ELIZAGUI open.

...or:

"Retrieve an ELIZA response"
ELIZA respondTo: 'Time for small talk'.

Screenshot

<img src="https://github.com/brackendev/ELIZA-Smalltalk/raw/master/screenshot.png" alt="Screenshot" width="400"/>

Note: "You" dialog taken from Joseph Weizenbaum's ELIZA--A Computer Program For the Study of Natural Language Communication Between Man and Machine.

Author

Bracken Spencer

License

ELIZA-Smalltalk is released under the MIT license. See the LICENSE file for more info.


Useful Links