Lecture 1
Lecture 2
Lecture 3
Lecture 4
Lecture 5

Simple extensions to the DCG

Extend the DCG so that it can also handle ditransitive verbs and nouns which are modified by prepositional phrases (see yesterday's exercise). The DCG should also construct the parse trees for these structures correctly. Solution

Back to the practical session of day 5.