Skip to content

Commit 98e67a9

Browse files
committed
Added separate bridge files
git-svn-id: http://svn.delph-in.net/erg/trunk@21598 3df82f5b-d43a-0410-af33-fce91db48ec5
1 parent aed69cb commit 98e67a9

File tree

7 files changed

+46
-38
lines changed

7 files changed

+46
-38
lines changed

ace/config.tdl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ rule-rels-path := C-CONT RELS.
3131

3232
; parsing-roots := root_informal root_frag.
3333
;parsing-roots := root_strict root_informal root_frag root_inffrag.
34-
parsing-roots := root_strict root_informal.
35-
;parsing-roots := root_strict root_informal root_frag root_inffrag root_bridge.
34+
;parsing-roots := root_strict root_informal.
35+
parsing-roots := root_strict root_informal root_frag root_inffrag root_bridge.
3636

3737
generation-roots := root_strict root_frag.
3838
; generation-roots := root_strict.
@@ -53,7 +53,7 @@ chart-dependencies :=
5353
deleted-daughters :=
5454
ARGS HD-DTR NH-DTR LCONJ-DTR RCONJ-DTR DTR DTR1 DTR2 DTRA DTRB.
5555

56-
parsing-packing-restrictor := RELS HCONS ICONS RNAME.
56+
parsing-packing-restrictor := RELS HCONS ICONS RNAME +TI +LL +TG.
5757
; parsing-packing-restrictor := HCONS RELS RNAME ORTH RCLSTR ONSET LTOP --SLTOP GENRE NEGPOL ARG-S TO KEY-ARG --TL FROM IDIOM FORM LKEYS ARG0 +STAG L-HNDL LBL DATIVE +ID IND KEYREL E DIALECT ARG3 HS-LEX GEN LARG CPNG +PRB +TAG +CASE PROG C-CONT TENSE CPUNCT PSF ND-AFF ASPECT INSTLOC CTX CFROM +INIIAL DTR2 HD-DTR CTO RCONJ-DTR DTR1 IFORM ALT2KEYREL SQPNCT --TPC ADVNGADD DTR CLEX ARG1 BODY RSTR PERF KCMP LNAME LCONJ-DTR PRF POSS L-INDEX RPAREN RFP ADVADD TOKENS +LAST META-PREFIX PASSIVE DTRA R-HNDL.
5858

5959
generation-packing-restrictor :=

bridge-lex.tdl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
;;
2+
;; in support of robust (self-help) annotation for parse failues, make sure we
3+
;; will always have a ‘bridge’ lexical item available.
4+
;;
5+
generic_bridge := x_-_bridge_le &
6+
[ ORTH < "_generic_bridge_" >,
7+
TOKENS.+LIST < [ +TNT.+TAGS < > ] > ].
8+

bridges.tdl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
;;
2+
;; Added unary and binary bridging rules for robust full-forest treebanking
3+
;;
4+
; <type val="xp-xp_bridge_c">
5+
; <description>Robust binary bridging rule
6+
; <ex>[We admire B] [admires C]
7+
; <nex>
8+
; <todo>
9+
; </type>
10+
xp-xp_bridge_c := bridge_binary_phrase &
11+
[ RNAME xxbb ].
12+
13+
; <type val="xp_bridge_c">
14+
; <description>Robust unary bridging rule
15+
; <ex>We admire B [admires C]
16+
; <nex>
17+
; <todo>
18+
; </type>
19+
xp_bridge_c := bridge_unary_phrase &
20+
[ RNAME xxbu ].

