Computational Grammars: Treebanking

The first step is to parse your current testsuite.

  1. Convert your testsuite to an item file (see Lab 3).
  2. Within tsdb++, create a new profile and parse it.
  3. Select the parsed profile and from the Trees menu select Annotate
  4. Treebank
  5. Optionally:
    1. Notice something wrong with your grammar (Oh no!)
    2. Fix it
    3. Within tsdb++, create a new profile and parse it.
    4. Select the old tree bank with your middle button (Gold Profile)
      select the parsed profile and from the Trees menu
      set the Switch to automatic update
      select Update
      watch the pretty colors
      1. Magenta: A single correct parse was found
      2. Blue: There was only one parse but it was not one that was determined by the gold annotations
      3. Black: There are still remaining ambiguities

      set the Switch to manual update
      select Update
      manually resolve any remaining issues
  6. back to step 2.

Definitive documentation on line at the DELPH-IN wiki: Treebanking

Back to top

Back to course page


bond@ieee.org

Course materials borrow heavily from Linguistics 567: Knowledge Engineering for NLP at the University of Washington. Thanks to Emily Bender for letting us use them.