1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?> <!-- -*- nxml -*- -->
6 <cat-item tags=
"SN.*"/>
9 <def-cat n=
"negacio"><!-- BCN-->
10 <cat-item tags=
"SN.DET.*.*.negacio"/>
13 <def-cat n=
"pr"><!-- BCN-->
14 <cat-item tags=
"PREP"/>
15 <cat-item tags=
"PREP.*"/>
19 <def-cat n="SN_nopron">
20 <cat-item tags="SN.DET.*"/>
21 <cat-item tags="SN.UNDET.*"/>
22 <cat-item tags="SN.NUM.*"/>
26 <cat-item tags=
"SV.*"/>
31 <cat-item tags=
"SV.vbcop.*"/>
32 <cat-item tags=
"SV.vbser.*"/>
36 <cat-item lemma=
"adv" tags=
"adv"/>
37 <cat-item lemma=
"adv" tags=
"adv.*"/>
38 <cat-item lemma=
"ne" tags=
"adv"/>
42 <cat-item lemma=
"cnjsub" tags=
"cnjsub"/>
45 <cat-item lemma=
"ne" tags=
"adv"/>
49 <cat-item tags=
"PRN.subj.*"/>
53 <cat-item tags=
"SA.*"/>
57 <cat-item lemma=
"pp" tags=
"SA.*"/>
58 <cat-item lemma=
"adj" tags=
"SA.*"/><!-- BCN per que agafi b�resolutions adopted -->
62 <cat-item tags=
"DET.*"/>
66 <cat-item tags=
"REL.nn.*"/>
70 <cat-item tags=
"REL.an.*"/>
74 <cat-item tags=
"NUM.*"/>
78 <cat-item tags=
"sent"/>
81 <def-cat n=
"cnjcoo"> <!-- BCN-->
82 <cat-item tags=
"cnjcoo"/>
91 <attr-item tags=
"vben"/>
92 <attr-item tags=
"vba"/>
93 <attr-item tags=
"nopart"/>
96 <attr-item tags=
"loc"/>
97 <attr-item tags=
"part"/>
100 <attr-item tags=
"a"/>
101 <attr-item tags=
"de"/>
102 <attr-item tags=
"en"/>
103 <attr-item tags=
"para"/>
106 <attr-item tags=
"p1"/>
107 <attr-item tags=
"p2"/>
108 <attr-item tags=
"p3"/>
109 <attr-item tags=
"PD"/>
110 <attr-item tags=
"NP"/>
114 <attr-item tags=
"m"/>
115 <attr-item tags=
"f"/>
116 <attr-item tags=
"mf"/>
117 <attr-item tags=
"GD"/>
118 <attr-item tags=
"nt"/>
122 <attr-item tags=
"sg"/>
123 <attr-item tags=
"pl"/>
124 <attr-item tags=
"sp"/>
125 <attr-item tags=
"ND"/>
126 <attr-item tags=
"NN"/>
130 <attr-item tags=
"inf"/>
131 <attr-item tags=
"pres"/>
132 <attr-item tags=
"past"/>
133 <attr-item tags=
"pri"/>
134 <attr-item tags=
"ifip"/>
135 <attr-item tags=
"cni"/>
136 <attr-item tags=
"fti"/>
137 <attr-item tags=
"pp"/>
138 <attr-item tags=
"ger"/>
139 <attr-item tags=
"pprs"/>
140 <attr-item tags=
"subs"/>
144 <def-attr n=
"a_verb">
145 <attr-item tags=
"vblex"/>
146 <attr-item tags=
"vblex.pron"/>
147 <attr-item tags=
"vbhaver"/>
148 <attr-item tags=
"vbser"/>
149 <attr-item tags=
"vbmod"/>
150 <attr-item tags=
"HAVER"/>
154 <attr-item tags=
"SN"/>
161 <def-var n=
"nombre"/>
162 <def-var n=
"genere"/>
167 <def-macro n=
"assigna_gen_nbr" npar=
"1">
168 <choose><!--To determine value of variables of gender and
169 number and propagate to other rules. Variables are
170 not used again in this rule -->
174 <clip pos=
"1" part=
"nbr"/>
178 <let><var n=
"nombre"/><lit-tag v=
"pl"/></let>
184 <clip pos=
"1" part=
"nbr"/>
193 <let><var n=
"nombre"/><lit-tag v=
"sg"/></let>
200 <clip pos=
"1" part=
"gen"/>
204 <let><var n=
"genere"/><lit-tag v=
"f"/></let>
210 <clip pos=
"1" part=
"gen"/>
219 <let><var n=
"genere"/><lit-tag v=
"m"/></let>
226 <clip pos=
"1" part=
"nbr"/>
230 <let><clip pos=
"1" part=
"nbr"/><var n=
"nombre"/></let>
237 <clip pos=
"1" part=
"gen"/>
241 <let><clip pos=
"1" part=
"gen"/><var n=
"genere"/></let>
247 <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")-->
252 <clip pos=
"1" part=
"gen"/>
257 <clip pos=
"2" part=
"gen"/>
263 <clip pos=
"2" part=
"gen"/>
273 <clip pos=
"1" part=
"nbr"/>
278 <clip pos=
"2" part=
"nbr"/>
284 <clip pos=
"2" part=
"nbr"/>
292 <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)-->
297 <clip pos=
"2" part=
"gen"/>
305 <clip pos=
"1" part=
"gen"/>
310 <clip pos=
"2" part=
"gen"/>
316 <clip pos=
"2" part=
"gen"/>
327 <clip pos=
"2" part=
"nbr"/>
335 <clip pos=
"1" part=
"nbr"/>
340 <clip pos=
"2" part=
"nbr"/>
346 <clip pos=
"2" part=
"nbr"/>
354 <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. -->
372 <def-macro n=
"cv_prep" npar=
"3">
373 <choose> <!--canvia la prepo de lloc-->
378 <clip pos=
"3" part=
"tnom"/>
383 <clip pos=
"2" part=
"tprep"/>
387 <clip pos=
"2" part=
"tprep"/>
397 <clip pos=
"1" part=
"tverb"/>
402 <clip pos=
"2" part=
"tprep"/>
408 <clip pos=
"2" part=
"tprep"/>
414 <when><!--canvia SN à inf per SN para inf-->
418 <clip pos=
"1" part=
"a_SN"/>
422 <clip pos=
"2" part=
"tprep"/>
427 <clip pos=
"3" part=
"lem"/>
431 <clip pos=
"3" part=
"lem"/>
435 <clip pos=
"3" part=
"lem"/>
436 <lit v=
"pro_pro_inf"/>
442 <clip pos=
"2" part=
"tprep"/>
449 </section-def-macros>
454 <!--REGLES GENERALS -->
455 <rule comment=
"REGLA: SN">
457 <pattern-item n=
"SN"/>
460 <call-macro n=
"assigna_gen_nbr">
461 <with-param pos=
"1"/>
465 <clip pos=
"1" part=
"lem"/>
466 <clip pos=
"1" part=
"tags"/>
467 <clip pos=
"1" part=
"chcontent"/>
472 <rule comment=
"REGLA: SA">
474 <pattern-item n=
"SA"/>
477 <call-macro n=
"assigna_gen_nbr">
478 <with-param pos=
"1"/>
482 <clip pos=
"1" part=
"lem"/>
483 <clip pos=
"1" part=
"tags"/>
484 <clip pos=
"1" part=
"chcontent"/>
489 <rule comment=
"REGLA: SV">
491 <pattern-item n=
"SV"/>
494 <call-macro n=
"assigna_gen_nbr">
495 <with-param pos=
"1"/>
499 <clip pos=
"1" part=
"lem"/>
500 <clip pos=
"1" part=
"tags"/>
501 <clip pos=
"1" part=
"chcontent"/>
507 <rule comment=
"REGLA: prep sprep">
509 <pattern-item n=
"pr"/>
510 <pattern-item n=
"pr"/>
511 <pattern-item n=
"SN"/>
514 <call-macro n=
"assigna_gen_nbr">
515 <with-param pos=
"3"/>
522 <clip pos=
"2" part=
"tprep"/>
527 <clip pos=
"3" part=
"nbr"/>
531 <clip pos=
"3" part=
"tnom"/>
539 <clip pos=
"1" part=
"lem"/>
540 <clip pos=
"1" part=
"tags"/>
541 <clip pos=
"1" part=
"chcontent"/>
545 <clip pos=
"3" part=
"lem"/>
546 <clip pos=
"3" part=
"tags"/>
547 <lit-tag v=
"treu_det"/>
548 <clip pos=
"3" part=
"chcontent"/>
551 <call-macro n=
"f_bcond">
552 <with-param pos=
"2"/>
558 <clip pos=
"1" part=
"lem"/>
559 <clip pos=
"1" part=
"tags"/>
560 <clip pos=
"1" part=
"chcontent"/>
564 <clip pos=
"2" part=
"lem"/>
565 <clip pos=
"2" part=
"tags"/>
566 <clip pos=
"2" part=
"chcontent"/>
570 <clip pos=
"3" part=
"lem"/>
571 <clip pos=
"3" part=
"tags"/>
572 <clip pos=
"3" part=
"chcontent"/>
580 <rule comment=
"REGLA: SV sprep">
582 <pattern-item n=
"SV"/>
583 <pattern-item n=
"pr"/>
584 <pattern-item n=
"SN"/>
587 <call-macro n=
"assigna_gen_nbr">
588 <with-param pos=
"1"/>
590 <call-macro n=
"assigna_gen_nbr">
591 <with-param pos=
"3"/>
593 <call-macro n=
"cv_prep">
594 <with-param pos=
"1"/>
595 <with-param pos=
"2"/>
596 <with-param pos=
"3"/>
604 <clip pos=
"1" part=
"tverb"/>
605 <lit-tag v=
"nopart"/>
609 <clip pos=
"2" part=
"tprep"/>
614 <clip pos=
"3" part=
"nbr"/>
618 <clip pos=
"3" part=
"tnom"/>
626 <clip pos=
"1" part=
"lem"/>
627 <clip pos=
"1" part=
"tags"/>
628 <clip pos=
"1" part=
"chcontent"/>
632 <clip pos=
"3" part=
"lem"/>
633 <clip pos=
"3" part=
"tags"/>
634 <lit-tag v=
"treu_det"/>
635 <clip pos=
"3" part=
"chcontent"/>
638 <call-macro n=
"f_bcond">
639 <with-param pos=
"2"/>
645 <clip pos=
"1" part=
"lem"/>
646 <clip pos=
"1" part=
"tags"/>
647 <clip pos=
"1" part=
"chcontent"/>
651 <clip pos=
"2" part=
"lem"/>
652 <clip pos=
"2" part=
"tags"/>
653 <clip pos=
"2" part=
"chcontent"/>
657 <clip pos=
"3" part=
"lem"/>
658 <clip pos=
"3" part=
"tags"/>
659 <clip pos=
"3" part=
"chcontent"/>
667 <rule comment=
"REGLA: SV ADV sprep">
669 <pattern-item n=
"SV"/>
670 <pattern-item n=
"ADV"/>
671 <pattern-item n=
"pr"/>
672 <pattern-item n=
"SN"/>
675 <call-macro n=
"assigna_gen_nbr">
676 <with-param pos=
"1"/>
678 <call-macro n=
"assigna_gen_nbr">
679 <with-param pos=
"4"/>
681 <call-macro n=
"cv_prep">
682 <with-param pos=
"1"/>
683 <with-param pos=
"3"/>
684 <with-param pos=
"4"/>
692 <clip pos=
"1" part=
"tverb"/>
693 <lit-tag v=
"nopart"/>
697 <clip pos=
"3" part=
"tprep"/>
702 <clip pos=
"4" part=
"nbr"/>
706 <clip pos=
"4" part=
"tnom"/>
714 <clip pos=
"1" part=
"lem"/>
715 <clip pos=
"1" part=
"tags"/>
716 <clip pos=
"1" part=
"chcontent"/>
720 <clip pos=
"2" part=
"lem"/>
721 <clip pos=
"2" part=
"tags"/>
722 <clip pos=
"2" part=
"chcontent"/>
726 <clip pos=
"4" part=
"lem"/>
727 <clip pos=
"4" part=
"tags"/>
728 <lit-tag v=
"treu_det"/>
729 <clip pos=
"4" part=
"chcontent"/>
732 <call-macro n=
"f_bcond">
733 <with-param pos=
"3"/>
739 <clip pos=
"1" part=
"lem"/>
740 <clip pos=
"1" part=
"tags"/>
741 <clip pos=
"1" part=
"chcontent"/>
745 <clip pos=
"2" part=
"lem"/>
746 <clip pos=
"2" part=
"tags"/>
747 <clip pos=
"2" part=
"chcontent"/>
751 <clip pos=
"3" part=
"lem"/>
752 <clip pos=
"3" part=
"tags"/>
753 <clip pos=
"3" part=
"chcontent"/>
757 <clip pos=
"4" part=
"lem"/>
758 <clip pos=
"4" part=
"tags"/>
759 <clip pos=
"4" part=
"chcontent"/>
767 <rule comment=
"REGLA: det">
769 <pattern-item n=
"DET"/>
772 <call-macro n=
"assigna_gen_nbr">
773 <with-param pos=
"1"/>
777 <clip pos=
"1" part=
"lem"/>
778 <clip pos=
"1" part=
"tags"/>
779 <clip pos=
"1" part=
"chcontent"/>
785 <rule comment=
"REGLA: SN SP">
787 <pattern-item n=
"SN"/>
788 <pattern-item n=
"pr"/>
789 <pattern-item n=
"SN"/>
792 <call-macro n=
"assigna_gen_nbr">
793 <with-param pos=
"1"/>
795 <call-macro n=
"assigna_gen_nbr">
796 <with-param pos=
"3"/>
798 <call-macro n=
"cv_prep">
799 <with-param pos=
"1"/>
800 <with-param pos=
"2"/>
801 <with-param pos=
"3"/>
805 <clip pos=
"1" part=
"lem"/>
806 <clip pos=
"1" part=
"tags"/>
807 <clip pos=
"1" part=
"chcontent"/>
811 <clip pos=
"2" part=
"lem"/>
812 <clip pos=
"2" part=
"tags"/>
813 <clip pos=
"2" part=
"chcontent"/>
817 <clip pos=
"3" part=
"lem"/>
818 <clip pos=
"3" part=
"tags"/>
819 <clip pos=
"3" part=
"chcontent"/>
825 <rule comment=
"REGLA: SN SV">
827 <pattern-item n=
"SN"/>
828 <pattern-item n=
"SV"/>
831 <call-macro n=
"assigna_gen_nbr">
832 <with-param pos=
"1"/>
834 <call-macro n=
"concord_sn">
835 <with-param pos=
"1"/>
836 <with-param pos=
"2"/>
842 <equal caseless=
"yes">
843 <clip pos=
"1" part=
"lem"/>
844 <lit v=
"prnperssubj"/>
847 <clip pos=
"2" part=
"pers"/>
848 <clip pos=
"1" part=
"pers"/>
851 <clip pos=
"2" part=
"nbr"/>
852 <clip pos=
"1" part=
"nbr"/>
857 <chunk><!--el pronom no l'envio, nom� el 2n chunk -->
858 <get-case-from pos=
"1">
859 <clip pos=
"2" part=
"lem"/>
861 <clip pos=
"2" part=
"tags"/>
862 <clip pos=
"2" part=
"chcontent"/>
866 <otherwise><!--Quan SN no � pronom subjecte, per tant, quan � qualsevol altre SN -->
869 <clip pos=
"1" part=
"lem"/>
870 <clip pos=
"1" part=
"tags"/>
871 <clip pos=
"1" part=
"chcontent"/>
875 <clip pos=
"2" part=
"lem"/>
876 <clip pos=
"2" part=
"tags"/>
877 <clip pos=
"2" part=
"chcontent"/>
885 <rule comment=
"REGLA: SN SV sprep">
887 <pattern-item n=
"SN"/>
888 <pattern-item n=
"SV"/>
889 <pattern-item n=
"pr"/>
890 <pattern-item n=
"SN"/>
893 <call-macro n=
"assigna_gen_nbr">
894 <with-param pos=
"1"/>
896 <call-macro n=
"assigna_gen_nbr">
897 <with-param pos=
"4"/>
899 <call-macro n=
"concord_sn">
900 <with-param pos=
"1"/>
901 <with-param pos=
"2"/>
903 <call-macro n=
"cv_prep">
904 <with-param pos=
"2"/>
905 <with-param pos=
"3"/>
906 <with-param pos=
"4"/>
912 <equal caseless=
"yes">
913 <clip pos=
"1" part=
"lem"/>
914 <lit v=
"prnperssubj"/>
917 <clip pos=
"2" part=
"pers"/>
918 <clip pos=
"1" part=
"pers"/>
921 <clip pos=
"2" part=
"nbr"/>
922 <clip pos=
"1" part=
"nbr"/>
927 <chunk><!--el pronom no l'envio, nom� el 2n chunk -->
928 <get-case-from pos=
"1">
929 <clip pos=
"2" part=
"lem"/>
931 <clip pos=
"2" part=
"tags"/>
932 <clip pos=
"2" part=
"chcontent"/>
936 <call-macro n=
"f_bcond">
937 <with-param pos=
"2"/>
940 <otherwise><!--Quan SN no � pronom subjecte, per tant, quan � qualsevol altre SN -->
943 <clip pos=
"1" part=
"lem"/>
944 <clip pos=
"1" part=
"tags"/>
945 <clip pos=
"1" part=
"chcontent"/>
949 <clip pos=
"2" part=
"lem"/>
950 <clip pos=
"2" part=
"tags"/>
951 <clip pos=
"2" part=
"chcontent"/>
963 <clip pos=
"2" part=
"tverb"/>
964 <lit-tag v=
"nopart"/>
968 <clip pos=
"3" part=
"tprep"/>
973 <clip pos=
"4" part=
"nbr"/>
977 <clip pos=
"4" part=
"tnom"/>
985 <clip pos=
"4" part=
"lem"/>
986 <clip pos=
"4" part=
"tags"/>
987 <lit-tag v=
"treu_det"/>
988 <clip pos=
"4" part=
"chcontent"/>
991 <call-macro n=
"f_bcond">
992 <with-param pos=
"3"/>
998 <clip pos=
"3" part=
"lem"/>
999 <clip pos=
"3" part=
"tags"/>
1000 <clip pos=
"3" part=
"chcontent"/>
1004 <clip pos=
"4" part=
"lem"/>
1005 <clip pos=
"4" part=
"tags"/>
1006 <clip pos=
"4" part=
"chcontent"/>
1014 <rule comment=
"REGLA: SN adv SV">
1016 <pattern-item n=
"SN"/>
1017 <pattern-item n=
"ADV"/>
1018 <pattern-item n=
"SV"/>
1021 <call-macro n=
"assigna_gen_nbr">
1022 <with-param pos=
"1"/>
1028 <equal caseless=
"yes">
1029 <clip pos=
"1" part=
"lem"/>
1030 <lit v=
"prnperssubj"/>
1033 <clip pos=
"3" part=
"pers"/>
1034 <clip pos=
"1" part=
"pers"/>
1037 <clip pos=
"3" part=
"nbr"/>
1038 <clip pos=
"1" part=
"nbr"/>
1044 <get-case-from pos=
"1">
1045 <clip pos=
"2" part=
"lem"/>
1047 <clip pos=
"2" part=
"tags"/>
1048 <clip pos=
"2" part=
"chcontent"/>
1051 <chunk><!--el pronom no l'envio, nom� el 2n chunk -->
1052 <clip pos=
"3" part=
"lem"/>
1053 <clip pos=
"3" part=
"tags"/>
1054 <clip pos=
"3" part=
"chcontent"/>
1058 <otherwise><!--Quan SN no � pronom subjecte, per tant, quan � qualsevol altre SN -->
1061 <clip pos=
"1" part=
"lem"/>
1062 <clip pos=
"1" part=
"tags"/>
1063 <clip pos=
"1" part=
"chcontent"/>
1067 <clip pos=
"2" part=
"lem"/>
1068 <clip pos=
"2" part=
"tags"/>
1069 <clip pos=
"2" part=
"chcontent"/>
1073 <clip pos=
"3" part=
"lem"/>
1074 <clip pos=
"3" part=
"tags"/>
1075 <clip pos=
"3" part=
"chcontent"/>
1083 <rule comment=
"REGLA: SN adv SV sprep">
1085 <pattern-item n=
"SN"/>
1086 <pattern-item n=
"ADV"/>
1087 <pattern-item n=
"SV"/>
1088 <pattern-item n=
"pr"/>
1089 <pattern-item n=
"SN"/>
1092 <call-macro n=
"assigna_gen_nbr">
1093 <with-param pos=
"1"/>
1095 <call-macro n=
"assigna_gen_nbr">
1096 <with-param pos=
"5"/>
1098 <call-macro n=
"cv_prep">
1099 <with-param pos=
"3"/>
1100 <with-param pos=
"4"/>
1101 <with-param pos=
"5"/>
1107 <equal caseless=
"yes">
1108 <clip pos=
"1" part=
"lem"/>
1109 <lit v=
"prnperssubj"/>
1112 <clip pos=
"3" part=
"pers"/>
1113 <clip pos=
"1" part=
"pers"/>
1116 <clip pos=
"3" part=
"nbr"/>
1117 <clip pos=
"1" part=
"nbr"/>
1123 <get-case-from pos=
"1">
1124 <clip pos=
"2" part=
"lem"/>
1126 <clip pos=
"2" part=
"tags"/>
1127 <clip pos=
"2" part=
"chcontent"/>
1130 <chunk><!--el pronom no l'envio, nom� el 2n chunk -->
1131 <clip pos=
"3" part=
"lem"/>
1132 <clip pos=
"3" part=
"tags"/>
1133 <clip pos=
"3" part=
"chcontent"/>
1137 <call-macro n=
"f_bcond">
1138 <with-param pos=
"3"/>
1141 <otherwise><!--Quan SN no � pronom subjecte, per tant, quan � qualsevol altre SN -->
1144 <clip pos=
"1" part=
"lem"/>
1145 <clip pos=
"1" part=
"tags"/>
1146 <clip pos=
"1" part=
"chcontent"/>
1150 <clip pos=
"2" part=
"lem"/>
1151 <clip pos=
"2" part=
"tags"/>
1152 <clip pos=
"2" part=
"chcontent"/>
1156 <clip pos=
"3" part=
"lem"/>
1157 <clip pos=
"3" part=
"tags"/>
1158 <clip pos=
"3" part=
"chcontent"/>
1170 <clip pos=
"3" part=
"tverb"/>
1171 <lit-tag v=
"nopart"/>
1175 <clip pos=
"4" part=
"tprep"/>
1180 <clip pos=
"5" part=
"nbr"/>
1184 <clip pos=
"5" part=
"tnom"/>
1192 <clip pos=
"5" part=
"lem"/>
1193 <clip pos=
"5" part=
"tags"/>
1194 <lit-tag v=
"treu_det"/>
1195 <clip pos=
"5" part=
"chcontent"/>
1198 <call-macro n=
"f_bcond">
1199 <with-param pos=
"3"/>
1205 <clip pos=
"4" part=
"lem"/>
1206 <clip pos=
"4" part=
"tags"/>
1207 <clip pos=
"4" part=
"chcontent"/>
1211 <clip pos=
"5" part=
"lem"/>
1212 <clip pos=
"5" part=
"tags"/>
1213 <clip pos=
"5" part=
"chcontent"/>
1221 <rule comment=
"REGLA: SN adv SV sprep">
1223 <pattern-item n=
"SN"/>
1224 <pattern-item n=
"SV"/>
1225 <pattern-item n=
"ADV"/>
1226 <pattern-item n=
"pr"/>
1227 <pattern-item n=
"SN"/>
1230 <call-macro n=
"assigna_gen_nbr">
1231 <with-param pos=
"1"/>
1233 <call-macro n=
"assigna_gen_nbr">
1234 <with-param pos=
"5"/>
1236 <call-macro n=
"cv_prep">
1237 <with-param pos=
"2"/>
1238 <with-param pos=
"4"/>
1239 <with-param pos=
"5"/>
1245 <equal caseless=
"yes">
1246 <clip pos=
"1" part=
"lem"/>
1247 <lit v=
"prnperssubj"/>
1250 <clip pos=
"2" part=
"pers"/>
1251 <clip pos=
"1" part=
"pers"/>
1254 <clip pos=
"2" part=
"nbr"/>
1255 <clip pos=
"1" part=
"nbr"/>
1261 <get-case-from pos=
"1">
1262 <clip pos=
"2" part=
"lem"/>
1264 <clip pos=
"2" part=
"tags"/>
1265 <clip pos=
"2" part=
"chcontent"/>
1268 <chunk><!--el pronom no l'envio, nom� el 2n chunk -->
1269 <clip pos=
"3" part=
"lem"/>
1270 <clip pos=
"3" part=
"tags"/>
1271 <clip pos=
"3" part=
"chcontent"/>
1275 <call-macro n=
"f_bcond">
1276 <with-param pos=
"3"/>
1279 <otherwise><!--Quan SN no � pronom subjecte, per tant, quan � qualsevol altre SN -->
1282 <clip pos=
"1" part=
"lem"/>
1283 <clip pos=
"1" part=
"tags"/>
1284 <clip pos=
"1" part=
"chcontent"/>
1288 <clip pos=
"2" part=
"lem"/>
1289 <clip pos=
"2" part=
"tags"/>
1290 <clip pos=
"2" part=
"chcontent"/>
1294 <clip pos=
"3" part=
"lem"/>
1295 <clip pos=
"3" part=
"tags"/>
1296 <clip pos=
"3" part=
"chcontent"/>
1308 <clip pos=
"2" part=
"tverb"/>
1309 <lit-tag v=
"nopart"/>
1313 <clip pos=
"4" part=
"tprep"/>
1318 <clip pos=
"5" part=
"nbr"/>
1322 <clip pos=
"5" part=
"tnom"/>
1330 <clip pos=
"5" part=
"lem"/>
1331 <clip pos=
"5" part=
"tags"/>
1332 <lit-tag v=
"treu_det"/>
1333 <clip pos=
"5" part=
"chcontent"/>
1336 <call-macro n=
"f_bcond">
1337 <with-param pos=
"3"/>
1343 <clip pos=
"4" part=
"lem"/>
1344 <clip pos=
"4" part=
"tags"/>
1345 <clip pos=
"4" part=
"chcontent"/>
1349 <clip pos=
"5" part=
"lem"/>
1350 <clip pos=
"5" part=
"tags"/>
1351 <clip pos=
"5" part=
"chcontent"/>
1359 <rule comment=
"REGLA: SN SV SN pr SN">
1361 <pattern-item n=
"SN"/>
1362 <pattern-item n=
"SV"/>
1363 <pattern-item n=
"SN"/>
1364 <pattern-item n=
"pr"/>
1365 <pattern-item n=
"SN"/>
1368 <call-macro n=
"assigna_gen_nbr">
1369 <with-param pos=
"1"/>
1371 <call-macro n=
"assigna_gen_nbr">
1372 <with-param pos=
"3"/>
1374 <call-macro n=
"assigna_gen_nbr">
1375 <with-param pos=
"5"/>
1377 <call-macro n=
"cv_prep">
1378 <with-param pos=
"2"/>
1379 <with-param pos=
"4"/>
1380 <with-param pos=
"5"/>
1382 <call-macro n=
"cv_prep">
1383 <with-param pos=
"3"/>
1384 <with-param pos=
"4"/>
1385 <with-param pos=
"5"/>
1391 <equal caseless=
"yes">
1392 <clip pos=
"1" part=
"lem"/>
1393 <lit v=
"prnperssubj"/>
1396 <clip pos=
"2" part=
"pers"/>
1397 <clip pos=
"1" part=
"pers"/>
1400 <clip pos=
"2" part=
"nbr"/>
1401 <clip pos=
"1" part=
"nbr"/>
1406 <chunk><!--el pronom no l'envio, nom� el 2n chunk -->
1407 <get-case-from pos=
"1">
1408 <clip pos=
"2" part=
"lem"/>
1410 <clip pos=
"2" part=
"tags"/>
1411 <clip pos=
"2" part=
"chcontent"/>
1415 <otherwise><!--Quan SN no � pronom subjecte, per tant, quan � qualsevol altre SN -->
1418 <clip pos=
"1" part=
"lem"/>
1419 <clip pos=
"1" part=
"tags"/>
1420 <clip pos=
"1" part=
"chcontent"/>
1424 <clip pos=
"2" part=
"lem"/>
1425 <clip pos=
"2" part=
"tags"/>
1426 <clip pos=
"2" part=
"chcontent"/>
1434 <clip pos=
"3" part=
"lem"/>
1435 <clip pos=
"3" part=
"tags"/>
1436 <clip pos=
"3" part=
"chcontent"/>
1440 <clip pos=
"4" part=
"lem"/>
1441 <clip pos=
"4" part=
"tags"/>
1442 <clip pos=
"4" part=
"chcontent"/>
1446 <clip pos=
"5" part=
"lem"/>
1447 <clip pos=
"5" part=
"tags"/>
1448 <clip pos=
"5" part=
"chcontent"/>
1454 <rule comment=
"REGLA: SN ne SV que pr SN">
1456 <pattern-item n=
"SN"/>
1457 <pattern-item n=
"ne"/>
1458 <pattern-item n=
"SV"/>
1459 <pattern-item n=
"cnjsub"/>
1460 <pattern-item n=
"pr"/>
1461 <pattern-item n=
"SN"/>
1464 <call-macro n=
"assigna_gen_nbr">
1465 <with-param pos=
"1"/>
1467 <call-macro n=
"assigna_gen_nbr">
1468 <with-param pos=
"6"/>
1470 <call-macro n=
"cv_prep">
1471 <with-param pos=
"2"/>
1472 <with-param pos=
"5"/>
1473 <with-param pos=
"6"/>
1476 <clip pos=
"2" part=
"lem"/>
1483 <equal caseless=
"yes">
1484 <clip pos=
"1" part=
"lem"/>
1485 <lit v=
"prnperssubj"/>
1488 <clip pos=
"3" part=
"pers"/>
1489 <clip pos=
"1" part=
"pers"/>
1492 <clip pos=
"3" part=
"nbr"/>
1493 <clip pos=
"1" part=
"nbr"/>
1499 <get-case-from pos=
"1">
1500 <clip pos=
"2" part=
"lem"/>
1502 <clip pos=
"2" part=
"tags"/>
1503 <clip pos=
"2" part=
"chcontent"/>
1506 <chunk><!--el pronom no l'envio -->
1507 <clip pos=
"3" part=
"lem"/>
1508 <clip pos=
"3" part=
"tags"/>
1509 <clip pos=
"3" part=
"chcontent"/>
1512 <call-macro n=
"f_bcond">
1513 <with-param pos=
"2"/>
1516 <otherwise><!--Quan SN no � pronom subjecte, per tant, quan � qualsevol altre SN -->
1519 <clip pos=
"1" part=
"lem"/>
1520 <clip pos=
"1" part=
"tags"/>
1521 <clip pos=
"1" part=
"chcontent"/>
1525 <clip pos=
"2" part=
"lem"/>
1526 <clip pos=
"2" part=
"tags"/>
1527 <clip pos=
"2" part=
"chcontent"/>
1531 <clip pos=
"3" part=
"lem"/>
1532 <clip pos=
"3" part=
"tags"/>
1533 <clip pos=
"3" part=
"chcontent"/>
1542 <equal caseless=
"yes">
1543 <clip pos=
"6" part=
"lem"/>
1546 <equal caseless=
"yes">
1547 <clip pos=
"6" part=
"lem"/>
1550 <equal caseless=
"yes">
1551 <clip pos=
"6" part=
"lem"/>
1552 <lit v=
"inf_enc_enc"/>
1559 <clip pos=
"4" part=
"lem"/>
1560 <clip pos=
"4" part=
"tags"/>
1561 <clip pos=
"4" part=
"chcontent"/>
1566 <call-macro n=
"f_bcond">
1567 <with-param pos=
"3"/>
1574 <clip pos=
"5" part=
"lem"/>
1575 <clip pos=
"5" part=
"tags"/>
1576 <clip pos=
"5" part=
"chcontent"/>
1580 <clip pos=
"6" part=
"lem"/>
1581 <clip pos=
"6" part=
"tags"/>
1582 <clip pos=
"6" part=
"chcontent"/>
1588 <rule comment=
"REGLA: SN ne SV que SN">
1590 <pattern-item n=
"SN"/>
1591 <pattern-item n=
"ne"/>
1592 <pattern-item n=
"SV"/>
1593 <pattern-item n=
"cnjsub"/>
1594 <pattern-item n=
"SN"/>
1598 <clip pos=
"2" part=
"lem"/>
1601 <call-macro n=
"assigna_gen_nbr">
1602 <with-param pos=
"1"/>
1604 <call-macro n=
"assigna_gen_nbr">
1605 <with-param pos=
"5"/>
1611 <equal caseless=
"yes">
1612 <clip pos=
"1" part=
"lem"/>
1613 <lit v=
"prnperssubj"/>
1616 <clip pos=
"3" part=
"pers"/>
1617 <clip pos=
"1" part=
"pers"/>
1620 <clip pos=
"3" part=
"nbr"/>
1621 <clip pos=
"1" part=
"nbr"/>
1627 <get-case-from pos=
"1">
1628 <clip pos=
"2" part=
"lem"/>
1630 <clip pos=
"2" part=
"tags"/>
1631 <clip pos=
"2" part=
"chcontent"/>
1635 <get-case-from pos=
"1">
1636 <clip pos=
"3" part=
"lem"/>
1638 <clip pos=
"3" part=
"tags"/>
1639 <clip pos=
"3" part=
"chcontent"/>
1642 <call-macro n=
"f_bcond">
1643 <with-param pos=
"2"/>
1649 <clip pos=
"1" part=
"lem"/>
1650 <clip pos=
"1" part=
"tags"/>
1651 <clip pos=
"1" part=
"chcontent"/>
1655 <clip pos=
"2" part=
"lem"/>
1656 <clip pos=
"2" part=
"tags"/>
1657 <clip pos=
"2" part=
"chcontent"/>
1661 <clip pos=
"3" part=
"lem"/>
1662 <clip pos=
"3" part=
"tags"/>
1663 <clip pos=
"3" part=
"chcontent"/>
1672 <equal caseless=
"yes">
1673 <clip pos=
"5" part=
"lem"/>
1676 <equal caseless=
"yes">
1677 <clip pos=
"5" part=
"lem"/>
1680 <equal caseless=
"yes">
1681 <clip pos=
"5" part=
"lem"/>
1682 <lit v=
"inf_enc_enc"/>
1689 <clip pos=
"4" part=
"lem"/>
1690 <clip pos=
"4" part=
"tags"/>
1691 <clip pos=
"4" part=
"chcontent"/>
1696 <call-macro n=
"f_bcond">
1697 <with-param pos=
"3"/>
1704 <clip pos=
"5" part=
"lem"/>
1705 <clip pos=
"5" part=
"tags"/>
1706 <clip pos=
"5" part=
"chcontent"/>
1712 <rule comment=
"REGLA: SN ne SV que SN pr SN">
1714 <pattern-item n=
"SN"/>
1715 <pattern-item n=
"ne"/>
1716 <pattern-item n=
"SV"/>
1717 <pattern-item n=
"cnjsub"/>
1718 <pattern-item n=
"SN"/>
1719 <pattern-item n=
"pr"/>
1720 <pattern-item n=
"SN"/>
1724 <clip pos=
"2" part=
"lem"/>
1727 <call-macro n=
"assigna_gen_nbr">
1728 <with-param pos=
"1"/>
1730 <call-macro n=
"assigna_gen_nbr">
1731 <with-param pos=
"5"/>
1733 <call-macro n=
"assigna_gen_nbr">
1734 <with-param pos=
"7"/>
1736 <call-macro n=
"cv_prep">
1737 <with-param pos=
"3"/>
1738 <with-param pos=
"6"/>
1739 <with-param pos=
"7"/>
1741 <call-macro n=
"cv_prep">
1742 <with-param pos=
"5"/>
1743 <with-param pos=
"6"/>
1744 <with-param pos=
"7"/>
1750 <equal caseless=
"yes">
1751 <clip pos=
"1" part=
"lem"/>
1752 <lit v=
"prnperssubj"/>
1755 <clip pos=
"3" part=
"pers"/>
1756 <clip pos=
"1" part=
"pers"/>
1759 <clip pos=
"3" part=
"nbr"/>
1760 <clip pos=
"1" part=
"nbr"/>
1766 <get-case-from pos=
"1">
1767 <clip pos=
"2" part=
"lem"/>
1769 <clip pos=
"2" part=
"tags"/>
1770 <clip pos=
"2" part=
"chcontent"/>
1774 <get-case-from pos=
"1">
1775 <clip pos=
"3" part=
"lem"/>
1777 <clip pos=
"3" part=
"tags"/>
1778 <clip pos=
"3" part=
"chcontent"/>
1781 <call-macro n=
"f_bcond">
1782 <with-param pos=
"3"/>
1788 <clip pos=
"1" part=
"lem"/>
1789 <clip pos=
"1" part=
"tags"/>
1790 <clip pos=
"1" part=
"chcontent"/>
1794 <clip pos=
"2" part=
"lem"/>
1795 <clip pos=
"2" part=
"tags"/>
1796 <clip pos=
"2" part=
"chcontent"/>
1800 <clip pos=
"3" part=
"lem"/>
1801 <clip pos=
"3" part=
"tags"/>
1802 <clip pos=
"3" part=
"chcontent"/>
1811 <equal caseless=
"yes">
1812 <clip pos=
"5" part=
"lem"/>
1815 <equal caseless=
"yes">
1816 <clip pos=
"5" part=
"lem"/>
1819 <equal caseless=
"yes">
1820 <clip pos=
"5" part=
"lem"/>
1821 <lit v=
"inf_enc_enc"/>
1828 <clip pos=
"4" part=
"lem"/>
1829 <clip pos=
"4" part=
"tags"/>
1830 <clip pos=
"4" part=
"chcontent"/>
1835 <call-macro n=
"f_bcond">
1836 <with-param pos=
"3"/>
1843 <clip pos=
"5" part=
"lem"/>
1844 <clip pos=
"5" part=
"tags"/>
1845 <clip pos=
"5" part=
"chcontent"/>
1849 <clip pos=
"6" part=
"lem"/>
1850 <clip pos=
"6" part=
"tags"/>
1851 <clip pos=
"6" part=
"chcontent"/>
1855 <clip pos=
"7" part=
"lem"/>
1856 <clip pos=
"7" part=
"tags"/>
1857 <clip pos=
"7" part=
"chcontent"/>
1863 <rule comment=
"REGLA: SN SV pr SN">
1865 <pattern-item n=
"SN"/>
1866 <pattern-item n=
"SV"/>
1867 <pattern-item n=
"ADV"/>
1868 <pattern-item n=
"SN"/>
1871 <call-macro n=
"assigna_gen_nbr">
1872 <with-param pos=
"1"/>
1874 <call-macro n=
"assigna_gen_nbr">
1875 <with-param pos=
"4"/>
1881 <equal caseless=
"yes">
1882 <clip pos=
"1" part=
"lem"/>
1883 <lit v=
"prnperssubj"/>
1886 <clip pos=
"2" part=
"pers"/>
1887 <clip pos=
"1" part=
"pers"/>
1890 <clip pos=
"2" part=
"nbr"/>
1891 <clip pos=
"1" part=
"nbr"/>
1896 <chunk><!--el pronom no l'envio, nom� el 2n chunk -->
1897 <get-case-from pos=
"1">
1898 <clip pos=
"2" part=
"lem"/>
1900 <clip pos=
"2" part=
"tags"/>
1901 <clip pos=
"2" part=
"chcontent"/>
1905 <otherwise><!--Quan SN no � pronom subjecte, per tant, quan � qualsevol altre SN -->
1908 <clip pos=
"1" part=
"lem"/>
1909 <clip pos=
"1" part=
"tags"/>
1910 <clip pos=
"1" part=
"chcontent"/>
1914 <clip pos=
"2" part=
"lem"/>
1915 <clip pos=
"2" part=
"tags"/>
1916 <clip pos=
"2" part=
"chcontent"/>
1926 <clip pos=
"4" part=
"lem"/>
1930 <clip pos=
"4" part=
"lem"/>
1938 <clip pos=
"4" part=
"lem"/>
1939 <clip pos=
"4" part=
"tags"/>
1940 <clip pos=
"4" part=
"chcontent"/>
1944 <clip pos=
"3" part=
"lem"/>
1945 <clip pos=
"3" part=
"tags"/>
1946 <clip pos=
"3" part=
"chcontent"/>
1954 <clip pos=
"3" part=
"lem"/>
1955 <clip pos=
"3" part=
"tags"/>
1956 <clip pos=
"3" part=
"chcontent"/>
1960 <clip pos=
"4" part=
"lem"/>
1961 <clip pos=
"4" part=
"tags"/>
1962 <clip pos=
"4" part=
"chcontent"/>
1970 <rule comment=
"REGLA: SN vbcop SA">
1972 <pattern-item n=
"SN"/>
1973 <pattern-item n=
"vbcop"/>
1974 <pattern-item n=
"SA"/>
1977 <call-macro n=
"concord_sa">
1978 <with-param pos=
"1"/>
1979 <with-param pos=
"3"/>
1981 <call-macro n=
"assigna_gen_nbr">
1982 <with-param pos=
"1"/>
1988 <equal caseless=
"yes">
1989 <clip pos=
"1" part=
"lem"/>
1990 <lit v=
"prnperssubj"/>
1993 <clip pos=
"2" part=
"pers"/>
1994 <clip pos=
"1" part=
"pers"/>
1997 <clip pos=
"2" part=
"nbr"/>
1998 <clip pos=
"1" part=
"nbr"/>
2004 <get-case-from pos=
"1">
2005 <clip pos=
"2" part=
"lem"/>
2007 <clip pos=
"2" part=
"tags"/>
2008 <clip pos=
"2" part=
"chcontent"/>
2015 <clip pos=
"1" part=
"lem"/>
2016 <clip pos=
"1" part=
"tags"/>
2017 <clip pos=
"1" part=
"chcontent"/>
2021 <clip pos=
"2" part=
"lem"/>
2022 <clip pos=
"2" part=
"tags"/>
2023 <clip pos=
"2" part=
"chcontent"/>
2031 <clip pos=
"3" part=
"whole"/>
2037 <rule comment=
"REGLA: SN vbcop SN">
2039 <pattern-item n=
"SN"/>
2040 <pattern-item n=
"vbcop"/>
2041 <pattern-item n=
"SN"/>
2044 <call-macro n=
"concord_sn">
2045 <with-param pos=
"1"/>
2046 <with-param pos=
"3"/>
2048 <call-macro n=
"assigna_gen_nbr">
2049 <with-param pos=
"1"/>
2055 <equal caseless=
"yes">
2056 <clip pos=
"1" part=
"lem"/>
2057 <lit v=
"prnperssubj"/>
2060 <clip pos=
"2" part=
"pers"/>
2061 <clip pos=
"1" part=
"pers"/>
2064 <clip pos=
"2" part=
"nbr"/>
2065 <clip pos=
"1" part=
"nbr"/>
2071 <get-case-from pos=
"1">
2072 <clip pos=
"2" part=
"lem"/>
2074 <clip pos=
"2" part=
"tags"/>
2075 <clip pos=
"2" part=
"chcontent"/>
2082 <clip pos=
"1" part=
"lem"/>
2083 <clip pos=
"1" part=
"tags"/>
2084 <clip pos=
"1" part=
"chcontent"/>
2088 <clip pos=
"2" part=
"lem"/>
2089 <clip pos=
"2" part=
"tags"/>
2090 <clip pos=
"2" part=
"chcontent"/>
2098 <clip pos=
"3" part=
"whole"/>
2104 <rule comment=
"REGLA: SN SP vbcop SA">
2106 <pattern-item n=
"SN"/>
2107 <pattern-item n=
"pr"/>
2108 <pattern-item n=
"SN"/>
2109 <pattern-item n=
"vbcop"/>
2110 <pattern-item n=
"SA"/>
2113 <call-macro n=
"assigna_gen_nbr">
2114 <with-param pos=
"1"/>
2116 <call-macro n=
"assigna_gen_nbr">
2117 <with-param pos=
"3"/>
2119 <call-macro n=
"concord_sa">
2120 <with-param pos=
"1"/>
2121 <with-param pos=
"5"/>
2123 <call-macro n=
"cv_prep">
2124 <with-param pos=
"1"/>
2125 <with-param pos=
"2"/>
2126 <with-param pos=
"3"/>
2130 <clip pos=
"1" part=
"lem"/>
2131 <clip pos=
"1" part=
"tags"/>
2132 <clip pos=
"1" part=
"chcontent"/>
2136 <clip pos=
"2" part=
"lem"/>
2137 <clip pos=
"2" part=
"tags"/>
2138 <clip pos=
"2" part=
"chcontent"/>
2142 <clip pos=
"3" part=
"lem"/>
2143 <clip pos=
"3" part=
"tags"/>
2144 <clip pos=
"3" part=
"chcontent"/>
2148 <clip pos=
"4" part=
"lem"/>
2149 <clip pos=
"4" part=
"tags"/>
2150 <clip pos=
"4" part=
"chcontent"/>
2154 <clip pos=
"5" part=
"lem"/>
2155 <clip pos=
"5" part=
"tags"/>
2156 <clip pos=
"5" part=
"chcontent"/>
2164 <rule comment=
"REGLA: SN SP vbcop SN">
2166 <pattern-item n=
"SN"/>
2167 <pattern-item n=
"pr"/>
2168 <pattern-item n=
"SN"/>
2169 <pattern-item n=
"vbcop"/>
2170 <pattern-item n=
"SN"/>
2173 <call-macro n=
"assigna_gen_nbr">
2174 <with-param pos=
"1"/>
2176 <call-macro n=
"assigna_gen_nbr">
2177 <with-param pos=
"3"/>
2179 <call-macro n=
"concord_sn">
2180 <with-param pos=
"1"/>
2181 <with-param pos=
"5"/>
2183 <call-macro n=
"cv_prep">
2184 <with-param pos=
"1"/>
2185 <with-param pos=
"2"/>
2186 <with-param pos=
"3"/>
2190 <clip pos=
"1" part=
"lem"/>
2191 <clip pos=
"1" part=
"tags"/>
2192 <clip pos=
"1" part=
"chcontent"/>
2196 <clip pos=
"2" part=
"lem"/>
2197 <clip pos=
"2" part=
"tags"/>
2198 <clip pos=
"2" part=
"chcontent"/>
2202 <clip pos=
"3" part=
"lem"/>
2203 <clip pos=
"3" part=
"tags"/>
2204 <clip pos=
"3" part=
"chcontent"/>
2208 <clip pos=
"4" part=
"lem"/>
2209 <clip pos=
"4" part=
"tags"/>
2210 <clip pos=
"4" part=
"chcontent"/>
2214 <clip pos=
"5" part=
"lem"/>
2215 <clip pos=
"5" part=
"tags"/>
2216 <clip pos=
"5" part=
"chcontent"/>
2226 <rule> <!-- REGLA: reset variables-->
2228 <pattern-item n=
"punt"/>
2237 <clip pos=
"1" part=
"whole"/>