I was not careful enough, but still do not agree. See below.

Viktor Cerovski wrote 

> R.E.  Boss wrote:
> >
> >
> > Do you agree on this?
> >
> > S -> .shop
> > A -> apple
> > B -> bag
> > T -> the
> > the shop -> my brother
> > a never used -> .terminating rule
> >
> > Sample text of:
> >    "I bought in S a B of As from T S."
> >
> > Should generate:
> >    "I bought in shop a bag of apples from T S."
> >
> I think the result should be:
> 
>    "I bought in shop a bag of As from T S."
> 


IMO "I bought in shop a B of As from T S." is the right answer.


The other example was different form I would ask. It should have been

And how about this?

S -> .shop
A -> apple S
B -> bag
T -> the
the shop -> my brother
a never used -> .terminating rule

Sample text of:
   "I bought B of As from T" 

Should generate:
   "I bought a B of apple shops from T"


R.E. Boss





----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to