Add another
[apertium.git] / apertium-oc-ca / apertium-oc-ca.oc-ca.t2x
blob7271d55322c99b53d7f28428df25b91aed414ac4
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="rel">
10 <cat-item tags="REL.*"/>
11 </def-cat>
13 <def-cat n="negacio"><!-- BCN-->
14 <cat-item tags="SN.DET.*.*.negacio"/>
15 </def-cat>
17 <def-cat n="pr"><!-- BCN-->
18 <cat-item tags="PREP"/>
19 <cat-item tags="PREP.*"/>
20 </def-cat>
22 <!--
23 <def-cat n="SN_nopron">
24 <cat-item tags="SN.DET.*"/>
25 <cat-item tags="SN.UNDET.*"/>
26 <cat-item tags="SN.NUM.*"/>
27 </def-cat>-->
29 <def-cat n="SV">
30 <cat-item tags="SV.*"/>
31 </def-cat>
34 <def-cat n="vbcop">
35 <cat-item tags="SV.vbcop.*"/>
36 <cat-item tags="SV.vbser.*"/>
37 </def-cat>
39 <def-cat n="ADV">
40 <cat-item lemma="adv" tags="adv"/>
41 <cat-item lemma="adv" tags="adv.*"/>
42 <cat-item lemma="no" tags="adv"/>
43 </def-cat>
45 <def-cat n="no">
46 <cat-item lemma="no" tags="adv"/>
47 </def-cat>
49 <def-cat n="cnjsub">
50 <cat-item lemma="cnjsub" tags="cnjsub"/>
51 </def-cat>
53 <def-cat n="quecnj">
54 <cat-item lemma="que" tags="cnjsub"/>
55 </def-cat>
57 <def-cat n="PRNS">
58 <cat-item tags="PRN.subj.*"/>
59 </def-cat>
61 <def-cat n="SA">
62 <cat-item tags="SA.*"/>
63 </def-cat>
65 <def-cat n="pp">
66 <cat-item lemma="pp" tags="SA.*"/>
67 <cat-item lemma="adj" tags="SA.*"/><!-- BCN per que agafi b�resolutions adopted -->
68 </def-cat>
70 <def-cat n="DET">
71 <cat-item tags="DET.*"/>
72 </def-cat>
74 <def-cat n="NUM">
75 <cat-item tags="NUM.*"/>
76 </def-cat>
78 <def-cat n="punt">
79 <cat-item tags="sent"/>
80 </def-cat>
82 <def-cat n="cnjcoo"> <!-- BCN-->
83 <cat-item tags="cnjcoo"/>
84 </def-cat>
87 </section-def-cats>
89 <section-def-attrs>
92 <def-attr n="tipusrel">
93 <attr-item tags="quan"/>
94 </def-attr>
96 <def-attr n="tverb">
97 <attr-item tags="vben"/>
98 <attr-item tags="vba"/>
99 <attr-item tags="nopart"/>
100 </def-attr>
101 <def-attr n="tnom">
102 <attr-item tags="loc"/>
103 <attr-item tags="part"/>
104 </def-attr>
105 <!--<def-attr n="tprep">
106 <attr-item tags="a"/>
107 <attr-item tags="ta"/>
108 <attr-item tags="sus"/>
109 <attr-item tags="de"/>
110 <attr-item tags="en"/>
111 <attr-item tags="para"/>
112 </def-attr>-->
113 <def-attr n="pers">
114 <attr-item tags="p1"/>
115 <attr-item tags="p2"/>
116 <attr-item tags="p3"/>
117 <attr-item tags="PD"/>
118 <attr-item tags="NP"/>
119 </def-attr>
121 <def-attr n="gen">
122 <attr-item tags="m"/>
123 <attr-item tags="f"/>
124 <attr-item tags="mf"/>
125 <attr-item tags="GD"/>
126 <attr-item tags="nt"/>
127 </def-attr>
129 <def-attr n="nbr">
130 <attr-item tags="sg"/>
131 <attr-item tags="pl"/>
132 <attr-item tags="sp"/>
133 <attr-item tags="ND"/>
134 <attr-item tags="NN"/>
135 </def-attr>
137 <def-attr n="temps">
138 <attr-item tags="inf"/>
139 <attr-item tags="pres"/>
140 <attr-item tags="past"/>
141 <attr-item tags="pri"/>
142 <attr-item tags="ifip"/>
143 <attr-item tags="cni"/>
144 <attr-item tags="fti"/>
145 <attr-item tags="pp"/>
146 <attr-item tags="ger"/>
147 <attr-item tags="pprs"/>
148 <attr-item tags="subs"/>
150 </def-attr>
152 <def-attr n="a_verb">
153 <attr-item tags="vblex"/>
154 <attr-item tags="vblex.pron"/>
155 <attr-item tags="vbhaver"/>
156 <attr-item tags="vbser"/>
157 <attr-item tags="vbmod"/>
158 <attr-item tags="HAVER"/>
159 </def-attr>
161 <def-attr n="a_SN">
162 <attr-item tags="SN"/>
163 </def-attr>
165 </section-def-attrs>
167 <section-def-vars>
168 <def-var n="tipus_rel"/>
169 <def-var n="uno"/>
170 <def-var n="nombre"/>
171 <def-var n="genere"/>
172 </section-def-vars>
174 <section-def-macros>
176 <def-macro n="dona_info" npar="1">
177 <let>
178 <var n="tipus_rel"/>
179 <lit v=""/>
180 </let>
181 <choose>
182 <when>
183 <test>
184 <equal>
185 <clip pos="1" part="tipusrel"/>
186 <lit-tag v="quan"/>
187 </equal>
188 </test>
189 <let>
190 <var n="tipus_rel"/>
191 <lit v="quan"/>
192 </let>
193 </when>
194 </choose>
195 </def-macro>
197 <def-macro n="modifica_sv" npar="1">
198 <choose>
199 <when>
200 <test>
201 <and>
202 <equal>
203 <var n="tipus_rel"/>
204 <lit v="quan"/>
205 </equal>
206 <equal>
207 <clip pos="1" part="temps"/>
208 <lit-tag v="fti"/>
209 </equal>
210 </and>
211 </test>
212 <let>
213 <clip pos="1" part="temps"/>
214 <lit-tag v="prs"/>
215 </let>
216 </when>
217 </choose>
218 <let>
219 <var n="tipus_rel"/>
220 <lit v=""/>
221 </let>
222 </def-macro>
224 <def-macro n="assigna_gen_nbr" npar="1">
225 <choose><!--To determine value of variables of gender and
226 number and propagate to other rules. Variables are
227 not used again in this rule -->
228 <when>
229 <test>
230 <equal>
231 <clip pos="1" part="nbr"/>
232 <lit-tag v="pl"/>
233 </equal>
234 </test>
235 <let><var n="nombre"/><lit-tag v="pl"/></let>
236 </when>
237 <when>
238 <test>
239 <or>
240 <equal>
241 <clip pos="1" part="nbr"/>
242 <lit-tag v="sg"/>
243 </equal>
244 <equal>
245 <var n="nombre"/>
246 <lit v=""/>
247 </equal>
248 </or>
249 </test>
250 <let><var n="nombre"/><lit-tag v="sg"/></let>
251 </when>
252 </choose>
253 <choose>
254 <when>
255 <test>
256 <equal>
257 <clip pos="1" part="gen"/>
258 <lit-tag v="f"/>
259 </equal>
260 </test>
261 <let><var n="genere"/><lit-tag v="f"/></let>
262 </when>
263 <when>
264 <test>
265 <or>
266 <equal>
267 <clip pos="1" part="gen"/>
268 <lit-tag v="m"/>
269 </equal>
270 <equal>
271 <var n="genere"/>
272 <lit v=""/>
273 </equal>
274 </or>
275 </test>
276 <let><var n="genere"/><lit-tag v="m"/></let>
277 </when>
278 </choose>
279 <choose>
280 <when>
281 <test>
282 <equal>
283 <clip pos="1" part="nbr"/>
284 <lit-tag v="ND"/>
285 </equal>
286 </test>
287 <let><clip pos="1" part="nbr"/><var n="nombre"/></let>
288 </when>
289 </choose>
290 <choose>
291 <when>
292 <test>
293 <equal>
294 <clip pos="1" part="gen"/>
295 <lit-tag v="GD"/>
296 </equal>
297 </test>
298 <let><clip pos="1" part="gen"/><var n="genere"/></let>
299 </when>
300 </choose>
302 </def-macro>
304 <def-macro n="concord_sa" npar="2"><!--assinga 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")-->
305 <choose>
306 <when>
307 <test>
308 <equal>
309 <clip pos="1" part="gen"/>
310 <lit-tag v="f"/>
311 </equal>
312 </test>
313 <let>
314 <clip pos="2" part="gen"/>
315 <lit-tag v="f"/>
316 </let>
317 </when>
318 <otherwise>
319 <let>
320 <clip pos="2" part="gen"/>
321 <lit-tag v="m"/>
322 </let>
323 </otherwise>
324 </choose>
326 <choose>
327 <when>
328 <test>
329 <equal>
330 <clip pos="1" part="nbr"/>
331 <lit-tag v="pl"/>
332 </equal>
333 </test>
334 <let>
335 <clip pos="2" part="nbr"/>
336 <lit-tag v="pl"/>
337 </let>
338 </when>
339 <otherwise>
340 <let>
341 <clip pos="2" part="nbr"/>
342 <lit-tag v="sg"/>
343 </let>
344 </otherwise>
345 </choose>
347 </def-macro>
349 <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)-->
350 <choose>
351 <when>
352 <test>
353 <equal>
354 <clip pos="2" part="gen"/>
355 <lit-tag v="GD"/>
356 </equal>
357 </test>
358 <choose>
359 <when>
360 <test>
361 <equal>
362 <clip pos="1" part="gen"/>
363 <lit-tag v="f"/>
364 </equal>
365 </test>
366 <let>
367 <clip pos="2" part="gen"/>
368 <lit-tag v="f"/>
369 </let>
370 </when>
371 <otherwise>
372 <let>
373 <clip pos="2" part="gen"/>
374 <lit-tag v="m"/>
375 </let>
376 </otherwise>
377 </choose>
378 </when>
379 </choose>
380 <choose>
381 <when>
382 <test>
383 <equal>
384 <clip pos="2" part="nbr"/>
385 <lit-tag v="ND"/>
386 </equal>
387 </test>
388 <choose>
389 <when>
390 <test>
391 <equal>
392 <clip pos="1" part="nbr"/>
393 <lit-tag v="pl"/>
394 </equal>
395 </test>
396 <let>
397 <clip pos="2" part="nbr"/>
398 <lit-tag v="pl"/>
399 </let>
400 </when>
401 <otherwise>
402 <let>
403 <clip pos="2" part="nbr"/>
404 <lit-tag v="sg"/>
405 </let>
406 </otherwise>
407 </choose>
408 </when>
409 </choose>
410 </def-macro>
411 <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. -->
412 <choose>
413 <when>
414 <test>
415 <not>
416 <equal>
417 <b pos="1"/>
418 <lit v=" "/>
419 </equal>
420 </not>
421 </test>
422 <out>
423 <b pos="1"/>
424 </out>
425 </when>
426 </choose>
427 </def-macro>
429 <def-macro n="cv_prep" npar="2">
430 <choose>
431 <when>
432 <test>
433 <and>
434 <equal>
435 <clip pos="1" part="lem"/>
436 <lit v="en"/>
437 </equal>
438 <equal>
439 <clip pos="2" part="tnom"/>
440 <lit-tag v="loc"/>
441 </equal>
442 </and>
443 </test>
444 <let>
445 <clip pos="1" part="lem"/>
446 <lit v="a"/>
447 </let>
448 </when>
449 </choose>
450 </def-macro>
452 </section-def-macros>
454 <section-rules>
457 <!-- <out>
458 <chunk>
459 <lit v="pr"/>
460 <lit-tag v="PREP"/>
461 <lit v="{^"/>
462 <get-case-from pos="1">
463 <lit v="a"/>
464 </get-case-from>
465 <lit-tag v="pr"/>
466 <lit v="$}"/>
467 </chunk>
468 <b/>
469 <chunk><!-#-envio el chunk amb el SN-#->
470 <clip pos="1" part="lem"/>
471 <clip pos="1" part="tags"/>
472 <clip pos="1" part="chcontent"/>
473 </chunk>
474 <b pos="1"/>-->
476 <!--REGLES GENERALS -->
477 <rule comment="REGLA: SN">
478 <pattern>
479 <pattern-item n="SN"/>
480 </pattern>
481 <action>
482 <call-macro n="assigna_gen_nbr">
483 <with-param pos="1"/>
484 </call-macro>
485 <out>
486 <chunk>
487 <clip pos="1" part="lem"/>
488 <clip pos="1" part="tags"/>
489 <clip pos="1" part="chcontent"/>
490 </chunk>
491 </out>
492 </action>
493 </rule>
495 <rule comment="REGLA: rel">
496 <pattern>
497 <pattern-item n="rel"/>
498 </pattern>
499 <action>
500 <call-macro n="dona_info">
501 <with-param pos="1"/>
502 </call-macro>
503 <out>
504 <chunk>
505 <clip pos="1" part="lem"/>
506 <clip pos="1" part="tags"/>
507 <clip pos="1" part="chcontent"/>
508 </chunk>
509 </out>
510 </action>
511 </rule>
513 <rule comment="REGLA: SA">
514 <pattern>
515 <pattern-item n="SA"/>
516 </pattern>
517 <action>
518 <call-macro n="assigna_gen_nbr">
519 <with-param pos="1"/>
520 </call-macro>
521 <out>
522 <chunk>
523 <clip pos="1" part="lem"/>
524 <clip pos="1" part="tags"/>
525 <clip pos="1" part="chcontent"/>
526 </chunk>
527 </out>
528 </action>
529 </rule>
531 <rule comment="REGLA: SV">
532 <pattern>
533 <pattern-item n="SV"/>
534 </pattern>
535 <action>
536 <call-macro n="assigna_gen_nbr">
537 <with-param pos="1"/>
538 </call-macro>
539 <call-macro n="modifica_sv">
540 <with-param pos="1"/>
541 </call-macro>
542 <out>
543 <chunk>
544 <clip pos="1" part="lem"/>
545 <clip pos="1" part="tags"/>
546 <clip pos="1" part="chcontent"/>
547 </chunk>
548 </out>
549 </action>
550 </rule>
552 <rule comment="REGLA: ADV ADV SV. per arreglar el tema de la doble negació...">
553 <pattern>
554 <pattern-item n="ADV"/>
555 <pattern-item n="ADV"/>
556 <pattern-item n="SV"/>
557 </pattern>
558 <action>
559 <call-macro n="assigna_gen_nbr">
560 <with-param pos="3"/>
561 </call-macro>
562 <call-macro n="modifica_sv">
563 <with-param pos="3"/>
564 </call-macro>
565 <choose>
566 <when>
567 <test>
568 <and>
569 <equal>
570 <clip pos="1" part="lem"/>
571 <lit v="no"/>
572 </equal>
573 <equal>
574 <clip pos="2" part="lem"/>
575 <lit v="no"/>
576 </equal>
577 </and>
578 </test>
579 <out>
580 <chunk>
581 <clip pos="1" part="lem"/>
582 <clip pos="1" part="tags"/>
583 <clip pos="1" part="chcontent"/>
584 </chunk>
585 <b pos="1"/>
586 <chunk>
587 <clip pos="3" part="lem"/>
588 <clip pos="3" part="tags"/>
589 <clip pos="3" part="chcontent"/>
590 </chunk>
591 <b pos="2"/>
592 <chunk>
593 <lit v="pas"/>
594 <clip pos="2" part="tags"/>
595 <clip pos="2" part="chcontent"/>
596 </chunk>
597 </out>
598 </when>
599 <otherwise>
600 <out>
601 <chunk>
602 <clip pos="1" part="lem"/>
603 <clip pos="1" part="tags"/>
604 <clip pos="1" part="chcontent"/>
605 </chunk>
606 <b pos="1"/>
607 <chunk>
608 <clip pos="2" part="lem"/>
609 <clip pos="2" part="tags"/>
610 <clip pos="2" part="chcontent"/>
611 </chunk>
612 <b pos="2"/>
613 <chunk>
614 <clip pos="3" part="lem"/>
615 <clip pos="3" part="tags"/>
616 <clip pos="3" part="chcontent"/>
617 </chunk>
618 </out>
619 </otherwise>
620 </choose>
621 </action>
622 </rule>
624 <rule comment="REGLA: sprep">
625 <pattern>
626 <pattern-item n="pr"/>
627 <pattern-item n="SN"/>
628 </pattern>
629 <action>
630 <call-macro n="assigna_gen_nbr">
631 <with-param pos="2"/>
632 </call-macro>
633 <call-macro n="cv_prep" alt="oc@aran">
634 <with-param pos="1"/>
635 <with-param pos="2"/>
636 </call-macro>
637 <choose>
638 <when>
639 <test>
640 <and>
641 <equal>
642 <clip pos="1" part="lem"/>
643 <lit v="de"/>
644 </equal>
645 <or>
646 <equal>
647 <clip pos="2" part="nbr"/>
648 <lit-tag v="pl"/>
649 </equal>
650 <equal>
651 <clip pos="2" part="tnom"/>
652 <lit-tag v="part"/>
653 </equal>
654 </or>
655 </and>
656 </test>
657 <out>
658 <chunk>
659 <clip pos="2" part="lem"/>
660 <clip pos="2" part="tags"/>
661 <lit-tag v="treu_det"/>
662 <clip pos="2" part="chcontent"/>
663 </chunk>
664 </out>
665 <call-macro n="f_bcond">
666 <with-param pos="2"/>
667 </call-macro>
668 </when>
669 <otherwise>
670 <out>
671 <chunk>
672 <clip pos="1" part="lem"/>
673 <clip pos="1" part="tags"/>
674 <clip pos="1" part="chcontent"/>
675 </chunk>
676 <b pos="1"/>
677 <chunk>
678 <clip pos="2" part="lem"/>
679 <clip pos="2" part="tags"/>
680 <clip pos="2" part="chcontent"/>
681 </chunk>
682 </out>
683 </otherwise>
684 </choose>
685 </action>
686 </rule>
688 <rule comment="REGLA: prep sprep">
689 <pattern>
690 <pattern-item n="pr"/>
691 <pattern-item n="pr"/>
692 <pattern-item n="SN"/>
693 </pattern>
694 <action>
695 <call-macro n="assigna_gen_nbr">
696 <with-param pos="3"/>
697 </call-macro>
698 <call-macro n="cv_prep" alt="oc@aran">
699 <with-param pos="1"/>
700 <with-param pos="3"/>
701 </call-macro>
702 <call-macro n="cv_prep" alt="oc@aran">
703 <with-param pos="2"/>
704 <with-param pos="3"/>
705 </call-macro>
706 <choose>
707 <when>
708 <test>
709 <and>
710 <equal>
711 <clip pos="2" part="lem"/>
712 <lit v="de"/>
713 </equal>
714 <or>
715 <equal>
716 <clip pos="3" part="nbr"/>
717 <lit-tag v="pl"/>
718 </equal>
719 <equal>
720 <clip pos="3" part="tnom"/>
721 <lit-tag v="part"/>
722 </equal>
723 </or>
724 </and>
725 </test>
726 <out>
727 <chunk>
728 <clip pos="1" part="lem"/>
729 <clip pos="1" part="tags"/>
730 <clip pos="1" part="chcontent"/>
731 </chunk>
732 <b pos="1"/>
733 <chunk>
734 <clip pos="3" part="lem"/>
735 <clip pos="3" part="tags"/>
736 <lit-tag v="treu_det"/>
737 <clip pos="3" part="chcontent"/>
738 </chunk>
739 </out>
740 <call-macro n="f_bcond">
741 <with-param pos="2"/>
742 </call-macro>
743 </when>
744 <otherwise>
745 <out>
746 <chunk>
747 <clip pos="1" part="lem"/>
748 <clip pos="1" part="tags"/>
749 <clip pos="1" part="chcontent"/>
750 </chunk>
751 <b pos="1"/>
752 <chunk>
753 <clip pos="2" part="lem"/>
754 <clip pos="2" part="tags"/>
755 <clip pos="2" part="chcontent"/>
756 </chunk>
757 <b pos="2"/>
758 <chunk>
759 <clip pos="3" part="lem"/>
760 <clip pos="3" part="tags"/>
761 <clip pos="3" part="chcontent"/>
762 </chunk>
763 </out>
764 </otherwise>
765 </choose>
766 </action>
767 </rule>
769 <rule comment="REGLA: prep sprep">
770 <pattern>
771 <pattern-item n="pr"/>
772 <pattern-item n="pr"/>
773 <pattern-item n="SA"/>
774 </pattern>
775 <action>
776 <call-macro n="assigna_gen_nbr">
777 <with-param pos="3"/>
778 </call-macro>
779 <call-macro n="cv_prep" alt="oc@aran">
780 <with-param pos="1"/>
781 <with-param pos="3"/>
782 </call-macro>
783 <call-macro n="cv_prep" alt="oc@aran">
784 <with-param pos="2"/>
785 <with-param pos="3"/>
786 </call-macro>
787 <choose>
788 <when>
789 <test>
790 <and>
791 <equal>
792 <clip pos="2" part="lem"/>
793 <lit v="de"/>
794 </equal>
795 <or>
796 <equal>
797 <clip pos="3" part="nbr"/>
798 <lit-tag v="pl"/>
799 </equal>
800 <equal>
801 <clip pos="3" part="tnom"/>
802 <lit-tag v="part"/>
803 </equal>
804 </or>
805 </and>
806 </test>
807 <out>
808 <chunk>
809 <clip pos="1" part="lem"/>
810 <clip pos="1" part="tags"/>
811 <clip pos="1" part="chcontent"/>
812 </chunk>
813 <b pos="1"/>
814 <chunk>
815 <clip pos="3" part="lem"/>
816 <clip pos="3" part="tags"/>
817 <lit-tag v="treu_det"/>
818 <clip pos="3" part="chcontent"/>
819 </chunk>
820 </out>
821 <call-macro n="f_bcond">
822 <with-param pos="2"/>
823 </call-macro>
824 </when>
825 <otherwise>
826 <out>
827 <chunk>
828 <clip pos="1" part="lem"/>
829 <clip pos="1" part="tags"/>
830 <clip pos="1" part="chcontent"/>
831 </chunk>
832 <b pos="1"/>
833 <chunk>
834 <clip pos="2" part="lem"/>
835 <clip pos="2" part="tags"/>
836 <clip pos="2" part="chcontent"/>
837 </chunk>
838 <b pos="2"/>
839 <chunk>
840 <clip pos="3" part="lem"/>
841 <clip pos="3" part="tags"/>
842 <clip pos="3" part="chcontent"/>
843 </chunk>
844 </out>
845 </otherwise>
846 </choose>
847 </action>
848 </rule>
850 <rule comment="REGLA: SV sprep">
851 <pattern>
852 <pattern-item n="SV"/>
853 <pattern-item n="pr"/>
854 <pattern-item n="SN"/>
855 </pattern>
856 <action>
857 <call-macro n="assigna_gen_nbr">
858 <with-param pos="1"/>
859 </call-macro>
860 <call-macro n="assigna_gen_nbr">
861 <with-param pos="3"/>
862 </call-macro>
863 <call-macro n="cv_prep" alt="oc@aran">
864 <with-param pos="2"/>
865 <with-param pos="3"/>
866 </call-macro>
867 <choose>
868 <when>
869 <test>
870 <and>
871 <not>
872 <equal>
873 <clip pos="1" part="tverb"/>
874 <lit-tag v="nopart"/>
875 </equal>
876 </not>
877 <equal>
878 <clip pos="2" part="lem"/>
879 <lit v="de"/>
880 </equal>
881 <or>
882 <equal>
883 <clip pos="3" part="nbr"/>
884 <lit-tag v="pl"/>
885 </equal>
886 <equal>
887 <clip pos="3" part="tnom"/>
888 <lit-tag v="part"/>
889 </equal>
890 </or>
891 </and>
892 </test>
893 <out>
894 <chunk>
895 <clip pos="1" part="lem"/>
896 <clip pos="1" part="tags"/>
897 <clip pos="1" part="chcontent"/>
898 </chunk>
899 <b pos="1"/>
900 <chunk>
901 <clip pos="3" part="lem"/>
902 <clip pos="3" part="tags"/>
903 <clip pos="3" part="chcontent"/>
904 </chunk>
905 </out>
906 <call-macro n="f_bcond">
907 <with-param pos="2"/>
908 </call-macro>
909 </when>
910 <otherwise>
911 <out>
912 <chunk>
913 <clip pos="1" part="lem"/>
914 <clip pos="1" part="tags"/>
915 <clip pos="1" part="chcontent"/>
916 </chunk>
917 <b pos="1"/>
918 <chunk>
919 <clip pos="2" part="lem"/>
920 <clip pos="2" part="tags"/>
921 <clip pos="2" part="chcontent"/>
922 </chunk>
923 <b pos="2"/>
924 <chunk>
925 <clip pos="3" part="lem"/>
926 <clip pos="3" part="tags"/>
927 <clip pos="3" part="chcontent"/>
928 </chunk>
929 </out>
930 </otherwise>
931 </choose>
932 </action>
933 </rule>
935 <rule comment="REGLA: no SV que: no les ditz que... -> només els diu...">
936 <pattern>
937 <pattern-item n="no"/>
938 <pattern-item n="SV"/>
939 <pattern-item n="quecnj"/>
940 </pattern>
941 <action>
942 <call-macro n="assigna_gen_nbr">
943 <with-param pos="1"/>
944 </call-macro>
945 <out>
946 <chunk>
947 <get-case-from pos="1">
948 <lit v="nomes"/>
949 </get-case-from>
950 <clip pos="1" part="tags"/>
951 <clip pos="1" part="chcontent"/>
952 </chunk>
953 <b pos="1"/>
954 <chunk>
955 <clip pos="2" part="lem"/>
956 <clip pos="2" part="tags"/>
957 <clip pos="2" part="chcontent"/>
958 </chunk>
959 </out>
960 <call-macro n="f_bcond">
961 <with-param pos="2"/>
962 </call-macro>
963 </action>
964 </rule>
966 <rule comment="REGLA: SV ADV sprep">
967 <pattern>
968 <pattern-item n="SV"/>
969 <pattern-item n="ADV"/>
970 <pattern-item n="pr"/>
971 <pattern-item n="SN"/>
972 </pattern>
973 <action>
974 <call-macro n="assigna_gen_nbr">
975 <with-param pos="1"/>
976 </call-macro>
977 <call-macro n="assigna_gen_nbr">
978 <with-param pos="4"/>
979 </call-macro>
980 <call-macro n="cv_prep" alt="oc@aran">
981 <with-param pos="3"/>
982 <with-param pos="4"/>
983 </call-macro>
984 <choose>
985 <when>
986 <test>
987 <and>
988 <not>
989 <equal>
990 <clip pos="1" part="tverb"/>
991 <lit-tag v="nopart"/>
992 </equal>
993 </not>
994 <equal>
995 <clip pos="3" part="lem"/>
996 <lit v="de"/>
997 </equal>
998 <or>
999 <equal>
1000 <clip pos="4" part="nbr"/>
1001 <lit-tag v="pl"/>
1002 </equal>
1003 <equal>
1004 <clip pos="4" part="tnom"/>
1005 <lit-tag v="part"/>
1006 </equal>
1007 </or>
1008 </and>
1009 </test>
1010 <out>
1011 <chunk>
1012 <clip pos="1" part="lem"/>
1013 <clip pos="1" part="tags"/>
1014 <clip pos="1" part="chcontent"/>
1015 </chunk>
1016 <b pos="1"/>
1017 <chunk>
1018 <clip pos="2" part="lem"/>
1019 <clip pos="2" part="tags"/>
1020 <clip pos="2" part="chcontent"/>
1021 </chunk>
1022 <b pos="2"/>
1023 <chunk>
1024 <clip pos="4" part="lem"/>
1025 <clip pos="4" part="tags"/>
1026 <lit-tag v="treu_det"/>
1027 <clip pos="4" part="chcontent"/>
1028 </chunk>
1029 </out>
1030 <call-macro n="f_bcond">
1031 <with-param pos="3"/>
1032 </call-macro>
1033 </when>
1034 <otherwise>
1035 <out>
1036 <chunk>
1037 <clip pos="1" part="lem"/>
1038 <clip pos="1" part="tags"/>
1039 <clip pos="1" part="chcontent"/>
1040 </chunk>
1041 <b pos="1"/>
1042 <chunk>
1043 <clip pos="2" part="lem"/>
1044 <clip pos="2" part="tags"/>
1045 <clip pos="2" part="chcontent"/>
1046 </chunk>
1047 <b pos="2"/>
1048 <chunk>
1049 <clip pos="3" part="lem"/>
1050 <clip pos="3" part="tags"/>
1051 <clip pos="3" part="chcontent"/>
1052 </chunk>
1053 <b pos="3"/>
1054 <chunk>
1055 <clip pos="4" part="lem"/>
1056 <clip pos="4" part="tags"/>
1057 <clip pos="4" part="chcontent"/>
1058 </chunk>
1059 </out>
1060 </otherwise>
1061 </choose>
1062 </action>
1063 </rule>
1065 <rule comment="REGLA: det">
1066 <pattern>
1067 <pattern-item n="DET"/>
1068 </pattern>
1069 <action>
1070 <call-macro n="assigna_gen_nbr">
1071 <with-param pos="1"/>
1072 </call-macro>
1073 <out>
1074 <chunk>
1075 <clip pos="1" part="lem"/>
1076 <clip pos="1" part="tags"/>
1077 <clip pos="1" part="chcontent"/>
1078 </chunk>
1079 </out>
1080 </action>
1081 </rule>
1083 <rule comment="REGLA: SN SP">
1084 <pattern>
1085 <pattern-item n="SN"/>
1086 <pattern-item n="pr"/>
1087 <pattern-item n="SN"/>
1088 </pattern>
1089 <action>
1090 <call-macro n="assigna_gen_nbr">
1091 <with-param pos="1"/>
1092 </call-macro>
1093 <call-macro n="assigna_gen_nbr">
1094 <with-param pos="3"/>
1095 </call-macro>
1096 <!-- <call-macro n="cv_prep">
1097 <with-param pos="1"/>
1098 <with-param pos="2"/>
1099 <with-param pos="3"/>
1100 </call-macro>-->
1101 <out>
1102 <chunk>
1103 <clip pos="1" part="lem"/>
1104 <clip pos="1" part="tags"/>
1105 <clip pos="1" part="chcontent"/>
1106 </chunk>
1107 <b pos="1"/>
1108 <chunk>
1109 <clip pos="2" part="lem"/>
1110 <clip pos="2" part="tags"/>
1111 <clip pos="2" part="chcontent"/>
1112 </chunk>
1113 <b pos="2"/>
1114 <chunk>
1115 <clip pos="3" part="lem"/>
1116 <clip pos="3" part="tags"/>
1117 <clip pos="3" part="chcontent"/>
1118 </chunk>
1119 </out>
1120 </action>
1121 </rule>
1123 <!--???
1124 <rule comment="REGLA: SN ne SV que pr SN">
1125 <pattern>
1126 <pattern-item n="SN"/>
1127 <pattern-item n="ne"/>
1128 <pattern-item n="SV"/>
1129 <pattern-item n="cnjsub"/>
1130 <pattern-item n="pr"/>
1131 <pattern-item n="SN"/>
1132 </pattern>
1133 <action>
1134 <call-macro n="assigna_gen_nbr">
1135 <with-param pos="1"/>
1136 </call-macro>
1137 <call-macro n="assigna_gen_nbr">
1138 <with-param pos="6"/>
1139 </call-macro>
1140 <call-macro n="cv_prep">
1141 <with-param pos="2"/>
1142 <with-param pos="5"/>
1143 <with-param pos="6"/>
1144 </call-macro>
1145 <let>
1146 <clip pos="2" part="lem"/>
1147 <lit v="solo"/>
1148 </let>
1149 <choose>
1150 <when>
1151 <test>
1152 <and>
1153 <equal caseless="yes">
1154 <clip pos="1" part="lem"/>
1155 <lit v="prnperssubj"/>
1156 </equal>
1157 <equal>
1158 <clip pos="3" part="pers"/>
1159 <clip pos="1" part="pers"/>
1160 </equal>
1161 <equal>
1162 <clip pos="3" part="nbr"/>
1163 <clip pos="1" part="nbr"/>
1164 </equal>
1165 </and>
1166 </test>
1167 <out>
1168 <chunk>
1169 <get-case-from pos="1">
1170 <clip pos="2" part="lem"/>
1171 </get-case-from>
1172 <clip pos="2" part="tags"/>
1173 <clip pos="2" part="chcontent"/>
1174 </chunk>
1175 <b pos="1"/>
1176 <chunk><!-#-el pronom no l'envio -#->
1177 <clip pos="3" part="lem"/>
1178 <clip pos="3" part="tags"/>
1179 <clip pos="3" part="chcontent"/>
1180 </chunk>
1181 </out>
1182 <call-macro n="f_bcond">
1183 <with-param pos="2"/>
1184 </call-macro>
1185 </when>
1186 <otherwise><!-#-Quan SN no � pronom subjecte, per tant, quan � qualsevol altre SN -#->
1187 <out>
1188 <chunk>
1189 <clip pos="1" part="lem"/>
1190 <clip pos="1" part="tags"/>
1191 <clip pos="1" part="chcontent"/>
1192 </chunk>
1193 <b pos="1"/>
1194 <chunk>
1195 <clip pos="2" part="lem"/>
1196 <clip pos="2" part="tags"/>
1197 <clip pos="2" part="chcontent"/>
1198 </chunk>
1199 <b pos="2"/>
1200 <chunk>
1201 <clip pos="3" part="lem"/>
1202 <clip pos="3" part="tags"/>
1203 <clip pos="3" part="chcontent"/>
1204 </chunk>
1205 </out>
1206 </otherwise>
1207 </choose>
1208 <choose>
1209 <when>
1210 <test>
1211 <or>
1212 <equal caseless="yes">
1213 <clip pos="6" part="lem"/>
1214 <lit v="inf"/>
1215 </equal>
1216 <equal caseless="yes">
1217 <clip pos="6" part="lem"/>
1218 <lit v="inf_enc"/>
1219 </equal>
1220 <equal caseless="yes">
1221 <clip pos="6" part="lem"/>
1222 <lit v="inf_enc_enc"/>
1223 </equal>
1224 </or>
1225 </test>
1226 <out>
1227 <b pos="3"/>
1228 <chunk>
1229 <clip pos="4" part="lem"/>
1230 <clip pos="4" part="tags"/>
1231 <clip pos="4" part="chcontent"/>
1232 </chunk>
1233 </out>
1234 </when>
1235 <otherwise>
1236 <call-macro n="f_bcond">
1237 <with-param pos="3"/>
1238 </call-macro>
1239 </otherwise>
1240 </choose>
1241 <out>
1242 <b pos="4"/>
1243 <chunk>
1244 <clip pos="5" part="lem"/>
1245 <clip pos="5" part="tags"/>
1246 <clip pos="5" part="chcontent"/>
1247 </chunk>
1248 <b pos="5"/>
1249 <chunk>
1250 <clip pos="6" part="lem"/>
1251 <clip pos="6" part="tags"/>
1252 <clip pos="6" part="chcontent"/>
1253 </chunk>
1254 </out>
1255 </action>
1256 </rule>
1258 <rule comment="REGLA: SN ne SV que SN">
1259 <pattern>
1260 <pattern-item n="SN"/>
1261 <pattern-item n="ne"/>
1262 <pattern-item n="SV"/>
1263 <pattern-item n="cnjsub"/>
1264 <pattern-item n="SN"/>
1265 </pattern>
1266 <action>
1267 <let>
1268 <clip pos="2" part="lem"/>
1269 <lit v="solo"/>
1270 </let>
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="5"/>
1276 </call-macro>
1277 <choose>
1278 <when>
1279 <test>
1280 <and>
1281 <equal caseless="yes">
1282 <clip pos="1" part="lem"/>
1283 <lit v="prnperssubj"/>
1284 </equal>
1285 <equal>
1286 <clip pos="3" part="pers"/>
1287 <clip pos="1" part="pers"/>
1288 </equal>
1289 <equal>
1290 <clip pos="3" part="nbr"/>
1291 <clip pos="1" part="nbr"/>
1292 </equal>
1293 </and>
1294 </test>
1295 <out>
1296 <chunk>
1297 <get-case-from pos="1">
1298 <clip pos="2" part="lem"/>
1299 </get-case-from>
1300 <clip pos="2" part="tags"/>
1301 <clip pos="2" part="chcontent"/>
1302 </chunk>
1303 <b pos="1"/>
1304 <chunk>
1305 <get-case-from pos="1">
1306 <clip pos="3" part="lem"/>
1307 </get-case-from>
1308 <clip pos="3" part="tags"/>
1309 <clip pos="3" part="chcontent"/>
1310 </chunk>
1311 </out>
1312 <call-macro n="f_bcond">
1313 <with-param pos="2"/>
1314 </call-macro>
1315 </when>
1316 <otherwise>
1317 <out>
1318 <chunk>
1319 <clip pos="1" part="lem"/>
1320 <clip pos="1" part="tags"/>
1321 <clip pos="1" part="chcontent"/>
1322 </chunk>
1323 <b pos="1"/>
1324 <chunk>
1325 <clip pos="2" part="lem"/>
1326 <clip pos="2" part="tags"/>
1327 <clip pos="2" part="chcontent"/>
1328 </chunk>
1329 <b pos="2"/>
1330 <chunk>
1331 <clip pos="3" part="lem"/>
1332 <clip pos="3" part="tags"/>
1333 <clip pos="3" part="chcontent"/>
1334 </chunk>
1335 </out>
1336 </otherwise>
1337 </choose>
1338 <choose>
1339 <when>
1340 <test>
1341 <or>
1342 <equal caseless="yes">
1343 <clip pos="5" part="lem"/>
1344 <lit v="inf"/>
1345 </equal>
1346 <equal caseless="yes">
1347 <clip pos="5" part="lem"/>
1348 <lit v="inf_enc"/>
1349 </equal>
1350 <equal caseless="yes">
1351 <clip pos="5" part="lem"/>
1352 <lit v="inf_enc_enc"/>
1353 </equal>
1354 </or>
1355 </test>
1356 <out>
1357 <b pos="3"/>
1358 <chunk>
1359 <clip pos="4" part="lem"/>
1360 <clip pos="4" part="tags"/>
1361 <clip pos="4" part="chcontent"/>
1362 </chunk>
1363 </out>
1364 </when>
1365 <otherwise>
1366 <call-macro n="f_bcond">
1367 <with-param pos="3"/>
1368 </call-macro>
1369 </otherwise>
1370 </choose>
1371 <out>
1372 <b pos="4"/>
1373 <chunk>
1374 <clip pos="5" part="lem"/>
1375 <clip pos="5" part="tags"/>
1376 <clip pos="5" part="chcontent"/>
1377 </chunk>
1378 </out>
1379 </action>
1380 </rule>
1382 <rule comment="REGLA: SN ne SV que SN pr SN">
1383 <pattern>
1384 <pattern-item n="SN"/>
1385 <pattern-item n="ne"/>
1386 <pattern-item n="SV"/>
1387 <pattern-item n="cnjsub"/>
1388 <pattern-item n="SN"/>
1389 <pattern-item n="pr"/>
1390 <pattern-item n="SN"/>
1391 </pattern>
1392 <action>
1393 <let>
1394 <clip pos="2" part="lem"/>
1395 <lit v="solo"/>
1396 </let>
1397 <call-macro n="assigna_gen_nbr">
1398 <with-param pos="1"/>
1399 </call-macro>
1400 <call-macro n="assigna_gen_nbr">
1401 <with-param pos="5"/>
1402 </call-macro>
1403 <call-macro n="assigna_gen_nbr">
1404 <with-param pos="7"/>
1405 </call-macro>
1406 <call-macro n="cv_prep">
1407 <with-param pos="3"/>
1408 <with-param pos="6"/>
1409 <with-param pos="7"/>
1410 </call-macro>
1411 <call-macro n="cv_prep">
1412 <with-param pos="5"/>
1413 <with-param pos="6"/>
1414 <with-param pos="7"/>
1415 </call-macro>
1416 <choose>
1417 <when>
1418 <test>
1419 <and>
1420 <equal caseless="yes">
1421 <clip pos="1" part="lem"/>
1422 <lit v="prnperssubj"/>
1423 </equal>
1424 <equal>
1425 <clip pos="3" part="pers"/>
1426 <clip pos="1" part="pers"/>
1427 </equal>
1428 <equal>
1429 <clip pos="3" part="nbr"/>
1430 <clip pos="1" part="nbr"/>
1431 </equal>
1432 </and>
1433 </test>
1434 <out>
1435 <chunk>
1436 <get-case-from pos="1">
1437 <clip pos="2" part="lem"/>
1438 </get-case-from>
1439 <clip pos="2" part="tags"/>
1440 <clip pos="2" part="chcontent"/>
1441 </chunk>
1442 <b pos="1"/>
1443 <chunk>
1444 <get-case-from pos="1">
1445 <clip pos="3" part="lem"/>
1446 </get-case-from>
1447 <clip pos="3" part="tags"/>
1448 <clip pos="3" part="chcontent"/>
1449 </chunk>
1450 </out>
1451 <call-macro n="f_bcond">
1452 <with-param pos="3"/>
1453 </call-macro>
1454 </when>
1455 <otherwise>
1456 <out>
1457 <chunk>
1458 <clip pos="1" part="lem"/>
1459 <clip pos="1" part="tags"/>
1460 <clip pos="1" part="chcontent"/>
1461 </chunk>
1462 <b pos="1"/>
1463 <chunk>
1464 <clip pos="2" part="lem"/>
1465 <clip pos="2" part="tags"/>
1466 <clip pos="2" part="chcontent"/>
1467 </chunk>
1468 <b pos="2"/>
1469 <chunk>
1470 <clip pos="3" part="lem"/>
1471 <clip pos="3" part="tags"/>
1472 <clip pos="3" part="chcontent"/>
1473 </chunk>
1474 </out>
1475 </otherwise>
1476 </choose>
1477 <choose>
1478 <when>
1479 <test>
1480 <or>
1481 <equal caseless="yes">
1482 <clip pos="5" part="lem"/>
1483 <lit v="inf"/>
1484 </equal>
1485 <equal caseless="yes">
1486 <clip pos="5" part="lem"/>
1487 <lit v="inf_enc"/>
1488 </equal>
1489 <equal caseless="yes">
1490 <clip pos="5" part="lem"/>
1491 <lit v="inf_enc_enc"/>
1492 </equal>
1493 </or>
1494 </test>
1495 <out>
1496 <b pos="3"/>
1497 <chunk>
1498 <clip pos="4" part="lem"/>
1499 <clip pos="4" part="tags"/>
1500 <clip pos="4" part="chcontent"/>
1501 </chunk>
1502 </out>
1503 </when>
1504 <otherwise>
1505 <call-macro n="f_bcond">
1506 <with-param pos="3"/>
1507 </call-macro>
1508 </otherwise>
1509 </choose>
1510 <out>
1511 <b pos="4"/>
1512 <chunk>
1513 <clip pos="5" part="lem"/>
1514 <clip pos="5" part="tags"/>
1515 <clip pos="5" part="chcontent"/>
1516 </chunk>
1517 <b pos="5"/>
1518 <chunk>
1519 <clip pos="6" part="lem"/>
1520 <clip pos="6" part="tags"/>
1521 <clip pos="6" part="chcontent"/>
1522 </chunk>
1523 <b pos="6"/>
1524 <chunk>
1525 <clip pos="7" part="lem"/>
1526 <clip pos="7" part="tags"/>
1527 <clip pos="7" part="chcontent"/>
1528 </chunk>
1529 </out>
1530 </action>
1531 </rule>-->
1534 <rule comment="REGLA: SN vbcop SA">
1535 <pattern>
1536 <pattern-item n="SN"/>
1537 <pattern-item n="vbcop"/>
1538 <pattern-item n="SA"/>
1539 </pattern>
1540 <action>
1541 <call-macro n="concord_sa">
1542 <with-param pos="1"/>
1543 <with-param pos="3"/>
1544 </call-macro>
1545 <call-macro n="assigna_gen_nbr">
1546 <with-param pos="1"/>
1547 </call-macro>
1548 <choose>
1549 <when>
1550 <test>
1551 <and>
1552 <equal caseless="yes">
1553 <clip pos="1" part="lem"/>
1554 <lit v="prnperssubj"/>
1555 </equal>
1556 <equal>
1557 <clip pos="2" part="pers"/>
1558 <clip pos="1" part="pers"/>
1559 </equal>
1560 <equal>
1561 <clip pos="2" part="nbr"/>
1562 <clip pos="1" part="nbr"/>
1563 </equal>
1564 </and>
1565 </test>
1566 <out>
1567 <chunk>
1568 <get-case-from pos="1">
1569 <clip pos="2" part="lem"/>
1570 </get-case-from>
1571 <clip pos="2" part="tags"/>
1572 <clip pos="2" part="chcontent"/>
1573 </chunk>
1574 </out>
1575 </when>
1576 <otherwise>
1577 <out>
1578 <chunk>
1579 <clip pos="1" part="lem"/>
1580 <clip pos="1" part="tags"/>
1581 <clip pos="1" part="chcontent"/>
1582 </chunk>
1583 <b pos="1"/>
1584 <chunk>
1585 <clip pos="2" part="lem"/>
1586 <clip pos="2" part="tags"/>
1587 <clip pos="2" part="chcontent"/>
1588 </chunk>
1589 </out>
1590 </otherwise>
1591 </choose>
1592 <out>
1593 <b pos="2"/>
1594 <chunk>
1595 <clip pos="3" part="whole"/>
1596 </chunk>
1597 </out>
1598 </action>
1599 </rule>
1601 <rule comment="REGLA: SN vbcop SN">
1602 <pattern>
1603 <pattern-item n="SN"/>
1604 <pattern-item n="vbcop"/>
1605 <pattern-item n="SN"/>
1606 </pattern>
1607 <action>
1608 <call-macro n="concord_sn">
1609 <with-param pos="1"/>
1610 <with-param pos="3"/>
1611 </call-macro>
1612 <call-macro n="assigna_gen_nbr">
1613 <with-param pos="1"/>
1614 </call-macro>
1615 <choose>
1616 <when>
1617 <test>
1618 <and>
1619 <equal caseless="yes">
1620 <clip pos="1" part="lem"/>
1621 <lit v="prnperssubj"/>
1622 </equal>
1623 <equal>
1624 <clip pos="2" part="pers"/>
1625 <clip pos="1" part="pers"/>
1626 </equal>
1627 <equal>
1628 <clip pos="2" part="nbr"/>
1629 <clip pos="1" part="nbr"/>
1630 </equal>
1631 </and>
1632 </test>
1633 <out>
1634 <chunk>
1635 <get-case-from pos="1">
1636 <clip pos="2" part="lem"/>
1637 </get-case-from>
1638 <clip pos="2" part="tags"/>
1639 <clip pos="2" part="chcontent"/>
1640 </chunk>
1641 </out>
1642 </when>
1643 <otherwise>
1644 <out>
1645 <chunk>
1646 <clip pos="1" part="lem"/>
1647 <clip pos="1" part="tags"/>
1648 <clip pos="1" part="chcontent"/>
1649 </chunk>
1650 <b pos="1"/>
1651 <chunk>
1652 <clip pos="2" part="lem"/>
1653 <clip pos="2" part="tags"/>
1654 <clip pos="2" part="chcontent"/>
1655 </chunk>
1656 </out>
1657 </otherwise>
1658 </choose>
1659 <out>
1660 <b pos="2"/>
1661 <chunk>
1662 <clip pos="3" part="whole"/>
1663 </chunk>
1664 </out>
1665 </action>
1666 </rule>
1668 <rule comment="REGLA: SN SP vbcop SA">
1669 <pattern>
1670 <pattern-item n="SN"/>
1671 <pattern-item n="pr"/>
1672 <pattern-item n="SN"/>
1673 <pattern-item n="vbcop"/>
1674 <pattern-item n="SA"/>
1675 </pattern>
1676 <action>
1677 <call-macro n="assigna_gen_nbr">
1678 <with-param pos="1"/>
1679 </call-macro>
1680 <call-macro n="assigna_gen_nbr">
1681 <with-param pos="3"/>
1682 </call-macro>
1683 <call-macro n="concord_sa">
1684 <with-param pos="1"/>
1685 <with-param pos="5"/>
1686 </call-macro>
1687 <!-- <call-macro n="cv_prep">
1688 <with-param pos="1"/>
1689 <with-param pos="2"/>
1690 <with-param pos="3"/>
1691 </call-macro>-->
1692 <out>
1693 <chunk>
1694 <clip pos="1" part="lem"/>
1695 <clip pos="1" part="tags"/>
1696 <clip pos="1" part="chcontent"/>
1697 </chunk>
1698 <b pos="1"/>
1699 <chunk>
1700 <clip pos="2" part="lem"/>
1701 <clip pos="2" part="tags"/>
1702 <clip pos="2" part="chcontent"/>
1703 </chunk>
1704 <b pos="2"/>
1705 <chunk>
1706 <clip pos="3" part="lem"/>
1707 <clip pos="3" part="tags"/>
1708 <clip pos="3" part="chcontent"/>
1709 </chunk>
1710 <b pos="3"/>
1711 <chunk>
1712 <clip pos="4" part="lem"/>
1713 <clip pos="4" part="tags"/>
1714 <clip pos="4" part="chcontent"/>
1715 </chunk>
1716 <b pos="4"/>
1717 <chunk>
1718 <clip pos="5" part="lem"/>
1719 <clip pos="5" part="tags"/>
1720 <clip pos="5" part="chcontent"/>
1721 </chunk>
1722 </out>
1723 </action>
1724 </rule>
1727 <rule comment="REGLA: SN SP vbcop SN">
1728 <pattern>
1729 <pattern-item n="SN"/>
1730 <pattern-item n="pr"/>
1731 <pattern-item n="SN"/>
1732 <pattern-item n="vbcop"/>
1733 <pattern-item n="SN"/>
1734 </pattern>
1735 <action>
1736 <call-macro n="assigna_gen_nbr">
1737 <with-param pos="1"/>
1738 </call-macro>
1739 <call-macro n="assigna_gen_nbr">
1740 <with-param pos="3"/>
1741 </call-macro>
1742 <call-macro n="concord_sn">
1743 <with-param pos="1"/>
1744 <with-param pos="5"/>
1745 </call-macro>
1746 <!-- <call-macro n="cv_prep">
1747 <with-param pos="1"/>
1748 <with-param pos="2"/>
1749 <with-param pos="3"/>
1750 </call-macro>-->
1751 <out>
1752 <chunk>
1753 <clip pos="1" part="lem"/>
1754 <clip pos="1" part="tags"/>
1755 <clip pos="1" part="chcontent"/>
1756 </chunk>
1757 <b pos="1"/>
1758 <chunk>
1759 <clip pos="2" part="lem"/>
1760 <clip pos="2" part="tags"/>
1761 <clip pos="2" part="chcontent"/>
1762 </chunk>
1763 <b pos="2"/>
1764 <chunk>
1765 <clip pos="3" part="lem"/>
1766 <clip pos="3" part="tags"/>
1767 <clip pos="3" part="chcontent"/>
1768 </chunk>
1769 <b pos="3"/>
1770 <chunk>
1771 <clip pos="4" part="lem"/>
1772 <clip pos="4" part="tags"/>
1773 <clip pos="4" part="chcontent"/>
1774 </chunk>
1775 <b pos="4"/>
1776 <chunk>
1777 <clip pos="5" part="lem"/>
1778 <clip pos="5" part="tags"/>
1779 <clip pos="5" part="chcontent"/>
1780 </chunk>
1781 </out>
1782 </action>
1783 </rule>
1785 <rule> <!-- REGLA: reset variables-->
1786 <pattern>
1787 <pattern-item n="punt"/>
1788 </pattern>
1789 <action>
1790 <let>
1791 <var n="nombre"/>
1792 <lit-tag v="sg"/>
1793 </let>
1794 <out>
1795 <chunk>
1796 <clip pos="1" part="whole"/>
1797 </chunk>
1798 </out>
1799 </action>
1800 </rule>
1804 </section-rules>
1805 </interchunk>