Newsgroups: comp.ai
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!torn!newshub.ccs.yorku.ca!newshub.ariel.cs.yorku.ca!blue!cs942040
From: Patrick WJ Evans <cs942040@blue>
Subject: Re: Where do I find Eliza??? 
In-Reply-To: <3hjf4j$ooh@tribune.usask.ca> 
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-ID: <Pine.SUN.3.91.950222111255.13015A@blue>
Sender: news@ariel.cs.yorku.ca
Organization: York University, Department of Computer Science
References: <3hggqi$9lk@grumpy.cgrg.ohio-state.edu> <3hjf4j$ooh@tribune.usask.ca> 
Mime-Version: 1.0
Date: Wed, 22 Feb 1995 16:17:35 GMT
Lines: 34

On 11 Feb 1995, Henry Choy wrote:

> Sean Ramsay (sramsay@cgrg.ohio-state.edu) wrote:
> : I'm interested in running Eliza or similar type
> : program on a Mac or PC. Does anyone know where
> : I can find a source for the code???
> 
> I think if you compile gnu emacs you can find a version called
> "doctor". Anyways, you can always talk to yourself.

 Although inspection of the source to Eliza will reveal it's pathetic 
nature.  You can code a program similar to Eliza in an hour or two... 
maybe a bit more if you'd like reflexive responses, etc.  It's just a 
"dumb" question asker.  Something along the lines of:

if Keywords I know are in User Sentence then
   stick keywords in a question from random list
else if repeated words
  ask user to stop repeating themselves
else
  ask a random question from non-keyword list
end if

Of course there are a few more cases than that, and it's a tad more 
elaborate, you get the idea.  if you're interested in simiplified AI, 
"Animal" is a fun program to build on, because it learns.  If a complex 
database and some more detailed logic was added, Animal could actually be 
annoying!


 (                   \""(        (        
    Patrick Evans     `- )    cs942040@ariel.
                      ( ))      cs.yorku.ca

