hi all
I've just finished reading chapter 2 of Paradigms of ai programming
by norvig but i can't get his generate program to work.
i'm using cormans lisp on a mac and i've checked and rechecked
everything but still no luck.
when i type (generate 'sentence) i get (sentence) instead of for
example (the girl hit the ball). if i type (generate 'verb-phrase)
i get (verb-phrase). obviusly something is drastically wrong, but i
can't see what.
please guys i need help with this because otherwise i can't proceed
with the book.
thanks.
In article <··································@4ax.com>,
······@smartchat.net.au wrote:
> please guys i need help with this because otherwise i can't proceed
> with the book.
There were already several responses to your previous posting of the
same problem. Please check that original thread.
--
Barry Margolin, ······@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
······@smartchat.net.au writes:
> hi all
> I've just finished reading chapter 2 of Paradigms of ai programming
> by norvig but i can't get his generate program to work.
>
> i'm using cormans lisp on a mac and i've checked and rechecked
> everything but still no luck.
>
> when i type (generate 'sentence) i get (sentence) instead of for
> example (the girl hit the ball). if i type (generate 'verb-phrase)
> i get (verb-phrase). obviusly something is drastically wrong, but i
> can't see what.
>
> please guys i need help with this because otherwise i can't proceed
> with the book.
> thanks.
What is the value of *grammar* ?
--
__Pascal Bourguignon__ http://www.informatimago.com/
The mighty hunter
Returns with gifts of plump birds,
Your foot just squashed one.