typedef struct lkb_tree { char *root_name; int id, edge_id; char *rule_id; char *sublabel_id; int ndaughters; struct lkb_tree *daughters; int rx, ry, left, right, height; int label_width, sl_width; int *refcnt; } lkb_tree; int parse_tree(char **INPUT, int *TYPE, void **DATA); void free_lkb_tree(lkb_tree *t); struct lui_hierarchy { char *name; int npar, *par; int nsub, *sub; }; int parse_hierarchy(char **INPUT, int *TYPE, void **DATA); void free_hierarchy(struct lui_hierarchy *h);