constructions.tdl

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,27 +2032,3 @@ xp_brck-pr_c := paired_bracket_rule &
20322032
; </type>
20332033
;hdn_bnp-rbst_c := bare_np_sg_phrase_robust &
20342034
; [ RNAME bnpr ].
2035-
2036-
#|
2037-
;;
2038-
;; Added unary and binary bridging rules for robust full-forest treebanking
2039-
;;
2040-
2041-
; <type val="xp-xp_bridge_c">
2042-
; <description>Robust binary bridging rule
2043-
; <ex>[We admire B] [admires C]
2044-
; <nex>
2045-
; <todo>
2046-
; </type>
2047-
xp-xp_bridge_c := bridge_binary_phrase &
2048-
[ RNAME xxbb ].
2049-
2050-
; <type val="xp_bridge_c">
2051-
; <description>Robust unary bridging rule
2052-
; <ex>We admire B [admires C]
2053-
; <nex>
2054-
; <todo>
2055-
; </type>
2056-
xp_bridge_c := bridge_unary_phrase &
2057-
[ RNAME xxbu ].
2058-
|#

gle.tdl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,6 @@ generic_decimal_ne := aj_-_i-one-gen_le &
186186
[ ORTH < "_generic_decimal_ne_" >,
187187
TOKENS.+LIST < [ +CLASS decimal_ne ] > ].
188188

189-
;;
190-
;; in support of robust (self-help) annotation for parse failues, make sure we
191-
;; will always have a ‘bridge’ lexical item available.
192-
;;
193-
#|
194-
generic_bridge := x_-_bridge_le &
195-
[ ORTH < "_generic_bridge_" >,
196-
TOKENS.+LIST < [ +TNT.+TAGS < > ] > ].
197-
|#
198189
;;;
199190
;;; finally, for use in generation only, a few uninflected generics: unlike in
200191
;;; parsing, these generics allow the use of standard orthographemic rules, as

lextypes.tdl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10639,6 +10639,16 @@ aj_-_i-oblsp_le := reg_intrans_adj &
1063910639
MOD.FIRST.LOCAL.CAT.VAL.SPR < expressed_synsem > ],
1064010640
POSTHD - ] ].
1064110641

10642+
; <type val="aj_-_i-spobl_le">
10643+
; <description>Adj (intersective), no comp, oblig specifier of its own
10644+
; <ex>The very surprising cat arose.
10645+
; <nex>
10646+
; <todo>
10647+
; </type>
10648+
aj_-_i-spobl_le := reg_intrans_adj &
10649+
[ SYNSEM.LOCAL.CAT [ HEAD.MINORS.MIN norm_adj_rel,
10650+
VAL.SPR.FIRST expressed_synsem ] ].
10651+
1064210652
; <type val="aj_-_i-nopn_le">
1064310653
; <description>Adj (intersective), no comp, no mod of proper NPs
1064410654
; <ex>We respond with all due respect.

syntax.tdl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9669,10 +9669,13 @@ frag_nbar_rule := frag_nom_rule &
96699669
;; DPF 2012-11-06 - Added ARGS..SPR *olist* to avoid admitting PPs whose
96709670
;; head has an obligatory specifier, such as the prenominal `a' of
96719671
;; |$10-a-share cat|
9672+
;; DPF 02-mar-15 - Re 28-aug-07: But this no_rel now conflicts with allowing
9673+
;; these PP fragments as complements of "say" as in |Kim said, "in the park".|
9674+
;; Happily, the example |Kim arrived yesterday, in Paris| is now blocked in
9675+
;; cl-cl_runon_c for other reasons.
96729676
;;
96739677
frag_pp_ind_rule := unary_frag_rule &
9674-
[ SYNSEM.LOCAL.CAT.HEAD.MINORS.ALTMIN no_rel,
9675-
ARGS < [ SYNSEM.LOCAL [ CAT [ HEAD prep_or_modnp &
9678+
[ ARGS < [ SYNSEM.LOCAL [ CAT [ HEAD prep_or_modnp &
96769679
[ MOD < [ LOCAL intersective_mod ] >,
96779680
MINORS.MIN independent_rel ],
96789681
VAL.SPR *olist* ],

0 commit comments

Comments
 (0)