Tree Adjoining Grammar

XMG - eXtensible MetaGrammar (3)

17. December 2012

Laura Kallmeyer, Timm Lichte

Exercises for January 7th:

    Lets start with the MG in example2.mg:

  1. Simplify the XMG-code, such that alphanx0Vnx1 reuses alphanx0V !
  2. Add the classes alphaW0nx0Vnx1 (reusing alphaW0nx0V) and alphaW1nx0Vnx1 (reusing alphanx0V) for extraction!
  3. Add the class Tnx0Vnx1 that includes alphanx0Vnx1, alphaW1nx0Vnx1, and alphaW0nx0Vnx1 by disjunction ("|")!

  4. (Solution: example3.mg)



    The next exercises are concerned with features:

  5. Add the features case and assign-case to the class Tnx0Vnx1 (i.e. its subclasses) according to XTAG!
  6. Add the complex feature agr to the class Tnx0Vnx1 (i.e. its subclasses) according to XTAG!

  7. Example for alphaW0nx0V with some of its features (XTAG Rearch Group, 2001:135):

    (Solution: example4.mg)



    Finally, the next exercise is concerned with NPs:

  8. Implement the tree template for nouns (alphaNXN), determiners (betaDnx with definite) and adjectives (betaAn)! Watch out for the correct projection of agr and case!

  9. Examples for alphaNXN and betaAn (XTAG Rearch Group, 2001:174,188):



    (Solution: example5.mg)



    Now you should be in a position to do the following properly:

  10. Implement classes for subject raising (betaVvx) and subject control (betanx0Vs1) including all features from the lecture!

  11. Examples for betaVvx (XTAG Rearch Group, 2001:208):




Timm Lichte
Last modified: Sat Jan 5 00:12:34 CET 2013