next up previous contents
Next: Typed Constituents: the FSET Up: Typed Features: define-feature-type Previous: The under Family of

Drawing Type Hierarchies

A pictorial representation of the type hierarchy often helps tremendously to document a grammar. The functions draw-types and types-postscript create such pictures given the FUF type declarations.

          

DRAW-TYPES (&optional root) Produces a character mode picture of the type hierarchy defined in FUF.

TYPES-POSTSCRIPT (root filename &key (shrink t)) Produces a postscript file depicting the type hierarchy defined in FUF. Use root = nil to draw all the types currently defined. Root can also be a list of type names, or a single type name.

Example of output:

> (draw-types 'relation) |- RELATION + |- ASCRIPTIVE |- POSSESSIVE |- LOCATIVE + |- SPATIAL |- TEMPORAL |- ACCOMPANIMENT |- EXISTENTIAL |- NATURAL-PHENOM

>

   



Michael Elhadad - elhadad@cs.bgu.ac.il