;;; -*- Mode: TDL; Coding: utf-8 -*- ;;; Authors: ;;; 2007 Peter Adolphs & NĂºria Bertomeu ;;; ;;; Copyright: DFKI GmbH ;; ;; The feature structures of input items are unified into the feature ;; structures of lexical items under a specified path (here, TOKEN; cf. ;; `lexitem-inpitem-path' setting). ;; redefines stem-or-lex-sign from synsem-types.tdl ;; stem-or-lex-sign := stem-or-sign & [synsem [lper -, rper -, phrase -], MALRULE #malrule, TOKENS < +tok & [+ACROCHECK.MALRU #malrule] > ]. ;; ;; token feature structures ;; +tok := *top* & [ +IDS *list*, +FORM string, +CFROM string, ; character start position +CTO string, ; character end position +TNT +tnt, ; PoS tags using STTS tagset +MORPH +morphlist, ; inflectional readings from MMORPH +ACROCHECK +acrocheck, ; mal featues +UNIAGR uniagr ]. ; +UNIAGR must not be set in the input! +tnt := *top* & [ +TAGS *list*, +PRBS *list* ]. +morph := *top* & [ +LEMMA string, +MCAT string, +HEAD-LEMMA string, +FEATURES string]. +morphlist := *list*. +morphcons := +morphlist & *cons* & [ FIRST +morph , REST +morphlist ]. +morphnull := +morphlist & *null*. +acrocheck := *top* & [ MALRU malrule ].