Added some words to the bidix
[apertium.git] / apertium-en-ca / apertium-en-ca.ca-en.t2x
blobe3ac646540039ecbc0b02898b92feac38c1f018e
1 <?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- -->
2 <interchunk>
3 <section-def-cats>
5 <def-cat n="SN">
6 <cat-item tags="SN.*"/>
7 </def-cat>
9 <def-cat n="SV">
10 <cat-item tags="SV.*"/>
11 <cat-item tags="SVneg.*"/>
12 </def-cat>
14 <def-cat n="SV_pers"><!--Formes personals. Exclou inf i ger (i alguns imperatius per ara) -->
15 <cat-item lemma="verbcj" tags="SV.*"/>
16 <cat-item lemma="verbcj" tags="SVneg.*"/>
17 <cat-item lemma="aux_verb" tags="SV.*"/>
18 <cat-item lemma="aux_verb" tags="SVneg.*"/>
19 <cat-item lemma="haver_pp" tags="SV.*"/>
20 <cat-item lemma="haver_pp" tags="SVneg.*"/>
21 <cat-item lemma="haver_pp_enc" tags="SV.*"/>
22 <cat-item lemma="haver_pp_enc" tags="SVneg.*"/>
23 <cat-item lemma="aux_haver_pp" tags="SV.*"/>
24 <cat-item lemma="aux_haver_pp" tags="SVneg.*"/>
25 <cat-item lemma="aux_haver_pp_enc" tags="SV.*"/>
26 <cat-item lemma="aux_haver_pp_enc" tags="SVneg.*"/>
27 <cat-item lemma="verbcj_enc" tags="SV.*"/>
28 <cat-item lemma="verbcj_enc" tags="SVneg.*"/>
29 <!-- <cat-item lemma="be_adj" tags="SV.*"/>-->
30 </def-cat>
32 <def-cat n="inf">
33 <cat-item tags="SV.vblex.inf"/>
34 <cat-item tags="SVneg.vblex.inf"/>
35 <cat-item tags="SV.vbhaver.inf"/>
36 <cat-item tags="SVneg.vbhaver.inf"/>
37 <cat-item tags="SV.vbser.inf"/>
38 <cat-item tags="SVneg.vbser.inf"/>
39 <cat-item tags="SV.vbmod.inf"/>
40 <cat-item tags="SVneg.vbmod.inf"/>
41 </def-cat>
43 <def-cat n="ser">
44 <cat-item tags="SV.vbser.*"/>
45 <cat-item tags="SVneg.vbser.*"/>
46 </def-cat>
48 <def-cat n="cnjsub">
49 <cat-item tags="cnjsub"/>
50 </def-cat>
52 <def-cat n="de">
53 <cat-item lemma="de" tags="PREP"/>
54 </def-cat>
56 <def-cat n="haverhi">
57 <cat-item lemma="haverhi" tags="SV.*"/>
58 <cat-item lemma="haverhi" tags="SVneg.*"/>
59 <cat-item lemma="haverhi_pp" tags="SV.*"/>
60 <cat-item lemma="haverhi_pp" tags="SVneg.*"/>
61 </def-cat>
63 <def-cat n="SA">
64 <cat-item tags="SA.*"/>
65 </def-cat>
67 <def-cat n="punt">
68 <cat-item tags="sent"/>
69 </def-cat>
71 </section-def-cats>
73 <section-def-attrs>
75 <def-attr n="pers">
76 <attr-item tags="p1"/>
77 <attr-item tags="p2"/>
78 <attr-item tags="p3"/>
79 <attr-item tags="PD"/>
80 </def-attr>
82 <def-attr n="gen">
83 <attr-item tags="m"/>
84 <attr-item tags="f"/>
85 <attr-item tags="mf"/>
86 <attr-item tags="GD"/>
87 <attr-item tags="nt"/>
88 </def-attr>
90 <def-attr n="nbr">
91 <attr-item tags="sg"/>
92 <attr-item tags="pl"/>
93 <attr-item tags="sp"/>
94 <attr-item tags="ND"/>
95 </def-attr>
97 <def-attr n="temps">
98 <attr-item tags="inf"/>
99 <attr-item tags="pres"/>
100 <attr-item tags="past"/>
101 <attr-item tags="pri"/>
102 <attr-item tags="ifip"/>
103 <attr-item tags="cni"/>
104 <attr-item tags="fti"/>
105 <attr-item tags="pp"/>
106 <attr-item tags="ger"/>
107 <attr-item tags="pprs"/>
108 <attr-item tags="subs"/>
109 <attr-item tags="imp"/>
110 <attr-item tags="ifi"/>
111 <attr-item tags="pii"/>
112 <attr-item tags="pis"/>
113 <attr-item tags="prs"/>
115 </def-attr>
118 <def-attr n="a_verb">
119 <attr-item tags="vblex"/>
120 <attr-item tags="vbser"/>
121 <attr-item tags="vbhaver"/>
122 <attr-item tags="vbmod"/>
123 <attr-item tags="vaux"/>
124 </def-attr>
127 </section-def-attrs>
129 <section-def-vars>
130 <def-var n="uno"/>
131 <def-var n="paraula"/>
132 </section-def-vars>
134 <section-def-macros>
136 <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. -->
137 <choose>
138 <when>
139 <test>
140 <not>
141 <equal>
142 <b pos="1"/>
143 <lit v=" "/>
144 </equal>
145 </not>
146 </test>
147 <out>
148 <b pos="1"/>
149 </out>
150 </when>
151 </choose>
152 </def-macro>
154 </section-def-macros>
156 <section-rules>
164 <!--Regles per a sintagmes sols que han pogut quedarse amb GD, ND o PD -->
166 <rule comment="REGLA: SN (per assignar gènere i nombre si hi ha GD i ND que no s'han pogut determinar, com passa en alguns pronoms: both, etc.)">
167 <pattern>
168 <pattern-item n="SN"/>
169 </pattern>
170 <action>
171 <choose>
172 <when>
173 <test>
174 <equal>
175 <clip pos="1" part="gen"/>
176 <lit-tag v="GD"/>
177 </equal>
178 </test>
179 <let>
180 <clip pos="1" part="gen"/>
181 <lit-tag v="m"/>
182 </let>
183 </when>
184 </choose>
185 <choose>
186 <when>
187 <test>
188 <equal>
189 <clip pos="1" part="nbr"/>
190 <lit-tag v="ND"/>
191 </equal>
192 </test>
193 <let>
194 <clip pos="1" part="nbr"/>
195 <lit-tag v="sg"/>
196 </let>
197 </when>
198 </choose>
199 <out>
200 <chunk>
201 <clip pos="1" part="lem"/>
202 <clip pos="1" part="tags"/>
203 <clip pos="1" part="chcontent"/>
204 </chunk>
205 </out>
206 </action>
207 </rule>
209 <rule comment="REGLA: haverhi SN">
210 <pattern>
211 <pattern-item n="haverhi"/>
212 <pattern-item n="SN"/>
213 </pattern>
214 <action>
215 <choose>
216 <when>
217 <test>
218 <not>
219 <or>
220 <equal>
221 <clip pos="2" part="nbr"/>
222 <lit-tag v="ND"/>
223 </equal>
224 <equal>
225 <clip pos="2" part="nbr"/>
226 <lit-tag v="sp"/>
227 </equal>
228 </or>
229 </not>
230 </test>
231 <let>
232 <clip pos="1" part="nbr"/>
233 <clip pos="2" part="nbr"/>
234 </let>
235 </when>
236 <otherwise>
237 <let>
238 <clip pos="1" part="nbr"/>
239 <lit-tag v="sg"/>
240 </let>
241 </otherwise>
242 </choose>
243 <choose><!--això no sé si fa falta però ho poso per si de cas, estudiar-ho i treure-ho si cal -->
244 <when>
245 <test>
246 <equal>
247 <clip pos="2" part="nbr"/>
248 <lit-tag v="ND"/>
249 </equal>
250 </test>
251 <let>
252 <clip pos="2" part="nbr"/>
253 <lit-tag v="sg"/>
254 </let>
255 </when>
256 </choose>
257 <choose><!--això no sé si fa falta però ho poso per si de cas, estudiar-ho i treure-ho si cal -->
258 <when>
259 <test>
260 <equal>
261 <clip pos="2" part="gen"/>
262 <lit-tag v="GD"/>
263 </equal>
264 </test>
265 <let>
266 <clip pos="2" part="nbr"/>
267 <lit-tag v="m"/>
268 </let>
269 </when>
270 </choose>
271 <out>
272 <chunk>
273 <clip pos="1" part="whole"/>
274 </chunk>
275 <b pos="1"/>
276 <chunk>
277 <clip pos="2" part="whole"/>
278 </chunk>
279 </out>
280 </action>
281 </rule>
285 <rule comment="REGLA: SN haverhi SN (per a frase com 'al seu país no hi ha dubte que', pq no entrin per 'SN SV'">
286 <pattern>
287 <pattern-item n="SN"/>
288 <pattern-item n="haverhi"/>
289 <pattern-item n="SN"/>
290 </pattern>
291 <action>
292 <choose>
293 <when>
294 <test>
295 <equal>
296 <clip pos="1" part="gen"/>
297 <lit-tag v="GD"/>
298 </equal>
299 </test>
300 <let>
301 <clip pos="1" part="gen"/>
302 <lit-tag v="m"/>
303 </let>
304 </when>
305 </choose>
306 <choose>
307 <when>
308 <test>
309 <equal>
310 <clip pos="1" part="nbr"/>
311 <lit-tag v="ND"/>
312 </equal>
313 </test>
314 <let>
315 <clip pos="1" part="nbr"/>
316 <lit-tag v="sg"/>
317 </let>
318 </when>
319 </choose>
320 <choose>
321 <when>
322 <test>
323 <not>
324 <or>
325 <equal>
326 <clip pos="3" part="nbr"/>
327 <lit-tag v="ND"/>
328 </equal>
329 <equal>
330 <clip pos="3" part="nbr"/>
331 <lit-tag v="sp"/>
332 </equal>
333 </or>
334 </not>
335 </test>
336 <let>
337 <clip pos="2" part="nbr"/>
338 <clip pos="3" part="nbr"/>
339 </let>
340 </when>
341 <otherwise>
342 <let>
343 <clip pos="2" part="nbr"/>
344 <lit-tag v="sg"/>
345 </let>
346 </otherwise>
347 </choose>
348 <choose><!--això no sé si fa falta però ho poso per si de cas, estudiar-ho i treure-ho si cal -->
349 <when>
350 <test>
351 <equal>
352 <clip pos="3" part="nbr"/>
353 <lit-tag v="ND"/>
354 </equal>
355 </test>
356 <let>
357 <clip pos="3" part="nbr"/>
358 <lit-tag v="sg"/>
359 </let>
360 </when>
361 </choose>
362 <choose><!--això no sé si fa falta però ho poso per si de cas, estudiar-ho i treure-ho si cal -->
363 <when>
364 <test>
365 <equal>
366 <clip pos="3" part="gen"/>
367 <lit-tag v="GD"/>
368 </equal>
369 </test>
370 <let>
371 <clip pos="3" part="nbr"/>
372 <lit-tag v="m"/>
373 </let>
374 </when>
375 </choose>
376 <out>
377 <chunk>
378 <clip pos="1" part="whole"/>
379 </chunk>
380 <b pos="1"/>
381 <chunk>
382 <clip pos="2" part="whole"/>
383 </chunk>
384 <b pos="2"/>
385 <chunk>
386 <clip pos="3" part="whole"/>
387 </chunk>
388 </out>
389 </action>
390 </rule>
393 <rule comment="REGLA: haverhi (per quan no va seguit de SN, assignar-li nombre per defecte">
394 <pattern>
395 <pattern-item n="haverhi"/>
396 </pattern>
397 <action>
398 <choose>
399 <when>
400 <test>
401 <equal>
402 <clip pos="1" part="nbr"/>
403 <lit-tag v="ND"/>
404 </equal>
405 </test>
406 <let>
407 <clip pos="1" part="nbr"/>
408 <lit-tag v="sg"/>
409 </let>
410 </when>
411 </choose>
412 <out>
413 <chunk>
414 <clip pos="1" part="whole"/>
415 </chunk>
416 </out>
417 </action>
418 </rule>
425 <rule comment="REGLA: SN SV">
426 <pattern>
427 <pattern-item n="SN"/>
428 <pattern-item n="SV"/>
429 </pattern>
430 <action>
431 <choose>
432 <when>
433 <test>
434 <equal>
435 <clip pos="1" part="gen"/>
436 <lit-tag v="GD"/>
437 </equal>
438 </test>
439 <let>
440 <clip pos="1" part="gen"/>
441 <lit-tag v="m"/>
442 </let>
443 </when>
444 </choose>
445 <choose>
446 <when>
447 <test>
448 <equal>
449 <clip pos="1" part="nbr"/>
450 <lit-tag v="ND"/>
451 </equal>
452 </test>
453 <let>
454 <clip pos="1" part="nbr"/>
455 <lit-tag v="sg"/>
456 </let>
457 </when>
458 </choose>
459 <out>
460 <chunk>
461 <clip pos="1" part="lem"/>
462 <clip pos="1" part="tags"/>
463 <clip pos="1" part="chcontent"/>
464 </chunk>
465 <b pos="1"/>
466 <chunk>
467 <clip pos="2" part="lem"/>
468 <clip pos="2" part="tags"/>
469 <clip pos="2" part="chcontent"/>
470 </chunk>
471 </out>
472 </action>
473 </rule>
477 <rule comment="REGLA: SN SV inf (SN han decidit venir -> SN have decided TO come)" >
478 <pattern>
479 <pattern-item n="SN"/>
480 <pattern-item n="SV_pers"/>
481 <pattern-item n="inf"/>
482 </pattern>
483 <action>
484 <choose>
485 <when>
486 <test>
487 <equal>
488 <clip pos="1" part="gen"/>
489 <lit-tag v="GD"/>
490 </equal>
491 </test>
492 <let>
493 <clip pos="1" part="gen"/>
494 <lit-tag v="m"/>
495 </let>
496 </when>
497 </choose>
498 <choose>
499 <when>
500 <test>
501 <equal>
502 <clip pos="1" part="nbr"/>
503 <lit-tag v="ND"/>
504 </equal>
505 </test>
506 <let>
507 <clip pos="1" part="nbr"/>
508 <lit-tag v="sg"/>
509 </let>
510 </when>
511 </choose>
512 <out>
513 <chunk>
514 <clip pos="1" part="whole"/>
515 </chunk>
516 <b pos="1"/>
517 <chunk>
518 <clip pos="2" part="whole"/>
519 </chunk>
520 <b pos="2"/>
521 </out>
522 <choose>
523 <when><!--si és vbmod (o vaux: "can") no posis el "to" pq no cal ("can") o ja el té incorporat ("have to"). -->
524 <test>
525 <not>
526 <or>
527 <equal>
528 <clip pos="2" part="a_verb"/>
529 <lit-tag v="vbmod"/>
530 </equal>
531 <equal>
532 <clip pos="2" part="a_verb"/>
533 <lit-tag v="vaux"/>
534 </equal>
535 </or>
536 </not>
537 </test>
538 <out>
539 <chunk>
540 <get-case-from pos="3">
541 <lit v="to"/>
542 </get-case-from>
543 <lit-tag v="pr"/>
544 <lit v="{^"/>
545 <get-case-from pos="3">
546 <lit v="to"/>
547 </get-case-from>
548 <lit-tag v="pr"/>
549 <lit v="$}"/>
550 </chunk>
551 <b/>
552 </out>
553 </when>
554 </choose>
555 <out>
556 <chunk>
557 <clip pos="3" part="whole"/>
558 </chunk>
559 </out>
560 </action>
561 </rule>
563 <rule comment="REGLA: SV inf (han decidit venir -> have decided TO come) (caldria generar aquí subjecte? estudiar)" >
564 <pattern>
565 <pattern-item n="SV_pers"/>
566 <pattern-item n="inf"/>
567 </pattern>
568 <action>
569 <out>
570 <chunk>
571 <clip pos="1" part="whole"/>
572 </chunk>
573 <b pos="1"/>
574 </out>
575 <choose>
576 <when><!--si és vbmod (o vaux: "can") no posis el "to" pq no cal ("can") o ja el té incorporat ("have to"). -->
577 <test>
578 <not>
579 <or>
580 <equal>
581 <clip pos="1" part="a_verb"/>
582 <lit-tag v="vbmod"/>
583 </equal>
584 <equal>
585 <clip pos="1" part="a_verb"/>
586 <lit-tag v="vaux"/>
587 </equal>
588 </or>
589 </not>
590 </test>
591 <out>
592 <chunk>
593 <get-case-from pos="2">
594 <lit v="to"/>
595 </get-case-from>
596 <lit-tag v="pr"/>
597 <lit v="{^"/>
598 <get-case-from pos="2">
599 <lit v="to"/>
600 </get-case-from>
601 <lit-tag v="pr"/>
602 <lit v="$}"/>
603 </chunk>
604 <b/>
605 </out>
606 </when>
607 </choose>
608 <out>
609 <chunk>
610 <clip pos="2" part="whole"/>
611 </chunk>
612 </out>
613 </action>
614 </rule>
619 <rule comment="REGLA: SV SA inf (és/considera difícil entendre -> is/considers difficult TO understand)" >
620 <pattern>
621 <pattern-item n="SV"/>
622 <pattern-item n="SA"/>
623 <pattern-item n="inf"/>
624 </pattern>
625 <action>
626 <out>
627 <chunk>
628 <clip pos="1" part="whole"/>
629 </chunk>
630 <b pos="1"/>
631 <chunk>
632 <clip pos="2" part="whole"/>
633 </chunk>
634 <b pos="2"/>
635 <chunk>
636 <get-case-from pos="3">
637 <lit v="to"/>
638 </get-case-from>
639 <lit-tag v="pr"/>
640 <lit v="{^"/>
641 <get-case-from pos="3">
642 <lit v="to"/>
643 </get-case-from>
644 <lit-tag v="pr"/>
645 <lit v="$}"/>
646 </chunk>
647 <b/>
648 <chunk>
649 <clip pos="3" part="whole"/>
650 </chunk>
651 </out>
652 </action>
653 </rule>
656 <rule comment="REGLA: SV SA de inf (és/considera difícil d'entendre -> is/considers difficult TO understand)" >
657 <pattern>
658 <pattern-item n="SV"/>
659 <pattern-item n="SA"/>
660 <pattern-item n="de"/>
661 <pattern-item n="inf"/>
662 </pattern>
663 <action>
664 <out>
665 <chunk>
666 <clip pos="1" part="whole"/>
667 </chunk>
668 <b pos="1"/>
669 <chunk>
670 <clip pos="2" part="whole"/>
671 </chunk>
672 <b pos="2"/>
673 <chunk>
674 <get-case-from pos="3">
675 <lit v="to"/>
676 </get-case-from>
677 <lit-tag v="pr"/>
678 <lit v="{^"/>
679 <get-case-from pos="3">
680 <lit v="to"/>
681 </get-case-from>
682 <lit-tag v="pr"/>
683 <lit v="$}"/>
684 </chunk>
685 <b/>
686 <chunk>
687 <clip pos="4" part="whole"/>
688 </chunk>
689 </out>
690 </action>
691 </rule>
694 <rule comment="REGLA: SN SV SA inf (això és/considera difícil entendre -> is/considers difficult TO understand)" >
695 <pattern>
696 <pattern-item n="SN"/>
697 <pattern-item n="SV"/>
698 <pattern-item n="SA"/>
699 <pattern-item n="inf"/>
700 </pattern>
701 <action>
702 <choose>
703 <when>
704 <test>
705 <equal>
706 <clip pos="1" part="gen"/>
707 <lit-tag v="GD"/>
708 </equal>
709 </test>
710 <let>
711 <clip pos="1" part="gen"/>
712 <lit-tag v="m"/>
713 </let>
714 </when>
715 </choose>
716 <choose>
717 <when>
718 <test>
719 <equal>
720 <clip pos="1" part="nbr"/>
721 <lit-tag v="ND"/>
722 </equal>
723 </test>
724 <let>
725 <clip pos="1" part="nbr"/>
726 <lit-tag v="sg"/>
727 </let>
728 </when>
729 </choose>
730 <out>
731 <chunk>
732 <clip pos="1" part="whole"/>
733 </chunk>
734 <b pos="1"/>
735 <chunk>
736 <clip pos="2" part="whole"/>
737 </chunk>
738 <b pos="2"/>
739 <chunk>
740 <clip pos="3" part="whole"/>
741 </chunk>
742 <b pos="3"/>
743 <chunk>
744 <get-case-from pos="4">
745 <lit v="to"/>
746 </get-case-from>
747 <lit-tag v="pr"/>
748 <lit v="{^"/>
749 <get-case-from pos="4">
750 <lit v="to"/>
751 </get-case-from>
752 <lit-tag v="pr"/>
753 <lit v="$}"/>
754 </chunk>
755 <b/>
756 <chunk>
757 <clip pos="4" part="whole"/>
758 </chunk>
759 </out>
760 </action>
761 </rule>
764 <rule comment="REGLA: SN SV SA de inf (és/considera difícil d'entendre -> is/considers difficult TO understand)" >
765 <pattern>
766 <pattern-item n="SN"/>
767 <pattern-item n="SV"/>
768 <pattern-item n="SA"/>
769 <pattern-item n="de"/>
770 <pattern-item n="inf"/>
771 </pattern>
772 <action>
773 <choose>
774 <when>
775 <test>
776 <equal>
777 <clip pos="1" part="gen"/>
778 <lit-tag v="GD"/>
779 </equal>
780 </test>
781 <let>
782 <clip pos="1" part="gen"/>
783 <lit-tag v="m"/>
784 </let>
785 </when>
786 </choose>
787 <choose>
788 <when>
789 <test>
790 <equal>
791 <clip pos="1" part="nbr"/>
792 <lit-tag v="ND"/>
793 </equal>
794 </test>
795 <let>
796 <clip pos="1" part="nbr"/>
797 <lit-tag v="sg"/>
798 </let>
799 </when>
800 </choose>
801 <out>
802 <chunk>
803 <clip pos="1" part="whole"/>
804 </chunk>
805 <b pos="1"/>
806 <chunk>
807 <clip pos="2" part="whole"/>
808 </chunk>
809 <b pos="2"/>
810 <chunk>
811 <clip pos="3" part="whole"/>
812 </chunk>
813 <b pos="3"/>
814 <chunk>
815 <get-case-from pos="4">
816 <lit v="to"/>
817 </get-case-from>
818 <lit-tag v="pr"/>
819 <lit v="{^"/>
820 <get-case-from pos="4">
821 <lit v="to"/>
822 </get-case-from>
823 <lit-tag v="pr"/>
824 <lit v="$}"/>
825 </chunk>
826 <b/>
827 <chunk>
828 <clip pos="5" part="whole"/>
829 </chunk>
830 </out>
831 </action>
832 </rule>
835 <!--
837 <rule comment="REGLA: SN ADV SV">
838 <pattern>
839 <pattern-item n="SN"/>
840 <pattern-item n="ADV"/>
841 <pattern-item n="SV"/>
842 </pattern>
843 <action>
844 <choose>
845 <when>
846 <test>
847 <equal>
848 <clip pos="1" part="gen"/>
849 <lit-tag v="GD"/>
850 </equal>
851 </test>
852 <let>
853 <clip pos="1" part="gen"/>
854 <lit-tag v="m"/>
855 </let>
856 </when>
857 </choose>
858 <choose>
859 <when>
860 <test>
861 <equal>
862 <clip pos="1" part="nbr"/>
863 <lit-tag v="ND"/>
864 </equal>
865 </test>
866 <let>
867 <clip pos="1" part="nbr"/>
868 <lit-tag v="sg"/>
869 </let>
870 </when>
871 </choose>
874 <out>
875 <chunk>
876 <clip pos="1" part="lem"/>
877 <clip pos="1" part="tags"/>
878 <clip pos="1" part="chcontent"/>
879 </chunk>
880 <b pos="1"/>
881 <chunk>
882 <clip pos="2" part="lem"/>
883 <clip pos="2" part="tags"/>
884 <clip pos="2" part="chcontent"/>
885 </chunk>
886 <b pos="2"/>
887 <chunk>
888 <clip pos="3" part="lem"/>
889 <clip pos="3" part="tags"/>
890 <clip pos="3" part="chcontent"/>
891 </chunk>
892 </out>
893 </action>
894 </rule>-->
896 <!--Regles per a afegir pronom subjecte -->
898 <rule comment="REGLA: punt SV (. Significava -> IT meant)">
899 <pattern>
900 <pattern-item n="punt"/>
901 <pattern-item n="SV_pers"/>
902 </pattern>
903 <action>
904 <out>
905 <chunk>
906 <clip pos="1" part="whole"/>
907 </chunk>
908 <b pos="1"/>
909 </out>
910 <choose>
911 <when>
912 <test>
913 <not>
914 <equal>
915 <clip pos="2" part="temps"/>
916 <lit-tag v="imp"/>
917 </equal>
918 </not>
919 </test>
920 <out>
921 <chunk>
922 <get-case-from pos="2">
923 <lit v="subj"/>
924 </get-case-from>
925 <lit-tag v="prn.subj"/>
926 <clip pos="2" part="pers"/>
927 <lit-tag v="GD"/>
928 <clip pos="2" part="nbr"/>
929 <lit v="{^"/>
930 <get-case-from pos="2">
931 <lit v="prpers"/>
932 </get-case-from>
933 <lit-tag v="prn.subj.3.4.5"/>
934 <lit v="$}"/>
935 </chunk>
936 <b/>
937 </out>
938 <choose>
939 <when>
940 <test>
941 <equal>
942 <case-of pos="2" part="lem"/>
943 <lit v="Aa"/>
944 </equal>
945 </test>
946 <modify-case>
947 <clip pos="2" part="lem"/>
948 <lit v="aa"/>
949 </modify-case>
950 </when>
951 </choose>
952 </when>
953 </choose>
954 <out>
955 <chunk>
956 <clip pos="2" part="lem"/>
957 <clip pos="2" part="tags"/>
958 <clip pos="2" part="chcontent"/>
959 </chunk>
960 </out>
961 </action>
962 </rule>
964 <rule comment="REGLA: punt SV inf (. Intentava venir -> IT tried TO come)">
965 <pattern>
966 <pattern-item n="punt"/>
967 <pattern-item n="SV_pers"/>
968 <pattern-item n="inf"/>
969 </pattern>
970 <action>
971 <out>
972 <chunk>
973 <clip pos="1" part="whole"/>
974 </chunk>
975 <b pos="1"/>
976 </out>
977 <choose>
978 <when>
979 <test>
980 <not>
981 <equal>
982 <clip pos="2" part="temps"/>
983 <lit-tag v="imp"/>
984 </equal>
985 </not>
986 </test>
987 <out>
988 <chunk>
989 <get-case-from pos="2">
990 <lit v="subj"/>
991 </get-case-from>
992 <lit-tag v="prn.subj"/>
993 <clip pos="2" part="pers"/>
994 <lit-tag v="GD"/>
995 <clip pos="2" part="nbr"/>
996 <lit v="{^"/>
997 <get-case-from pos="2">
998 <lit v="prpers"/>
999 </get-case-from>
1000 <lit-tag v="prn.subj.3.4.5"/>
1001 <lit v="$}"/>
1002 </chunk>
1003 <b/>
1004 </out>
1005 <choose>
1006 <when>
1007 <test>
1008 <equal>
1009 <case-of pos="2" part="lem"/>
1010 <lit v="Aa"/>
1011 </equal>
1012 </test>
1013 <modify-case>
1014 <clip pos="2" part="lem"/>
1015 <lit v="aa"/>
1016 </modify-case>
1017 </when>
1018 </choose>
1019 </when>
1020 </choose>
1021 <out>
1022 <chunk>
1023 <clip pos="2" part="lem"/>
1024 <clip pos="2" part="tags"/>
1025 <clip pos="2" part="chcontent"/>
1026 </chunk>
1027 <b pos="2"/>
1028 </out>
1029 <choose>
1030 <when><!--si és vbmod (o vaux: "can") no posis el "to" pq no cal ("can") o ja el té incorporat ("have to"). -->
1031 <test>
1032 <not>
1033 <or>
1034 <equal>
1035 <clip pos="2" part="a_verb"/>
1036 <lit-tag v="vbmod"/>
1037 </equal>
1038 <equal>
1039 <clip pos="2" part="a_verb"/>
1040 <lit-tag v="vaux"/>
1041 </equal>
1042 </or>
1043 </not>
1044 </test>
1045 <out>
1046 <chunk>
1047 <get-case-from pos="3">
1048 <lit v="to"/>
1049 </get-case-from>
1050 <lit-tag v="pr"/>
1051 <lit v="{^"/>
1052 <get-case-from pos="3">
1053 <lit v="to"/>
1054 </get-case-from>
1055 <lit-tag v="pr"/>
1056 <lit v="$}"/>
1057 </chunk>
1058 <b/>
1059 </out>
1060 </when>
1061 </choose>
1062 <out>
1063 <chunk>
1064 <clip pos="3" part="whole"/>
1065 </chunk>
1066 </out>
1067 </action>
1068 </rule>
1071 <rule comment="REGLA: punt SV SA inf (. Era difícil ajudar -> IT was difficult TO help)">
1072 <pattern>
1073 <pattern-item n="punt"/>
1074 <pattern-item n="SV_pers"/>
1075 <pattern-item n="SA"/>
1076 <pattern-item n="inf"/>
1077 </pattern>
1078 <action>
1079 <out>
1080 <chunk>
1081 <clip pos="1" part="whole"/>
1082 </chunk>
1083 <b pos="1"/>
1084 </out>
1085 <choose>
1086 <when>
1087 <test>
1088 <not>
1089 <equal>
1090 <clip pos="2" part="temps"/>
1091 <lit-tag v="imp"/>
1092 </equal>
1093 </not>
1094 </test>
1095 <out>
1096 <chunk>
1097 <get-case-from pos="2">
1098 <lit v="subj"/>
1099 </get-case-from>
1100 <lit-tag v="prn.subj"/>
1101 <clip pos="2" part="pers"/>
1102 <lit-tag v="GD"/>
1103 <clip pos="2" part="nbr"/>
1104 <lit v="{^"/>
1105 <get-case-from pos="2">
1106 <lit v="prpers"/>
1107 </get-case-from>
1108 <lit-tag v="prn.subj.3.4.5"/>
1109 <lit v="$}"/>
1110 </chunk>
1111 <b/>
1112 </out>
1113 <choose>
1114 <when>
1115 <test>
1116 <equal>
1117 <case-of pos="2" part="lem"/>
1118 <lit v="Aa"/>
1119 </equal>
1120 </test>
1121 <modify-case>
1122 <clip pos="2" part="lem"/>
1123 <lit v="aa"/>
1124 </modify-case>
1125 </when>
1126 </choose>
1127 </when>
1128 </choose>
1129 <out>
1130 <chunk>
1131 <clip pos="2" part="lem"/>
1132 <clip pos="2" part="tags"/>
1133 <clip pos="2" part="chcontent"/>
1134 </chunk>
1135 <b pos="2"/>
1136 <chunk>
1137 <clip pos="3" part="whole"/>
1138 </chunk>
1139 <b pos="3"/>
1140 <chunk>
1141 <get-case-from pos="4">
1142 <lit v="to"/>
1143 </get-case-from>
1144 <lit-tag v="pr"/>
1145 <lit v="{^"/>
1146 <get-case-from pos="4">
1147 <lit v="to"/>
1148 </get-case-from>
1149 <lit-tag v="pr"/>
1150 <lit v="$}"/>
1151 </chunk>
1152 <b/>
1153 <chunk>
1154 <clip pos="4" part="whole"/>
1155 </chunk>
1156 </out>
1157 </action>
1158 </rule>
1163 <rule comment="REGLA: punt SV SA de inf (. Era difícil d'ajudar -> IT was difficult TO help)">
1164 <pattern>
1165 <pattern-item n="punt"/>
1166 <pattern-item n="SV_pers"/>
1167 <pattern-item n="SA"/>
1168 <pattern-item n="de"/>
1169 <pattern-item n="inf"/>
1170 </pattern>
1171 <action>
1172 <out>
1173 <chunk>
1174 <clip pos="1" part="whole"/>
1175 </chunk>
1176 <b pos="1"/>
1177 </out>
1178 <choose>
1179 <when>
1180 <test>
1181 <not>
1182 <equal>
1183 <clip pos="2" part="temps"/>
1184 <lit-tag v="imp"/>
1185 </equal>
1186 </not>
1187 </test>
1188 <out>
1189 <chunk>
1190 <get-case-from pos="2">
1191 <lit v="subj"/>
1192 </get-case-from>
1193 <lit-tag v="prn.subj"/>
1194 <clip pos="2" part="pers"/>
1195 <lit-tag v="GD"/>
1196 <clip pos="2" part="nbr"/>
1197 <lit v="{^"/>
1198 <get-case-from pos="2">
1199 <lit v="prpers"/>
1200 </get-case-from>
1201 <lit-tag v="prn.subj.3.4.5"/>
1202 <lit v="$}"/>
1203 </chunk>
1204 <b/>
1205 </out>
1206 <choose>
1207 <when>
1208 <test>
1209 <equal>
1210 <case-of pos="2" part="lem"/>
1211 <lit v="Aa"/>
1212 </equal>
1213 </test>
1214 <modify-case>
1215 <clip pos="2" part="lem"/>
1216 <lit v="aa"/>
1217 </modify-case>
1218 </when>
1219 </choose>
1220 </when>
1221 </choose>
1222 <out>
1223 <chunk>
1224 <clip pos="2" part="lem"/>
1225 <clip pos="2" part="tags"/>
1226 <clip pos="2" part="chcontent"/>
1227 </chunk>
1228 <b pos="2"/>
1229 <chunk>
1230 <clip pos="3" part="whole"/>
1231 </chunk>
1232 <b pos="3"/>
1233 <chunk>
1234 <get-case-from pos="4">
1235 <lit v="to"/>
1236 </get-case-from>
1237 <lit-tag v="pr"/>
1238 <lit v="{^"/>
1239 <get-case-from pos="4">
1240 <lit v="to"/>
1241 </get-case-from>
1242 <lit-tag v="pr"/>
1243 <lit v="$}"/>
1244 </chunk>
1245 <b/>
1246 <chunk>
1247 <clip pos="5" part="whole"/>
1248 </chunk>
1249 </out>
1250 </action>
1251 </rule>
1254 <rule comment="REGLA: cnjsub SV ( que vinguis -> that YOU come)">
1255 <pattern>
1256 <pattern-item n="cnjsub"/>
1257 <pattern-item n="SV_pers"/>
1258 </pattern>
1259 <action>
1260 <out>
1261 <chunk>
1262 <clip pos="1" part="whole"/>
1263 </chunk>
1264 <b pos="1"/>
1265 <chunk>
1266 <get-case-from pos="2">
1267 <lit v="subj"/>
1268 </get-case-from>
1269 <lit-tag v="prn.subj"/>
1270 <clip pos="2" part="pers"/>
1271 <lit-tag v="GD"/>
1272 <clip pos="2" part="nbr"/>
1273 <lit v="{^"/>
1274 <get-case-from pos="2">
1275 <lit v="prpers"/>
1276 </get-case-from>
1277 <lit-tag v="prn.subj.3.4.5"/>
1278 <lit v="$}"/>
1279 </chunk>
1280 <b/>
1281 <chunk>
1282 <clip pos="2" part="whole"/>
1283 </chunk>
1284 </out>
1285 </action>
1286 </rule>
1288 <rule comment="REGLA: cnjsub SV ( que vinguis -> that YOU come)">
1289 <pattern>
1290 <pattern-item n="cnjsub"/>
1291 <pattern-item n="SV_pers"/>
1292 <pattern-item n="inf"/>
1293 </pattern>
1294 <action>
1295 <out>
1296 <chunk>
1297 <clip pos="1" part="whole"/>
1298 </chunk>
1299 <b pos="1"/>
1300 <chunk>
1301 <get-case-from pos="2">
1302 <lit v="subj"/>
1303 </get-case-from>
1304 <lit-tag v="prn.subj"/>
1305 <clip pos="2" part="pers"/>
1306 <lit-tag v="GD"/>
1307 <clip pos="2" part="nbr"/>
1308 <lit v="{^"/>
1309 <get-case-from pos="2">
1310 <lit v="prpers"/>
1311 </get-case-from>
1312 <lit-tag v="prn.subj.3.4.5"/>
1313 <lit v="$}"/>
1314 </chunk>
1315 <b/>
1316 <chunk>
1317 <clip pos="2" part="whole"/>
1318 </chunk>
1319 <b pos="2"/>
1320 </out>
1321 <choose>
1322 <when><!--si és vbmod (o vaux: "can") no posis el "to" pq no cal ("can") o ja el té incorporat ("have to"). -->
1323 <test>
1324 <not>
1325 <or>
1326 <equal>
1327 <clip pos="2" part="a_verb"/>
1328 <lit-tag v="vbmod"/>
1329 </equal>
1330 <equal>
1331 <clip pos="2" part="a_verb"/>
1332 <lit-tag v="vaux"/>
1333 </equal>
1334 </or>
1335 </not>
1336 </test>
1337 <out>
1338 <chunk>
1339 <get-case-from pos="3">
1340 <lit v="to"/>
1341 </get-case-from>
1342 <lit-tag v="pr"/>
1343 <lit v="{^"/>
1344 <get-case-from pos="3">
1345 <lit v="to"/>
1346 </get-case-from>
1347 <lit-tag v="pr"/>
1348 <lit v="$}"/>
1349 </chunk>
1350 <b/>
1351 </out>
1352 </when>
1353 </choose>
1354 <out>
1355 <chunk>
1356 <clip pos="3" part="whole"/>
1357 </chunk>
1358 </out>
1359 </action>
1360 </rule>
1363 <rule comment="REGLA: cnjsub SV ( que vinguis -> that YOU come)">
1364 <pattern>
1365 <pattern-item n="cnjsub"/>
1366 <pattern-item n="SV_pers"/>
1367 <pattern-item n="SA"/>
1368 <pattern-item n="inf"/>
1369 </pattern>
1370 <action>
1371 <out>
1372 <chunk>
1373 <clip pos="1" part="whole"/>
1374 </chunk>
1375 <b pos="1"/>
1376 <chunk>
1377 <get-case-from pos="2">
1378 <lit v="subj"/>
1379 </get-case-from>
1380 <lit-tag v="prn.subj"/>
1381 <clip pos="2" part="pers"/>
1382 <lit-tag v="GD"/>
1383 <clip pos="2" part="nbr"/>
1384 <lit v="{^"/>
1385 <get-case-from pos="2">
1386 <lit v="prpers"/>
1387 </get-case-from>
1388 <lit-tag v="prn.subj.3.4.5"/>
1389 <lit v="$}"/>
1390 </chunk>
1391 <b/>
1392 <chunk>
1393 <clip pos="2" part="whole"/>
1394 </chunk>
1395 <b pos="2"/>
1396 <chunk>
1397 <clip pos="3" part="whole"/>
1398 </chunk>
1399 <b pos="3"/>
1400 <chunk>
1401 <get-case-from pos="4">
1402 <lit v="to"/>
1403 </get-case-from>
1404 <lit-tag v="pr"/>
1405 <lit v="{^"/>
1406 <get-case-from pos="4">
1407 <lit v="to"/>
1408 </get-case-from>
1409 <lit-tag v="pr"/>
1410 <lit v="$}"/>
1411 </chunk>
1412 <b/>
1413 <chunk>
1414 <clip pos="4" part="whole"/>
1415 </chunk>
1416 </out>
1417 </action>
1418 </rule>
1420 <rule comment="REGLA: cnjsub SV ( que vinguis -> that YOU come)">
1421 <pattern>
1422 <pattern-item n="cnjsub"/>
1423 <pattern-item n="SV_pers"/>
1424 <pattern-item n="SA"/>
1425 <pattern-item n="de"/>
1426 <pattern-item n="inf"/>
1427 </pattern>
1428 <action>
1429 <out>
1430 <chunk>
1431 <clip pos="1" part="whole"/>
1432 </chunk>
1433 <b pos="1"/>
1434 <chunk>
1435 <get-case-from pos="2">
1436 <lit v="subj"/>
1437 </get-case-from>
1438 <lit-tag v="prn.subj"/>
1439 <clip pos="2" part="pers"/>
1440 <lit-tag v="GD"/>
1441 <clip pos="2" part="nbr"/>
1442 <lit v="{^"/>
1443 <get-case-from pos="2">
1444 <lit v="prpers"/>
1445 </get-case-from>
1446 <lit-tag v="prn.subj.3.4.5"/>
1447 <lit v="$}"/>
1448 </chunk>
1449 <b/>
1450 <chunk>
1451 <clip pos="2" part="whole"/>
1452 </chunk>
1453 <b pos="2"/>
1454 <chunk>
1455 <clip pos="3" part="whole"/>
1456 </chunk>
1457 <b pos="3"/>
1458 <chunk>
1459 <get-case-from pos="4">
1460 <lit v="to"/>
1461 </get-case-from>
1462 <lit-tag v="pr"/>
1463 <lit v="{^"/>
1464 <get-case-from pos="4">
1465 <lit v="to"/>
1466 </get-case-from>
1467 <lit-tag v="pr"/>
1468 <lit v="$}"/>
1469 </chunk>
1470 <b/>
1471 <chunk>
1472 <clip pos="5" part="whole"/>
1473 </chunk>
1474 </out>
1475 </action>
1476 </rule>
1479 </section-rules>
1480 </interchunk>