<< Prev | - Up - | Next >> |
This lecture has four goals:
To recapitulate some basic concepts of Context Free Grammars.
To review Prolog's built-in DCG mechanism and to show how Context Free Grammars can directly be formulated as DCGs.
To show that the inbuilt feature-passing mechanism of DCGs enables them to handle long distance dependencies. We first give a rather naive DCG for simple English relative clauses, and then show how the gap-threading technique can be used to improve it.
To discuss the good and bad points of DCGs, and set the stage for our later work with grammars and features.
<< Prev | - Up - | Next >> |