1 <transfer default="chunk">
5 <cat-item tags="adj.*"/>
9 <cat-item tags="np.*"/>
12 <cat-item tags="sent"/>
15 <cat-item tags="det.ind.*"/>
16 <cat-item tags="det.def.*"/>
19 <cat-item lemma="prpers" tags="prn.*"/>
21 <def-cat n="verbnm"><!--verb no modal -->
22 <cat-item tags="vblex.*"/>
23 <cat-item tags="vbser.*"/>
24 <cat-item tags="vbhaver.*"/>
26 <def-cat n="prep"> <!-- preposition -->
32 <def-attr n="nbr"> <!-- Number -->
33 <attr-item tags="sg"/>
34 <attr-item tags="pl"/>
35 <attr-item tags="sp"/>
37 <def-attr n="gen"> <!-- Gender -->
40 <attr-item tags="mf"/>
44 <attr-item tags="n.acr"/>
45 <attr-item tags="n.unc"/>
46 <attr-item tags="np.loc"/>
49 <attr-item tags="adj"/>
50 <attr-item tags="adj.sint"/>
51 <attr-item tags="comp"/>
52 <attr-item tags="sup"/>
55 <attr-item tags="det.ind"/>
56 <attr-item tags="det.def"/>
58 <def-attr n="tipus_prn">
59 <attr-item tags="prn.subj"/>
60 <attr-item tags="prn.obj"/>
62 <def-attr n="pers"> <!-- Person -->
63 <attr-item tags="p1"/>
64 <attr-item tags="p2"/>
65 <attr-item tags="p3"/>
68 <attr-item tags="vblex"/>
69 <attr-item tags="vbser"/>
70 <attr-item tags="vbhaver"/>
71 <attr-item tags="vbmod"/>
72 <attr-item tags="vaux"/>
75 <attr-item tags="pii"/>
76 <attr-item tags="pis"/>
77 <attr-item tags="pri"/>
78 <attr-item tags="past"/>
79 <attr-item tags="pres"/>
80 <attr-item tags="inf"/>
86 <def-var n="caseFirstWord"/>
91 <rule comment="REGLA: NOM (per a collocar la cua en les multiparaules amb g">
93 <pattern-item n="nom"/>
97 <chunk name="nom" case="caseFirstWord">
99 <tag><lit-tag v="SN"/></tag>
100 <tag><clip pos="1" side="tl" part="nbr"/></tag>
103 <clip pos="1" side="tl" part="lem"/>
104 <clip pos="1" side="tl" part="a_nom"/>
105 <clip pos="1" side="tl" part="nbr"/>
112 <rule comment="REGLA: DET NOM">
114 <pattern-item n="det"/>
115 <pattern-item n="nom"/>
119 <chunk name="det_nom" case="caseFirstWord">
121 <tag><lit-tag v="SN"/></tag>
122 <tag><clip pos="2" side="sl" part="gen"/></tag>
123 <tag><var n="nombre"/></tag>
126 <clip pos="1" side="tl" part="lem"/>
127 <clip pos="1" side="tl" part="a_det"/>
128 <clip pos="2" side="tl" part="nbr"/>
132 <clip pos="2" side="tl" part="lemh"/>
133 <clip pos="2" side="tl" part="a_nom"/>
134 <clip pos="2" side="tl" part="nbr"/>
135 <clip pos="2" side="tl" part="lemq"/>
140 <var n="caseFirstWord"/>
146 <rule comment="REGLA: DET ADJ NOM">
148 <pattern-item n="det"/>
149 <pattern-item n="adj"/>
150 <pattern-item n="nom"/>
154 <chunk name="det_adj_nom" case="caseFirstWord">
156 <tag><lit-tag v="SN"/></tag>
157 <tag><clip pos="2" side="sl" part="gen"/></tag>
158 <tag><var n="nombre"/></tag>
161 <clip pos="1" side="tl" part="lem"/>
162 <clip pos="1" side="tl" part="a_det"/>
163 <clip pos="1" side="tl" part="nbr"/>
167 <clip pos="2" side="tl" part="lem"/>
168 <clip pos="2" side="tl" part="a_adj"/>
173 <clip pos="3" side="tl" part="lemh"/>
174 <clip pos="3" side="tl" part="a_nom"/>
175 <clip pos="3" side="tl" part="nbr"/>
176 <clip pos="3" side="tl" part="lemq"/>
181 <var n="caseFirstWord"/>
187 <rule comment="REGLA: ADJ NOM">
189 <pattern-item n="adj"/>
190 <pattern-item n="nom"/>
195 <clip pos="1" side="tl" part="lem"/>
196 <clip pos="1" side="tl" part="a_adj"/>
201 <clip pos="2" side="tl" part="lem"/>
202 <clip pos="2" side="tl" part="a_nom"/>
203 <clip pos="2" side="tl" part="nbr"/>
209 <rule comment="REGLA: ADJ">
211 <pattern-item n="adj"/>
217 <tag><lit-tag v="ADJ"/></tag>
220 <clip pos="1" side="tl" part="lem"/>
221 <clip pos="1" side="tl" part="a_adj"/>
232 <pattern-item n="nom"/>
237 <clip pos="1" side="tl" part="lem"/>
238 <clip pos="1" side="tl" part="a_nom"/>
239 <clip pos="1" side="tl" part="nbr"/>
245 <rule comment="REGLA: VERBNM">
247 <pattern-item n="verbnm"/>
253 <tag><lit-tag v="V"/></tag>
256 <clip pos="1" side="tl" part="lem"/>
257 <clip pos="1" side="tl" part="a_verb"/>
258 <clip pos="1" side="tl" part="temps"/>
265 <rule> <!-- REGLA: reset variables-->
267 <pattern-item n="sent"/>
277 <tag><lit-tag v="sent"/></tag>
280 <clip pos="1" side="tl" part="whole"/>