Another
[apertium.git] / apertium-oc-es / apertium-oc-es.es-oc.t2x
blob1c85e88544db215c9ce3a3300b3c4ce8e6c37d40
1 <?xml version="1.0" encoding="iso-8859-1"?> <!-- -*- nxml -*- -->
2 <interchunk>
3 <section-def-cats>
5 <def-cat n="SN">
6 <cat-item tags="SN.*"/>
7 </def-cat>
9 <def-cat n="pr"><!-- BCN-->
10 <cat-item tags="PREP"/>
11 </def-cat>
15 <def-cat n="SV">
16 <cat-item tags="SV.*"/>
17 </def-cat>
19 <def-cat n="esser_pp">
20 <cat-item lemma="aux_pp" tags="SV.vbser.*"/>
21 <cat-item lemma="aux_adv_pp" tags="SV.vbser.*"/>
22 <cat-item lemma="pro_aux_pp" tags="SV.vbser.*"/>
23 <cat-item lemma="pro_pro_aux_pp" tags="SV.vbser.*"/>
24 <cat-item lemma="pro_aux_adv_pp" tags="SV.vbser.*"/>
25 <cat-item lemma="pro_pro_aux_adv_pp" tags="SV.vbser.*"/>
26 </def-cat>
29 <def-cat n="vbcop">
30 <cat-item tags="SV.vbser.*"/>
31 </def-cat>
33 <def-cat n="adv">
34 <cat-item tags="adv"/>
35 <cat-item tags="adv.*"/>
36 <cat-item tags="preadv"/>
38 </def-cat>
40 <def-cat n="SA">
41 <cat-item tags="SA.*"/>
42 </def-cat>
44 <def-cat n="pp">
45 <cat-item lemma="pp" tags="SA.*"/>
46 <cat-item lemma="adj" tags="SA.*"/><!-- BCN per que agafi b�resolutions adopted -->
47 </def-cat>
49 <def-cat n="DET">
50 <cat-item tags="DET.*"/>
51 </def-cat>
53 <def-cat n="rel">
54 <cat-item tags="REL.*"/>
55 </def-cat>
57 <def-cat n="NUM">
58 <cat-item tags="NUM.*"/>
59 </def-cat>
61 <def-cat n="punt">
62 <cat-item tags="sent"/>
63 </def-cat>
65 <def-cat n="cnjcoo">
66 <cat-item tags="cnjcoo"/>
67 </def-cat>
70 </section-def-cats>
72 <section-def-attrs>
74 <def-attr n="pers">
75 <attr-item tags="p1"/>
76 <attr-item tags="p2"/>
77 <attr-item tags="p3"/>
78 <attr-item tags="PD"/>
79 </def-attr>
81 <def-attr n="gen_pp">
82 <attr-item tags="f"/>
83 <attr-item tags="m"/>
84 </def-attr>
85 <def-attr n="nbr_pp">
86 <attr-item tags="sg"/>
87 <attr-item tags="pl"/>
88 </def-attr>
90 <def-attr n="gen">
91 <attr-item tags="m"/>
92 <attr-item tags="f"/>
93 <attr-item tags="mf"/>
94 <attr-item tags="GD"/>
95 <attr-item tags="nt"/>
96 </def-attr>
98 <def-attr n="nbr">
99 <attr-item tags="sg"/>
100 <attr-item tags="pl"/>
101 <attr-item tags="sp"/>
102 <attr-item tags="ND"/>
103 </def-attr>
105 <def-attr n="tipusrel">
106 <attr-item tags="cuando"/>
107 </def-attr>
109 <def-attr n="lemprn">
110 <attr-item tags="usted"/>
111 </def-attr>
113 <def-attr n="temps">
114 <attr-item tags="inf"/>
115 <attr-item tags="pri"/>
116 <attr-item tags="prs"/>
117 <attr-item tags="ifi"/>
118 <attr-item tags="cni"/>
119 <attr-item tags="fti"/>
120 <attr-item tags="pp"/>
121 <attr-item tags="ger"/>
122 <attr-item tags="imp"/>
124 </def-attr>
126 <def-attr n="a_verb">
127 <attr-item tags="vblex"/>
128 <attr-item tags="vblex.pron"/>
129 <attr-item tags="vbhaver"/>
130 <attr-item tags="vbser"/>
131 <attr-item tags="vbmod"/>
132 </def-attr>
135 <def-attr n="a_SN">
136 <attr-item tags="DET"/>
137 <attr-item tags="UNDET"/>
138 <attr-item tags="NUM"/>
139 </def-attr>
141 </section-def-attrs>
144 <section-def-vars>
145 <def-var n="pronom"/>
146 <def-var n="nombre_subj"/>
147 <def-var n="tipus_rel"/>
148 <def-var n="pers_subj"/>
149 <def-var n="uno"/>
150 <def-var n="nombre"/>
151 <def-var n="genere"/>
152 <def-var n="concord"/>
153 </section-def-vars>
156 <section-def-lists>
157 <def-list n="prde"><!--MG: preguntar a Carme si es fa servir o no -->
158 <list-item v="de"/>
159 <list-item v="a orillas de"/>
160 <list-item v="a partir de"/>
161 <list-item v="a pesar de"/>
162 <list-item v="acerca de"/>
163 <list-item v="debajo de"/>
164 <list-item v="delante de"/>
165 <list-item v="en frente de"/>
166 <list-item v="en vez de"/>
167 <list-item v="por medio de"/>
168 <list-item v="por intermedio de"/>
169 <list-item v="tras de"/>
171 <!-- <list-item v="a rel de"/>
172 <list-item v="a través de"/>
173 <list-item v="d'ençà de"/>
174 <list-item v="a causa de"/>
175 <list-item v="dins de"/>
176 <list-item v="en comptes de"/>
177 <list-item v="per tal de"/>
178 <list-item v="un munt de"/>
179 <list-item v="al costat de"/>
180 <list-item v="vora de"/>
181 <list-item v="a la vora de"/>
182 <list-item v="per mitjà de"/> -->
183 <!-- <list-item v="cap de"/>
184 <list-item v="a trauèrs de"/>
185 <list-item v="un pialèr de"/>
186 <list-item v="per causa de"/>
187 <list-item v="per medi de"/>
188 <list-item v="a arraïtz de"/>
189 <list-item v="a compdar de"/>
190 <list-item v="a despiet de"/>
191 <list-item v="entà per'mor de"/>
192 <list-item v="des de"/>
193 <list-item v="malgrat de"/>
194 <list-item v="alloc de"/>
195 <list-item v="dempús de"/>
196 <list-item v="despús de"/>
197 <list-item v="ath cant de"/>-->
198 </def-list>
199 </section-def-lists>
202 <section-def-macros>
206 <def-macro n="partitiu" npar="1">
207 <choose alt="oc">
208 <when>
209 <test>
210 <or>
211 <and>
212 <or>
213 <equal>
214 <clip pos="1" part="lem"/>
215 <lit v="nom"/>
216 </equal>
217 <equal>
218 <clip pos="1" part="lem"/>
219 <lit v="part"/>
220 </equal>
221 <equal>
222 <clip pos="1" part="lem"/>
223 <lit v="adj_nom"/>
224 </equal>
225 <equal>
226 <clip pos="1" part="lem"/>
227 <lit v="adj_adj_nom"/>
228 </equal>
229 <equal>
230 <clip pos="1" part="lem"/>
231 <lit v="nom_adj"/>
232 </equal>
233 </or>
234 <equal>
235 <clip pos="1" part="nbr"/>
236 <lit-tag v="pl"/>
237 </equal>
238 </and>
239 <and>
240 <or>
241 <equal>
242 <clip pos="1" part="lem"/>
243 <lit v="part"/>
244 </equal>
245 <equal>
246 <clip pos="1" part="lem"/>
247 <lit v="partadj_nom"/>
248 </equal>
249 <equal>
250 <clip pos="1" part="lem"/>
251 <lit v="partadj_adj_nom"/>
252 </equal>
253 <equal>
254 <clip pos="1" part="lem"/>
255 <lit v="partnom_adj"/>
256 </equal>
257 </or>
258 <equal>
259 <clip pos="1" part="nbr"/>
260 <lit-tag v="sg"/>
261 </equal>
262 </and>
263 </or>
264 </test>
265 <out>
266 <chunk>
267 <get-case-from pos="1">
268 <lit v="partitiu"/>
269 </get-case-from>
270 <lit-tag v="part"/>
271 <lit v="{^de"/>
272 <lit-tag v="pr"/>
273 <lit v="$}"/>
274 </chunk>
275 <b/>
276 </out>
277 </when>
278 </choose>
279 <choose alt="oc@aran">
280 <when>
281 <test>
282 <or>
283 <equal>
284 <clip pos="1" part="lem"/>
285 <lit v="part_aran"/>
286 </equal>
287 <equal>
288 <clip pos="1" part="lem"/>
289 <lit v="partadj_nom_aran"/>
290 </equal>
291 <equal>
292 <clip pos="1" part="lem"/>
293 <lit v="partadj_adj_nom_aran"/>
294 </equal>
295 </or>
296 </test>
297 <out>
298 <chunk>
299 <get-case-from pos="1">
300 <lit v="partitiu"/>
301 </get-case-from>
302 <lit-tag v="part"/>
303 <lit v="{^de"/>
304 <lit-tag v="pr"/>
305 <lit v="$}"/>
306 </chunk>
307 <b/>
308 </out>
309 </when>
310 </choose>
313 </def-macro>
315 <def-macro n="dona_info" npar="1">
316 <let>
317 <var n="tipus_rel"/>
318 <lit v=""/>
319 </let>
320 <choose>
321 <when>
322 <test>
323 <equal>
324 <clip pos="1" part="tipusrel"/>
325 <lit-tag v="cuando"/>
326 </equal>
327 </test>
328 <let>
329 <var n="tipus_rel"/>
330 <lit v="cuando"/>
331 </let>
332 </when>
333 </choose>
334 </def-macro>
336 <def-macro n="lema_prn" npar="1">
337 <choose>
338 <when>
339 <test>
340 <equal>
341 <clip pos="1" part="lemprn"/>
342 <lit-tag v="usted"/>
343 </equal>
344 </test>
345 <let>
346 <var n="pronom"/>
347 <lit v="usted"/>
348 </let>
349 </when>
350 </choose>
351 </def-macro>
353 <def-macro n="modifica_sv" npar="1">
354 <choose><!-- si hi ha un quan-->
355 <when>
356 <test>
357 <and>
358 <equal>
359 <var n="tipus_rel"/>
360 <lit v="cuando"/>
361 </equal>
362 <equal>
363 <clip pos="1" part="temps"/>
364 <lit-tag v="prs"/>
365 </equal>
366 </and>
367 </test>
368 <let>
369 <clip pos="1" part="temps"/>
370 <lit-tag v="fti"/>
371 </let>
372 </when>
373 </choose>
374 <let>
375 <var n="tipus_rel"/>
376 <lit v=""/>
377 </let>
378 <choose><!-- si hi ha un vostè-->
379 <when>
380 <test>
381 <and>
382 <equal>
383 <var n="pronom"/>
384 <lit v="usted"/>
385 </equal>
386 <equal>
387 <clip pos="1" part="pers"/>
388 <lit-tag v="p3"/>
389 </equal>
390 <!-- <equal>
391 <clip pos="1" part="nbr"/>
392 <lit-tag v="sg"/>
393 </equal>-->
394 </and>
395 </test>
396 <let>
397 <clip pos="1" part="pers"/>
398 <lit-tag v="p2"/>
399 </let>
400 <let>
401 <clip pos="1" part="nbr"/>
402 <lit-tag v="pl"/>
403 </let>
404 </when>
405 </choose>
406 </def-macro>
408 <def-macro n="envia_pas" npar="1">
409 <choose>
410 <when>
411 <test>
412 <equal>
413 <clip pos="1" part="lem"/>
414 <lit v="no"/>
415 </equal>
416 </test>
417 <out>
418 <b/>
419 <chunk>
420 <lit v="adv_neg"/>
421 <lit-tag v="adv"/>
422 <lit v="{^"/>
423 <get-case-from pos="1">
424 <lit v="pas"/>
425 </get-case-from>
426 <lit-tag v="adv"/>
427 <lit v="$}"/>
428 </chunk>
429 </out>
430 </when>
431 </choose>
432 </def-macro>
434 <def-macro n="comprova_concord_2" npar="3">
435 <choose>
436 <when>
437 <test>
438 <equal>
439 <clip pos="3" part="nbr"/>
440 <lit-tag v="pl"/>
441 </equal>
442 </test>
443 <choose>
444 <when>
445 <test>
446 <equal>
447 <clip pos="3" part="pers"/>
448 <lit-tag v="p1"/>
449 </equal>
450 </test>
451 <choose>
452 <when>
453 <test>
454 <or>
455 <equal>
456 <clip pos="1" part="pers"/>
457 <lit-tag v="p1"/>
458 </equal>
459 <equal>
460 <clip pos="2" part="pers"/>
461 <lit-tag v="p1"/>
462 </equal>
463 </or>
464 </test>
465 <let><var n="concord"/><lit-tag v="yes"/></let>
466 </when>
467 <otherwise>
468 <let><var n="concord"/><lit-tag v="no"/></let>
469 </otherwise>
470 </choose>
471 </when> <!--no es 1a pers-->
472 <otherwise>
473 <choose>
474 <when>
475 <test>
476 <equal>
477 <clip pos="3" part="pers"/>
478 <lit-tag v="p2"/>
479 </equal>
480 </test>
481 <choose>
482 <when>
483 <test>
484 <or>
485 <equal>
486 <clip pos="1" part="pers"/>
487 <lit-tag v="p3"/>
488 </equal>
489 <equal>
490 <clip pos="2" part="pers"/>
491 <lit-tag v="p2"/>
492 </equal>
493 </or>
494 </test>
495 <let><var n="concord"/><lit-tag v="yes"/></let>
496 </when>
497 <otherwise>
498 <let><var n="concord"/><lit-tag v="no"/></let>
499 </otherwise>
500 </choose>
501 </when> <!--no es 2a pers-->
502 <otherwise><!--es 3a pers-->
503 <choose>
504 <when>
505 <test>
506 <and>
507 <not>
508 <equal>
509 <clip pos="1" part="pers"/>
510 <lit-tag v="p1"/>
511 </equal>
512 </not>
513 <not>
514 <equal>
515 <clip pos="2" part="pers"/>
516 <lit-tag v="p1"/>
517 </equal>
518 </not>
519 <not>
520 <equal>
521 <clip pos="1" part="pers"/>
522 <lit-tag v="p2"/>
523 </equal>
524 </not>
525 <not>
526 <equal>
527 <clip pos="2" part="pers"/>
528 <lit-tag v="p2"/>
529 </equal>
530 </not>
531 </and>
532 </test>
533 <let><var n="concord"/><lit-tag v="yes"/></let>
534 </when>
535 <otherwise>
536 <let><var n="concord"/><lit-tag v="no"/></let>
537 </otherwise>
538 </choose>
539 </otherwise>
540 </choose>
541 </otherwise>
542 </choose>
543 </when><!--no es pl-->
544 <otherwise>
545 <let><var n="concord"/><lit-tag v="no"/></let>
546 </otherwise>
547 </choose>
548 </def-macro>
550 <def-macro n="assigna_gen_nbr" npar="1">
551 <choose><!--To determine value of variables of gender and
552 number and propagate to other rules. Variables are
553 not used again in this rule -->
554 <when>
555 <test>
556 <equal>
557 <clip pos="1" part="nbr"/>
558 <lit-tag v="pl"/>
559 </equal>
560 </test>
561 <let><var n="nombre"/><lit-tag v="pl"/></let>
562 </when>
563 <when>
564 <test>
565 <or>
566 <equal>
567 <clip pos="1" part="nbr"/>
568 <lit-tag v="sg"/>
569 </equal>
570 <equal>
571 <var n="nombre"/>
572 <lit v=""/>
573 </equal>
574 </or>
575 </test>
576 <let><var n="nombre"/><lit-tag v="sg"/></let>
577 </when>
578 </choose>
579 <choose>
580 <when>
581 <test>
582 <equal>
583 <clip pos="1" part="gen"/>
584 <lit-tag v="f"/>
585 </equal>
586 </test>
587 <let><var n="genere"/><lit-tag v="f"/></let>
588 </when>
589 <when>
590 <test>
591 <or>
592 <equal>
593 <clip pos="1" part="gen"/>
594 <lit-tag v="m"/>
595 </equal>
596 <equal>
597 <var n="genere"/>
598 <lit v=""/>
599 </equal>
600 </or>
601 </test>
602 <let><var n="genere"/><lit-tag v="m"/></let>
603 </when>
604 </choose>
605 <choose>
606 <when>
607 <test>
608 <equal>
609 <clip pos="1" part="nbr"/>
610 <lit-tag v="ND"/>
611 </equal>
612 </test>
613 <let><clip pos="1" part="nbr"/><var n="nombre"/></let>
614 </when>
615 </choose>
616 <choose>
617 <when>
618 <test>
619 <equal>
620 <clip pos="1" part="gen"/>
621 <lit-tag v="GD"/>
622 </equal>
623 </test>
624 <let><clip pos="1" part="gen"/><var n="genere"/></let>
625 </when>
626 </choose>
627 </def-macro>
629 <def-macro n="assigna_nombre_subj" npar="1">
630 <choose><!--mirem el nbr-->
631 <when>
632 <test>
633 <or>
634 <equal>
635 <var n="nombre_subj"/>
636 <lit v="no_assignat"/>
637 </equal>
638 <equal>
639 <var n="nombre_subj"/>
640 <lit v=""/>
641 </equal>
642 <equal>
643 <var n="nombre_subj"/>
644 <lit v=""/>
645 </equal>
646 </or>
647 </test>
648 <let><var n="nombre_subj"/><clip pos="1" part="nbr"/></let>
649 </when>
650 <otherwise>
651 <choose>
652 <when>
653 <test>
654 <or>
655 <equal>
656 <var n="nombre_subj"/>
657 <lit-tag v="vist_sg"/>
658 </equal>
659 <equal>
660 <var n="nombre_subj"/>
661 <lit-tag v="sg"/>
662 </equal>
663 </or>
664 </test>
665 <let><var n="nombre_subj"/><lit-tag v="pl"/></let>
666 </when>
667 </choose>
668 </otherwise>
669 </choose>
670 <choose><!--i aqui la pers-->
671 <when>
672 <test>
673 <or>
674 <equal>
675 <var n="pers_subj"/>
676 <lit-tag v="p3"/>
677 </equal>
678 <equal>
679 <var n="pers_subj"/>
680 <lit v=""/>
681 </equal>
682 </or>
683 </test>
684 <choose>
685 <when>
686 <test>
687 <equal>
688 <clip pos="1" part="pers"/>
689 <lit-tag v="p1"/>
690 </equal>
691 </test>
692 <let><var n="pers_subj"/><lit-tag v="p1"/></let>
693 </when>
694 <otherwise>
695 <choose>
696 <when>
697 <test>
698 <equal>
699 <clip pos="1" part="pers"/>
700 <lit-tag v="p2"/>
701 </equal>
702 </test>
703 <let><var n="pers_subj"/><lit-tag v="p2"/></let>
704 </when>
705 <otherwise><let><var n="pers_subj"/><lit-tag v="p3"/></let></otherwise>
706 </choose>
707 </otherwise>
708 </choose>
709 </when>
710 <otherwise>
711 <choose>
712 <when>
713 <test>
714 <equal>
715 <var n="pers_subj"/>
716 <lit-tag v="p2"/>
717 </equal>
718 </test>
719 <choose>
720 <when>
721 <test>
722 <equal>
723 <clip pos="1" part="pers"/>
724 <lit-tag v="p1"/>
725 </equal>
726 </test>
727 <let><var n="pers_subj"/><lit-tag v="p1"/></let>
728 </when>
729 <!-- es p2 -->
730 </choose>
731 </when>
732 </choose>
733 </otherwise>
734 </choose>
736 </def-macro>
738 <def-macro n="concord_sa" npar="2"><!--assigna el gen i el nbr del sn en els sa en les frases amb verb copulatiu (p.ex "la perspectiva de tu tía es interesante" -> "interesante" concordarà amb "aperçu")-->
739 <choose>
740 <when>
741 <test>
742 <equal>
743 <clip pos="1" part="gen"/>
744 <lit-tag v="f"/>
745 </equal>
746 </test>
747 <let>
748 <clip pos="2" part="gen"/>
749 <lit-tag v="f"/>
750 </let>
751 </when>
752 <otherwise>
753 <let>
754 <clip pos="2" part="gen"/>
755 <lit-tag v="m"/>
756 </let>
757 </otherwise>
758 </choose>
760 <choose>
761 <when>
762 <test>
763 <equal>
764 <clip pos="1" part="nbr"/>
765 <lit-tag v="pl"/>
766 </equal>
767 </test>
768 <let>
769 <clip pos="2" part="nbr"/>
770 <lit-tag v="pl"/>
771 </let>
772 </when>
773 <otherwise>
774 <let>
775 <clip pos="2" part="nbr"/>
776 <lit-tag v="sg"/>
777 </let>
778 </otherwise>
779 </choose>
781 </def-macro>
783 <def-macro n="concord_pp" npar="2">
784 <choose>
785 <when>
786 <test>
787 <equal>
788 <clip pos="1" part="gen"/>
789 <lit-tag v="f"/>
790 </equal>
791 </test>
792 <let>
793 <clip pos="2" part="gen_pp"/>
794 <lit-tag v="f"/>
795 </let>
796 </when>
797 <otherwise>
798 <let>
799 <clip pos="2" part="gen_pp"/>
800 <lit-tag v="m"/>
801 </let>
802 </otherwise>
803 </choose>
805 <choose>
806 <when>
807 <test>
808 <equal>
809 <clip pos="1" part="nbr"/>
810 <lit-tag v="pl"/>
811 </equal>
812 </test>
813 <let>
814 <clip pos="2" part="nbr_pp"/>
815 <lit-tag v="pl"/>
816 </let>
817 </when>
818 <otherwise>
819 <let>
820 <clip pos="2" part="nbr_pp"/>
821 <lit-tag v="sg"/>
822 </let>
823 </otherwise>
824 </choose>
826 </def-macro>
828 <def-macro n="concord_sn" npar="2"> <!--asgina gen i nbr en els sn GD o ND quan van seguits de vcop. (p.ex. "esta chica es mi ayudante)-->
829 <choose>
830 <when>
831 <test>
832 <equal>
833 <clip pos="2" part="gen"/>
834 <lit-tag v="GD"/>
835 </equal>
836 </test>
837 <choose>
838 <when>
839 <test>
840 <equal>
841 <clip pos="1" part="gen"/>
842 <lit-tag v="f"/>
843 </equal>
844 </test>
845 <let>
846 <clip pos="2" part="gen"/>
847 <lit-tag v="f"/>
848 </let>
849 </when>
850 <otherwise>
851 <let>
852 <clip pos="2" part="gen"/>
853 <lit-tag v="m"/>
854 </let>
855 </otherwise>
856 </choose>
857 </when>
858 </choose>
859 <choose>
860 <when>
861 <test>
862 <equal>
863 <clip pos="2" part="nbr"/>
864 <lit-tag v="ND"/>
865 </equal>
866 </test>
867 <choose>
868 <when>
869 <test>
870 <equal>
871 <clip pos="1" part="nbr"/>
872 <lit-tag v="pl"/>
873 </equal>
874 </test>
875 <let>
876 <clip pos="2" part="nbr"/>
877 <lit-tag v="pl"/>
878 </let>
879 </when>
880 <otherwise>
881 <let>
882 <clip pos="2" part="nbr"/>
883 <lit-tag v="sg"/>
884 </let>
885 </otherwise>
886 </choose>
887 </when>
888 </choose>
889 </def-macro>
891 <def-macro n="f_bcond" npar="1"><!--Per mirar si el blanc cont�o no format. Cal posar aquesta funci�en les regles en qu�desaparegui alguna paraula, per tal de decidir si el blanc de la paraula eliminada s'ha d'eliminar o conservar. Si cont�format cal conservar-la, si no en cont�cal eliminar-la perqu�no apareguin dos espais seguits. -->
892 <choose>
893 <when>
894 <test>
895 <not>
896 <equal>
897 <b pos="1"/>
898 <lit v=" "/>
899 </equal>
900 </not>
901 </test>
902 <out>
903 <b pos="1"/>
904 </out>
905 </when>
906 </choose>
907 </def-macro>
909 </section-def-macros>
911 <section-rules>
912 <!--REGLES GENERALS -->
914 <rule comment="REGLA: SN">
915 <pattern>
916 <pattern-item n="SN"/>
917 </pattern>
918 <action>
919 <call-macro n="assigna_gen_nbr">
920 <with-param pos="1"/>
921 </call-macro>
922 <call-macro n="lema_prn">
923 <with-param pos="1"/>
924 </call-macro>
925 <call-macro n="partitiu">
926 <with-param pos="1"/>
927 </call-macro>
928 <out>
929 <chunk>
930 <clip pos="1" part="lem"/>
931 <clip pos="1" part="tags"/>
932 <clip pos="1" part="chcontent"/>
933 </chunk>
934 </out>
935 </action>
936 </rule>
938 <rule comment="REGLA: rel">
939 <pattern>
940 <pattern-item n="rel"/>
941 </pattern>
942 <action>
943 <call-macro n="dona_info">
944 <with-param pos="1"/>
945 </call-macro>
946 <out>
947 <chunk>
948 <clip pos="1" part="lem"/>
949 <clip pos="1" part="tags"/>
950 <clip pos="1" part="chcontent"/>
951 </chunk>
952 </out>
953 </action>
954 </rule>
956 <rule comment="REGLA: SV">
957 <pattern>
958 <pattern-item n="SV"/>
959 </pattern>
960 <action>
961 <call-macro n="modifica_sv">
962 <with-param pos="1"/>
963 </call-macro>
964 <out>
965 <chunk>
966 <clip pos="1" part="lem"/>
967 <clip pos="1" part="tags"/>
968 <clip pos="1" part="chcontent"/>
969 </chunk>
970 </out>
971 </action>
972 </rule>
974 <rule comment="REGLA: SV adv SN">
975 <pattern>
976 <pattern-item n="SV"/>
977 <pattern-item n="adv"/>
978 <pattern-item n="SN"/>
979 </pattern>
980 <action>
981 <call-macro n="modifica_sv">
982 <with-param pos="1"/>
983 </call-macro>
984 <call-macro n="assigna_gen_nbr">
985 <with-param pos="3"/>
986 </call-macro>
987 <call-macro n="lema_prn">
988 <with-param pos="3"/>
989 </call-macro>
990 <choose>
991 <when>
992 <test>
993 <equal>
994 <clip pos="2" part="lem"/>
995 <lit v="adv"/>
996 </equal>
997 </test>
998 <let>
999 <clip pos="2" part="lem"/>
1000 <lit v="controla_adv"/>
1001 </let>
1002 </when>
1003 </choose>
1005 <out>
1006 <chunk>
1007 <clip pos="1" part="lem"/>
1008 <clip pos="1" part="tags"/>
1009 <clip pos="1" part="chcontent"/>
1010 </chunk>
1011 <b pos="1"/>
1013 <chunk>
1014 <clip pos="2" part="lem"/>
1015 <clip pos="2" part="tags"/>
1016 <clip pos="2" part="chcontent"/>
1017 </chunk>
1018 <b pos="2"/>
1019 </out>
1020 <call-macro n="partitiu">
1021 <with-param pos="3"/>
1022 </call-macro>
1023 <out>
1024 <chunk>
1025 <clip pos="3" part="lem"/>
1026 <clip pos="3" part="tags"/>
1027 <clip pos="3" part="chcontent"/>
1028 </chunk>
1029 </out>
1030 </action>
1031 </rule>
1033 <rule comment="REGLA: prep SN">
1034 <pattern>
1035 <pattern-item n="pr"/>
1036 <pattern-item n="SN"/>
1037 </pattern>
1038 <action>
1039 <call-macro n="assigna_gen_nbr">
1040 <with-param pos="2"/>
1041 </call-macro>
1042 <out>
1043 <chunk>
1044 <clip pos="1" part="lem"/>
1045 <clip pos="1" part="tags"/>
1046 <clip pos="1" part="chcontent"/>
1047 </chunk>
1048 <b pos="1"/>
1049 </out>
1050 <choose>
1051 <when>
1052 <test>
1053 <not>
1054 <in caseless="yes">
1055 <clip pos="1" part="lem"/>
1056 <list n="prde"/>
1057 </in>
1058 </not>
1059 </test>
1060 <call-macro n="partitiu">
1061 <with-param pos="2"/>
1062 </call-macro>
1063 </when>
1064 </choose>
1065 <out>
1066 <chunk>
1067 <clip pos="2" part="lem"/>
1068 <clip pos="2" part="tags"/>
1069 <clip pos="2" part="chcontent"/>
1070 </chunk>
1071 </out>
1072 </action>
1073 </rule>
1075 <rule comment="REGLA: prep SN cnjcoo SN">
1076 <pattern>
1077 <pattern-item n="pr"/>
1078 <pattern-item n="SN"/>
1079 <pattern-item n="cnjcoo"/>
1080 <pattern-item n="SN"/>
1081 </pattern>
1082 <action>
1083 <call-macro n="assigna_gen_nbr">
1084 <with-param pos="2"/>
1085 </call-macro>
1086 <call-macro n="assigna_gen_nbr">
1087 <with-param pos="4"/>
1088 </call-macro>
1089 <out>
1090 <chunk>
1091 <clip pos="1" part="lem"/>
1092 <clip pos="1" part="tags"/>
1093 <clip pos="1" part="chcontent"/>
1094 </chunk>
1095 <b pos="1"/>
1096 </out>
1097 <choose>
1098 <when>
1099 <test>
1100 <not>
1101 <in caseless="yes">
1102 <clip pos="1" part="lem"/>
1103 <list n="prde"/>
1104 </in>
1105 </not>
1106 </test>
1107 <call-macro n="partitiu">
1108 <with-param pos="2"/>
1109 </call-macro>
1110 </when>
1111 </choose>
1112 <out>
1113 <chunk>
1114 <clip pos="2" part="lem"/>
1115 <clip pos="2" part="tags"/>
1116 <clip pos="2" part="chcontent"/>
1117 </chunk>
1118 <b pos="2"/>
1119 <chunk>
1120 <clip pos="3" part="lem"/>
1121 <clip pos="3" part="tags"/>
1122 <clip pos="3" part="chcontent"/>
1123 </chunk>
1124 <b pos="3"/>
1125 </out>
1126 <!-- <call-macro n="partitiu">
1127 <with-param pos="4"/>
1128 </call-macro>-->
1129 <out>
1130 <chunk>
1131 <clip pos="4" part="lem"/>
1132 <clip pos="4" part="tags"/>
1133 <clip pos="4" part="chcontent"/>
1134 </chunk>
1135 </out>
1136 </action>
1137 </rule>
1139 <rule comment="REGLA: SN cnjcoo SN">
1140 <pattern>
1141 <pattern-item n="SN"/>
1142 <pattern-item n="cnjcoo"/>
1143 <pattern-item n="SN"/>
1144 </pattern>
1145 <action>
1146 <call-macro n="assigna_gen_nbr">
1147 <with-param pos="1"/>
1148 </call-macro>
1149 <call-macro n="assigna_gen_nbr">
1150 <with-param pos="3"/>
1151 </call-macro>
1152 <call-macro n="partitiu">
1153 <with-param pos="1"/>
1154 </call-macro>
1155 <out>
1156 <chunk>
1157 <clip pos="1" part="lem"/>
1158 <clip pos="1" part="tags"/>
1159 <clip pos="1" part="chcontent"/>
1160 </chunk>
1161 <b pos="1"/>
1162 <chunk>
1163 <clip pos="2" part="lem"/>
1164 <clip pos="2" part="tags"/>
1165 <clip pos="2" part="chcontent"/>
1166 </chunk>
1167 <b pos="2"/>
1168 <chunk>
1169 <clip pos="3" part="lem"/>
1170 <clip pos="3" part="tags"/>
1171 <clip pos="3" part="chcontent"/>
1172 </chunk>
1173 </out>
1174 </action>
1175 </rule>
1177 <rule comment="REGLA: cnjcoo">
1178 <pattern>
1179 <pattern-item n="cnjcoo"/>
1180 </pattern>
1181 <action>
1182 <out>
1183 <chunk>
1184 <clip pos="1" part="lem"/>
1185 <clip pos="1" part="tags"/>
1186 <clip pos="1" part="chcontent"/>
1187 </chunk>
1188 </out>
1189 </action>
1190 </rule>
1193 <rule comment="REGLA: SA">
1194 <pattern>
1195 <pattern-item n="SA"/>
1196 </pattern>
1197 <action>
1198 <call-macro n="assigna_gen_nbr">
1199 <with-param pos="1"/>
1200 </call-macro>
1201 <out>
1202 <chunk>
1203 <clip pos="1" part="lem"/>
1204 <clip pos="1" part="tags"/>
1205 <clip pos="1" part="chcontent"/>
1206 </chunk>
1207 </out>
1208 </action>
1209 </rule>
1211 <rule comment="REGLA: det">
1212 <pattern>
1213 <pattern-item n="DET"/>
1214 </pattern>
1215 <action>
1216 <call-macro n="assigna_gen_nbr">
1217 <with-param pos="1"/>
1218 </call-macro>
1219 <out>
1220 <chunk>
1221 <clip pos="1" part="lem"/>
1222 <clip pos="1" part="tags"/>
1223 <clip pos="1" part="chcontent"/>
1224 </chunk>
1225 </out>
1226 </action>
1227 </rule>
1229 <!-- concord de ppi -->
1230 <rule comment="REGLA: SN esser_pp">
1231 <pattern>
1232 <pattern-item n="SN"/>
1233 <pattern-item n="esser_pp"/>
1234 </pattern>
1235 <action>
1236 <call-macro n="concord_pp">
1237 <with-param pos="1"/>
1238 <with-param pos="2"/>
1239 </call-macro>
1240 <call-macro n="assigna_gen_nbr">
1241 <with-param pos="1"/>
1242 </call-macro>
1243 <out>
1244 <chunk>
1245 <clip pos="1" part="lem"/>
1246 <clip pos="1" part="tags"/>
1247 <clip pos="1" part="chcontent"/>
1248 </chunk>
1249 <b pos="1"/>
1250 <chunk>
1251 <clip pos="2" part="lem"/>
1252 <clip pos="2" part="tags"/>
1253 <clip pos="2" part="chcontent"/>
1254 </chunk>
1255 </out>
1256 </action>
1257 </rule>
1259 <rule comment="REGLA: SN sp esser_pp">
1260 <pattern>
1261 <pattern-item n="SN"/>
1262 <pattern-item n="pr"/>
1263 <pattern-item n="SN"/>
1264 <pattern-item n="esser_pp"/>
1265 </pattern>
1266 <action>
1267 <call-macro n="concord_pp">
1268 <with-param pos="1"/>
1269 <with-param pos="4"/>
1270 </call-macro>
1271 <call-macro n="assigna_gen_nbr">
1272 <with-param pos="1"/>
1273 </call-macro>
1274 <call-macro n="assigna_gen_nbr">
1275 <with-param pos="3"/>
1276 </call-macro>
1277 <out>
1278 <chunk>
1279 <clip pos="1" part="lem"/>
1280 <clip pos="1" part="tags"/>
1281 <clip pos="1" part="chcontent"/>
1282 </chunk>
1283 <b pos="1"/>
1284 <chunk>
1285 <clip pos="2" part="lem"/>
1286 <clip pos="2" part="tags"/>
1287 <clip pos="2" part="chcontent"/>
1288 </chunk>
1289 <b pos="2"/>
1290 <chunk>
1291 <clip pos="3" part="lem"/>
1292 <clip pos="3" part="tags"/>
1293 <clip pos="3" part="chcontent"/>
1294 </chunk>
1295 <b pos="3"/>
1296 <chunk>
1297 <clip pos="4" part="lem"/>
1298 <clip pos="4" part="tags"/>
1299 <clip pos="4" part="chcontent"/>
1300 </chunk>
1301 </out>
1302 </action>
1303 </rule>
1305 <!-- regles de verb cop -->
1306 <rule comment="REGLA: SN vbcop SA">
1307 <pattern>
1308 <pattern-item n="SN"/>
1309 <pattern-item n="vbcop"/>
1310 <pattern-item n="SA"/>
1311 </pattern>
1312 <action>
1313 <call-macro n="concord_sa">
1314 <with-param pos="1"/>
1315 <with-param pos="3"/>
1316 </call-macro>
1317 <call-macro n="assigna_gen_nbr">
1318 <with-param pos="1"/>
1319 </call-macro>
1320 <call-macro n="partitiu">
1321 <with-param pos="1"/>
1322 </call-macro>
1323 <call-macro n="concord_pp">
1324 <with-param pos="1"/>
1325 <with-param pos="2"/>
1326 </call-macro>
1327 <out>
1328 <chunk>
1329 <clip pos="1" part="lem"/>
1330 <clip pos="1" part="tags"/>
1331 <clip pos="1" part="chcontent"/>
1332 </chunk>
1333 <b pos="1"/>
1334 <chunk>
1335 <clip pos="2" part="lem"/>
1336 <clip pos="2" part="tags"/>
1337 <clip pos="2" part="chcontent"/>
1338 </chunk>
1339 <b pos="2"/>
1340 <chunk>
1341 <clip pos="3" part="whole"/>
1342 </chunk>
1343 </out>
1344 </action>
1345 </rule>
1347 <rule comment="REGLA: SA vbcop SN">
1348 <pattern>
1349 <pattern-item n="SA"/>
1350 <pattern-item n="vbcop"/>
1351 <pattern-item n="SN"/>
1352 </pattern>
1353 <action>
1354 <call-macro n="concord_sa">
1355 <with-param pos="3"/>
1356 <with-param pos="1"/>
1357 </call-macro>
1358 <call-macro n="assigna_gen_nbr">
1359 <with-param pos="3"/>
1360 </call-macro>
1361 <call-macro n="concord_pp">
1362 <with-param pos="3"/>
1363 <with-param pos="2"/>
1364 </call-macro>
1365 <out>
1366 <chunk>
1367 <clip pos="1" part="lem"/>
1368 <clip pos="1" part="tags"/>
1369 <clip pos="1" part="chcontent"/>
1370 </chunk>
1371 <b pos="1"/>
1372 <chunk>
1373 <clip pos="2" part="lem"/>
1374 <clip pos="2" part="tags"/>
1375 <clip pos="2" part="chcontent"/>
1376 </chunk>
1377 <b pos="2"/>
1378 </out>
1379 <call-macro n="partitiu">
1380 <with-param pos="3"/>
1381 </call-macro>
1382 <out>
1383 <chunk>
1384 <clip pos="3" part="whole"/>
1385 </chunk>
1386 </out>
1387 </action>
1388 </rule>
1390 <rule comment="REGLA: SN vbcop ADV SA">
1391 <pattern>
1392 <pattern-item n="SN"/>
1393 <pattern-item n="vbcop"/>
1394 <pattern-item n="adv"/>
1395 <pattern-item n="SA"/>
1396 </pattern>
1397 <action>
1398 <call-macro n="concord_sa">
1399 <with-param pos="1"/>
1400 <with-param pos="4"/>
1401 </call-macro>
1402 <call-macro n="assigna_gen_nbr">
1403 <with-param pos="1"/>
1404 </call-macro>
1405 <call-macro n="partitiu">
1406 <with-param pos="1"/>
1407 </call-macro>
1408 <call-macro n="concord_pp">
1409 <with-param pos="1"/>
1410 <with-param pos="2"/>
1411 </call-macro>
1412 <out>
1413 <chunk>
1414 <clip pos="1" part="lem"/>
1415 <clip pos="1" part="tags"/>
1416 <clip pos="1" part="chcontent"/>
1417 </chunk>
1418 <b pos="1"/>
1419 <chunk>
1420 <clip pos="2" part="lem"/>
1421 <clip pos="2" part="tags"/>
1422 <clip pos="2" part="chcontent"/>
1423 </chunk>
1424 <b pos="2"/>
1425 <chunk>
1426 <clip pos="3" part="lem"/>
1427 <clip pos="3" part="tags"/>
1428 <clip pos="3" part="chcontent"/>
1429 </chunk>
1430 <b pos="3"/>
1431 <chunk>
1432 <clip pos="4" part="whole"/>
1433 </chunk>
1434 </out>
1435 </action>
1436 </rule>
1438 <rule comment="REGLA: SA vbcop ADV SN">
1439 <pattern>
1440 <pattern-item n="SA"/>
1441 <pattern-item n="vbcop"/>
1442 <pattern-item n="adv"/>
1443 <pattern-item n="SN"/>
1444 </pattern>
1445 <action>
1446 <call-macro n="concord_sa">
1447 <with-param pos="4"/>
1448 <with-param pos="1"/>
1449 </call-macro>
1450 <call-macro n="assigna_gen_nbr">
1451 <with-param pos="4"/>
1452 </call-macro>
1453 <call-macro n="concord_pp">
1454 <with-param pos="4"/>
1455 <with-param pos="2"/>
1456 </call-macro>
1457 <out>
1458 <chunk>
1459 <clip pos="1" part="lem"/>
1460 <clip pos="1" part="tags"/>
1461 <clip pos="1" part="chcontent"/>
1462 </chunk>
1463 <b pos="1"/>
1464 <chunk>
1465 <clip pos="2" part="lem"/>
1466 <clip pos="2" part="tags"/>
1467 <clip pos="2" part="chcontent"/>
1468 </chunk>
1469 <b pos="2"/>
1470 <chunk>
1471 <clip pos="3" part="lem"/>
1472 <clip pos="3" part="tags"/>
1473 <clip pos="3" part="chcontent"/>
1474 </chunk>
1475 <b pos="3"/>
1476 </out>
1477 <call-macro n="partitiu">
1478 <with-param pos="4"/>
1479 </call-macro>
1480 <out>
1481 <chunk>
1482 <clip pos="4" part="lem"/>
1483 <clip pos="4" part="tags"/>
1484 <clip pos="4" part="chcontent"/>
1485 </chunk>
1486 </out>
1487 </action>
1488 </rule>
1491 <rule comment="REGLA: SN vbcop SN">
1492 <pattern>
1493 <pattern-item n="SN"/>
1494 <pattern-item n="vbcop"/>
1495 <pattern-item n="SN"/>
1496 </pattern>
1497 <action>
1498 <call-macro n="concord_sn">
1499 <with-param pos="1"/>
1500 <with-param pos="3"/>
1501 </call-macro>
1502 <call-macro n="assigna_gen_nbr">
1503 <with-param pos="1"/>
1504 </call-macro>
1505 <call-macro n="partitiu">
1506 <with-param pos="1"/>
1507 </call-macro>
1508 <call-macro n="concord_pp">
1509 <with-param pos="1"/>
1510 <with-param pos="2"/>
1511 </call-macro>
1512 <out>
1513 <chunk>
1514 <clip pos="1" part="lem"/>
1515 <clip pos="1" part="tags"/>
1516 <clip pos="1" part="chcontent"/>
1517 </chunk>
1518 <b pos="1"/>
1519 <chunk>
1520 <clip pos="2" part="lem"/>
1521 <clip pos="2" part="tags"/>
1522 <clip pos="2" part="chcontent"/>
1523 </chunk>
1524 <b pos="2"/>
1525 </out>
1526 <call-macro n="partitiu">
1527 <with-param pos="3"/>
1528 </call-macro>
1529 <out>
1530 <chunk>
1531 <clip pos="3" part="whole"/>
1532 </chunk>
1533 </out>
1534 </action>
1535 </rule>
1537 <rule comment="REGLA: SN vbcop adv SN">
1538 <pattern>
1539 <pattern-item n="SN"/>
1540 <pattern-item n="vbcop"/>
1541 <pattern-item n="adv"/>
1542 <pattern-item n="SN"/>
1543 </pattern>
1544 <action>
1545 <call-macro n="concord_sn">
1546 <with-param pos="1"/>
1547 <with-param pos="4"/>
1548 </call-macro>
1549 <call-macro n="assigna_gen_nbr">
1550 <with-param pos="1"/>
1551 </call-macro>
1552 <call-macro n="partitiu">
1553 <with-param pos="1"/>
1554 </call-macro>
1555 <call-macro n="concord_pp">
1556 <with-param pos="1"/>
1557 <with-param pos="2"/>
1558 </call-macro>
1559 <out>
1560 <chunk>
1561 <clip pos="1" part="lem"/>
1562 <clip pos="1" part="tags"/>
1563 <clip pos="1" part="chcontent"/>
1564 </chunk>
1565 <b pos="1"/>
1566 <chunk>
1567 <clip pos="2" part="lem"/>
1568 <clip pos="2" part="tags"/>
1569 <clip pos="2" part="chcontent"/>
1570 </chunk>
1571 <b pos="2"/>
1572 <chunk>
1573 <clip pos="3" part="lem"/>
1574 <clip pos="3" part="tags"/>
1575 <clip pos="3" part="chcontent"/>
1576 </chunk>
1577 <b pos="3"/>
1578 </out>
1579 <call-macro n="partitiu">
1580 <with-param pos="4"/>
1581 </call-macro>
1582 <out>
1583 <chunk>
1584 <clip pos="4" part="lem"/>
1585 <clip pos="4" part="tags"/>
1586 <clip pos="4" part="chcontent"/>
1587 </chunk>
1588 </out>
1589 </action>
1590 </rule>
1593 <rule comment="REGLA: SN sprep vbcop SA">
1594 <pattern>
1595 <pattern-item n="SN"/>
1596 <pattern-item n="pr"/>
1597 <pattern-item n="SN"/>
1598 <pattern-item n="vbcop"/>
1599 <pattern-item n="SA"/>
1600 </pattern>
1601 <action>
1602 <call-macro n="assigna_gen_nbr">
1603 <with-param pos="1"/>
1604 </call-macro>
1605 <call-macro n="assigna_gen_nbr">
1606 <with-param pos="3"/>
1607 </call-macro>
1608 <call-macro n="concord_sa">
1609 <with-param pos="1"/>
1610 <with-param pos="5"/>
1611 </call-macro>
1612 <call-macro n="partitiu">
1613 <with-param pos="1"/>
1614 </call-macro>
1615 <call-macro n="concord_pp">
1616 <with-param pos="1"/>
1617 <with-param pos="4"/>
1618 </call-macro>
1619 <out>
1620 <chunk>
1621 <clip pos="1" part="lem"/>
1622 <clip pos="1" part="tags"/>
1623 <clip pos="1" part="chcontent"/>
1624 </chunk>
1625 <b pos="1"/>
1626 <chunk>
1627 <clip pos="2" part="lem"/>
1628 <clip pos="2" part="tags"/>
1629 <clip pos="2" part="chcontent"/>
1630 </chunk>
1631 <b pos="2"/>
1632 </out>
1633 <choose>
1634 <when>
1635 <test>
1636 <not>
1637 <in caseless="yes">
1638 <clip pos="2" part="lem"/>
1639 <list n="prde"/>
1640 </in>
1641 </not>
1642 </test>
1643 <call-macro n="partitiu">
1644 <with-param pos="3"/>
1645 </call-macro>
1646 </when>
1647 </choose>
1648 <out>
1649 <chunk>
1650 <clip pos="3" part="lem"/>
1651 <clip pos="3" part="tags"/>
1652 <clip pos="3" part="chcontent"/>
1653 </chunk>
1654 <b pos="3"/>
1655 <chunk>
1656 <clip pos="4" part="lem"/>
1657 <clip pos="4" part="tags"/>
1658 <clip pos="4" part="chcontent"/>
1659 </chunk>
1660 <b pos="4"/>
1661 <chunk>
1662 <clip pos="5" part="lem"/>
1663 <clip pos="5" part="tags"/>
1664 <clip pos="5" part="chcontent"/>
1665 </chunk>
1666 </out>
1667 </action>
1668 </rule>
1670 <rule comment="REGLA: SN sprep vbcop adv SA">
1671 <pattern>
1672 <pattern-item n="SN"/>
1673 <pattern-item n="pr"/>
1674 <pattern-item n="SN"/>
1675 <pattern-item n="vbcop"/>
1676 <pattern-item n="adv"/>
1677 <pattern-item n="SA"/>
1678 </pattern>
1679 <action>
1680 <call-macro n="assigna_gen_nbr">
1681 <with-param pos="1"/>
1682 </call-macro>
1683 <call-macro n="assigna_gen_nbr">
1684 <with-param pos="3"/>
1685 </call-macro>
1686 <call-macro n="concord_sa">
1687 <with-param pos="1"/>
1688 <with-param pos="6"/>
1689 </call-macro>
1690 <call-macro n="partitiu">
1691 <with-param pos="1"/>
1692 </call-macro>
1693 <call-macro n="concord_pp">
1694 <with-param pos="1"/>
1695 <with-param pos="4"/>
1696 </call-macro>
1697 <out>
1698 <chunk>
1699 <clip pos="1" part="lem"/>
1700 <clip pos="1" part="tags"/>
1701 <clip pos="1" part="chcontent"/>
1702 </chunk>
1703 <b pos="1"/>
1704 <chunk>
1705 <clip pos="2" part="lem"/>
1706 <clip pos="2" part="tags"/>
1707 <clip pos="2" part="chcontent"/>
1708 </chunk>
1709 <b pos="2"/>
1710 </out>
1711 <choose>
1712 <when>
1713 <test>
1714 <not>
1715 <in caseless="yes">
1716 <clip pos="2" part="lem"/>
1717 <list n="prde"/>
1718 </in>
1719 </not>
1720 </test>
1721 <call-macro n="partitiu">
1722 <with-param pos="3"/>
1723 </call-macro>
1724 </when>
1725 </choose>
1726 <out>
1727 <chunk>
1728 <clip pos="3" part="lem"/>
1729 <clip pos="3" part="tags"/>
1730 <clip pos="3" part="chcontent"/>
1731 </chunk>
1732 <b pos="3"/>
1733 <chunk>
1734 <clip pos="4" part="lem"/>
1735 <clip pos="4" part="tags"/>
1736 <clip pos="4" part="chcontent"/>
1737 </chunk>
1738 <b pos="4"/>
1739 <chunk>
1740 <clip pos="5" part="lem"/>
1741 <clip pos="5" part="tags"/>
1742 <clip pos="5" part="chcontent"/>
1743 </chunk>
1744 <b pos="5"/>
1745 <chunk>
1746 <clip pos="6" part="lem"/>
1747 <clip pos="6" part="tags"/>
1748 <clip pos="6" part="chcontent"/>
1749 </chunk>
1750 </out>
1751 </action>
1752 </rule>
1754 <rule comment="REGLA: SN sprep vbcop SN">
1755 <pattern>
1756 <pattern-item n="SN"/>
1757 <pattern-item n="pr"/>
1758 <pattern-item n="SN"/>
1759 <pattern-item n="vbcop"/>
1760 <pattern-item n="SN"/>
1761 </pattern>
1762 <action>
1763 <call-macro n="assigna_gen_nbr">
1764 <with-param pos="1"/>
1765 </call-macro>
1766 <call-macro n="assigna_gen_nbr">
1767 <with-param pos="3"/>
1768 </call-macro>
1769 <call-macro n="concord_sn">
1770 <with-param pos="1"/>
1771 <with-param pos="5"/>
1772 </call-macro>
1773 <call-macro n="partitiu">
1774 <with-param pos="1"/>
1775 </call-macro>
1776 <call-macro n="concord_pp">
1777 <with-param pos="1"/>
1778 <with-param pos="4"/>
1779 </call-macro>
1780 <out>
1781 <chunk>
1782 <clip pos="1" part="lem"/>
1783 <clip pos="1" part="tags"/>
1784 <clip pos="1" part="chcontent"/>
1785 </chunk>
1786 <b pos="1"/>
1787 <chunk>
1788 <clip pos="2" part="lem"/>
1789 <clip pos="2" part="tags"/>
1790 <clip pos="2" part="chcontent"/>
1791 </chunk>
1792 <b pos="2"/>
1793 </out>
1794 <choose>
1795 <when>
1796 <test>
1797 <not>
1798 <in caseless="yes">
1799 <clip pos="2" part="lem"/>
1800 <list n="prde"/>
1801 </in>
1802 </not>
1803 </test>
1804 <call-macro n="partitiu">
1805 <with-param pos="3"/>
1806 </call-macro>
1807 </when>
1808 </choose>
1809 <out>
1810 <chunk>
1811 <clip pos="3" part="lem"/>
1812 <clip pos="3" part="tags"/>
1813 <clip pos="3" part="chcontent"/>
1814 </chunk>
1815 <b pos="3"/>
1816 <chunk>
1817 <clip pos="4" part="lem"/>
1818 <clip pos="4" part="tags"/>
1819 <clip pos="4" part="chcontent"/>
1820 </chunk>
1821 <b pos="4"/>
1822 </out>
1823 <call-macro n="partitiu" alt="oc-ca">
1824 <with-param pos="5"/>
1825 </call-macro>
1826 <out>
1827 <chunk>
1828 <clip pos="5" part="lem"/>
1829 <clip pos="5" part="tags"/>
1830 <clip pos="5" part="chcontent"/>
1831 </chunk>
1832 </out>
1833 </action>
1834 </rule>
1838 <rule comment="REGLA: SN sprep vbcop adv SN">
1839 <pattern>
1840 <pattern-item n="SN"/>
1841 <pattern-item n="pr"/>
1842 <pattern-item n="SN"/>
1843 <pattern-item n="vbcop"/>
1844 <pattern-item n="adv"/>
1845 <pattern-item n="SN"/>
1846 </pattern>
1847 <action>
1848 <call-macro n="assigna_gen_nbr">
1849 <with-param pos="1"/>
1850 </call-macro>
1851 <call-macro n="assigna_gen_nbr">
1852 <with-param pos="3"/>
1853 </call-macro>
1854 <call-macro n="concord_sn">
1855 <with-param pos="1"/>
1856 <with-param pos="6"/>
1857 </call-macro>
1858 <call-macro n="partitiu">
1859 <with-param pos="1"/>
1860 </call-macro>
1861 <call-macro n="concord_pp">
1862 <with-param pos="1"/>
1863 <with-param pos="4"/>
1864 </call-macro>
1865 <out>
1866 <chunk>
1867 <clip pos="1" part="lem"/>
1868 <clip pos="1" part="tags"/>
1869 <clip pos="1" part="chcontent"/>
1870 </chunk>
1871 <b pos="1"/>
1872 <chunk>
1873 <clip pos="2" part="lem"/>
1874 <clip pos="2" part="tags"/>
1875 <clip pos="2" part="chcontent"/>
1876 </chunk>
1877 <b pos="2"/>
1878 </out>
1879 <choose>
1880 <when>
1881 <test>
1882 <not>
1883 <in caseless="yes">
1884 <clip pos="2" part="lem"/>
1885 <list n="prde"/>
1886 </in>
1887 </not>
1888 </test>
1889 <call-macro n="partitiu">
1890 <with-param pos="3"/>
1891 </call-macro>
1892 </when>
1893 </choose>
1894 <out>
1895 <chunk>
1896 <clip pos="3" part="lem"/>
1897 <clip pos="3" part="tags"/>
1898 <clip pos="3" part="chcontent"/>
1899 </chunk>
1900 <b pos="3"/>
1901 <chunk>
1902 <clip pos="4" part="lem"/>
1903 <clip pos="4" part="tags"/>
1904 <clip pos="4" part="chcontent"/>
1905 </chunk>
1906 <b pos="4"/>
1907 <chunk>
1908 <clip pos="5" part="lem"/>
1909 <clip pos="5" part="tags"/>
1910 <clip pos="5" part="chcontent"/>
1911 </chunk>
1912 <b pos="5"/>
1913 </out>
1914 <call-macro n="partitiu">
1915 <with-param pos="6"/>
1916 </call-macro>
1917 <out>
1918 <chunk>
1919 <clip pos="6" part="lem"/>
1920 <clip pos="6" part="tags"/>
1921 <clip pos="6" part="chcontent"/>
1922 </chunk>
1923 </out>
1924 </action>
1925 </rule>
1927 <rule> <!-- REGLA: reset variables-->
1928 <pattern>
1929 <pattern-item n="punt"/>
1930 </pattern>
1931 <action>
1932 <let>
1933 <var n="nombre"/>
1934 <lit-tag v="sg"/>
1935 </let>
1936 <let>
1937 <var n="nombre_subj"/>
1938 <lit v="no_assignat"/>
1939 </let>
1940 <let>
1941 <var n="pers_subj"/>
1942 <lit-tag v="p3"/>
1943 </let>
1944 <let>
1945 <var n="pronom"/>
1946 <lit v=""/>
1947 </let>
1949 <out>
1950 <chunk>
1951 <clip pos="1" part="whole"/>
1952 </chunk>
1953 </out>
1954 </action>
1955 </rule>
1959 </section-rules>
1960 </interchunk>