;;; -*- Mode: tdl; Coding: utf-8; -*-
;;;
;;;  Copyright (c) 1994-2013
;;;    Dan Flickinger, Rob Malouf, Emily M. Bender
;;;    see LICENSE for conditions
;;;
;;;  lexrinst.tdl
;;;
;;;  Instances of lexical rules defined in lexrules.tdl
;;;
;;;  Created: Ann Copestake, 30-Sept-97
;;;
;;;  $Id: lexrinst.tdl 7043 2009-09-03 18:26:55Z oe $
; 
; Subject-auxiliary inversion      
; Did they arrive?           
; 
; 
; 
v_aux-sb-inv_dlr := sai &
  [ RNAME lsai ].
; 
; Conditional inversion            
; Had he left, we'd have left.
; 
; 
; 
v_cond-inv_dlr := cond_sai &
  [ RNAME csai ].
; 
; Addition of adverb as complement 
; They did not arrive.       
; 
; 
; 
v_aux-advadd_dlr := adv_addition &
  [ RNAME ladv ].
; 
; Elided VP compl, referentl subj  
; He did.                    
; 
; 
; 
v_aux-ell-ref_dlr := vp_ellipsis_ref &
  [ RNAME lver ].
; 
; Elided VP compl, expletive subj  
; It did.                    
; 
; 
; 
v_aux-ell-xpl_dlr := vp_ellipsis_expl &
  [ RNAME lvex ].
; 
; Nominal gerund of intrans verb   
; Leaving was easy.          
; 
; 
; 
v_nger-intr_dlr := intrans_nominal_gerund &
  [ RNAME lngi ].
; 
; Nominal gerund of PP-comp verb   
; Relying on Kim was wrong.  
; 
; 
; 
v_nger-pp_dlr := intrans_pp_nominal_gerund &
  [ RNAME lngp ].
; 
; Nominal gerund of trans verb     
; The hiring of Kim was OK.  
; 
; 
; 
v_nger-tr_dlr := trans_nominal_gerund &
  [ RNAME lngt ].
; 
; Month name as determiner         
; July tenth arrived.        
; 
; 
; 
n_det-mnth_dlr := month_det_lr &
  [ RNAME lmd ].
; 
; Weekday name as determiner       
; We arrived Sunday morning. 
; 
; 
; 
n_det-wkdy_dlr := weekday_det_lr &
  [ RNAME lwd ].
; 
; Attrib adj from trans pred adj   
; A similar cat arrived.     
; 
; 
; 
j_att_dlr := attr_adj_lr &
  [ RNAME lja ].
; 
; Attrib adj from intrans verb     
; The sleeping cat stirred.  
; 
; 
; 
v_j-nb-intr_dlr := attr_verb_part_lr &
  [ RNAME ljv ].
; 
; Attr adj from trans prp verb     
; The admiring crowd ran.    
; 
; 
; 
v_j-nb-prp-tr_dlr := attr_verb_part_tr_lr &
  [ RNAME ljvt ].
; 
; Attr adj from trans passive verb 
; The hired consultant left. 
; 
; 
; 
v_j-nb-pas-tr_dlr := attr_verb_part_psv_lr &
  [ RNAME ljvp ].
; 
; Attr adj from passive verb+selPP 
; The hoped for consultant left. 
; 
; 
; 
v_j-nb-pas-ptcl_dlr := attr_verb_part_ptcl_psv_lr &
  [ RNAME ljvr ].
; 
; Attr adj from intr verb, nme mod 
; The smiling Abrams won.    
; 
; 
; 
v_j-nme-intr_dlr := attr_verb_part_intr_namemod_lr &
  [ RNAME ljvn ].
; 
; Attr adj from trns verb, nme mod 
; Our winning Abrams smiled. 
; 
; 
; 
v_j-nme-tr_dlr := attr_verb_part_tr_namemod_lr &
  [ RNAME ljnt ].
; 
; Partitive NP, PP-of, num agrmt   
; Some of us are ready.      
; 
; 
; 
det_prt-of-agr_dlr := part_ppof_agr_constr &
  [ RNAME lpca ].
; 
; Partitive NP, PP-of, no agrmt    
; Each of us is ready        
; 
; 
; 
det_prt-of-nagr_dlr := part_ppof_noagr_constr &
  [ RNAME lpcn ].
; 
; Partitive NP, no PP complement   
; Most arrived. part_nocomp  
; 
; 
; 
det_prt-nocmp_dlr := part_nocomp_constr &
  [ RNAME lpn ].
; 
; Particle-NP reordering           
; He looked the answer up.   
; 
; 
; 
v_np-prtcl_dlr := NP_particle_lr &
  [ RNAME lnpp ].
