This course provides a hands-on introduction to the techniques and tools needed for building the precise, extensible grammars required both in research and in applications. Through a combination of lectures and in-class exercises, students will investigate the implementation of constraints in morphology, syntax, and semantics, working within the unification-based lexicalist framework of Head-driven Phrase Structure Grammar.
The course is heavily based on the open source DELPH-IN grammar engineering software tool-chain, including LKB, PET, [incr tsdb()], etc.
|Office hours:||Thursday 11-13h (after email contact)|
|Location:||CIP Room (Except for the first meeting on 23.04 in U.15)|
|Credits:||5 LP B.Sc./M.Sc.|
Participants should have studied grammar formalism or syntactic theory, and have a basic understanding of constraint-based grammar. Participants should also be familiar with basic *nix commands, text editing (emacs recommended), CVS handling, etc. Short tutorials will be given during the course if necessary.
The course is composed of a mixed series of lectures and lab sessions. Since this will be a highly interactive, hands-on course, active class participation and on-time submission of assignments will be viewed favorable when it comes to grading.
|2||07.05.2012||Typed Feature Structures & LKB||Slides Exercise|
|3||14.05.2012||Type Descrption Language (TDL)||Slides Exercise|
|4||21.05.2012||Grammar Matrix||Slides Exercise|
|5||04.06.2012||Minimal Recursion Semantics (MRS)||Slides Exercise|
|6||11.06.2012||Core Phenomena I
|7||18.06.2012||Core Phenomena II
(Modification, Argument Optionality)
|8||25.06.2012||Long-Distance Dependencies||Slides Exercise|
|9||09.07.2012||Test Suites & Treebanks||Slides|
Before starting LKB, make sure you have a tmp directory under your home directory. LKB uses it for caching large grammar lexicon:
$ mkdir -p ~/tmp
To run LKB locally on a COLI machine:
$ export DELPHINHOME=/proj/delphin $ emacs -l /proj/delphin/lkb/etc/dot.emacs
Then, in the emacs:
To run LKB remotely on a COLI machine, you need a working X-window server on your machine, and SSH access to the COLI network.
$ ssh -Y login.coli.uni-saarland.de $ ssh -Y cluster-1.coli.uni-saarland.de $ export DELPHINHOME=/proj/delphin $ emacs -l /proj/delphin/lkb/etc/dot.emacs
Of course, you can substitute cluster-1 with any other available cluster node. Then, in the emacs:
Be sure to use -Y or -X option to enable X11 forwarding if you are running LKB remotely.
Alternatively, you may install binary builds of LKB on your local machine. Currently, Linux x86_32 and x86_64 platforms are supported with an automatic installation script. Binary builds for Solaris, Windows and MacOS (PPC-based) are also available for older versions of LKB. For Linux platform installation:
$ mkdir ~/delphin $ export DELPHINHOME=~/delphin $ wget http://lingo.stanford.edu/ftp/etc/install $ chmod +x install $ ./install
Then follow the instructions from the install script. In case of any problem, please contact the lecturer.