-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlabels.tdl
143 lines (113 loc) · 3.18 KB
/
labels.tdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
;;; Hey, emacs (1), this is -*- mode:tdl; Coding: utf-8; -*-
;;;
;;; Montserrat Marimon
;;; IULA - UPF (2004-2008)
;;; UB (2009)
;;;
;;; labels.tdl: node labels for the SRG
slash-label := meta &
[ SYNSEM.NON-LOCAL.SLASH 1-dlist,
META-PREFIX "/",
META-SUFFIX "" ].
s2-label := label &
[ SYNSEM [ LIGHT -,
LOCAL.CAT [ HEAD verb,
VAL [ COMPS < [ ],... >,
SUBJ < > ] ] ],
LABEL-NAME "S/CMP"].
v-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD verb,
VAL.COMPS < [ ], ... > ],
LABEL-NAME "V" ].
v2-label := label &
[ SYNSEM [ LIGHT +,
LOCAL.CAT [ HEAD verb,
VAL [ COMPS < >,
SUBJ < [ ] > ] ] ],
LABEL-NAME "V" ].
vp-label := label &
[ SYNSEM [ LIGHT -,
LOCAL.CAT [ HEAD verb,
VAL [ COMPS < >,
SUBJ < [ ] > ] ] ],
LABEL-NAME "VP" ].
rc-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD verb & [ MOD < [ LOCAL.CAT.HEAD noun ] > ],
VAL [ COMPS < >,
SUBJ < > ] ],
LABEL-NAME "RC"].
s-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD verb,
VAL [ COMPS < >,
SUBJ < > ] ],
LABEL-NAME "S"].
comp-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD comp & [ MOD < > ],
VAL.COMPS < [ ], ... > ],
LABEL-NAME "COMP" ].
cs1-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD comp & [ MOD < > ],
VAL.COMPS < > ],
LABEL-NAME "SC"].
n-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD noun,
VAL.SPR < [ ] > ],
LABEL-NAME "N" ].
np-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD noun,
VAL.SPR < > ],
LABEL-NAME "NP" ].
cs-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD adp & [ KEYS.KEY subord_rel ],
VAL.COMPS < [ ] > ],
LABEL-NAME "CS" ].
p-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD adp,
VAL.COMPS < [ ], ... > ],
LABEL-NAME "P" ].
ap-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD adj,
VAL.COMPS < > ],
LABEL-NAME "AP" ].
adj-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD adj,
VAL.COMPS < [ ], ... > ],
LABEL-NAME "A" ].
advp-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD adv,
VAL [ COMPS < >,
SPR < [ ] > ] ],
LABEL-NAME "ADVP" ].
adv-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD adv,
VAL.SPR < [ ] > ],
LABEL-NAME "ADV" ].
adv2-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD modnp,
VAL.COMPS < > ],
LABEL-NAME "ADV" ].
pp-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD adp & [ KEYS.KEY independent_rel ],
VAL.COMPS < > ],
LABEL-NAME "PP" ].
pp2-label := label &
[ SYNSEM.LOCAL.CAT [ HEAD adp & [ KEYS.KEY selected_prep_rel ],
VAL.COMPS < > ],
LABEL-NAME "PP" ].
d-label := label &
[ SYNSEM.LOCAL.CAT.HEAD det,
LABEL-NAME "D"].
conj-label := label &
[ SYNSEM.LOCAL.CAT.HEAD conj,
LABEL-NAME "CONJ" ].
pt-label := label &
[ SYNSEM.LOCAL.CAT.HEAD head-punct,
LABEL-NAME "PT" ].
i-label := label &
[ SYNSEM [ LIGHT +,
LOCAL.CAT.HEAD interj ],
LABEL-NAME "I" ].
is-label := label &
[ SYNSEM [ LIGHT -,
LOCAL.CAT.HEAD interj ],
LABEL-NAME "S" ].