1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?> <!-- -*- nxml -*- -->
5 <!-- <def-cat n="prep">
14 <cat-item name=
"inf"/>
18 <cat-item name=
"nomes"/>
21 <cat-item name=
"pas"/>
25 <cat-item name=
"nom"/>
29 <cat-item name=
"det_nom"/>
30 <cat-item name=
"det_adj"/>
34 <cat-item name=
"det_adj_nom"/>
35 <cat-item name=
"det_nom_adj"/>
39 <cat-item name=
"det_adv_adj_nom"/>
40 <cat-item name=
"det_nom_adv_adj"/>
44 <cat-item name=
"det_adj_cnjcoo_adj_nom"/>
45 <cat-item name=
"det_nom_adj_cnjcoo_adj"/>
54 <attr-item tags=
"en"/>
55 <attr-item tags=
"para"/>
58 <attr-item tags=
"p1"/>
59 <attr-item tags=
"p2"/>
60 <attr-item tags=
"p3"/>
61 <attr-item tags=
"PD"/>
67 <attr-item tags=
"mf"/>
68 <attr-item tags=
"GD"/>
69 <attr-item tags=
"nt"/>
73 <attr-item tags=
"sg"/>
74 <attr-item tags=
"pl"/>
75 <attr-item tags=
"sp"/>
76 <attr-item tags=
"ND"/>
79 <def-attr n=
"determinant">
80 <attr-item tags=
"treu_det"/>
84 <attr-item tags=
"DET"/>
85 <attr-item tags=
"UNDET"/>
86 <attr-item tags=
"NUM"/>
87 <attr-item tags=
"PDET"/><!--'Per determinar', per a SN UNDET que han de passar a determinats, transformaci?que far?el postchunk detectant els PDET. -->
92 <attr-item tags=
"vblex"/>
93 <attr-item tags=
"vblex.pron"/>
94 <attr-item tags=
"vbhaver"/>
95 <attr-item tags=
"vbser"/>
96 <attr-item tags=
"vbmod"/>
97 <attr-item tags=
"HAVER"/>
101 <attr-item tags=
"n"/>
102 <attr-item tags=
"np"/>
106 <attr-item tags=
"np.ant"/>
107 <attr-item tags=
"np.cog"/>
108 <attr-item tags=
"np.al"/>
111 <def-attr n=
"a_prnpro">
112 <attr-item tags=
"prn.pro"/>
116 <attr-item tags=
"pr"/>
119 <attr-item tags=
"adv"/>
124 <def-var n=
"paraula"/>
130 <def-macro n=
"f_bcond" npar=
"1">
148 </section-def-macros>
153 <rule comment=
"CHUNK:">
155 <pattern-item n=
"nom"/>
160 <clip pos=
"1" part=
"whole"/>
166 <rule comment=
"converteix no en només, si cal">
168 <pattern-item n=
"nomes"/>
173 <get-case-from pos=
"1">
176 <clip pos=
"1" part=
"a_adv"/>
181 <rule comment=
"converteix no en pas, si cal">
183 <pattern-item n=
"pas"/>
188 <get-case-from pos=
"1">
191 <clip pos=
"1" part=
"a_adv"/>
197 <!-- <rule comment="fa els canvis de prepo">
199 <pattern-item n="prep"/>
206 <clip pos="0" part="tprep"/>
211 <clip pos="1" part="lem"/>
218 <clip pos="0" part="tprep"/>
223 <clip pos="1" part="lem"/>
231 <clip pos="1" part="lem"/>
232 <clip pos="1" part="a_pr"/>
238 <rule comment=
"treu el det 2elem">
240 <pattern-item n=
"sn_2e"/>
247 <clip pos=
"0" part=
"determinant"/>
248 <lit-tag v=
"treu_det"/>
253 <clip pos=
"2" part=
"whole"/>
256 <call-macro n=
"f_bcond">
257 <with-param pos=
"1"/>
263 <clip pos=
"1" part=
"whole"/>
267 <clip pos=
"2" part=
"whole"/>
275 <rule comment=
"treu el det 3 elem">
277 <pattern-item n=
"sn_3e"/>
284 <clip pos=
"0" part=
"determinant"/>
285 <lit-tag v=
"treu_det"/>
288 <call-macro n=
"f_bcond">
289 <with-param pos=
"1"/>
293 <clip pos=
"2" part=
"whole"/>
297 <clip pos=
"3" part=
"whole"/>
305 <clip pos=
"1" part=
"whole"/>
309 <clip pos=
"2" part=
"whole"/>
313 <clip pos=
"3" part=
"whole"/>
321 <rule comment=
"treu el det 4 elem">
323 <pattern-item n=
"sn_4e"/>
330 <clip pos=
"0" part=
"determinant"/>
331 <lit-tag v=
"treu_det"/>
334 <call-macro n=
"f_bcond">
335 <with-param pos=
"1"/>
339 <clip pos=
"2" part=
"whole"/>
343 <clip pos=
"3" part=
"whole"/>
347 <clip pos=
"4" part=
"whole"/>
354 <clip pos=
"1" part=
"whole"/>
358 <clip pos=
"2" part=
"whole"/>
362 <clip pos=
"3" part=
"whole"/>
366 <clip pos=
"4" part=
"whole"/>
374 <rule comment=
"treu el det 5 elem">
376 <pattern-item n=
"sn_5e"/>
383 <clip pos=
"0" part=
"determinant"/>
384 <lit-tag v=
"treu_det"/>
387 <call-macro n=
"f_bcond">
388 <with-param pos=
"1"/>
392 <clip pos=
"2" part=
"whole"/>
396 <clip pos=
"3" part=
"whole"/>
400 <clip pos=
"4" part=
"whole"/>
404 <clip pos=
"5" part=
"whole"/>
411 <clip pos=
"1" part=
"whole"/>
415 <clip pos=
"2" part=
"whole"/>
419 <clip pos=
"3" part=
"whole"/>
423 <clip pos=
"4" part=
"whole"/>
427 <clip pos=
"5" part=
"whole"/>
435 <rule comment=
"CHUNK: canvia les prepos que fa falta">
437 <pattern-item n=
"pr"/>
444 <clip pos=
"1" part=
"lem"/>
449 <clip pos=
"1" part=
"lem"/>
456 <clip pos=
"1" part=
"whole"/>