Using templates and abstractions

Writing a grammar comes with a number of challenges. First, it is very difficult even for experienced computational linguists. Moreover, every new construction comes with the danger that the grammar’s complexity grows out of hand. And finally, we wish to focus on our ideas rather than on formal details. This lecture therefore introduces templates and abstractions as one way of addressing those challenges.

Patch for Root Templates

This lecture requires you to use one of FCG’s shared modules called :root-templates. Some Lisp-versions have some problems with this module, so please download this patch. Unpack the zip-file root-templates.lisp and use it to replace the folder Babel2/sharing/root-templates/ of your existing Babel2 installation.

Lecture materials

Video lecture