A Lie-algebraic perspective on Tree-Adjoining Grammars