;;; -*- Mode: tdl; Coding: utf-8; -*- ;;; ;;; Copyright (c) 1994-2018 ;;; Dan Flickinger, Rob Malouf, Emily M. Bender ;;; see LICENSE for conditions ;;; ;;; constructions.tdl ;;; ;;; The instances of phrases defined in syntax.tdl ;;; ;;; Created: Ann Copestake, 30-Sept-97 ;;; ;;; $Id: constructions.tdl 7479 2010-02-21 23:11:30Z danf $ ;; ;; Constructions ; ; Head+subject, main clause ; C arrived. ; ; ; sb-hd_mc_c := subjh_mc_rule & [ RNAME sbhd ]. ; Non-main-clause ; ; Hd+subject, embedded clause ; B thought [C arrived]. ; ; ; sb-hd_nmc_c := subjh_nonmc_rule & [ RNAME sbhn ]. ; ; Hd+subj, in-situ WH ; B ate what? ; ; ; sb-hd_q_c := subjh_rule_wh_insitu & [ RNAME sbhq ]. ; ; Hd+complement ; B [hired C]. ; ; ; hd-cmp_u_c := hcomp_rule & [ RNAME hcp ]. ; ; Hd+second complement ; B [gave to C] E. ; ; ; hd-cmp_2_c := h2comp_rule & [ RNAME hcp2 ]. ; ; Head discharges optional compl ; B [ate] already. ; ; ; hd_optcmp_c := hoptcomp_rule & [ RNAME hcpo ]. ; ; NomHd discharges opt complement ; The [picture] appeared. ; ; ; hdn_optcmp_c := noptcomp_rule & [ RNAME ncpo ]. ; ; Marker + event-based complement ; B sang [and danced.] ; ; ; mrk-nh_evnt_c := hmark_e_phr_rule & [ RNAME hmke ]. ; ; Marker + clause ; B sang [and C danced.] ; ; ; mrk-nh_cl_c := hmark_s_phr_rule & [ RNAME hmkc ]. ; ; Marker + NP ; Cats [and some dogs] ran. ; ; ; mrk-nh_nom_c := hmark_nom_rule & [ RNAME hmkn ]. ; ; Marker + N-bar ; Every cat [and dog] ran. ; ; ; mrk-nh_n_c := hmark_nbar_rule & [ RNAME hmkb ]. ; ; Paired marker + phrase ; [Both B] and C arrived. ; ; ; mrk-nh_atom_c := hmark_atomic_rule & [ RNAME hmka ]. ; ; Head extracts compl (to SLASH) ; Who does B [admire] now? ; ; ; hd_xcmp_c := extracomp_rule & [ RNAME hcpx ]. ; ; Extract subject from finite hd ; Who do you think [went?] ; ; ; hd_xsb-fin_c := extrasubj_fin_rule & [ RNAME shxf ]. ; ; Hd+specifier, nonhd = sem hd ; [Every cat] slept. ; ; ; sp-hd_n_c := hspec_rule & [ RNAME sph ]. ; ; Hd+specifier, hd = sem hd ; The [very old] cat slept. ; ; ; sp-hd_hc_c := hspec_hc_rule & [ RNAME sphh ]. ; ; Hd+specifier w/comp, hd = sem hd ; The [more ancient| cat than mine slept. ; ; ; sp-hd_hc-cmp_c := hspec_hc_cmp_rule & [ RNAME sphc ]. ; ; Hd+preceding scopal adjunct ; Probably B won. ; ; ; aj-hd_scp_c := adjh_s_rule & [ RNAME mhs ]. ; ; Hd+prec.scop.adj, VP head ; B [probably won]. ; ; ; aj-hd_scp-xp_c := adjh_s_nopair_rule & [ RNAME mhv ]. ; ; Hd+pr.scop.adj, VP hd, prd pnct ; If C loses, B wins. ; ; ; aj-hd_scp-pr_c := adjh_s_prpnct_rule & [ RNAME mhvp ]. ; ; Hd+foll.scop.adjnct, paird pnct, not main clause ; B [wins, if C loses.] ; ; ; hd-aj_scp-pr_c := hadj_s_prpnct_nmc_rule & [ RNAME hms ]. ; ; Hd+foll.scop.adjnct, paird pnct, main clause ; [B wins,][if C loses.] ; ; ; hd-aj_scp-pr-mc_c := hadj_s_prpnct_mc_rule & [ RNAME hmsm ]. ; ; Hd+following scopal adjunct ; B wins if C loses. ; ; ; hd-aj_scp_c := hadj_s_nopair_rule & [ RNAME hmsn ]. ; ; Nominal head + preceding adjnct ; The [big cat] slept. ; ; ; aj-hdn_norm_c := adj_n_rule & [ RNAME mhn ]. ; ; Nominal head + preceding adjnct ; The [big cat] slept. ; ; ; aj-hdn_crd-cma_c := adj_n_crd_comma_rule & [ RNAME mhnc ]. ; ; NomHd+prec.adj, hd pre-modified ; The [big old cat] slept. ; ; ; aj-hdn_adjn_c := adj_adjn_rule & [ RNAME mhna ]. ; ; Hd+prec.intersective adjunct ; B [quickly left]. ; ; ; aj-hd_int_c := adjh_i_rule & [ RNAME mhi ]. ; ; Hd+prec.int.adjnct, hd inverted ; On Tuesday, can you stay? ; ; ; aj-hd_int-inv_c := adjh_i_inv_rule & [ RNAME mhiv ]. ; ; Hd+prec.int.adjnct, hd wh-subj ; On Tuesday, who arrived? ; ; ; aj-hd_wh-sbj_c := adjh_i_whsbj_rule & [ RNAME mhiq ]. ; ; NomHd+following relative clause ; The [cat we chased] ran. ; ; ; hdn-aj_rc_c := hadj_i_relcl_npr_rule & [ RNAME hmrn ]. ; ; NomHd+foll.rel.cl, paired pnct ; A [cat, which ran,] fell. ; ; ; hdn-aj_rc-pr_c := hadj_i_relcl_pr_rule & [ RNAME hmrc ]. ; ; NomHd+foll.rel.cl, proper name hd, parenthesized rel-cl ; Kim (called Browne) fell. ; ; ; hdn-aj_rc-propr_c := hadj_i_relcl_proper_rule & [ RNAME hmrp ]. ; ; NomHd+foll.predicative phrase ; A [cat in a tree] fell. ; ; ; hdn-aj_redrel_c := hadj_i_redrel_npr_rule & [ RNAME hmpn ]. ; ; NomHd+foll.prd.phr, paired pnct ; A [cat, in a tree,] fell. ; ; ; hdn-aj_redrel-pr_c := hadj_i_redrel_pr_rule & [ RNAME hmpc ]. ; ; NomHd +post-head title phrase ; We admired Ellis island. ; ; ; hdn-aj_title_c := hadj_i_title_rule & [ RNAME hmnt ]. ; ; Hd+foll.int.adjct, no gap ; B [left quietly]. ; ; ; hd-aj_int-unsl_c := hadj_i_unsl_rule & [ RNAME hmiu ]. ; ; Hd+foll.int.adjct, gap in adj ; That cafe, we [dined in]. ; ; ; hd-aj_int-sl_c := hadj_i_sl_rule & [ RNAME hmis ]. ; ; Hd+foll.int.adjct, prec. NP cmp ; B [saw here] a big parade. ; ; ; hd-aj_vmod_c := v_mod_int_rule & [ RNAME vlmi ]. ; ; Hd+foll.scop.adjct, prec. NP cmp, verb and adj heads ; B [saw here] a big parade. ; ; ; hd-aj_vmod-s_c := v_mod_scop_rule & [ RNAME vlms ]. ; ; Hd+foll.scop.adjct, prec. NP cmp, noun head only ; B [saw here] a big parade. ; ; ; hd-aj_vmod-s-n_c := v_mod_noun_scop_rule & [ RNAME vlmns ]. ; ; Conj+foll.int.adjct, prec. NP cmp ; B [and yesterday] C arose. ; ; ; hd-aj_cmod_c := conj_mod_int_rule & [ RNAME clmi ]. ; ; Conj+foll.scop.adjct, prec. NP cmp ; B [and probably] C arose. ; ; ; hd-aj_cmod-s_c := conj_mod_scop_rule & [ RNAME clms ]. ; ; PP modifying PP ; In Paris near the Louvre stands a church. ; ; ; pp-pp_mod_c := prep_mod_prep_rule & [ RNAME ppmpp ]. ; ; Extract int.adjunct from VP ; Here we [stand.] ; ; ; hd_xaj-int-vp_c := extradj_i_vp_rule & [ RNAME hmxv ]. ; ; Extract int.adjunct from S ; When is he Kim? ; ; ; hd_xaj-int-s_c := extradj_i_s_rule & [ RNAME hmxs ]. ; ; Extract adjunct from coord S ; Now B arises and C arrives ; ; ; hd_xaj-crd-s_c := extradj_i_s_coord_rule & [ RNAME hmxc ]. ; ; Rel.clause from fin.S, no relpr ; The cat [we chased] ran. ; ; ; cl_rc-fin-nwh_c := fin_non_wh_rel_rule & [ RNAME rclf ]. ; ; Rel.cl. fr.infin VP, non-sb gap ; People [to admire] sang. ; ; ; cl_rc-inf-nwh_c := inf_non_wh_rel_rule & [ RNAME rcli ]. ; ; Rel.cl. from infin VP, subj gap ; Dogs [to chase cats] run. ; ; ; cl_rc-inf-nwh-sb_c := inf_non_wh_subj_rel_rule & [ RNAME rcls ]. ; ; Rel.cl. fr.inf.VP,no gap, instr ; Money [to buy lunch] fell. ; ; ; cl_rc-instr_c := instr_inf_non_wh_rel_rule & [ RNAME rcln ]. ; ; Rel.cl. fr.fin.S,mod gap ; The day [we arrived] fell. ; ; ; cl_rc-fin-modgap_c := fin_modgap_rel_rule & [ RNAME rcmf ]. ; ; Rel.cl. fr.inf.S,mod gap ; The day [to arrive] fell. ; ; ; cl_rc-inf-modgap_c := inf_modgap_rel_rule & [ RNAME rcmi ]. ; ; Rel.cl. from predicative VP ; Dogs [chasing cats] bark. ; ; ; vp_rc-redrel_c := red_rel_cl_rule & [ RNAME rclv ]. ; ; Pred.subord phr from prp-VP ; Kim arrived, [smiling.] ; ; ; vp_sbrd-prd-prp_c := subconj_prdp_prp_rule & [ RNAME scpr ]. ; ; Pred.subord phr from passive VP ; Kim arrived, [inspired.] ; ; ; vp_sbrd-prd-pas_c := subconj_prdp_pas_rule & [ RNAME scps ]. ; ; Pred.subord phr from adjctv phr ; Kim arrived, [very happy.] ; ; ; vp_sbrd-prd-aj_c := subconj_prdp_adj_rule & [ RNAME scpa ]. ; ; Pred.subord phr, modfs ellip.VP ; Kim might, [given time.] ; ; ; vp_sbrd-prd-ell_c := subconj_prdp_ellip_rule & [ RNAME scpe ]. ; ; Pred.subord phr fr.adj, prehead ; [Unhappy,] we left. ; ; ; j_sbrd-pre_c := subconj_prdp_a_init_rule & [ RNAME sca ]. ; ; Pred.subord phr fr.VP, prehead ; [Seeing Kim] they left. ; ; ; vp_sbrd-pre_c := subconj_prdp_v_init_rule & [ RNAME scv ]. ; ; Pred.subord phr fr.lex VP, prehd ; [Smiling,] Kim arose. ; ; ; vp_sbrd-pre-lx_c := subconj_prdp_v_init_lex_rule & [ SYNSEM.PUNCT.RPUNCT comma_punct, RNAME scvl ]. ; ; Bare noun phrase (no determiner) ; [Cats] sleep. ; ; ; hdn_bnp_c := bare_np_rule & [ RNAME bnp ]. ; ; Bare predicative noun phrase ; B will be president. ; ; ; hdn_bnp-prd_c := bare_np_prd_rule & [ RNAME bnpp ]. ; ; Bare NP from proper name ; [Browne] arrived. ; ; ; hdn_bnp-pn_c := proper_np_rule & [ RNAME nppr ]. ; DPF 30-mar-10 - Moved constraint on SPR here from syntax.tdl, but maybe ; it's not necessary? - FIX ; ; Bare NP from number ; [42] is even. ; ; ; hdn_bnp-num_c := num_np_rule & [ ARGS < [ SYNSEM.LOCAL.CAT.VAL.SPR < canonical_synsem > ] >, RNAME npnb ]. ; ; NP from already-quantified dtr ; [Some in Paris] slept. ; ; ; hdn_bnp-qnt_c := bare_npq_rule & [ RNAME npbq ]. ; ; NP fr. detless bare sg N-N cpnd ; It was at [eye level.] ; ; ; hdn_bnp-sg-nmod_c := detlesspp_np_nmod_rule & [ RNAME dnpn ]. ; ; NP fr. detless bare sg adj+noun ; It was at [close range.] ; ; ; hdn_bnp-sg-jmod_c := detlesspp_np_jmod_rule & [ RNAME dnpj ]. ; ; NP fr. detless bare sg unmodfd ; It was within [range.] ; ; ; hdn_bnp-sg-nomod_c := detlesspp_np_nomod_rule & [ RNAME dnpx ]. ; ; NP from verbal gerund ; Hiring them was easy. ; ; ; hdn_bnp-vger_c := bare_vger_rule & [ RNAME npvg ]. ; ; Compound from proper-name+noun ; The [IBM report] arrived. ; ; ; np-hdn_cpd_c := np_n_cmpnd_rule & [ RNAME npn ]. ; ; Compound, proper+noun, paird pnct ; The [Cupertino, Calif., company] arrived. ; ; ; np-hdn_cpd-pr_c := np_n_cmpnd_pr_rule & [ RNAME nppn ]. ; ; Compound from title+proper-name ; [Professor Browne] left. ; ; ; np-hdn_ttl-cpd_c := np_title_cmpnd_rule & [ RNAME npnt ]. ; ; Compound from title+plural proper ; [Mssrs. B and C] left. ; ; ; np-hdn_ttl-cpd-pl_c := np_title_cmpnd_pl_rule & [ RNAME nptp ]. ; ; Compound from two proper names ; [Pat Browne] left. ; ; ; np-hdn_nme-cpd_c := np_name_cmpnd_rule & [ RNAME npnm ]. ; ; Compound from noun+number ; Do [problem 6] first. ; ; ; np-hdn_num-cpd_c := np_num_cmpnd_rule & [ RNAME npno ]. ; ; Compound from city+state names ; [Portland, Oregon] grew. ; ; ; np-hdn_cty-cpd_c := np_city_state_rule & [ RNAME npcs ]. ; ; Compound from two normal nouns ; The [guard dog] barked. ; ; ; n-hdn_cpd_c := noun_n_cmpnd_rule & [ RNAME nnc ]. ; ; Compound from noun+[adj+noun] ; kitchen heavy appliance ; ; ; n-hdn_j-n-cpd_c := noun_adjn_cmpnd_rule & [ RNAME nanc ]. ; ; Compound from two nouns where nonhead is plural ; The [systems analyst] slept. ; ; ; n-hdn_cpd-pl_c := noun_n_cmpnd_pl_rule & [ RNAME nncp ]. ; ; Compound from two nouns where nonhead is coord (uninflected) ; measure-NP ; The [two-year and three-year notes] arrived. ; ; ; n-hdn_cpd-pl-mnp_c := noun_n_cmpnd_pl_mnp_rule & [ RNAME nncpm ]. ; ; Compound from two nouns where nonhead is plural and head is ; already a compound. ; The [$10 million, [three-year contract]] arrived. ; ; ; n-hdn_cpd-pl-nlx_c := noun_n_cmpnd_pl_nonlex_rule & [ RNAME nncpn ]. ; ; Compound from noun+prdverb ; a [snow-covered] town ; ; ; n-v_j-cpd_c := n_v_cmpnd_rule & [ RNAME nvc ]. ; ; Compound from noun+trans-adj ; a [dog-happy] town ; ; ; n-j_j-t-cpd_c := n_adj_cmpnd_rule & [ RNAME natc ]. ; ; Compound from noun+adj ; a [dog-friendly] town ; ; ; n-j_j-cpd_c := n_adj_intr_cmpnd_rule & [ RNAME naic ]. ; ; Compound from adj+prdverb ; a [angry-looking] cat ; ; ; j-v_j-cpd_c := adj_v_cmpnd_rule & [ RNAME jvtoj ]. ; ; Adj-phr from adj + noun+ed ; the [long eared] dog ; ; ; j_n-ed_c := n-adj_rule & [ RNAME ntoj ]. ; ; Appositive fr.two NPs, w/commas ; [Joe, the plumber,] spoke. ; ; ; hdn-np_app-pr_c := appos_prpnct_rule & [ RNAME app ]. ; ; Appositive, NP2 prop, w/commas ; [the plumber, Joe,] spoke. ; ; ; hdn-np_app-r-pr_c := appos_prpnct_pnr_rule & [ RNAME appr ]. ; ; Appositive, NP2 number ; [Joe, 22,] spoke. ; ; ; hdn-np_app-num_c := appos_prpnct_num_rule & [ RNAME apnm ]. ; ; Appositive NP from two NPs ; [Joe the plumber] spoke. ; ; ; hdn-np_app_c := appos_nopair_rule & [ RNAME appn ]. ; ; Appositive, NP2 prop, nopair ; [The plumber Joe] spoke. ; ; ; hdn-np_app-r_c := appos_nopair_pnr_rule & [ RNAME apnr ]. ; ; Appositive with indef.NP modifr ; [Joe, a plumber,] spoke. ; ; ; hdn-np_app-idf_c := appos_indef_rule & [ RNAME appi ]. ; ; Appositive with indef.NP modif, first comma-marked, second not ; [Joe, a plumber] spoke. ; ; ; hdn-np_app-idf-rbc_c := appos_indef_rbc_rule & [ RNAME apir ]. ; ; Appositive, indef.NP, parnthszd ; [Joe (a plumber)] spoke. ; ; ; hdn-np_app-idf-p_c := appos_indef_paren_rule & [ RNAME apip ]. ; ; Appositive with N-bar modifier ; Kim, president of the PTA ; ; ; hdn-np_app-nbr_c := appos_nbar_rule & [ RNAME apnb ]. ; ; Appositive fr.two NPs, first comma-marked, second not ; [My friend, the plumber] spoke. ; ; ; hdn-np_app-rbc_c := appos_rbc_rule & [ RNAME appb ]. ; ; Appositive fr.two NPs, firstcomma-marked, second (proper) not ; [the plumber, Joe] spoke. ; ; ; hdn-np_app-pnr-rbc_c := appos_prop_rbc_rule & [ RNAME appp ]. ; ; Appositive fr.two NPs, meas-NPas second dtr ; [Bygdin 1:40000 arrived.] ; ; ; hdn-np_app-mnp_c := appos_measnp_rule & [ RNAME appm ]. ; ; Appositive fr.two NPs, w/commas, second deictic ; [One door, that for pets,] stayed open.. ; ; ; hdn-np_app-dx_c := appos_deictic_rule & [ RNAME appd ]. ; ; Modifier phrase from NP ; B arrived [this week.] ; ; ; np_adv_c := npadv_mod_rule & [ RNAME nadv ]. ; ; Modifier phrase from measure NP ; Markets fell [50 points.] ; ; ; np_adv-mnp_c := npadv_measnp_rule & [ RNAME nadvm ]. ; ; NP from number ; [700 billion] is too much. ; ; ; hdn_np-num_c := num_noun_rule & [ RNAME numn ]. ; ; NP from sequence of numbers ; The number is [48 205 53.] ; ; ; n-n_num-seq_c := num_noun_seq_rule & [ RNAME nseq ]. ; ; noun from color adjective ; [Red] suits you. ; ; ; hdn_color_c := color_noun_rule & [ RNAME ncol ]. ; ; Filler-head, non-wh filler ; Kim, we should hire. ; ; ; flr-hd_nwh_c := filler_head_rule_non_wh_edgen & [ RNAME fhne ]. ; ; Fill-head, non-wh, not NP, no comma ; Today we should arrive. ; ; ; flr-hd_nwh-nc_c := filler_head_rule_non_wh_infgen & [ RNAME fhni ]. ;; For fronted NPs, if no comma, then exclude imperative, to avoid spurious ;; analysis of |you work| ; ; Fill-head, non-wh, NP, no comma ; Kim we should hire. ; ; ; flr-hd_nwh-nc-np_c := filler_head_rule_non_wh_np & [ RNAME fhnn ]. ; ; Fill-head, wh non-subj, main cl ; Who did they hire? ; ; ; flr-hd_wh-mc_c := filler_head_rule_wh_root & [ RNAME fhw ]. ; ; Fill-head, wh subj, main cl ; Who left? ; ; ; flr-hd_wh-mc-sb_c := filler_head_rule_wh_subj & [ RNAME fhs ]. ; ; Fill-head, wh, fin hd, embed cl ; B wondered [who won.] ; ; ; flr-hd_wh-nmc-fin_c := filler_head_rule_wh_nr_fin & [ RNAME fhf ]. ; ; Fill-head, wh, inf hd, embed cl ; B knew [who to hire.] ; ; ; flr-hd_wh-nmc-inf_c := filler_head_rule_wh_nr_inf & [ RNAME fhi ]. ; ; Fill-head, finite, relative cls, NP gap ; people [who we admired] ; ; ; flr-hd_rel-fin_c := filler_head_fin_np_rel_rule & [ RNAME fhr ]. ; ; Fill-head, finite, relative cls, PP gap ; people [with whom we traveled] ; ; ; flr-hd_rel-fin-pp_c := filler_head_fin_pp_rel_rule & [ RNAME fhrp ]. ; ; Fill-head, inf, relative cls, PP gap ; people [on whom to rely] ; ; ; flr-hd_rel-inf_c := filler_head_inf_rel_rule & [ RNAME fhri ]. ; ; Free relative clause ; We run whenever Kim runs. ; ; ; hd-cl_fr-rel_c := free_rel_rule & [ RNAME frf ]. ; ; Conjnd VP, fin, top ; B [sees C and chases D.] ; ; ; vp-vp_crd-fin-t_c := vp_coord_fin_top_phr & [ RNAME ctvpf ]. ; ; Conjnd VP, fin, mid ; B rose, [sang, & chased D.] ; ; ; vp-vp_crd-fin-m_c := vp_coord_fin_mid_eg_phr & [ RNAME cmvpf ]. ; ; Conjnd VP, fin, mid, no comma ; B rose [sang & chased D.] ; ; ; vp-vp_crd-fin-im_c := vp_coord_fin_mid_ig_phr & [ RNAME cmfpi ]. ; ; Conjnd VP, nonfin, top ; B'll [see C and chase D.] ; ; ; vp-vp_crd-nfin-t_c := vp_coord_nonfin_top_phr & [ RNAME ctvpn ]. ; ; Conjnd VP, nonfin, mid ; B'll rise, [sing, & see D.] ; ; ; vp-vp_crd-nfin-m_c := vp_coord_nonfin_mid_eg_phr & [ RNAME cmvpn ]. ; ; Conjnd VP, nonfin, mid, no comma ; B'll rise [sing & see D.] ; ; ; vp-vp_crd-nfin-im_c := vp_coord_nonfin_mid_ig_phr & [ RNAME cmvpi ]. ; ; Conjnd V,VP, fin, no conjunctn ; B [sees C, chases D.] ; ; ; v-v_crd-fin-ncj_c := v_coord_fin_top_noconj_phr & [ RNAME ctvr ]. ; ; Conjnd V,VP, nonfin, no conjunctn ; B will [see C, chase D.] ; ; ; v-v_crd-nfin-ncj_c := v_coord_nonfin_top_noconj_phr & [ RNAME ctvrn ]. ; ; Conjoined clauses, non-int, top ; B sang and C danced. ; ; ; cl-cl_crd-t_c := s_coord_top_phr & [ RNAME cts ]. ; ; Conjnd clauses, interrog, top ; Who sang and who danced? ; ; ; cl-cl_crd-int-t_c := s_coord_int_top_phr & [ RNAME ctsq ]. ; ; Conjoined clauses, mid ; B sang, [C ran, & D sat.] ; ; ; cl-cl_crd-m_c := s_coord_mid_eg_phr & [ RNAME cmse ]. ; ; Conjoined clauses, no cma, mid ; B sang, [C ran & D sat.] ; ; ; cl-cl_crd-im_c := s_coord_mid_ig_phr & [ RNAME cmsi ]. ; ; Conjoined relative clauses ; people [who fly & who run] ; ; ; cl-cl_crd-rc-t_c := relcl_coord_top_phr & [ RNAME ctrt ]. ; ; Conjnd S, no conjunctn ; [B sees C, E chases D.] ; ; ; cl-cl_crd-ncj_c := s_coord_top_noconj_phr & [ RNAME ctsn ]. ; ; Conjnd PP, top ; B is [in Paris and at work] ; ; ; pp-pp_crd-t_c := pp_coord_top_phr & [ RNAME ctpp ]. ; ; Conjnd PP, mid ; B's [here, in P, & at work] ; ; ; pp-pp_crd-m_c := pp_coord_mid_eg_phr & [ RNAME cmpp ]. ; ; Conjnd PP, mid, no comma ; B's [here, in P & at work] ; ; ; pp-pp_crd-im_c := pp_coord_mid_ig_phr & [ RNAME cmppi ]. ; ; Conjnd selected-for PP, top ; B relies [on C and on D] ; ; ; pp-pp_crd-sel-t_c := pp_sel_coord_top_phr & [ RNAME ctps ]. ; ; Conjnd selected-for PP, mid ; B relies [on C, on D, and on E] ; ; ; pp-pp_crd-sel-m_c := pp_sel_coord_mid_phr & [ RNAME cmps ]. ; ; Conjoined noun phrases, top ; [The cat and the dog] ran. ; ; ; np-np_crd-t_c := np_coord_top_eg_rule & [ RNAME ctnp ]. ; ; Conjoined accus-case pro and NP ; [Me and Kim] left. ; ; ; np-np_crd-i-t_c := np_coord_top_ig1_rule & [ RNAME ctnp1 ]. ; ; Conjoined NP and accus-case pro ; [Kim and me] left. ; ; ; np-np_crd-i2-t_c := np_coord_top_ig2_rule & [ RNAME ctnp2 ]. ; ; Conjoined NP and nom-case pro ; B saw [Kim and I]. ; ; ; np-np_crd-i3-t_c := np_coord_top_ig3_rule & [ RNAME ctnp3 ]. ; ; Conjoined noun phrases, mid ; Kim, [Pat, and Tom] ran. ; ; ; np-np_crd-m_c := np_coord_mid_eg_rule & [ RNAME cmne ]. ; ; Conjoined NPs, no comma, mid ; Kim, [Pat and Tom] ran. ; ; ; np-np_crd-im_c := np_coord_mid_ig_rule & [ RNAME cmni ]. ; ; Conjoined NPs, no conj, mid ; Buy books, [tapes, films.] ; ; ; np-np_crd-nc-m_c := np_coord_mid_noconj_rule & [ RNAME cmnn ]. ; ; Conjoined nouns, no comma, mid ; Buy a book, [tape, film.] ; ; ; n-n_crd-nc-m_c := nbar_coord_mid_noconj_rule & [ RNAME cmnb ]. ; ; Conjoined NPs, no comma, top ; Buy [tapes, films.] ; ; ; np-np_crd-nc-t_c := np_coord_top_noconj_rule & [ RNAME ctnn ]. ; ; Conjnd Ns, sym agr, nondiv, top ; The [cat and dog] ran. ; ; ; n-n_crd-t_c := nbar_coord_top_1_nondiv_rule & [ RNAME ctn ]. ; ; Conjnd Ns, sym agr, div, same-lex, top ; The [cats and dogs] run. ; How much sand and gravel arrives? ; ; ; n-n_crd-div-t_c := nbar_coord_top_1_div_samelex_rule & [ RNAME ctnd ]. ; ; Conjnd Ns, sym agr, div, diff-lex1, top (nonlex) ; The [[cats with tails] and dogs] run. ; ; ; n-n_crd-div-dll-t_c := nbar_coord_top_1_div_asymlex1_rule & [ RNAME ctndl ]. ; ; Conjnd Ns, sym agr, div, diff-lex2, top (nonlex) ; The [dogs and [cats with tails]] run. ; ; ; n-n_crd-div-dlr-t_c := nbar_coord_top_1_div_asymlex2_rule & [ RNAME ctndr ]. ; ; Conjnd Ns, sym agr, mass, top, where number underspec ; The [sand and gravel] has/have arrived| ; ; ; n-n_crd-mass-t_c := nbar_coord_top_1_mass_rule & [ RNAME ctnm ]. ; ; Conjnd Ns, single referent, top ; My [friend and guide] ran. ; ; ; n-n_crd-3-t_c := nbar_coord_top_3_rule & [ RNAME ctn3 ]. ; ; Conjoined N-bars, mid ; No cat, [dog, or rat] ran. ; ; ; n-n_crd-m_c := nbar_coord_mid_eg_rule & [ RNAME cmen ]. ; ; Conjoined N-bars, no comma, mid ; No cat, [dog or rat] ran. ; ; ; n-n_crd-im_c := nbar_coord_mid_ig_rule & [ RNAME cmin ]. ; ; Conjnd Ns, asym agr, sg+pl, top ; The [cat and dogs] ran. ; ; ; n-n_crd-asym-t_c := nbar_coord_asym_top_rule & [ RNAME ctna ]. ; ; Conjnd Ns, asym agr, pl+sg, top ; The [cats and dog] ran. ; ; ; n-n_crd-asym2-t_c := nbar_coord_asym_top_2_rule & [ RNAME ctnb ]. ; ; Conjoined adjective + noun ; [wooden and marble] stairs ; ; ; j-n_crd-t_c := adj_noun_coord_rule & [ RNAME ctjn ]. ; ; Mid-coord for conjoined adjective + noun ; tall, [angry or monster] cat ; ; ; j-n_crd-m_c := adj_noun_coord_mid_rule & [ RNAME cmjn ]. ; ; Conjoined noun +adjective ; [marble and wooden] stairs ; ; ; n-j_crd-t_c := noun_adj_coord_rule & [ RNAME ctnj ]. ; ; Conjoined noun +adjective ; [marble and wooden] stairs ; ; ; n-j_crd-m_c := noun_adj_coord_mid_rule & [ RNAME cmnj ]. ; ; Conjnd attrib adjectives, top ; the [old and young] cats ; ; ; j-j_crd-att-t_c := adj_attr_coord_top_phr & [ RNAME ctaa ]. ; ; Conjnd attrib adjectives, mid, only for "or" ; the [old, young, or angry] cats ; ; ; j-j_crd-att-m_c := adj_attr_coord_mid_eg_phr & [ RNAME cmeaa ]. ; ; Conjnd attrib adjectives, no comma, mid, only for "or" ; the [old, young, or angry] cats ; ; ; j-j_crd-att-im_c := adj_attr_coord_mid_ig_phr & [ RNAME cmiaa ]. ; ; Conjnd pred adjs, top ; B is [young and tall]. ; ; ; j-j_crd-prd-t_c := adj_pred_coord_top_phr & [ RNAME ctap ]. ; ; Conjnd pred adjs, mid ; B is old, [big, and tall]. ; ; ; j-j_crd-prd-m_c := adj_pred_coord_mid_eg_phr & [ RNAME cmea ]. ; ; Conjnd pred adjs, no comma, mid ; B is old, [big and tall]. ; ; ; j-j_crd-prd-im_c := adj_pred_coord_mid_ig_phr & [ RNAME cmia ]. ; ; Conjnd subord prd phr, adj, top ; B ran, [happy but tired.] ; ; ; jpr-jpr_crd-t_c := ap_predp_coord_top_phr & [ RNAME ctax ]. ; ; Conjnd subord prd phr, adj, mid ; B ran, hot, [fit, and low] ; ; ; jpr-jpr_crd-m_c := ap_predp_coord_mid_eg_phr & [ RNAME cmax ]. ; ; Conjnd sbrd phr, adj,no-cma, mid ; B ran, hot, [fit and low.] ; ; ; jpr-jpr_crd-im_c := ap_predp_coord_mid_ig_phr & [ RNAME cmay ]. ; ; Conjnd sbrd prd phr, adj,V, top ; B ran, [happy and freed.] ; ; ; jpr-vpr_crd-t_c := vp_a-or-p_predp_coord_top_phr & [ RNAME ctav ]. ; ; Conjnd sbrd prd phr, adj,V, mid ; B ran, hot, [fit, and lit.] ; ; ; jpr-vpr_crd-m_c := vp_a-or-p_predp_coord_mid_eg_phr & [ RNAME cmav ]. ; ; Conjnd sbd phr, adj,V,no-cma, mid ; B ran, hot, [fit and lit.] ; ; ; jpr-vpr_crd-im_c := vp_a-or-p_predp_coord_mid_ig_phr & [ RNAME cmaz ]. ; ; Conjnd subord prd phr, VP, top ; B ran, [feared and loved.] ; ; ; vppr-vppr_crd-t_c := vp_predp_coord_top_phr & [ RNAME ctvpx ]. ; ; Conjnd subord prd phr, VP, mid ; B ran, torn, [bent, & cut] ; ; ; vppr-vppr_crd-m_c := vp_predp_coord_mid_eg_phr & [ RNAME cmvpx ]. ; ; Conjnd sbrd phr, VP, no-cma, mid ; B ran, torn, [bent & cut.] ; ; ; vppr-vppr_crd-im_c := vp_predp_coord_mid_ig_phr & [ RNAME cmvpy ]. ; ; Conjnd sbrd prd phr, PP+XP, top ; B ran, [in Rome but lost.] ; ; ; ppr-ppr_crd-t_c := pp_predp_coord_top_phr & [ RNAME ctpx ]. ; ; Conjnd sbrd prd phr, PP+XP, mid ; B ran, sad, [in R, & lost] ; ; ; ppr-ppr_crd-m_c := pp_predp_coord_mid_eg_phr & [ RNAME cmpx ]. ; ; Conjnd sbrd PP+XP, no-cma, mid ; B ran, sad, [in R & lost] ; ; ; ppr-ppr_crd-im_c := pp_predp_coord_mid_ig_phr & [ RNAME cmpy ]. ; ; Imperative clause from base VP ; Hire Browne! ; ; ; hd_imp_c := imperative_mc_rule & [ RNAME imp ]. ; ; Yes-no question from inverted S ; Did B arrive? ; ; ; hd_yesno_c := yesno_rule & [ RNAME ync ]. ; ; Inverted non-wh declarative cls ; Never [has B won here.] ; ; ; hd_inv-nwh_c := inv_decl_rule & [ RNAME idc ]. ; ; Measure NP from number+noun ; A [two liter] jar broke. ; ; ; num-n_mnp_c := measure_np_rule & [ RNAME mnp ]. ; ; Measure NP from meas-symbol+num ; We dislike [$6] fuel. ; ; ; n-num_mnp_c := measure_np_symbol_rule & [ RNAME mnps ]. ; ; Measure NP from bare noun ; This road is [miles] long. ; ; ; n_mnp_c := bare_measure_np_rule & [ RNAME mnpb ]. ; ; Deg phrase fr meas NP, attrib ; The [5 meter] tall tree fell. ; ; ; mnp_deg_c := meas_np_degadv_attr_rule & [ RNAME mnda ]. ; ; Deg phrase fr meas NP, predic ; Trees are [5 meters] tall. ; ; ; mnp_deg-prd_c := meas_np_degadv_pred_rule & [ RNAME mndp ]. ; ; Partitive NP fr.number, no cmp ; [Six] were sleeping. ; ; ; num_prt-nc_c := partitive_num_nocomp_rule & [ RNAME pnn ]. ; ; Partitive fr.number, of_PP cmp ; [Six] of them slept. ; ; ; num_prt-of_c := partitive_num_ppof_rule & [ RNAME pno ]. ; ; Partitive fr.det+number, no cmp ; [These six] slept. ; ; ; num_prt-det-nc_c := partitive_intadj_nocomp_rule & [ RNAME pnan ]. ; ; Partitive fr.det+num, of-PP cmp ; [The first of them] left. ; ; ; num_prt-det-of_c := partitive_intadj_ppof_rule & [ RNAME pnac ]. ; ; Partitive from lexical compar/superl adj, no complement ; [The oldest] is empty. ; ; ; aj_prt-det-nc_c := partitive_adj_lex_nocomp_rule & [ RNAME pan ]. ; ; Partitive from phrasal adj, no complement ; [The most beautiful] is empty. ; ; ; aj_prt-det-ncp_c := partitive_adj_phr_nocomp_rule & [ RNAME panp ]. ; ; Partitive fr. adj, of-PP cmp ; [The oldest of these] is empty. ; ; ; aj_prt-det-of_c := partitive_adj_ppof_rule & [ RNAME pac ]. ; ; NP from WH clause ; [What he saw] scared him. ; ; ; cl_np-wh_c := np_cp_wh_rule & [ RNAME npsq ]. ; ; VP requiring non-WH clausal subj ; That B won [bothered C.] ; ; ; vp_cp-sb_c := cp_subj_rule & [ RNAME cpsb ]. ; ; VP requiring non-WH inf.cls subj ; For B to win [bothered C.] ; ; ; vp_cp-sb-inf_c := cp_subj_inf_rule & [ RNAME cpsi ]. ; ; NP from verbal gerund ; Winning money [pleased C.] ; ; ; vp_np-ger_c := vgerund_rule & [ RNAME vger ]. ; ; NP from verbal gerund of intrans verb, with oblig subj ; Fido barking [pleased C.] ; ; ; vp_np-ger-intr_c := vgerund_intr_rule & [ RNAME vgri ]. ; ; NP from verbal gerund containing a gap ; Winning money [pleased C.] ; ; ; vp_np-ger-gap_c := vgerund_slash_rule & [ RNAME vgrg ]. ; ; Partitive fr. possessive NP ; [The cat's] is empty. ; ; ; np_prt-poss_c := partitive_np_rule & [ RNAME npp ]. ; ; Vocative modifier fr.NP, postmod ; Where are we, [Kim?] ; ; ; np_voc-post_c := vocative_np_rule & [ RNAME npv ]. ; ; Vocative modifier, premod ; [Kim,] where are we? ; ; ; np_voc-pre_c := vocative_np_lmod_rule & [ RNAME npvl ]. ; ; Determiner from number ; [Ten cats] slept. ; ; ; num_det_c := num_det_rule & [ RNAME numd ]. ; ; Right-node raising, VP ; B admires and relies on C ; ; ; hd-hd_rnr_c := right_node_raise_vp_rule & [ RNAME rnrv ]. ; ; Right-node raising, not VP ; B is under or replaced by C ; ; ; hd-hd_rnr-nv_c := right_node_raise_nonvp_rule & [ RNAME rnro ]. ; ; Right-node raising, Nbar ; B has pictures and stories of C ; ; ; hd-hd_rnr-nb_c := right_node_raise_nbar_rule & [ RNAME rnrn ]. ; ; Fragment NP ; The cat. ; ; ; np_frg_c := frag_np_rule & [ RNAME frnp ]. ; ; Fragment conj+NP ; And the cat. ; ; ; np_cnj-frg_c := frag_np_conj_rule & [ RNAME frnpc ]. ; ; Fragment N-bar ; Angry cat. ; ; ; np_nb-frg_c := frag_nbar_rule & [ RNAME frnb ]. ; ; Fragment PP ; In Paris. ; ; ; pp_frg_c := frag_pp_ind_rule & [ RNAME frpi ]. ; ; Fragment adjective phrase ; Angry at dogs. ; ; ; j_frg_c := frag_adj_rule & [ RNAME frj ]. ; ; Fragment scopal adverb phrase ; Probably. ; ; ; r_scp-frg_c := frag_adv_rule & [ RNAME frr ]. ; ; Fragment intersective adverb ; Quietly. ; ; ; r_int-frg_c := frag_int_adv_rule & [ RNAME frri ]. ; ; Fragment discourse adverb ; Yes. ; ; ; r_dsc-frg_c := frag_dadv_rule & [ RNAME frrd ]. ; ; Fragment clausal adverb ; Because we left. ; ; ; r_cl-frg_c := frag_sent_adv_rule & [ RNAME frrc ]. ; ; Fragment clause with conjunctn ; And Kim stayed. ; ; ; cl_cnj-frg_c := frag_sent_conj_rule & [ RNAME frsc ]. ; ; Fragment finite VP ; Chases cats. ; ; ; vp_fin-frg_c := frag_vp_fin_rule & [ RNAME frvp ]. ; ; Fragment nonfinite VP ; To chase cats. ; ; ; vp_nfin-frg_c := frag_vp_nonfin_rule & [ RNAME frvn ]. ; ; Fragment embedded clause ; That it chases cats. ; ; ; cl_cp-frg_c := frag_sbar_rule & [ RNAME frsb ]. ; ; Fragment embedded WH infinitival clause ; How to use it ; ; ; cl_wh-nonfin-frg_c := frag_s_wh_nonfin_rule & [ RNAME frsq ]. ; ; Fragment relative cluase ; Which we assumed. ; ; ; cl_rel-frg_c := frag_relcl_rule & [ RNAME frsr ]. ; ; Fragment scopal modifier + NP ; Probably Browne. ; ; ; aj-np_frg_c := frag_l_mod_s_np_rule & [ RNAME frln ]. ; ; Fragment intersctv modif + NP ; On Tuesday, the cat. ; ; ; aj-np_int-frg_c := frag_l_mod_i_np_rule & [ RNAME frli ]. ; ; Fragment scopal modif + PP ; Probably in Paris. ; ; ; aj-pp_frg_c := frag_l_mod_scop_pp_rule & [ RNAME frlp ]. ; ; Fragment intersective modif + PP ; Eventually in Paris. ; ; ; aj-pp_i-frg_c := frag_l_mod_isect_pp_rule & [ RNAME frlpi ]. ; ; Fragment scopal mod + adverbial ; Maybe, if we can. ; ; ; aj-r_frg_c := frag_l_mod_adv_rule & [ RNAME frlr ]. ; ; Fragment NP + scopal modifier ; The cats, probably. ; ; ; np-aj_frg_c := frag_r_mod_np_rule & [ RNAME frrn ]. ; ; Fragment NP + PP or intsctv adv ; Many problems afterwards. ; ; ; np-aj_rorp-frg_c := frag_r_mod_np_i_rule & [ RNAME frni ]. ; ; Fragment NP + adjective phrase ; Pizza ready. ; ; ; np-aj_j-frg_c := frag_r_mod_np_adj_rule & [ RNAME frra ]. ; ; Fragment N-bar + scopal modif ; Cat : a feline. ; ; ; nb-aj_frg_c := frag_r_mod_nbar_rule & [ RNAME frrb ]. ; ; Fragment PP + scopal modifier ; In Paris before we left. ; ; ; pp-aj_frg_c := frag_r_mod_scop_pp_rule & [ RNAME frrs ]. ; ; Fragment adjectv + scopal modif ; Unhappy if they leave. ; ; ; j-aj_frg_c := frag_r_mod_ap_rule & [ RNAME frrj ]. ; ; NomHd + parenthetical clause ; [Cats (they snore)] slept. ; ; ; hdn-cl_prnth_c := paren_float_s_rule & [ RNAME pfls ]. ; ; NomHd + parenthetical N-bar ; [Some guy (democrat)] ran. ; ; ; hdn-n_prnth_c := paren_float_nbar_rule & [ RNAME pfln ]. ; ; NomHd + parenthetical adj ; [Some guy (tall)] ran. ; ; ; hdn-j_prnth_c := paren_float_adj_rule & [ RNAME pflj ]. ; ; NomHd + dash-marked clause ; [Cats - they snore - ] ran. ; ; ; hdn-cl_dsh_c := dash_float_s_rule & [ RNAME dfls ]. ; ; Modifier from pred.small clause, post-mod only ; We ran, [Kim petrified]. ; ; ; np-prdp_vpmod_c := np_pred_post_rule & [ RNAME nppd ]. ; ; Modifier from pred.small clause, pre-mod only ; [Kim petrified], she ran, ; ; ; np-prdp_vpmod-pre_c := np_pred_pre_rule & [ RNAME nppdb ]. ; ; Modifier from predicative small clause, paren-marked ; We ran (Kim petrified). ; ; ; np-prdp_vpmod-prn_c := np_pred_paren_rule & [ RNAME nppd ]. ; ; Head + punctuation token ; B [arrived -] C left. ; ; ; hd-pct_c := punct_marker_hinit_rule & [ RNAME pthi ]. ; ; Run-on sentence w/two clauses ; B arrived; C left. ; ; ; cl-cl_runon_c := run_on_coord_rule & [ RNAME sns ]. ; ; Run-on sentence, comma-joined ; B arrived, C left. ; ; ; cl-cl_runon-cma_c := run_on_coord_comma_rule & [ RNAME snsc ]. ; ; Run-on sentence fr.clause + NP ; B arrived; disaster. ; ; ; cl-np_runon_c := run_on_np_rule & [ RNAME frsn ]. ; ; Run-on S fr.clause + parenth NP ; B arrived (disaster). ; ; ; cl-np_runon-prn_c := run_on_np_paren_rule & [ RNAME fsnp ]. ; ; Num+sentence ; 2. Browne arrived. ; ; ; np-cl_numitem_c := npnum_s_rule & [ RNAME nums ]. ; ; IndefNP+sentence ; A fool, Browne left. ; ; ; np-cl_indef_c := npindef_s_rule & [ RNAME nis ]. ; ; VP-final relative clause ; It rained, which surprised C. ; ; ; cl-rc_c := vp-final-relcl_phrase & [ RNAME src ]. ; ; Adverbial phrase from clause with clausal gap ; You will, I am sure, be happy. ; ; ; cl_adv_c := cl_adv_rule & [ RNAME advc ]. ; ; Adverbial phrase from indefinite NP ; He arrived a rich man. ; ; ; np_indef-adv_c := npindef_adv_rule & [ RNAME niv ]. ; ; Seq. of italic/foreign wds, mid ; [amo amas] amat ; ; ; w-w_fw-seq-m_c := fw_seq_l_rule & [ RNAME fsql ]. ; ; NP fr.seq.of italic/foreign wds ; [[amo amas] amat] ; ; ; w-w_fw-seq-t_c := fw_seq_r_rule & [ RNAME fsqr ]. ;; ;; Disabled in the LKB, by virtue of temporary expedient *parse-ignore-rules* ;; (via lkb/noparse-rules.set). The anti_ctype is used to force lowest ;; possible discharging of brackets in unary chains. ;; ; ; Paired bracketed phrase ; The \[sun-drenched\] cat ; ; ; xp_brck-pr_c := paired_bracket_rule & [ RNAME xbrk ]. ; ; Paired bracketed phrase ; The ⌊(⌋ fluffy towel ⌊)⌋ rack ; ; ; xp_str-brck-pr_c := paired_strong_bracket_rule & [ RNAME anti_ctype ]. #| ;; Also disabled by default in lkb/noparse-rules.set ;; But let's comment it out, since it appears to be expensive for ACE as well ;; ; ; Robust bare singular count NP ; We saw cat running ; ; ; hdn_bnp-rbst_c := bare_np_sg_phrase_robust & [ RNAME bnpr ]. ;; Similarly, this robust rule is normally commented out to avoid spurious ;; analyses in edited text other than for e.g. dictionaries and cookbooks. ;; ; ; Verb discharges obligatory but missing compl ; Devour quickly. ; ; ; hd_optcmp-mal_c := hoptcomp_mal_rule & [ RNAME hcpr ]. |# #| ; ; Robust binary bridging rule ; [We admire B] [admires C] ; ; ; xp-xp_bridge_c := bridge_binary_phrase & [ RNAME xxbb ]. ; ; Robust unary bridging rule ; We admire B [admires C] ; ; ; xp_bridge_c := bridge_unary_phrase & [ RNAME xxbu ]. |# #| nom_bridge_c := bridge_n_phrase & [ RNAME xxbn ]. verb_bridge_c := bridge_v_phrase & [ RNAME xxbv ]. ;ad_bridge_c := bridge_a_phrase & ; [ RNAME xxba ]. |# #| ; ; Fragment VP with slash, for dict defs and robust parsing ; To devour. ; ; ; vp_sl-frg_c := frag_vp_slash_rule & [ RNAME frvs ]. ; ; Fragment S with slash, for robust parsing ; This means and includes ... ; ; ; s_sl-frg_c := frag_s_slash_rule & [ RNAME frsg ]. |#