1 <?xml version=
"1.0" encoding=
"UTF-8"?>
7 <cat-item tags=
"SN.*"/>
11 <cat-item tags=
"V.*"/>
14 <cat-item tags=
"PRN.V"/>
15 <cat-item tags=
"PRN.V.*"/>
18 <cat-item tags=
"PRN"/>
19 <cat-item tags=
"PRN.*"/>
22 <cat-item tags=
"CNJADV"/>
23 <cat-item tags=
"CNJADV.*"/>
26 <cat-item tags=
"CNJ"/>
27 <cat-item tags=
"CNJ.*"/>
31 <cat-item tags=
"PR.*"/>
34 <cat-item tags=
"ADJ"/>
35 <cat-item tags=
"ADJ.*"/>
38 <cat-item tags=
"ADV"/>
41 <cat-item tags=
"PREADV"/>
47 <attr-item tags=
"sg"/>
48 <attr-item tags=
"pl"/>
49 <attr-item tags=
"sp"/>
50 <attr-item tags=
"ND"/>
59 <def-macro n=
"nombre_SN" npar=
"1">
60 <choose><!--To determine value of variables of gender and
61 number and propagate to other rules. Variables are
62 not used again in this rule -->
66 <clip pos=
"1" part=
"nbr"/>
70 <let><var n=
"nombre"/><lit-tag v=
"sg"/></let>
75 <clip pos=
"1" part=
"nbr"/>
79 <let><var n=
"nombre"/><lit-tag v=
"pl"/></let>
82 <let><var n=
"nombre"/><lit-tag v=
"sg"/></let>
89 <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.)">
91 <pattern-item n=
"SN"/>
98 <clip pos=
"1" part=
"nbr"/>
103 <clip pos=
"1" part=
"nbr"/>
110 <clip pos=
"1" part=
"lem"/>
111 <clip pos=
"1" part=
"tags"/>
112 <clip pos=
"1" part=
"chcontent"/>
115 <call-macro n=
"nombre_SN">
116 <with-param pos=
"1"/>
121 <rule comment=
"REGLA: CNJADV PRN SN V">
123 <pattern-item n=
"CNJADV"/>
124 <pattern-item n=
"PRN"/>
125 <pattern-item n=
"SN"/>
126 <pattern-item n=
"V"/>
131 <clip pos=
"1" part=
"lem"/>
132 <clip pos=
"1" part=
"tags"/>
133 <clip pos=
"1" part=
"chcontent"/>
137 <clip pos=
"2" part=
"lem"/>
138 <clip pos=
"2" part=
"tags"/>
139 <clip pos=
"2" part=
"chcontent"/>
143 <clip pos=
"4" part=
"lem"/>
144 <clip pos=
"4" part=
"tags"/>
145 <clip pos=
"4" part=
"chcontent"/>
149 <clip pos=
"3" part=
"lem"/>
150 <clip pos=
"3" part=
"tags"/>
151 <clip pos=
"3" part=
"chcontent"/>
154 <call-macro n=
"nombre_SN">
155 <with-param pos=
"1"/>
160 <rule comment=
"REGLA: PRN SN V">
162 <pattern-item n=
"PRN"/>
163 <pattern-item n=
"SN"/>
164 <pattern-item n=
"V"/>
169 <clip pos=
"1" part=
"lem"/>
170 <clip pos=
"1" part=
"tags"/>
171 <clip pos=
"1" part=
"chcontent"/>
175 <clip pos=
"3" part=
"lem"/>
176 <clip pos=
"3" part=
"tags"/>
177 <clip pos=
"3" part=
"chcontent"/>
181 <clip pos=
"2" part=
"lem"/>
182 <clip pos=
"2" part=
"tags"/>
183 <clip pos=
"2" part=
"chcontent"/>
186 <call-macro n=
"nombre_SN">
187 <with-param pos=
"1"/>
193 <rule comment=
"REGLA: SN V SN V">
195 <pattern-item n=
"SN"/>
196 <pattern-item n=
"V"/>
197 <pattern-item n=
"SN"/>
198 <pattern-item n=
"V"/>
203 <clip pos=
"1" part=
"lem"/>
204 <clip pos=
"1" part=
"tags"/>
205 <clip pos=
"1" part=
"chcontent"/>
209 <clip pos=
"2" part=
"lem"/>
210 <clip pos=
"2" part=
"tags"/>
211 <clip pos=
"2" part=
"chcontent"/>
215 <clip pos=
"4" part=
"lem"/>
216 <clip pos=
"4" part=
"tags"/>
217 <clip pos=
"4" part=
"chcontent"/>
221 <clip pos=
"3" part=
"lem"/>
222 <clip pos=
"3" part=
"tags"/>
223 <clip pos=
"3" part=
"chcontent"/>
226 <call-macro n=
"nombre_SN">
227 <with-param pos=
"1"/>
232 <rule comment=
"REGLA: PRN V SN V">
234 <pattern-item n=
"PRN"/>
235 <pattern-item n=
"V"/>
236 <pattern-item n=
"SN"/>
237 <pattern-item n=
"V"/>
242 <clip pos=
"1" part=
"lem"/>
243 <clip pos=
"1" part=
"tags"/>
244 <clip pos=
"1" part=
"chcontent"/>
248 <clip pos=
"2" part=
"lem"/>
249 <clip pos=
"2" part=
"tags"/>
250 <clip pos=
"2" part=
"chcontent"/>
254 <clip pos=
"4" part=
"lem"/>
255 <clip pos=
"4" part=
"tags"/>
256 <clip pos=
"4" part=
"chcontent"/>
260 <clip pos=
"3" part=
"lem"/>
261 <clip pos=
"3" part=
"tags"/>
262 <clip pos=
"3" part=
"chcontent"/>
265 <call-macro n=
"nombre_SN">
266 <with-param pos=
"1"/>
271 <rule comment=
"REGLA: PRN__V SN V ADV">
273 <pattern-item n=
"PRN__V"/>
274 <pattern-item n=
"SN"/>
275 <pattern-item n=
"V"/>
276 <pattern-item n=
"ADV"/>
281 <clip pos=
"1" part=
"lem"/>
282 <clip pos=
"1" part=
"tags"/>
283 <clip pos=
"1" part=
"chcontent"/>
287 <clip pos=
"2" part=
"lem"/>
288 <clip pos=
"2" part=
"tags"/>
289 <clip pos=
"2" part=
"chcontent"/>
293 <clip pos=
"3" part=
"lem"/>
294 <clip pos=
"3" part=
"tags"/>
295 <clip pos=
"3" part=
"chcontent"/>
299 <clip pos=
"4" part=
"lem"/>
300 <clip pos=
"4" part=
"tags"/>
301 <clip pos=
"4" part=
"chcontent"/>
304 <call-macro n=
"nombre_SN">
305 <with-param pos=
"1"/>
312 <rule comment=
"REGLA: V PR SN V">
314 <pattern-item n=
"V"/>
315 <pattern-item n=
"PR"/>
316 <pattern-item n=
"SN"/>
317 <pattern-item n=
"V"/>
322 <clip pos=
"1" part=
"lem"/>
323 <clip pos=
"1" part=
"tags"/>
324 <clip pos=
"1" part=
"chcontent"/>
328 <clip pos=
"4" part=
"lem"/>
329 <clip pos=
"4" part=
"tags"/>
330 <clip pos=
"4" part=
"chcontent"/>
334 <clip pos=
"2" part=
"lem"/>
335 <clip pos=
"2" part=
"tags"/>
336 <clip pos=
"2" part=
"chcontent"/>
340 <clip pos=
"3" part=
"lem"/>
341 <clip pos=
"3" part=
"tags"/>
342 <clip pos=
"3" part=
"chcontent"/>
345 <call-macro n=
"nombre_SN">
346 <with-param pos=
"1"/>
352 <rule comment=
"REGLA: SN PR SN CNJ PR SN V">
354 <pattern-item n=
"SN"/> <!-- 1 -->
355 <pattern-item n=
"PR"/> <!-- 2 -->
356 <pattern-item n=
"SN"/> <!-- 3 -->
357 <pattern-item n=
"CNJ"/>
358 <pattern-item n=
"PR"/> <!-- 5 -->
359 <pattern-item n=
"SN"/> <!-- 6 -->
360 <pattern-item n=
"V"/>
365 <clip pos=
"7" part=
"lem"/>
366 <clip pos=
"7" part=
"tags"/>
367 <clip pos=
"7" part=
"chcontent"/>
371 <clip pos=
"1" part=
"lem"/>
372 <clip pos=
"1" part=
"tags"/>
373 <clip pos=
"1" part=
"chcontent"/>
377 <clip pos=
"2" part=
"lem"/>
378 <clip pos=
"2" part=
"tags"/>
379 <clip pos=
"2" part=
"chcontent"/>
383 <clip pos=
"3" part=
"lem"/>
384 <clip pos=
"3" part=
"tags"/>
385 <clip pos=
"3" part=
"chcontent"/>
389 <clip pos=
"4" part=
"lem"/>
390 <clip pos=
"4" part=
"tags"/>
391 <clip pos=
"4" part=
"chcontent"/>
395 <clip pos=
"5" part=
"lem"/>
396 <clip pos=
"5" part=
"tags"/>
397 <clip pos=
"5" part=
"chcontent"/>
401 <clip pos=
"6" part=
"lem"/>
402 <clip pos=
"6" part=
"tags"/>
403 <clip pos=
"6" part=
"chcontent"/>
406 <call-macro n=
"nombre_SN">
407 <with-param pos=
"1"/>
412 <rule comment=
"REGLA: PRN__V PR SN V">
414 <pattern-item n=
"PRN__V"/>
415 <pattern-item n=
"PR"/>
416 <pattern-item n=
"SN"/>
417 <pattern-item n=
"V"/>
422 <clip pos=
"1" part=
"lem"/>
423 <clip pos=
"1" part=
"tags"/>
424 <clip pos=
"1" part=
"chcontent"/>
428 <clip pos=
"4" part=
"lem"/>
429 <clip pos=
"4" part=
"tags"/>
430 <clip pos=
"4" part=
"chcontent"/>
434 <clip pos=
"2" part=
"lem"/>
435 <clip pos=
"2" part=
"tags"/>
436 <clip pos=
"2" part=
"chcontent"/>
440 <clip pos=
"3" part=
"lem"/>
441 <clip pos=
"3" part=
"tags"/>
442 <clip pos=
"3" part=
"chcontent"/>
445 <call-macro n=
"nombre_SN">
446 <with-param pos=
"1"/>
451 <rule comment=
"REGLA: PRN__V ADV SN PR SN V">
453 <pattern-item n=
"PRN__V"/>
454 <pattern-item n=
"ADV"/>
455 <pattern-item n=
"SN"/>
456 <pattern-item n=
"PR"/>
457 <pattern-item n=
"SN"/>
458 <pattern-item n=
"V"/>
463 <clip pos=
"1" part=
"lem"/>
464 <clip pos=
"1" part=
"tags"/>
465 <clip pos=
"1" part=
"chcontent"/>
469 <clip pos=
"6" part=
"lem"/>
470 <clip pos=
"6" part=
"tags"/>
471 <clip pos=
"6" part=
"chcontent"/>
475 <clip pos=
"2" part=
"lem"/>
476 <clip pos=
"2" part=
"tags"/>
477 <clip pos=
"2" part=
"chcontent"/>
481 <clip pos=
"3" part=
"lem"/>
482 <clip pos=
"3" part=
"tags"/>
483 <clip pos=
"3" part=
"chcontent"/>
487 <clip pos=
"4" part=
"lem"/>
488 <clip pos=
"4" part=
"tags"/>
489 <clip pos=
"4" part=
"chcontent"/>
493 <clip pos=
"5" part=
"lem"/>
494 <clip pos=
"5" part=
"tags"/>
495 <clip pos=
"5" part=
"chcontent"/>
498 <call-macro n=
"nombre_SN">
499 <with-param pos=
"1"/>
506 <rule comment=
"REGLA: CNJADV SN ADJ V">
508 <pattern-item n=
"CNJADV"/>
509 <pattern-item n=
"SN"/>
510 <pattern-item n=
"ADJ"/>
511 <pattern-item n=
"V"/>
516 <clip pos=
"1" part=
"lem"/>
517 <clip pos=
"1" part=
"tags"/>
518 <clip pos=
"1" part=
"chcontent"/>
522 <clip pos=
"2" part=
"lem"/>
523 <clip pos=
"2" part=
"tags"/>
524 <clip pos=
"2" part=
"chcontent"/>
528 <clip pos=
"4" part=
"lem"/>
529 <clip pos=
"4" part=
"tags"/>
530 <clip pos=
"4" part=
"chcontent"/>
534 <clip pos=
"3" part=
"lem"/>
535 <clip pos=
"3" part=
"tags"/>
536 <clip pos=
"3" part=
"chcontent"/>
539 <call-macro n=
"nombre_SN">
540 <with-param pos=
"1"/>
546 <rule comment=
"REGLA: CNJ PR SN V">
548 <pattern-item n=
"CNJ"/>
549 <pattern-item n=
"PR"/>
550 <pattern-item n=
"SN"/>
551 <pattern-item n=
"V"/>
556 <clip pos=
"1" part=
"lem"/>
557 <clip pos=
"1" part=
"tags"/>
558 <clip pos=
"1" part=
"chcontent"/>
562 <clip pos=
"4" part=
"lem"/>
563 <clip pos=
"4" part=
"tags"/>
564 <clip pos=
"4" part=
"chcontent"/>
568 <clip pos=
"2" part=
"lem"/>
569 <clip pos=
"2" part=
"tags"/>
570 <clip pos=
"2" part=
"chcontent"/>
574 <clip pos=
"3" part=
"lem"/>
575 <clip pos=
"3" part=
"tags"/>
576 <clip pos=
"3" part=
"chcontent"/>
579 <call-macro n=
"nombre_SN">
580 <with-param pos=
"1"/>
586 <rule comment=
"REGLA: ADV SN PR VBLEX V">
588 <pattern-item n=
"ADV"/>
589 <pattern-item n=
"SN"/>
590 <pattern-item n=
"PR"/>
591 <pattern-item n=
"V"/>
592 <pattern-item n=
"PR"/>
597 <clip pos=
"1" part=
"lem"/>
598 <clip pos=
"1" part=
"tags"/>
599 <clip pos=
"1" part=
"chcontent"/>
603 <clip pos=
"4" part=
"lem"/>
604 <clip pos=
"4" part=
"tags"/>
605 <clip pos=
"4" part=
"chcontent"/>
609 <clip pos=
"3" part=
"lem"/>
610 <clip pos=
"3" part=
"tags"/>
611 <clip pos=
"3" part=
"chcontent"/>
615 <clip pos=
"2" part=
"lem"/>
616 <clip pos=
"2" part=
"tags"/>
617 <clip pos=
"2" part=
"chcontent"/>
621 <clip pos=
"5" part=
"lem"/>
622 <clip pos=
"5" part=
"tags"/>
623 <clip pos=
"5" part=
"chcontent"/>
626 <call-macro n=
"nombre_SN">
627 <with-param pos=
"1"/>
633 <rule comment=
"REGLA: CNJ ADV PR SN V">
635 <pattern-item n=
"CNJ"/>
636 <pattern-item n=
"ADV"/>
637 <pattern-item n=
"PR"/>
638 <pattern-item n=
"SN"/>
639 <pattern-item n=
"V"/>
644 <clip pos=
"1" part=
"lem"/>
645 <clip pos=
"1" part=
"tags"/>
646 <clip pos=
"1" part=
"chcontent"/>
650 <clip pos=
"2" part=
"lem"/>
651 <clip pos=
"2" part=
"tags"/>
652 <clip pos=
"2" part=
"chcontent"/>
656 <clip pos=
"5" part=
"lem"/>
657 <clip pos=
"5" part=
"tags"/>
658 <clip pos=
"5" part=
"chcontent"/>
662 <clip pos=
"3" part=
"lem"/>
663 <clip pos=
"3" part=
"tags"/>
664 <clip pos=
"3" part=
"chcontent"/>
668 <clip pos=
"4" part=
"lem"/>
669 <clip pos=
"4" part=
"tags"/>
670 <clip pos=
"4" part=
"chcontent"/>
673 <call-macro n=
"nombre_SN">
674 <with-param pos=
"1"/>
681 ^<V>{^believe<vblex><pres>$}$ ^<ADV>{^not<adv>$}$ ^<SN><sg>{^his<det><sg>$ ^mobile phone<n><sg>$}$ ^<V>{^get<vblex><past>$}$ ^<pr>{^back<pr><atp>$}$
683 <rule comment=
"REGLA: V ADV SN V PR">
685 <pattern-item n=
"V"/>
686 <pattern-item n=
"ADV"/>
687 <pattern-item n=
"SN"/>
688 <pattern-item n=
"V"/>
689 <pattern-item n=
"PR"/>
694 <clip pos=
"1" part=
"lem"/>
695 <clip pos=
"1" part=
"tags"/>
696 <clip pos=
"1" part=
"chcontent"/>
700 <clip pos=
"2" part=
"lem"/>
701 <clip pos=
"2" part=
"tags"/>
702 <clip pos=
"2" part=
"chcontent"/>
706 <clip pos=
"4" part=
"lem"/>
707 <clip pos=
"4" part=
"tags"/>
708 <clip pos=
"4" part=
"chcontent"/>
712 <clip pos=
"5" part=
"lem"/>
713 <clip pos=
"5" part=
"tags"/>
714 <clip pos=
"5" part=
"chcontent"/>
718 <clip pos=
"3" part=
"lem"/>
719 <clip pos=
"3" part=
"tags"/>
720 <clip pos=
"3" part=
"chcontent"/>
723 <call-macro n=
"nombre_SN">
724 <with-param pos=
"1"/>
729 <rule comment=
"REGLA: V PREADV ADJ V CNJ">
731 <pattern-item n=
"V"/>
732 <pattern-item n=
"PREADV"/>
733 <pattern-item n=
"ADJ"/>
734 <pattern-item n=
"V"/>
735 <pattern-item n=
"CNJ"/>
740 <clip pos=
"1" part=
"lem"/>
741 <clip pos=
"1" part=
"tags"/>
742 <clip pos=
"1" part=
"chcontent"/>
746 <clip pos=
"4" part=
"lem"/>
747 <clip pos=
"4" part=
"tags"/>
748 <clip pos=
"4" part=
"chcontent"/>
752 <clip pos=
"2" part=
"lem"/>
753 <clip pos=
"2" part=
"tags"/>
754 <clip pos=
"2" part=
"chcontent"/>
758 <clip pos=
"3" part=
"lem"/>
759 <clip pos=
"3" part=
"tags"/>
760 <clip pos=
"3" part=
"chcontent"/>
764 <clip pos=
"5" part=
"lem"/>
765 <clip pos=
"5" part=
"tags"/>
766 <clip pos=
"5" part=
"chcontent"/>
769 <call-macro n=
"nombre_SN">
770 <with-param pos=
"1"/>
777 <rule comment=
"REGLA: ADV PR SN CNJ SN V">
779 <pattern-item n=
"ADV"/>
780 <pattern-item n=
"PR"/>
781 <pattern-item n=
"SN"/>
782 <pattern-item n=
"CNJ"/>
783 <pattern-item n=
"SN"/>
784 <pattern-item n=
"V"/>
789 <clip pos=
"1" part=
"lem"/>
790 <clip pos=
"1" part=
"tags"/>
791 <clip pos=
"1" part=
"chcontent"/>
795 <clip pos=
"6" part=
"lem"/>
796 <clip pos=
"6" part=
"tags"/>
797 <clip pos=
"6" part=
"chcontent"/>
801 <clip pos=
"2" part=
"lem"/>
802 <clip pos=
"2" part=
"tags"/>
803 <clip pos=
"2" part=
"chcontent"/>
807 <clip pos=
"3" part=
"lem"/>
808 <clip pos=
"3" part=
"tags"/>
809 <clip pos=
"3" part=
"chcontent"/>
813 <clip pos=
"4" part=
"lem"/>
814 <clip pos=
"4" part=
"tags"/>
815 <clip pos=
"4" part=
"chcontent"/>
819 <clip pos=
"5" part=
"lem"/>
820 <clip pos=
"5" part=
"tags"/>
821 <clip pos=
"5" part=
"chcontent"/>
824 <call-macro n=
"nombre_SN">
825 <with-param pos=
"1"/>
833 <rule comment=
"REGLA: V ADV PR SN PR SN V">
835 <pattern-item n=
"V"/>
836 <pattern-item n=
"ADV"/>
837 <pattern-item n=
"PR"/>
838 <pattern-item n=
"SN"/>
839 <pattern-item n=
"PR"/>
840 <pattern-item n=
"SN"/>
841 <pattern-item n=
"V"/>
846 <clip pos=
"1" part=
"lem"/>
847 <clip pos=
"1" part=
"tags"/>
848 <clip pos=
"1" part=
"chcontent"/>
852 <clip pos=
"7" part=
"lem"/>
853 <clip pos=
"7" part=
"tags"/>
854 <clip pos=
"7" part=
"chcontent"/>
858 <clip pos=
"2" part=
"lem"/>
859 <clip pos=
"2" part=
"tags"/>
860 <clip pos=
"2" part=
"chcontent"/>
864 <clip pos=
"3" part=
"lem"/>
865 <clip pos=
"3" part=
"tags"/>
866 <clip pos=
"3" part=
"chcontent"/>
870 <clip pos=
"4" part=
"lem"/>
871 <clip pos=
"4" part=
"tags"/>
872 <clip pos=
"4" part=
"chcontent"/>
876 <clip pos=
"5" part=
"lem"/>
877 <clip pos=
"5" part=
"tags"/>
878 <clip pos=
"5" part=
"chcontent"/>
882 <clip pos=
"6" part=
"lem"/>
883 <clip pos=
"6" part=
"tags"/>
884 <clip pos=
"6" part=
"chcontent"/>
887 <call-macro n=
"nombre_SN">
888 <with-param pos=
"1"/>
897 <rule comment=
"REGLA: V ADV SN PR SN PR SN V">
899 <pattern-item n=
"V"/>
900 <pattern-item n=
"ADV"/>
901 <pattern-item n=
"SN"/>
902 <pattern-item n=
"PR"/>
903 <pattern-item n=
"SN"/>
904 <pattern-item n=
"PR"/>
905 <pattern-item n=
"SN"/>
906 <pattern-item n=
"V"/>
911 <clip pos=
"1" part=
"lem"/>
912 <clip pos=
"1" part=
"tags"/>
913 <clip pos=
"1" part=
"chcontent"/>
917 <clip pos=
"8" part=
"lem"/>
918 <clip pos=
"8" part=
"tags"/>
919 <clip pos=
"8" part=
"chcontent"/>
923 <clip pos=
"2" part=
"lem"/>
924 <clip pos=
"2" part=
"tags"/>
925 <clip pos=
"2" part=
"chcontent"/>
929 <clip pos=
"3" part=
"lem"/>
930 <clip pos=
"3" part=
"tags"/>
931 <clip pos=
"3" part=
"chcontent"/>
935 <clip pos=
"4" part=
"lem"/>
936 <clip pos=
"4" part=
"tags"/>
937 <clip pos=
"4" part=
"chcontent"/>
941 <clip pos=
"5" part=
"lem"/>
942 <clip pos=
"5" part=
"tags"/>
943 <clip pos=
"5" part=
"chcontent"/>
947 <clip pos=
"6" part=
"lem"/>
948 <clip pos=
"6" part=
"tags"/>
949 <clip pos=
"6" part=
"chcontent"/>
953 <clip pos=
"7" part=
"lem"/>
954 <clip pos=
"7" part=
"tags"/>
955 <clip pos=
"7" part=
"chcontent"/>
958 <call-macro n=
"nombre_SN">
959 <with-param pos=
"1"/>