This program extracts tagged tokens from tsdb profile (virtual profiles included, item numbers must be unique). Works by extracting the p-input field of the profile, and matching between the leaves of the derivation and the tokens of the p-input file according to the token IDs in the token feature structures of the derivation. Install directions: autoreconf -i ./configure make Usage: tagextract [options] grammar-file profile Options: -h [ --help ] This usage information. -i [ --infl ] Tags include morphological inflection rules. --format arg (=TNT) token format:TNT,CANDC,CONLL,FSC (default: TNT) -n [ --num ] Output item and parse number. -g [ --goldonly ] Only extract tags from 'gold' trees -a [ --analysis ] arg (=-1) Select a specific analysis, default (-1): all. -m [ --map ] arg File containing mappings between lexical types (for gles). -l [ --limit ] arg (=0) Number of readings at which a context is ignored. Set to nbest to negate the effect of using a model during parsing. ./tagextract -m ~/work/supertagging/genle.map \ ${LOGONROOT}/lingo/erg/english.tdl ${LOGONROOT}lingo/erg/tsdb/gold/ws01/