; 
; Dative shift alternation         
; They gave the book to him. 
; 
; 
; 
v_dat_dlr := dative_shift_lr &
  [ RNAME ldat ].
; 
; Integer as minute name           
; Ten sixteen is too late.   
; 
; 
; 
j_n-minut_dlr := minute_prep_lr &
  [ RNAME lmin ].
; 
; Tag question auxiliary           
; He arrived, didn't he?     
; 
; 
; 
v_aux-tag_dlr := tag &
  [ RNAME ltag ].
; 
; Adj no-comps plus enough-compl   
; A big enough cat arrived.  
; 
; 
; 
j_enough_dlr := enough_addition_nocomps &
  [ RNAME leno ].
; 
; Adj w/comps plus enough-compl    
; A happy enough cat arrived.
; 
; 
; 
j_enough-wc_dlr := enough_addition_wcomp &
  [ RNAME lenc ].
; 
; Relax bipartite constraint       
; The scissors isn't sharp.  
; 
; 
; 
n_bipart_dlr := bipart_lr &
  [ RNAME lbpt ].
; 
; Italicized word made into NP     
; Some say /windshield/.     
; 
; 
; 
w_italics_dlr := foreign_lr &
  [ RNAME lfw ].
; 
; Main verb inversion for quoting  
; He left, said Kim.         
; 
; 
; 
v_inv-quot_dlr := inverted_quote_lr &
  [ RNAME linq ].
; 
; Noun with |-ed| suffix as adj    
; Long-eared sheep slept.    
; 
; 
; 
n_n-ed_odlr := 
%suffix (* ed) (!ty !tied) (e ed) (!t!v!c !t!v!c!ced) 
noun_adj_lr &
  [ ND-AFF +,
    RNAME lnj ].
; 
; pre- prefix on nouns             
; The pre-war period endured.
; 
; 
; 
j_n-pre_odlr := 
%prefix (* pre) (* pre-) 
pre_noun_adj_lr &
  [ ND-AFF +,
    RNAME ljnp ].
; 
; Verb with |re-| prefix           
; He re-tied his shoe.       
; 
; 
; 
v_v-re_dlr := 
%prefix (* re) (* re-) 
verb_prefix_rule &
 [ ND-AFF +,
   RNAME lre,
   SYNSEM.PHON.ONSET con,
   C-CONT.RELS  ].
; 
; Verb with |pre-| prefix          
; He pre-signed the check.   
; 
; 
; 
v_v-pre_dlr := 
%prefix (* pre) (* pre-) 
verb_prefix_rule &
 [ ND-AFF +,
   RNAME lpre,
   SYNSEM.PHON.ONSET con,
   C-CONT.RELS  ].
; 
; Verb with |mis-| prefix          
; He mis-tied his shoe.      
; 
; 
; 
v_v-mis_dlr := 
%prefix (* mis) (* mis-) 
verb_prefix_rule &
 [ ND-AFF +,
   RNAME lmis,
   SYNSEM.PHON.ONSET con,
   C-CONT.RELS  ].
;;;
;;; _fix_me_
;;; to make this rule functional, token mapping would have to not separate off
;;; |co-| (in `derivational_prefix_tmr').  however, doing that would then mean
;;; that either (a) we provide a prefixation rule for other parts of speech too
;;; (`co-author', maybe `co-educational') or minimally adjust existing lexical
;;; entries (currently MWEs); or (b) that we create a token-level ambiguity; i
;;; hesitate doing the latter.  but maybe it would not be so bad, in the end?
;;; the same problem applies to other derivational rules, of course.
;;;                                                             (13-mar-09; oe)
; 
; Verb with |co-| prefix           
; He co-wrote the paper.     
; 
; 
; 
v_v-co_dlr := 
%prefix (* co-) 
verb_prefix_rule &
 [ ND-AFF +,
   RNAME lco,
   SYNSEM.PHON.ONSET con,
   C-CONT.RELS  ].
; 
; Verb with |un-| prefix           
; He untied his shoe.        
; 
; 
; 
v_v-un_dlr := 
%prefix (* un) (* un-) 
verb_prefix_rule &
 [ ND-AFF +,
   RNAME lunv,
   SYNSEM.PHON.ONSET voc,
   C-CONT.RELS  ].
; 
; Verb with |counter-| prefix      
; He counter-signed the bill.
; 
; 
; 
v_v-counter_dlr := 
%prefix (* counter) (* counter-) 
verb_prefix_rule &
 [ ND-AFF +,
   RNAME lctv,
   SYNSEM.PHON.ONSET con,
   C-CONT.RELS  ].