1 <?xml version=
"1.0" encoding=
"UTF-8"?> <!-- -*- nxml -*- -->
3 <transfer default=
"chunk">
6 <cat-item tags=
"cnjadv"/>
7 <cat-item tags=
"cnjcoo"/>
8 <cat-item tags=
"cnjsub"/>
9 <cat-item tags=
"cnjcoo.*"/>
10 <cat-item tags=
"cnjadv.*"/>
11 <cat-item tags=
"cnjsub.*"/>
14 <cat-item tags=
"rel.*"/>
17 <cat-item tags=
"adj"/>
18 <cat-item tags=
"adj.*"/>
21 <cat-item tags=
"n.*"/>
22 <cat-item tags=
"np.*"/>
25 <cat-item tags=
"sent"/>
28 <cat-item tags=
"det.ind.*"/>
29 <cat-item tags=
"det.def.*"/>
32 <cat-item lemma=
"prpers" tags=
"prn.*"/>
34 <def-cat n=
"verbnm"><!--verb no modal -->
35 <cat-item tags=
"vblex.*"/>
36 <cat-item tags=
"vbser.*"/>
37 <cat-item tags=
"vbhaver.*"/>
39 <def-cat n=
"prep"> <!-- preposition -->
42 <def-cat n=
"genitive">
43 <cat-item tags=
"gen"/>
48 <def-attr n=
"nbr"> <!-- Number -->
49 <attr-item tags=
"sg"/>
50 <attr-item tags=
"pl"/>
51 <attr-item tags=
"sp"/>
53 <def-attr n=
"gen"> <!-- Gender -->
56 <attr-item tags=
"mf"/>
57 <attr-item tags=
"nt"/>
60 <attr-item tags=
"cnjadv"/>
61 <attr-item tags=
"cnjsub"/>
62 <attr-item tags=
"cnjcoo"/>
66 <attr-item tags=
"n.acr"/>
67 <attr-item tags=
"n.unc"/>
68 <attr-item tags=
"np.loc"/>
71 <attr-item tags=
"adj.sint"/>
72 <attr-item tags=
"adj"/>
73 <attr-item tags=
"comp"/>
74 <attr-item tags=
"sup"/>
77 <attr-item tags=
"uns"/>
80 <attr-item tags=
"det.ind"/>
81 <attr-item tags=
"det.def"/>
84 <attr-item tags=
"rel"/>
85 <attr-item tags=
"rel.nn"/>
86 <attr-item tags=
"rel.an"/>
88 <def-attr n=
"tipus_prn">
89 <attr-item tags=
"prn.subj"/>
90 <attr-item tags=
"prn.obj"/>
92 <def-attr n=
"pers"> <!-- Person -->
93 <attr-item tags=
"p1"/>
94 <attr-item tags=
"p2"/>
95 <attr-item tags=
"p3"/>
98 <attr-item tags=
"vblex"/>
99 <attr-item tags=
"vblex.uns"/>
100 <attr-item tags=
"vbser"/>
101 <attr-item tags=
"vbhaver"/>
102 <attr-item tags=
"vbmod"/>
103 <attr-item tags=
"vaux"/>
106 <attr-item tags=
"pp"/>
107 <attr-item tags=
"pii"/>
108 <attr-item tags=
"pis"/>
109 <attr-item tags=
"pri"/>
110 <attr-item tags=
"past"/>
111 <attr-item tags=
"pres"/>
112 <attr-item tags=
"inf"/>
117 <def-var n=
"numero"/>
118 <def-var n=
"caseFirstWord"/>
119 <def-var n=
"nombre"/>
123 <rule comment=
"REGLA: NOM (per a collocar la cua en les multiparaules amb g">
125 <pattern-item n=
"nom"/>
129 <chunk name=
"nom" case=
"caseFirstWord">
131 <tag><lit-tag v=
"NP"/></tag>
132 <tag><clip pos=
"1" side=
"tl" part=
"nbr"/></tag>
135 <clip pos=
"1" side=
"tl" part=
"lem"/>
136 <clip pos=
"1" side=
"tl" part=
"a_nom"/>
137 <clip pos=
"1" side=
"tl" part=
"nbr"/>
144 <rule comment=
"REGLA: PRPERS">
146 <pattern-item n=
"prpers"/>
150 <clip pos=
"1" side=
"tl" part=
"lem"/>
154 <chunk name=
"prpers">
156 <tag><lit-tag v=
"PRN"/></tag>
159 <clip pos=
"1" side=
"tl" part=
"lem"/>
160 <clip pos=
"1" side=
"tl" part=
"tipus_prn"/>
161 <clip pos=
"1" side=
"tl" part=
"pers"/>
162 <clip pos=
"1" side=
"tl" part=
"gen"/>
163 <clip pos=
"1" side=
"tl" part=
"nbr"/>
170 <rule comment=
"REGLA: DET NOM GENITIVE">
172 <pattern-item n=
"det"/>
173 <pattern-item n=
"nom"/>
174 <pattern-item n=
"genitive"/>
178 <chunk name=
"det_nom_gen" case=
"caseFirstWord">
180 <tag><lit-tag v=
"NP"/></tag>
181 <tag><clip pos=
"2" side=
"sl" part=
"gen"/></tag>
182 <tag><var n=
"nombre"/></tag>
185 <clip pos=
"1" side=
"tl" part=
"lem"/>
186 <clip pos=
"1" side=
"tl" part=
"a_det"/>
187 <clip pos=
"2" side=
"tl" part=
"nbr"/>
191 <clip pos=
"2" side=
"tl" part=
"lemh"/>
192 <clip pos=
"2" side=
"tl" part=
"a_nom"/>
193 <clip pos=
"2" side=
"tl" part=
"nbr"/>
194 <clip pos=
"2" side=
"tl" part=
"lemq"/>
198 <clip pos=
"3" side=
"tl" part=
"lemh"/>
204 <var n=
"caseFirstWord"/>
211 <rule comment=
"REGLA: DET NOM">
213 <pattern-item n=
"det"/>
214 <pattern-item n=
"nom"/>
218 <chunk name=
"det_nom" case=
"caseFirstWord">
220 <tag><lit-tag v=
"NP"/></tag>
221 <tag><clip pos=
"2" side=
"sl" part=
"gen"/></tag>
222 <tag><var n=
"nombre"/></tag>
225 <clip pos=
"1" side=
"tl" part=
"lem"/>
226 <clip pos=
"1" side=
"tl" part=
"a_det"/>
227 <clip pos=
"2" side=
"tl" part=
"nbr"/>
231 <clip pos=
"2" side=
"tl" part=
"lemh"/>
232 <clip pos=
"2" side=
"tl" part=
"a_nom"/>
233 <clip pos=
"2" side=
"tl" part=
"nbr"/>
234 <clip pos=
"2" side=
"tl" part=
"lemq"/>
239 <var n=
"caseFirstWord"/>
245 <rule comment=
"REGLA: DET ADJ NOM GEN">
247 <pattern-item n=
"det"/>
248 <pattern-item n=
"adj"/>
249 <pattern-item n=
"nom"/>
250 <pattern-item n=
"genitive"/>
254 <chunk name=
"det_adj_nom" case=
"caseFirstWord">
256 <tag><lit-tag v=
"NP"/></tag>
257 <tag><clip pos=
"2" side=
"sl" part=
"gen"/></tag>
258 <tag><var n=
"nombre"/></tag>
261 <clip pos=
"1" side=
"tl" part=
"lem"/>
262 <clip pos=
"1" side=
"tl" part=
"a_det"/>
263 <clip pos=
"1" side=
"tl" part=
"nbr"/>
267 <clip pos=
"2" side=
"tl" part=
"lem"/>
268 <clip pos=
"2" side=
"tl" part=
"a_adj"/>
273 <clip pos=
"3" side=
"tl" part=
"lemh"/>
274 <clip pos=
"3" side=
"tl" part=
"a_nom"/>
275 <clip pos=
"3" side=
"tl" part=
"nbr"/>
276 <clip pos=
"3" side=
"tl" part=
"lemq"/>
280 <clip pos=
"4" side=
"tl" part=
"lem"/>
286 <var n=
"caseFirstWord"/>
292 <rule comment=
"REGLA: DET ADJ NOM">
294 <pattern-item n=
"det"/>
295 <pattern-item n=
"adj"/>
296 <pattern-item n=
"nom"/>
300 <chunk name=
"det_adj_nom" case=
"caseFirstWord">
302 <tag><lit-tag v=
"NP"/></tag>
303 <tag><clip pos=
"2" side=
"sl" part=
"gen"/></tag>
304 <tag><var n=
"nombre"/></tag>
307 <clip pos=
"1" side=
"tl" part=
"lem"/>
308 <clip pos=
"1" side=
"tl" part=
"a_det"/>
309 <clip pos=
"1" side=
"tl" part=
"nbr"/>
313 <clip pos=
"2" side=
"tl" part=
"lem"/>
314 <clip pos=
"2" side=
"tl" part=
"a_adj"/>
319 <clip pos=
"3" side=
"tl" part=
"lemh"/>
320 <clip pos=
"3" side=
"tl" part=
"a_nom"/>
321 <clip pos=
"3" side=
"tl" part=
"nbr"/>
322 <clip pos=
"3" side=
"tl" part=
"lemq"/>
327 <var n=
"caseFirstWord"/>
333 <rule comment=
"REGLA: ADJ NOM">
335 <pattern-item n=
"adj"/>
336 <pattern-item n=
"nom"/>
340 <chunk name=
"adj_nom" case=
"caseFirstWord">
342 <tag><lit-tag v=
"NP"/></tag>
343 <tag><clip pos=
"2" side=
"sl" part=
"gen"/></tag>
344 <tag><var n=
"nombre"/></tag>
347 <clip pos=
"1" side=
"tl" part=
"lem"/>
348 <clip pos=
"1" side=
"tl" part=
"a_adj"/>
353 <clip pos=
"2" side=
"tl" part=
"lem"/>
354 <clip pos=
"2" side=
"tl" part=
"a_nom"/>
355 <clip pos=
"2" side=
"tl" part=
"nbr"/>
362 <rule comment=
"REGLA: NOM GENITIVE">
364 <pattern-item n=
"nom"/>
365 <pattern-item n=
"genitive"/>
369 <chunk name=
"nom_gen" case=
"caseFirstWord">
371 <tag><lit-tag v=
"SN.UNDET"/></tag>
372 <tag><clip pos=
"1" side=
"tl" part=
"gen"/></tag>
373 <tag><clip pos=
"1" side=
"tl" part=
"nbr"/></tag>
376 <clip pos=
"1" side=
"tl" part=
"lemh"/>
377 <clip pos=
"1" side=
"tl" part=
"a_nom"/>
378 <clip pos=
"1" side=
"tl" part=
"nbr"/>
379 <clip pos=
"1" side=
"tl" part=
"lemq"/>
383 <clip pos=
"2" side=
"tl" part=
"lem"/>
389 <var n=
"caseFirstWord"/>
395 <rule comment=
"REGLA: ADJ CONJ ADJ NOM">
397 <pattern-item n=
"adj"/>
398 <pattern-item n=
"conj"/>
399 <pattern-item n=
"adj"/>
400 <pattern-item n=
"nom"/>
404 <chunk name=
"adj_conj_adj" case=
"caseFirstWord">
406 <tag><lit-tag v=
"ADJP"/></tag>
409 <clip pos=
"1" side=
"tl" part=
"lem"/>
410 <clip pos=
"1" side=
"tl" part=
"a_adj"/>
415 <clip pos=
"2" side=
"tl" part=
"lem"/>
416 <clip pos=
"2" side=
"tl" part=
"a_conj"/>
420 <clip pos=
"3" side=
"tl" part=
"lem"/>
421 <clip pos=
"3" side=
"tl" part=
"a_adj"/>
426 <clip pos=
"4" side=
"tl" part=
"lem"/>
427 <clip pos=
"4" side=
"tl" part=
"a_nom"/>
428 <clip pos=
"4" side=
"tl" part=
"nbr"/>
435 <rule comment=
"REGLA: ADJ CONJ ADJ">
437 <pattern-item n=
"adj"/>
438 <pattern-item n=
"conj"/>
439 <pattern-item n=
"adj"/>
443 <chunk name=
"adj_conj_adj" case=
"caseFirstWord">
445 <tag><lit-tag v=
"ADJP"/></tag>
448 <clip pos=
"1" side=
"tl" part=
"lem"/>
449 <clip pos=
"1" side=
"tl" part=
"a_adj"/>
454 <clip pos=
"2" side=
"tl" part=
"lem"/>
455 <clip pos=
"2" side=
"tl" part=
"a_conj"/>
459 <clip pos=
"3" side=
"tl" part=
"lem"/>
460 <clip pos=
"3" side=
"tl" part=
"a_adj"/>
469 <rule comment=
"REGLA: ADJ ADJ NOM">
471 <pattern-item n=
"adj"/>
472 <pattern-item n=
"adj"/>
473 <pattern-item n=
"nom"/>
477 <chunk name=
"adj_nom" case=
"caseFirstWord">
479 <tag><lit-tag v=
"NP"/></tag>
480 <tag><clip pos=
"2" side=
"sl" part=
"gen"/></tag>
481 <tag><var n=
"nombre"/></tag>
484 <clip pos=
"1" side=
"tl" part=
"lem"/>
485 <clip pos=
"1" side=
"tl" part=
"a_adj"/>
490 <clip pos=
"2" side=
"tl" part=
"lem"/>
491 <clip pos=
"2" side=
"tl" part=
"a_adj"/>
496 <clip pos=
"3" side=
"tl" part=
"lem"/>
497 <clip pos=
"3" side=
"tl" part=
"a_nom"/>
498 <clip pos=
"3" side=
"tl" part=
"nbr"/>
506 <rule comment=
"REGLA: PR">
508 <pattern-item n=
"prep"/>
514 <tag><lit-tag v=
"PR"/></tag>
517 <clip pos=
"1" side=
"tl" part=
"lem"/>
526 <rule comment=
"REGLA: REL">
528 <pattern-item n=
"rel_prn"/>
534 <tag><lit-tag v=
"REL"/></tag>
535 <tag><lit-tag v=
"PRN"/></tag>
538 <clip pos=
"1" side=
"tl" part=
"lem"/>
539 <clip pos=
"1" side=
"tl" part=
"a_rel"/>
547 <rule comment=
"REGLA: ADJ">
549 <pattern-item n=
"adj"/>
555 <tag><lit-tag v=
"ADJ"/></tag>
558 <clip pos=
"1" side=
"tl" part=
"lem"/>
559 <clip pos=
"1" side=
"tl" part=
"a_adj"/>
569 <pattern-item n=
"nom"/>
574 <clip pos=
"1" side=
"tl" part=
"lem"/>
575 <clip pos=
"1" side=
"tl" part=
"a_nom"/>
576 <clip pos=
"1" side=
"tl" part=
"nbr"/>
583 <rule comment=
"REGLA: VERBNM">
585 <pattern-item n=
"verbnm"/>
591 <test> <!-- If it is third person singular in the present tense -->
595 <clip pos=
"1" side=
"tl" part=
"temps"/>
599 <clip pos=
"1" side=
"tl" part=
"temps"/>
605 <clip pos=
"1" side=
"tl" part=
"a_verb"/>
606 <lit-tag v=
"vblex.uns"/>
611 <clip pos=
"1" side=
"tl" part=
"lem"/>
612 <lit v=
"wees"/> <!-- be is a special case -->
620 <tag><lit-tag v=
"V"/></tag>
624 <lit-tag v=
"vbhaver"/>
629 <chunk name=
"verb_participle">
631 <tag><lit-tag v=
"V"/></tag>
632 <tag><lit-tag v=
"PART"/></tag>
638 <clip pos=
"1" side=
"tl" part=
"lem"/>
639 <clip pos=
"1" side=
"tl" part=
"a_verb"/>
641 <!-- <clip pos="1" side="tl" part="temps"/> -->
648 <test> <!-- If it is third person singular in the present tense -->
652 <clip pos=
"1" side=
"tl" part=
"temps"/>
656 <clip pos=
"1" side=
"tl" part=
"temps"/>
661 <clip pos=
"1" side=
"tl" part=
"a_verb"/>
662 <lit-tag v=
"vblex.uns"/>
669 <tag><lit-tag v=
"V"/></tag>
673 <lit-tag v=
"vbhaver"/>
678 <chunk name=
"verb_participle">
680 <tag><lit-tag v=
"V"/></tag>
681 <tag><lit-tag v=
"PART"/></tag>
684 <clip pos=
"1" side=
"tl" part=
"lem"/>
685 <clip pos=
"1" side=
"tl" part=
"a_verb"/>
696 <tag><lit-tag v=
"V"/></tag>
699 <clip pos=
"1" side=
"tl" part=
"lem"/>
700 <clip pos=
"1" side=
"tl" part=
"a_verb"/>
701 <clip pos=
"1" side=
"tl" part=
"temps"/>
710 <!-- ^be<vbser><past>$ ^organise<vblex><pp>$ -->
711 <rule comment=
"REGLA: VERBNM">
713 <pattern-item n=
"verbnm"/>
714 <pattern-item n=
"verbnm"/>
721 <clip pos=
"1" side=
"tl" part=
"temps"/>
728 <tag><lit-tag v=
"V"/></tag>
732 <lit-tag v=
"vbhaver"/>
737 <chunk name=
"verb_participle">
739 <tag><lit-tag v=
"V"/></tag>
740 <tag><lit-tag v=
"PART"/></tag>
746 <clip pos=
"1" side=
"tl" part=
"lem"/>
747 <clip pos=
"1" side=
"tl" part=
"a_verb"/>
749 <!-- <clip pos="1" side="tl" part="temps"/> -->
758 <clip pos=
"2" side=
"tl" part=
"temps"/>
762 <clip pos=
"1" side=
"sl" part=
"lem"/>
766 <clip pos=
"1" side=
"sl" part=
"temps"/>
773 <tag><lit-tag v=
"V"/></tag>
776 <clip pos=
"1" side=
"tl" part=
"lem"/>
777 <clip pos=
"1" side=
"tl" part=
"a_verb"/>
778 <clip pos=
"1" side=
"tl" part=
"temps"/>
782 <chunk name=
"verb_participle">
784 <tag><lit-tag v=
"V"/></tag>
785 <tag><lit-tag v=
"PART"/></tag>
791 <clip pos=
"2" side=
"tl" part=
"lem"/>
792 <clip pos=
"2" side=
"tl" part=
"a_verb"/>
794 <!-- <clip pos="2" side="tl" part="temps"/> -->
803 <tag><lit-tag v=
"V"/></tag>
806 <clip pos=
"1" side=
"tl" part=
"lem"/>
807 <clip pos=
"1" side=
"tl" part=
"a_verb"/>
808 <clip pos=
"1" side=
"tl" part=
"temps"/>
811 <clip pos=
"2" side=
"tl" part=
"lem"/>
812 <clip pos=
"2" side=
"tl" part=
"a_verb"/>
813 <clip pos=
"2" side=
"tl" part=
"temps"/>
824 <rule> <!-- REGLA: reset variables-->
826 <pattern-item n=
"sent"/>
836 <tag><lit-tag v=
"sent"/></tag>
839 <clip pos=
"1" side=
"tl" part=
"whole"/>
847 <rule comment=
"REGLA: NOM (per a collocar la cua en les multiparaules amb g">
849 <pattern-item n=
"conj"/>
853 <chunk name=
"conj" case=
"caseFirstWord">
855 <tag><lit-tag v=
"conj"/></tag>
858 <clip pos=
"1" side=
"tl" part=
"lem"/>
859 <clip pos=
"1" side=
"tl" part=
"a_conj"/>