;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; lrule-types.tdl ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;defined like that in the textbook grammar. lrule-super :< lex-item. word+arg_real := lrule-super & [ ORTH #orth, ARGS < [ ORTH #orth ] > ]. lrule := lrule-super & [ ARGS < lexeme & [ AFFIX #affix, ARGS < [ AFFIX #affix ] > ] >, NEEDS-AFFIX boolean ], status: lex-rule. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;changed 04/25 ;;;default arg-st added lrule-general := lrule & word & [ SYN #syn, SEM #sem, ARG-ST /l #arg-st, ARGS < [SYN #syn, SEM #sem, ARG-ST /l #arg-st ] > ]. ;;; <<>> LEXICAL RULES pres-verb-lex-rule := lrule & word & [ SYN #syn, SEM [ MODE #mode, INDEX #1, RESTR [ LIST < [ RELN r_t-overlap, ARG1 #1, ARG2 now] . #restr >, LAST #semlast ]], ARG-ST #arg-st, ARGS < lexeme & [ SYN #syn, SEM [ MODE #mode, RESTR [ LIST #restr, LAST #semlast ]], ARG-ST #arg-st ] > ]. ;;;changed 06/26 pret-verb-lex-rule := lrule & word & [ SYN #syn, SEM [ MODE #mode, INDEX #1, RESTR [ LIST < [RELN r_t-precede, ASPECT completed, ARG1 #1, ARG2 now] . #restr >, LAST #semlast ]], ARG-ST #arg-st, ARGS < lexeme & [ SYN #syn, SEM [ MODE #mode, RESTR [ LIST #restr, LAST #semlast ]], ARG-ST #arg-st ] > ]. imperf-verb-lex-rule := lrule & word & [ SYN #syn, SEM [ MODE #mode, INDEX #1, RESTR [ LIST < [RELN r_t-precede, ASPECT not_completed, ARG1 #1, ARG2 now] . #restr >, LAST #semlast ]], ARG-ST #arg-st, ARGS < lexeme & [ SYN #syn, SEM [ MODE #mode, RESTR [ LIST #restr, LAST #semlast ]], ARG-ST #arg-st ] > ]. ;;; <<>> NOMINAL LEXICAL TYPES ;;; two rules for 3rd-sing-nouns: ;;; they will define Gender, when it is underspecified in the lexical entry, ;;; and otherwise they won't unify. ;;; changed to define MORPHGEND false in the lexical entries underspecified for MORPHGEND (01/25). 3rd-sing-noun-masc := affix & [ SYN [ HEAD noun & [ AGR 3singmasc & [ NUM sing, PER 3rd, GEND masc, MORPHGEND /l false ] ] ] ]. 3rd-sing-noun-fem := affix & [ SYN [ HEAD noun & [ AGR 3singfem & [ NUM sing, PER 3rd, GEND fem, MORPHGEND /l false ] ] ] ]. plur-noun := affix & [ SYN [ HEAD noun & [ AGR [ NUM plur ] ] ] ]. ;;;number underspecified singandplur-noun := affix & [ SYN [ HEAD noun & [ AGR [ NUM singandplur ] ] ] ]. ; <<>> VERBAL LEXICAL TYPES inf-verb := affix & [ SYN [ HEAD verb & [ FORM inf, PRED false ] ] ]. ;;;changed 06/27 pres-verb := affix & [ SYN [ HEAD verb & [ FORM fin, PRED false ] ] ]. ;;;added 06-27 pret-verb := affix & [ SYN [ HEAD verb & [ FORM fin, PRED false ] ] ]. imperf-verb := affix & [ SYN [ HEAD verb & [ FORM fin, PRED false ] ] ]. ;;;added 06/22 gerundive-verb := affix & [ SYN [ HEAD verb & [ FORM ger, PRED true ] ] ]. past-part-verb := affix & [ SYN [ HEAD verb & [ FORM perf, PRED false ] ] ]. ;;;changed 06/27 (SEM) 1st-sing-verb := affix & [ SYN [ HEAD verb & [ FORM fin, PRED false] ], ARG-ST < [ SYN [ HEAD [ CASE nom, AGR 1sing & #1 & [ PER 1st, NUM sing ] ] ], SEM [ INDEX #1 ] ], ... >, SEM [ RESTR ] ]. 2nd-sing-verb := affix & [ SYN [ HEAD verb & [ FORM fin, PRED false] ], ARG-ST < [ SYN [ HEAD [ CASE nom, AGR #1 & 2sing ] ], SEM [ INDEX #1 ] ], ... >, SEM [ RESTR ] ]. ;;; changed 05/17 - AGR 3sing added ;;; rearranged 06/16 ;;; SEM changed 06/27 3rd-sing-verb := affix & [ SYN [ HEAD verb & [ FORM fin, PRED false ] ], ARG-ST < [ SYN [ HEAD [ CASE nom, AGR #1 & 3sing ] ], SEM [ INDEX #1 ] ], ... >, SEM [ RESTR ] ]. ;3rd-sing-verb := affix & ;[ SYN [ HEAD verb & [ FORM fin, ; PRED false ] ] ]. ;3rd-sing-masc-verb := 3rd-sing-verb & ;[ ARG-ST < [ SYN [ HEAD [ AGR [ GEND masc ] ] ] ], ... > ]. ;3rd-sing-fem-verb := 3rd-sing-verb & ;[ ARG-ST < [ SYN [ HEAD [ AGR [ GEND fem ] ] ] ], ... > ]. 1st-plur-verb := affix & [ SYN [ HEAD verb & [ FORM fin, PRED false] ], ARG-ST < [ SYN [ HEAD [ CASE nom, AGR #1 & 1plur ] ], SEM [ INDEX #1 ] ], ... >, SEM [ RESTR ] ]. 2nd-plur-verb := affix & [ SYN [ HEAD verb & [ FORM fin, PRED false] ], ARG-ST < [ SYN [ HEAD [ CASE nom, AGR #1 & 2plur ] ], SEM [ INDEX #1 ] ], ... >, SEM [ RESTR ] ]. 3rd-plur-verb := affix & [ SYN [ HEAD verb & [ FORM fin, PRED false ] ], ARG-ST < [ SYN [ HEAD [ CASE nom, AGR #1 & 3plur ] ], SEM [ INDEX #1 ] ], ... >, SEM [ RESTR ] ]. ;;;should there be a distinction between 3sing and the others? ;;;pro-drop of third person sing seems to be more restrictive.