Dependency grammars as Haskell programs.
A Fundamental Algorithm for Dependency Parsing