1 <?xml version=
"1.0" encoding=
"UTF-8"?> <!-- -*- nxml -*- -->
11 <cat-item name="verbcj"/>
12 <cat-item name="aux_verb"/>
13 <cat-item name="haver_pp"/>
14 <cat-item name="aux_haver_pp"/>
15 <cat-item name="inf"/>
20 <cat-item name=
"verbcj"/>
23 <def-cat n=
"aux_verb">
24 <cat-item name=
"aux_verb"/>
27 <def-cat n=
"haver_pp">
28 <cat-item name=
"haver_pp"/>
31 <def-cat n=
"aux_haver_pp">
32 <cat-item name=
"aux_haver_pp"/>
36 <cat-item name=
"be_adj"/>
40 <cat-item name=
"haverhi"/>
43 <def-cat n=
"haverhi_pp">
44 <cat-item name=
"haverhi_pp"/>
47 <def-cat n=
"aux_haverhi">
48 <cat-item name=
"aux_haverhi"/>
51 <def-cat n=
"aux_haverhi_pp">
52 <cat-item name=
"aux_haverhi_pp"/>
56 <cat-item name=
"subj"/>
65 <attr-item tags=
"p1"/>
66 <attr-item tags=
"p2"/>
67 <attr-item tags=
"p3"/>
68 <attr-item tags=
"PD"/>
74 <attr-item tags=
"mf"/>
75 <attr-item tags=
"GD"/>
76 <attr-item tags=
"nt"/>
80 <attr-item tags=
"sg"/>
81 <attr-item tags=
"pl"/>
82 <attr-item tags=
"sp"/>
83 <attr-item tags=
"ND"/>
88 <attr-item tags=
"vblex"/>
89 <attr-item tags=
"vbser"/>
90 <attr-item tags=
"vbhaver"/>
91 <attr-item tags=
"vbmod"/>
92 <attr-item tags=
"vaux"/>
97 <attr-item tags=
"inf"/>
98 <attr-item tags=
"pres"/>
99 <attr-item tags=
"past"/>
100 <attr-item tags=
"pri"/>
101 <attr-item tags=
"prs"/>
102 <attr-item tags=
"imp"/>
103 <attr-item tags=
"pii"/>
104 <attr-item tags=
"cni"/>
105 <attr-item tags=
"ifi"/>
106 <attr-item tags=
"pis"/>
107 <attr-item tags=
"pp"/>
108 <attr-item tags=
"ger"/>
109 <attr-item tags=
"pprs"/>
110 <attr-item tags=
"subs"/>
111 <attr-item tags=
"fti"/>
116 <attr-item tags=
"SVneg"/>
117 <attr-item tags=
"SV"/>
123 <def-var n=
"paraula"/>
124 <def-var n=
"temps_aux"/>
130 <!--REGLES PER A NEGACIONS (I ADVERBIS INTERCALATS) -->
132 <rule comment=
"CHUNK: HAVER_PP">
134 <pattern-item n=
"haver_pp"/>
141 <clip pos=
"0" part=
"a_SV"/>
147 <clip pos=
"1" part=
"whole"/>
156 <clip pos=
"2" part=
"whole"/>
163 <clip pos=
"1" part=
"whole"/>
167 <clip pos=
"2" part=
"whole"/>
176 <rule comment=
"CHUNK: AUX VERB">
178 <pattern-item n=
"aux_verb"/>
185 <clip pos=
"0" part=
"a_SV"/>
191 <clip pos=
"1" part=
"whole"/>
200 <clip pos=
"2" part=
"whole"/>
207 <clip pos=
"1" part=
"whole"/>
211 <clip pos=
"2" part=
"whole"/>
219 <rule comment=
"CHUNK: AUX HAVER PP">
221 <pattern-item n=
"aux_haver_pp"/>
228 <clip pos=
"0" part=
"a_SV"/>
234 <clip pos=
"1" part=
"whole"/>
243 <clip pos=
"2" part=
"whole"/>
247 <clip pos=
"3" part=
"whole"/>
254 <clip pos=
"1" part=
"whole"/>
258 <clip pos=
"2" part=
"whole"/>
262 <clip pos=
"3" part=
"whole"/>
270 <rule comment=
"CHUNK: VERB CONJUGAT">
272 <pattern-item n=
"verbcj"/>
279 <clip pos=
"0" part=
"a_SV"/>
288 <clip pos=
"0" part=
"a_verb"/>
292 <clip pos=
"0" part=
"a_verb"/>
299 <clip pos=
"1" part=
"whole"/>
314 <clip pos=
"0" part=
"temps"/>
318 <clip pos=
"0" part=
"pers"/>
322 <clip pos=
"0" part=
"nbr"/>
329 <lit-tag v=
"pri.p3.sg"/>
332 <clip pos=
"1" part=
"temps"/>
336 <clip pos=
"1" part=
"pers"/>
340 <clip pos=
"1" part=
"nbr"/>
348 <clip pos=
"0" part=
"temps"/>
352 <clip pos=
"0" part=
"temps"/>
356 <clip pos=
"0" part=
"temps"/>
370 <clip pos=
"0" part=
"temps"/>
374 <clip pos=
"0" part=
"temps"/>
378 <clip pos=
"0" part=
"temps"/>
382 <clip pos=
"0" part=
"temps"/>
386 <clip pos=
"0" part=
"temps"/>
396 <clip pos=
"1" part=
"temps"/>
403 <get-case-from pos=
"1">
420 <case-of pos=
"1" part=
"lem"/>
425 <clip pos=
"1" part=
"lem"/>
432 <clip pos=
"1" part=
"whole"/>
441 <clip pos=
"1" part=
"whole"/>
449 <!-- <rule comment="CHUNK: AUX HAVER PP">
451 <pattern-item n="be_adj"/>
458 <clip pos="0" part="neg"/>
464 <clip pos="1" part="lemh"/>
465 <clip pos="1" part="a_verb"/>
466 <clip pos="1" part="temps"/>
467 <clip pos="1" part="pers"/>
468 <clip pos="1" part="nbr"/>
474 <clip pos="1" part="lemq"/>
481 <clip pos="1" part="whole"/>
489 <rule comment=
"CHUNK: SUBJ">
491 <pattern-item n=
"SUBJ"/>
499 <clip pos=
"1" part=
"pers"/>
503 <clip pos=
"1" part=
"nbr"/>
509 <clip pos=
"1" part=
"gen"/>
516 <clip pos=
"1" part=
"pers"/>
521 <clip pos=
"1" part=
"nbr"/>
525 <clip pos=
"1" part=
"gen"/>
531 <clip pos=
"1" part=
"gen"/>
538 <clip pos=
"1" part=
"whole"/>
546 <rule comment=
"CHUNK: HAVER-HI">
548 <pattern-item n=
"haverhi"/>
551 <choose><!--Si en el t2x s'ha posat nombre pl, cal canviar manera d'enviar verb perquè no doni error (sense persona ni nombre, coses del diccionari) -->
556 <clip pos=
"0" part=
"temps"/>
560 <clip pos=
"0" part=
"nbr"/>
567 <clip pos=
"1" part=
"whole"/>
571 <clip pos=
"2" part=
"lem"/>
572 <clip pos=
"2" part=
"a_verb"/>
581 <clip pos=
"0" part=
"temps"/>
585 <clip pos=
"0" part=
"nbr"/>
592 <clip pos=
"1" part=
"whole"/>
596 <clip pos=
"2" part=
"lem"/>
597 <clip pos=
"2" part=
"a_verb"/>
598 <clip pos=
"2" part=
"temps"/>
605 <clip pos=
"1" part=
"whole"/>
609 <clip pos=
"2" part=
"whole"/>
618 <clip pos=
"0" part=
"a_SV"/>
632 <when><!--segons si porta aux o no, pot haver-hi una tercera lu, envia-la si hi és -->
636 <clip pos=
"0" part=
"temps"/>
640 <clip pos=
"0" part=
"temps"/>
648 <clip pos=
"3" part=
"whole"/>
656 <rule comment=
"CHUNK: HAVER-HI">
658 <pattern-item n=
"haverhi_pp"/>
661 <choose><!--Si en el t2x s'ha posat nombre pl, cal canviar manera d'enviar verb perquè no doni error (sense persona ni nombre, coses del diccionari) -->
666 <clip pos=
"0" part=
"nbr"/>
670 <clip pos=
"0" part=
"temps"/>
677 <clip pos=
"1" part=
"whole"/>
681 <clip pos=
"2" part=
"lem"/>
682 <clip pos=
"2" part=
"a_verb"/>
692 <clip pos=
"0" part=
"nbr"/>
696 <clip pos=
"0" part=
"temps"/>
703 <clip pos=
"1" part=
"whole"/>
707 <clip pos=
"2" part=
"lem"/>
708 <clip pos=
"2" part=
"a_verb"/>
709 <clip pos=
"2" part=
"temps"/>
718 <clip pos=
"1" part=
"whole"/>
722 <clip pos=
"2" part=
"whole"/>
728 <choose><!--si és negatiu, imprimeix el 'not', sempre en 2a posició, tant si porta aux com no (there would have been, there has not been). -->
732 <clip pos=
"0" part=
"a_SV"/>
745 <out><!--el tercer chunk sempre hi és -->
747 <clip pos=
"3" part=
"whole"/>
751 <when><!--segons si porta aux o no, pot haver-hi una quarta lu, envia-la si hi és -->
755 <clip pos=
"0" part=
"temps"/>
759 <clip pos=
"0" part=
"temps"/>
767 <clip pos=
"4" part=
"whole"/>