[Reposting: Accidentally included a moderated news group first time.
Now reposting without it. Apologies to anyone who gets this twice.]
The online pop11 Eliza here
http://www.cs.bham.ac.uk/research/projects/poplog/eliza
recently stopped working as a result of our web site being reorganised.
It has now been fixed.
I have changed the format of the interaction, which I hope is more
comfortable to use.
I've also included a slightly modified version of the Pop11
TEACH RESPOND file in case anyone wants to see how beginners can use
Pop11 to produce a much simpler Eliza. It is linked on the eliza
web page.
Because of problems arising from the new configuration of our web server
I installed a reduced version of Linux poplog V15.6 in the same
direcory. (It could be reduced much further, by removing more stuff not
needed for eliza, and I may do that later: it's now 27MB, most of which
is not really needed for the eliza demo).
A tar file containing everything is now at
http://www.cs.bham.ac.uk/research/projects/poplog/eliza.tar.gz
Just under 10MB.
Because it is now self contained it should work on any linux-based web
server that provides php and allows cgi scripts to run.
Someone cleverer than I am could use pop11 instead of php to build the
web page with the form and with eliza's interaction history, so that it
works wherever cgi scripts are allowed, without requiring php.
I tried and failed about four years ago!
The counter requires the directory to be on a writeable partition, but
can be disabled. If you keep the counter mechanism, the number is in the
file elizalog.txt. You may wish to re-set it to 0.
If anyone wants to install it on another server please feel free.
You will want to edit the eliza.php file, altering the information
about where it is located.
Since all the path names for poplog's environment variables are
relative to the directory very little editing should be needed.
The whole system is freely available as open source subject to
the poplog copyright notice:
http://www.cs.bham.ac.uk/research/projects/poplog/copyright.html
The pop11 eliza code is in the cgi-bin directory in the file eliza2.p
and of course can be altered to suit your needs, your teaching
philosophy, what you wish to advertise, or your political inclinations,
etc.
It is based on the elizaprog.p library included in poplog, but changed
to use the environment variable POPARGS to read the input sentence
obtained from the form on the web page, instead of reading from
the terminal. It still has many kinds of messiness arising from its
age (it is a much expanded version of toy eliza written in pop11
around 1978 and not all the changes in the language pop11 have
been reflected in the code, including the ability to use
lexical variables in pattern variables).
Each input sentence causes the whole program to be restarted, so (a) the
interaction has no memory, and (b) on a slow server performance may be
sluggish. To reduce the load it uses 'basepop11' rather than 'pop11'.
For more information on poplog, and how to obtain it, report problems,
etc. see
http://www.cs.bham.ac.uk/research/projects/poplog/poplog.info.html
Information about poplog
http://www.cs.bham.ac.uk/research/projects/poplog/freepoplog.html
How to get and install poplog (works best on linux or sun/sparc)
http://www.cs.bham.ac.uk/research/projects/poplog/comp.lang.pop.faq.html
How to use bulletin boards and the pop-forum email list to get
questions about Poplog or Pop11 answered.
http://www.cs.bham.ac.uk/research/projects/poplog/primer
Pop11 primer
Aaron
http://www.cs.bham.ac.uk/~axs/
|