grammar

Tomas Lozano-Perez (tlp@ai.mit.edu)
Sun, 8 Mar 1998 17:08:40 -0500 (EST)

The observation below is correct. This was also a problem in
grammar.scm. I corrected both of them on Athena. The agreement
should be limited to the subject NP and the verb.

Tomas

------- Start of forwarded message -------
I have a question about the following rule in grammar2:

'(:grule (V/tr ?agr) (NP ?agr ?g0 ?g1) -> (VP ?agr ?g0 ?g1))

The variable ?agr is forcing the transitive verb and the noun phrase
to agree in number. That means that

(the boy throws the balls)

will not parse since throws is singular and the balls is plural...

Shouldn't we use something like (NP ?any ?g0 ?g1) since we don't care
about the agreement of the noun phrase?

Rodrigo
------- End of forwarded message -------