forked from delph-in/zhong
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrules.tdl
126 lines (69 loc) · 2.5 KB
/
rules.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
head-comp := head-comp-phrase.
subj-head := subj-head-phrase.
;;subj-head-nd := subj-head-nondecl-phrase.
head-spec := head-spec-phrase.
head-spec-hs := head-spec-h-sem-phrase.
headn-spec-hs := head-nom-spec-h-sem-phrase.
bare-np := bare-np-phrase.
bare-nom-cl := bare-nominal-classifier-phrase.
bare-nom-det := bare-nominal-det-phrase.
meas-np := meas-np-phrase.
comp-head := comp-head-phrase.
; Rule instances for head-modifier structures. Corresponding types
; are defined in matrix.tdl. The matrix customization script did
; not need to add any further constraints, so no corresponding tyes
; appear in mandarin chinese.tdl
#|
head-adj-int := head-adj-int-phrase &
[ HEAD-DTR.SYNSEM.LOCAL.CAT.VAL.COMPS < > ].
|#
head-adj-int := head-adj-int-phrase.
adj-head-int := adj-head-int-mc.
head-adj-scop := head-adj-scop-phrase.
adj-head-scop := adj-head-scop-phrase.
n1-top-coord := n1-top-coord-rule.
n1-mid-coord := n1-mid-coord-rule.
conj-coord := bottom-coord-rule.
vp1-top-coord := vp1-top-coord-rule.
s1-top-coord := s1-top-coord-rule.
#|
n3-top-coord := n3-top-coord-rule.
n3-bottom-coord := n3-bottom-coord-rule.
np3-top-coord := np3-top-coord-rule.
np3-bottom-coord := np3-bottom-coord-rule.
vp3-top-coord := vp3-top-coord-rule.
vp3-bottom-coord := vp3-bottom-coord-rule.
s3-bottom-coord := s3-bottom-coord-rule.
n4-top-coord := n4-top-coord-rule.
n4-mid-coord := n4-mid-coord-rule.
n4-bottom-coord := n4-bottom-coord-rule.
n5-top-coord := n5-top-coord-rule.
n5-mid-coord := n5-mid-coord-rule.
n5-bottom-coord := n5-bottom-coord-rule.
np5-top-coord := np5-top-coord-rule.
np5-mid-coord := np5-mid-coord-rule.
np5-bottom-coord := np5-bottom-coord-rule.
vp5-top-coord := vp5-top-coord-rule.
vp5-mid-coord := vp5-mid-coord-rule.
vp5-bottom-coord := vp5-bottom-coord-rule.
s5-top-coord := s5-top-coord-rule.
s5-mid-coord := s5-mid-coord-rule.
s5-bottom-coord := s5-bottom-coord-rule.
s6-top-coord := s6-top-coord-rule.
s6-mid-coord := s6-mid-coord-rule.
s6-bottom-coord := s6-bottom-coord-rule.
s7-top-coord := s7-top-coord-rule.
s7-mid-coord := s7-mid-coord-rule.
s7-bottom-coord := s7-bottom-coord-rule.
|#
head-opt-comp := head-opt-comp-phrase.
comp-head-final := comp-head-final-phrase.
head-filler := head-filler-phrase.
extracted-comp := extracted-comp-phrase.
extracted-subj := extracted-subj-phrase.
imper := imperative-phrase.
;; Overenthusiastic
;;sent-subj := sent-subj-phrase.
n-n-compound := noun-noun-compound-phrase.
de-n-compound := nom-de-noun-compound-phrase.
np-adp := np-adp-phrase.