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