
2/10/94:

This is the common lisp version of McDypar.  It should run under kcl or
any other standard version of commonlisp.  To use it, start up lisp and
load the file mcdypar.lisp.

You can either run things using the "parse" command, or by using the
"mcdypar" command on a file formatted like "example".  E.g.

> (parse '(john picked up the ball.))

It should trace out the demons it is using, and end by printing out the CD
parse of the story.

The most complex example the example lexicon (lexicon.s) and demons
(dm_defs.s) provided can handle is:

> (parse '(john picked up the ball and dropped it in the box.))

To see what happens when something doesn't match the lexicon and demons,
do a few tests yourself to see what it returns.  Some examples you might try:

> (parse '(the ball picked up John))
> (parse '(dropped the ball))
> (parse '(john hit the ball))

To use with an input file, use the "mcdypar" command.  E.g.

> (mcdypar "example")

To extend the lexicon and demons, make your own separate lexicon and demon
files.  Don't add them to the mcdypar.lisp file itself, just in case there
are future bug fixes.

Good luck!

- Trent
