<< Prev | - Up - |
Modify the grammar so that it contains subcategorisation information. The resulting parser should accept:
Jon runs
Jon likes mary
Jon gives a book to Mary
and reject
* Jon runs mary
* Jon likes
* Jon gives a book on Mary
structure the lexicon used for the first exercise using macros and an inheritance hierarchy as described in the lecture notes.
Modify the grammar and the parser so that context-free information is separated from the other constraints (e.g. agreement and subcategorisation). Given the appropriate modifications in the grammar, the parser should first check whether the context-free part of the rule is verified before applying other constraints.
<< Prev | - Up - |