burning broccoli

ELIZA

Eliza is a neat little program created in the 60s by Joseph Weizenbaum. It’s been around a long time. I heard about it the first time during my university studies and the first version i tried was the ‘doctor’ in emacs (Emacs rules, vim should die!).

Anyway, a long story short, a friend of mine starting to talk about it one night while we where chucking down some beers and listening to stand up comedy. I don’t know why but it stuck in my mind so I googled it a bit. My first idea was to see if there where a python implementation (I’m python biased when I have the luxury to choose), and sure thing there was one, eliza.py, with BSD license. It was nice and simple, using regular expressions for most of the work. A bit old though, had to change a import from ‘whrandom’ to ‘random’.

After tinkering around a bit it struck me that the simplest and most portable solution (webwise) would be a javascript implementation. So I made a simple jQuery plugin of it.

To try or download go to http://davidlgj.github.com/eliza-jquery/

comments    Add a comment    Posted 2 years ago
blog comments powered by Disqus