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."


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 S." 

Should generate:
   "I bought a bag of apple shops from T S."


R.E. Boss


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

Reply via email to