Busy refactoring mode.py
[apertium.git] / apertium-es-pt / apertium-es-pt.trules-pt-es.xml
blob5ed51d70eae161dfe9b8451f485651e32be31b0f
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- -*- nxml -*- -->
3 <transfer>
4         <section-def-cats>
5                 <def-cat n="nom">
6                         <cat-item tags="n.*"/>
7                 </def-cat>
8                 <def-cat n="npant">
9                         <cat-item tags="np.ant"/>
10                 </def-cat>
11                 <def-cat n="nploc">
12                         <cat-item tags="np.loc"/>
13                 </def-cat>
14                 <def-cat n="np">
15                         <cat-item tags="np.*"/>
16                 </def-cat>
17                 <def-cat n="det">
18                         <cat-item tags="det.*"/>
19                 </def-cat>
20                 <def-cat n="predet">
21                         <cat-item tags="predet.*"/>
22                 </def-cat>
23                 <def-cat n="adjec">
24                         <cat-item tags="adj.*"/>
25                         <cat-item tags="vblex.pp.*"/>
26                 </def-cat>
27                 <def-cat n="adj">
28                         <cat-item tags="adj.*"/>
29                 </def-cat>
30                 <def-cat n="tnom">
31                         <cat-item tags="n.*"/>
32                         <cat-item tags="adj.*"/>
33                         <cat-item tags="vblex.pp.*"/>
34                 </def-cat>
35                 <def-cat n="adv">
36                         <cat-item tags="adv"/>
37                         <cat-item tags="preadv"/>
38                 </def-cat>
39                 <def-cat n="mas_menos">
40                         <cat-item lemma="mais" tags="adv"/>
41                         <cat-item lemma="menos" tags="adv"/>
42                 </def-cat>
43                 <def-cat n="prep">
44                         <cat-item tags="pr"/>
45                 </def-cat>
46                 <def-cat n="cuyo">
47                         <cat-item tags="rel.aa.*"/>
48                 </def-cat>
49                 <def-cat n="cnjsub">
50                         <cat-item tags="cnjsub"/>
51                 </def-cat>
52                 <def-cat n="seadv">
53                         <cat-item lemma="se" tags="cnjadv"/>
54                 </def-cat>
55                 <def-cat n="prn">
56                         <cat-item tags="prn.tn.*"/>
57                         <cat-item tags="prn.itg.*"/>
58                 </def-cat>
59                 <def-cat n="prnsub">
60                         <cat-item lemma="eu" tags="prn.tn.*"/>
61                         <cat-item lemma="tu" tags="prn.tn.*"/>
62                         <cat-item lemma="você" tags="prn.tn.*"/>
63                         <cat-item lemma="ele" tags="prn.tn.*"/>
64                         <cat-item lemma="ela" tags="prn.tn.*"/>
65                         <cat-item lemma="nós" tags="prn.tn.*"/>
66                         <cat-item lemma="vocês" tags="prn.tn.*"/>
67                         <cat-item lemma="eles" tags="prn.tn.*"/>
68                         <cat-item lemma="elas" tags="prn.tn.*"/>
69                 </def-cat>
70                 <def-cat n="voces">
71                         <cat-item lemma="você" tags="prn.tn.p2.mf.pl"/>
72                 </def-cat>
73                 <def-cat n="prnenc">
74                         <cat-item tags="prn.enc.*"/>
75                 </def-cat>
76                 <def-cat n="prnpro">
77                         <cat-item tags="prn.pro.*"/>
78                 </def-cat>
79                 <def-cat n="relat">
80                         <cat-item tags="rel.*"/>
81                 </def-cat>
82                 <def-cat n="verb">
83                         <!--            <cat-item tags="vblex"/> -->
84                         <cat-item tags="vblex.*"/>
85                         <cat-item tags="vbser.*"/>
86                         <cat-item tags="vbhaver.*"/>
87                         <cat-item tags="vbter.*"/>
88                         <cat-item tags="vbmod.*"/>
89                 </def-cat>
90                 <def-cat n="verbmeso">
91                         <!--            <cat-item tags="vblex"/> -->
92                         <cat-item tags="vblex"/>
93                         <cat-item tags="vbser"/>
94                         <cat-item tags="vbhaver"/>
95                         <cat-item tags="vbter"/>
96                         <cat-item tags="vbmod"/>
97                 </def-cat>
98                 <def-cat n="ter">
99                         <cat-item lemma="ter" tags="vblex.*"/>
100                 </def-cat>
101                 <def-cat n="gostar">
102                         <cat-item lemma="gostar" tags="vblex.*"/>
103                 </def-cat>
104                 <def-cat n="gostarger">
105                         <cat-item lemma="gostar" tags="vblex.ger"/>
106                 </def-cat>
107                 <def-cat n="gostarinf">
108                         <cat-item lemma="gostar" tags="vblex.inf"/>
109                 </def-cat>
110                 <def-cat n="gostarpp">
111                         <cat-item lemma="gostar" tags="vblex.pp.*"/>
112                 </def-cat>
113                 <!--<def-cat n="gostarenc">
114                 <cat-item lemma="gostar" tags="vblex.imp.*"/>
115                 <cat-item lemma="gostar" tags="vblex.ger"/>
116                 <cat-item lemma="gostar" tags="vblex.inf"/>
117         </def-cat>-->
118                 <def-cat n="vbhaver">
119                         <cat-item tags="vbhaver.*"/>
120                 </def-cat>
121                 <def-cat n="vbmod">
122                         <cat-item tags="vbmod.*"/>
123                 </def-cat>
124                 <def-cat n="verbcurt">
125                         <cat-item tags="vblex"/>
126                         <cat-item tags="vbser"/>
127                         <cat-item tags="vbhaver"/>
128                         <cat-item tags="vbter"/>
129                         <cat-item tags="vbmod"/>
130                 </def-cat>
131                 <def-cat n="inf">
132                         <cat-item tags="vblex.inf"/>
133                         <cat-item tags="vbser.inf"/>
134                         <cat-item tags="vbhaver.inf"/>
135                         <cat-item tags="vbmod.inf"/>
136                 </def-cat>
137                 <def-cat n="ger">
138                         <cat-item tags="vbhaver.ger"/>
139                         <cat-item tags="vblex.ger"/>
140                         <cat-item tags="vbmod.ger"/>
141                         <cat-item tags="vbser.ger"/>
142                         <cat-item tags="vter.ger"/>
143                 </def-cat>
144                 <def-cat n="infpsfts">
145                         <cat-item tags="vblex.infps.*"/>
146                         <cat-item tags="vbser.infps.*"/>
147                         <cat-item tags="vbhaver.infps.*"/>
148                         <cat-item tags="vbmod.infps.*"/>
149                         <cat-item tags="vblex.fts.*"/>
150                         <cat-item tags="vbser.fts.*"/>
151                         <cat-item tags="vbhaver.fts.*"/>
152                         <cat-item tags="vbmod.fts.*"/>
153                 </def-cat>
154                 <def-cat n="perif">
155                         <cat-item tags="vblex.ifi.*"/>
156                         <cat-item tags="vbser.ifi.*"/>
157                         <cat-item tags="vbhaver.ifi.*"/>
158                         <cat-item tags="vbmod.ifi.*"/>
159                 </def-cat>
160                 <def-cat n="lquest">
161                         <cat-item tags="lquest"/>
162                 </def-cat>
163                 <def-cat n="sent">
164                         <cat-item tags="sent"/>
165                 </def-cat>
166                 <def-cat n="num">
167                         <cat-item tags="num.*"/>
168                         <cat-item tags="num"/>
169                 </def-cat>
170                 <def-cat n="percent">
171                         <cat-item tags="num.percent"/>
172                 </def-cat>
173                 <def-cat n="cuavb">
174                         <cat-item tags="cuavb.*"/>
175                 </def-cat>
176                 <def-cat n="de">
177                         <cat-item lemma="de" tags="pr"/>
178                 </def-cat>
179                 <def-cat n="a">
180                         <cat-item lemma="a" tags="pr"/>
181                 </def-cat>
182                 <def-cat n="em">
183                         <cat-item lemma="em" tags="pr"/>
184                 </def-cat>
185                 <def-cat n="ate">
186                         <cat-item lemma="até" tags="pr"/>
187                 </def-cat>
188                 <def-cat n="detnt">
189                         <cat-item lemma="o" tags="detnt"/>
190                 </def-cat>
191                 <def-cat n="querel">
192                         <cat-item lemma="que" tags="rel.*"/>
193                         <cat-item lemma="que" tags="cnjsub"/>
194                 </def-cat>
195                 <def-cat n="vbir">
196                         <cat-item lemma="ir" tags="vblex.*"/>
197                         <cat-item lemma="vir" tags="vblex.*"/>
198                 </def-cat>
199                 <def-cat n="ser">
200                         <cat-item lemma="ser" tags="vbser.*"/>
201                 </def-cat>
202                 <def-cat n="estar">
203                         <cat-item lemma="estar" tags="vblex.*"/>
204                 </def-cat>
205                 <def-cat n="ha">
206                         <cat-item lemma="há" tags="vblex.*"/>
207                 </def-cat>
208                 <def-cat n="nomtempo">
209                         <cat-item lemma="segunda-feira" tags="n.*"/>
210                         <cat-item lemma="terça-feira" tags="n.*"/>
211                         <cat-item lemma="quarta-feira" tags="n.*"/>
212                         <cat-item lemma="quinta-feira" tags="n.*"/>
213                         <cat-item lemma="sexta-feira" tags="n.*"/>
214                         <cat-item lemma="sábado" tags="n.*"/>
215                         <cat-item lemma="domingo" tags="n.*"/>
216                         <cat-item lemma="semana" tags="n.*"/>
217                         <cat-item lemma="dia" tags="n.*"/>
218                         <cat-item lemma="ano" tags="n.*"/>
219                         <cat-item lemma="mês" tags="n.*"/>
220                         <cat-item lemma="século" tags="n.*"/>
221                         <cat-item lemma="milênio" tags="n.*"/>
222                         <cat-item lemma="lustro" tags="n.*"/>
223                         <cat-item lemma="tempo" tags="n.*"/>
224                 </def-cat>
225                 <def-cat n="pred">
226                         <cat-item lemma="estar" tags="vblex.*"/>
227                         <cat-item lemma="parecer" tags="vblex.*"/>
228                         <cat-item lemma="ficar" tags="vblex.*"/>
229                         <cat-item lemma="continuar" tags="vblex.*"/>
230                         <cat-item lemma="acabar" tags="vblex.*"/>
231                         <cat-item lemma="mudar" tags="vblex.*"/>
232                         <cat-item lemma="sentir" tags="vblex.*"/>
233                         <cat-item lemma="ser" tags="vbser.*"/>
234                 </def-cat>
235                 <def-cat n="demaisadj">
236                         <cat-item lemma="demais" tags="adj.*"/>
237                 </def-cat>
238                 <def-cat n="demaisadv">
239                         <cat-item lemma="demais" tags="adv"/>
240                 </def-cat>
241                 <def-cat n="aqueloutras">
242                         <cat-item tags="prn.*"/>
243                         <cat-item tags="np"/>
244                         <cat-item tags="n.*"/>
245                 </def-cat>
246                 <def-cat n="proclise">
247                         <cat-item lemma="não" tags="adv"/>
248                         <cat-item lemma="sim" tags="adv"/>
249                         <cat-item lemma="nunca" tags="adv"/>
250                         <cat-item lemma="jamais" tags="adv"/>
251                         <cat-item lemma="nada" tags="adv"/>
252                         <cat-item lemma="quase" tags="adv"/>
253                         <cat-item lemma="apenas" tags="adv"/>
254                         <cat-item lemma="agora" tags="adv"/>
255                         <cat-item lemma="já" tags="adv"/>
256                         <cat-item lemma="depois" tags="adv"/>
257                         <cat-item lemma="após" tags="pr"/>
258                         <cat-item lemma="só" tags="adv"/>
259                         <cat-item lemma="ainda" tags="adv"/>
260                         <cat-item lemma="sempre" tags="adv"/>
261                         <cat-item lemma="talvez" tags="adv"/>
262                         <cat-item lemma="também" tags="adv"/>
263                         <cat-item lemma="também não" tags="adv"/>
264                         <cat-item lemma="assim" tags="adv"/>
265                         <cat-item lemma="mesmo" tags="adv"/>
266                         <cat-item lemma="inclusive" tags="adv"/>
267                         <cat-item lemma="tanto" tags="adv"/>
268                         <cat-item lemma="tanto" tags="adj.*"/>
269                         <cat-item lemma="muito" tags="adv"/>
270                         <cat-item lemma="muito" tags="preadv"/>
271                         <cat-item lemma="nada" tags="adv"/>
272                         <cat-item lemma="nada" tags="prn.*"/>
273                         <cat-item lemma="nenhum" tags="prn.*"/>
274                         <cat-item lemma="ninguém" tags="prn.*"/>
275                         <cat-item lemma="ambos" tags="prn.*"/>
276                         <cat-item lemma="ambas" tags="prn.*"/>
277                         <cat-item lemma="ambos os" tags="prn.*"/>
278                         <cat-item lemma="ambas as" tags="prn.*"/>
279                         <cat-item lemma="todo" tags="predet.*"/>
280                         <cat-item lemma="tudo" tags="prn.*"/>
281                         <cat-item lemma="alguém" tags="prn.*"/>
282                         <cat-item lemma="outro" tags="prn.*"/>
283                         <cat-item lemma="outro" tags="adj.*"/>
284                         <cat-item lemma="qualquer" tags="det.*"/>
285                         <cat-item lemma="pouco" tags="prn.*"/>
286                         <cat-item lemma="pouco" tags="adj.*"/>
287                         <cat-item lemma="pouco" tags="adv"/>
288                         <cat-item lemma="algo" tags="prn.*"/>
289                         <cat-item lemma="nem" tags="cnjcoo"/>
290                         <cat-item lemma="ou" tags="cnjcoo"/>
291                         <cat-item lemma="sem" tags="pr"/>
292                         <cat-item tags="rel.*"/>
293                         <cat-item tags="adv.itg.*"/>
294                         <cat-item tags="predet.*"/>
295                         <cat-item tags="prn.itg.*"/>
296                         <cat-item tags="cnjsub"/>
297                 </def-cat>
298                 <def-cat n="com">
299                         <cat-item lemma="com" tags="pr"/>
300                 </def-cat>
301                 <def-cat n="vbirser">
302                         <cat-item lemma="ir" tags="vblex.*"/>
303                         <cat-item lemma="vir" tags="vblex.*"/>
304                         <cat-item lemma="ser" tags="vbser.*"/>
305                 </def-cat>
306                 <def-cat n="importar">
307                         <cat-item lemma="importar" tags="vblex.*"/>
308                 </def-cat>
309                 <def-cat n="pegar">
310                         <cat-item lemma="pegar" tags="vblex.*"/>
311                 </def-cat>
312                 <def-cat n="emtransito">
313                         <cat-item lemma="comboio" tags="n.*"/>
314                         <cat-item lemma="avião" tags="n.*"/>
315                         <cat-item lemma="carro" tags="n.*"/>
316                         <cat-item lemma="balão" tags="n.*"/>
317                         <cat-item lemma="metro" tags="n.*"/>
318                         <cat-item lemma="metrô" tags="n.*"/>
319                         <cat-item lemma="caminhão" tags="n.*"/>
320                         <cat-item lemma="camião" tags="n.*"/>
321                         <cat-item lemma="carrinha" tags="n.*"/>
322                         <cat-item lemma="bicicleta" tags="n.*"/>
323                         <cat-item lemma="autocarro" tags="n.*"/>
324                         <cat-item lemma="ônibus" tags="n.*"/>
325                         <cat-item lemma="barco" tags="n.*"/>
326                         <cat-item lemma="barca" tags="n.*"/>
327                         <cat-item lemma="moto" tags="n.*"/>
328                         <cat-item lemma="mota" tags="n.*"/>
329                         <cat-item lemma="eléctrico" tags="n.*"/>
330                         <cat-item lemma="elétrico" tags="n.*"/>
331                         <cat-item lemma="bonde" tags="n.*"/>
332                 </def-cat>
333                 <def-cat n="detind">
334                         <cat-item tags="det.ind.*"/>
335                 </def-cat>
336                 <def-cat n="estarcom">
337                         <cat-item lemma="problema" tags="n.*"/>
338                         <cat-item lemma="dificuldade" tags="n.*"/>
339                         <cat-item lemma="intenção" tags="n.*"/>
340                         <cat-item lemma="dor" tags="n.*"/>
341                         <cat-item lemma="gripe" tags="n.*"/>
342                         <cat-item lemma="dúvida" tags="n.*"/>
343                         <cat-item lemma="vontade" tags="n.*"/>
344                         <cat-item lemma="raiva" tags="n.*"/>
345                         <cat-item lemma="medo" tags="n.*"/>
346                         <cat-item lemma="calor" tags="n.*"/>
347                         <cat-item lemma="fome" tags="n.*"/>
348                         <cat-item lemma="sede" tags="n.*"/>
349                         <cat-item lemma="sono" tags="n.*"/>
350                         <cat-item lemma="frio" tags="n.*"/>
351                 </def-cat>
352                 <def-cat n="hora">
353                         <cat-item lemma="hora" tags="n.*"/>
354                 </def-cat>
355                 <def-cat n="numeros">
356                         <cat-item tags="num"/>
357                         <cat-item tags="num.*"/>
358                 </def-cat>
359                 <def-cat n="cada">
360                         <cat-item lemma="cada" tags="det.ind.mf.sp"/>
361                         <cat-item lemma="cada" tags="adv"/>
362                 </def-cat>
363                 <def-cat n="adjecdet">
364                         <cat-item tags="det.*"/>
365                         <cat-item tags="adj.*"/>
366                         <cat-item tags="vblex.pp.*"/>
367                 </def-cat>
368                 <def-cat n="outro">
369                         <cat-item lemma="outro" tags="adj.*"/>
370                 </def-cat>
371         </section-def-cats>
372         <section-def-attrs>
373                 <def-attr n="a_nom">
374                         <attr-item tags="n"/>
375                         <attr-item tags="n.acr"/>
376                 </def-attr>
377                 <def-attr n="a_nomp">
378                         <attr-item tags="np.ant"/>
379                 </def-attr>
380                 <def-attr n="a_nploc">
381                         <attr-item tags="np.loc"/>
382                 </def-attr>
383                 <def-attr n="a_det">
384                         <attr-item tags="det.def"/>
385                         <attr-item tags="det.ind"/>
386                         <attr-item tags="det.dem"/>
387                         <attr-item tags="det.pos"/>
388                 </def-attr>
389                 <def-attr n="a_predet">
390                         <attr-item tags="predet"/>
391                 </def-attr>
392                 <def-attr n="a_adjec">
393                         <attr-item tags="adj.ind"/>
394                         <attr-item tags="adj.sup"/>
395                         <attr-item tags="adj.itg"/>
396                         <attr-item tags="adj.pos"/>
397                         <attr-item tags="adj"/>
398                         <attr-item tags="vblex.pp"/>
399                 </def-attr>
400                 <def-attr n="a_adj">
401                         <attr-item tags="adj.ind"/>
402                         <attr-item tags="adj.sup"/>
403                         <attr-item tags="adj.itg"/>
404                         <attr-item tags="adj.pos"/>
405                         <attr-item tags="adj"/>
406                 </def-attr>
407                 <def-attr n="a_tnom">
408                         <attr-item tags="n"/>
409                         <attr-item tags="n.acr"/>
410                         <attr-item tags="adj.ind"/>
411                         <attr-item tags="adj.sup"/>
412                         <attr-item tags="adj.itg"/>
413                         <attr-item tags="adj.pos"/>
414                         <attr-item tags="adj"/>
415                         <attr-item tags="vblex.pp"/>
416                 </def-attr>
417                 <def-attr n="a_adv">
418                         <attr-item tags="adv"/>
419                         <attr-item tags="preadv"/>
420                 </def-attr>
421                 <def-attr n="a_prep">
422                         <attr-item tags="pr"/>
423                 </def-attr>
424                 <def-attr n="a_cuyo">
425                         <attr-item tags="rel.aa"/>
426                 </def-attr>
427                 <def-attr n="a_prn">
428                         <attr-item tags="prn.tn.p1"/>
429                         <attr-item tags="prn.tn.p2"/>
430                         <attr-item tags="prn.tn.p3"/>
431                         <attr-item tags="prn.tn"/>
432                         <attr-item tags="prn.tn.ref.p3"/>
433                         <attr-item tags="prn.tn.pos"/>
434                         <attr-item tags="prn.itg"/>
435                 </def-attr>
436                 <def-attr n="a_verb">
437                         <attr-item tags="vblex"/>
438                         <attr-item tags="vbser"/>
439                         <attr-item tags="vbhaver"/>
440                         <attr-item tags="vbter"/>
441                         <attr-item tags="vbmod"/>
442                 </def-attr>
443                 <def-attr n="a_inf">
444                         <attr-item tags="vblex.inf"/>
445                         <attr-item tags="vbser.inf"/>
446                         <attr-item tags="vbhaver.inf"/>
447                         <attr-item tags="vbmod.inf"/>
448                 </def-attr>
449                 <def-attr n="a_perif">
450                         <attr-item tags="vblex.ifi"/>
451                         <attr-item tags="vbser.ifi"/>
452                         <attr-item tags="vbhaver.ifi"/>
453                         <attr-item tags="vbmod.ifi"/>
454                 </def-attr>
455                 <def-attr n="a_lquest">
456                         <attr-item tags="lquest"/>
457                 </def-attr>
458                 <def-attr n="a_num">
459                         <attr-item tags="num"/>
460                         <attr-item tags="num.percent"/>
461                 </def-attr>
462                 <def-attr n="a_prnenc">
463                         <attr-item tags="prn.enc"/>
464                         <attr-item tags="prn.enc.ref"/>
465                 </def-attr>
466                 <def-attr n="a_prnpro">
467                         <attr-item tags="prn.pro"/>
468                         <attr-item tags="prn.pro.ref"/>
469                 </def-attr>
470                 <def-attr n="tipoenc_pro">
471                         <attr-item tags="ref.p3.mf.sp"/>
472                         <attr-item tags="p1.mf.pl"/>
473                         <attr-item tags="p1.mf.sg"/>
474                         <attr-item tags="p2.mf.pl"/>
475                         <attr-item tags="p2.mf.sg"/>
476                         <attr-item tags="p3.f.pl"/>
477                         <attr-item tags="p3.f.sg"/>
478                         <attr-item tags="p3.mf.pl"/>
479                         <attr-item tags="p3.mf.sg"/>
480                         <attr-item tags="p3.m.pl"/>
481                         <attr-item tags="p3.m.sg"/>
482                         <attr-item tags="p3.nt"/>
483                 </def-attr>
484                 <!--
485       <def-attr n="categoria"><attr-item />
486                 <attr-item tags="adj"/>
487                 <attr-item tags="adv"/>
488                         <attr-item tags="cnjadv"/>
489                         <attr-item tags="cnjcoo"/>
490                         <attr-item tags="cnjadv"/> 
491                         <attr-item tags="det"/>
492                         <attr-item tags="n"/>
493                 <attr-item tags="np"/>
494                         <attr-item tags="num"/>
495                         <attr-item tags="pr"/>
496                         <attr-item tags="prn"/>
497                         <attr-item tags="prn.pro.ref"/>
498                         <attr-item tags="prn.tn.ref"/> 
499                         <attr-item tags="preadv"/>
500                 <attr-item tags="predet"/>
501                         <attr-item tags="rel"/>
502                         <attr-item tags="vbhaver"/>
503                         <attr-item tags="vblex"/>
504                         <attr-item tags="vbmod"/>
505                         <attr-item tags="vbser"/>
506       </def-attr>
508       <def-attr n="subcategoria">
509                 <attr-item tags="acr"/>
510                         <attr-item tags="al"/>
511                         <attr-item tags="ant"/>
512                 <attr-item tags="def"/>
513                 <attr-item tags="dem"/> 
514                 <attr-item tags="ind"/> 
515                 <attr-item tags="itg"/>
516                         <attr-item tags="loc"/>
517                 <attr-item tags="pos"/> 
518                 <attr-item tags="ref"/>
519                 <attr-item tags="sup"/>       
520                 <attr-item tags="tn"/>
521       </def-attr>
522  -->
523                 <def-attr n="gen">
524                         <attr-item tags="m"/>
525                         <attr-item tags="f"/>
526                         <attr-item tags="mf"/>
527                         <attr-item tags="GD"/>
528                         <attr-item tags="nt"/>
529                 </def-attr>
530                 <def-attr n="nbr">
531                         <attr-item tags="sg"/>
532                         <attr-item tags="pl"/>
533                         <attr-item tags="sp"/>
534                         <attr-item tags="ND"/>
535                 </def-attr>
536                 <def-attr n="persona">
537                         <attr-item tags="p1"/>
538                         <attr-item tags="p2"/>
539                         <attr-item tags="p3"/>
540                 </def-attr>
541                 <def-attr n="temps">
542                         <attr-item tags="inf"/>
543                         <attr-item tags="ger"/>
544                         <attr-item tags="pp"/>
545                         <attr-item tags="pri"/>
546                         <attr-item tags="ifi"/>
547                         <attr-item tags="pii"/>
548                         <attr-item tags="fti"/>
549                         <attr-item tags="cni"/>
550                         <attr-item tags="prs"/>
551                         <attr-item tags="pis"/>
552                         <attr-item tags="fts"/>
553                         <attr-item tags="imp"/>
554                         <attr-item tags="infps"/>
555                         <attr-item tags="pmp"/>
556                 </def-attr>
557         </section-def-attrs>
558         <section-def-vars>
559                 <def-var n="uno"/>
560                 <def-var n="genero"/>
561                 <def-var n="numero"/>
562                 <def-var n="concDet"/>
563                 <def-var n="concAdj"/>
564                 <def-var n="concPrimero"/>
565                 <def-var n="concSegundo"/>
566                 <def-var n="concTercero"/>
567                 <def-var n="interrogativa"/>
568                 <def-var n="exclamativa"/>
569                 <def-var n="comparativa"/>
570         </section-def-vars>
571         <section-def-macros>
572                 <def-macro n="f_concord1" npar="1">
573                         <choose>
574                                 <!--To determine value of variables of gender and
575                                                 number and propagate to other rules.  Variables are
576                                                 not used again in this rule -->
577                                 <when>
578                                         <test>
579                                                 <equal>
580                                                         <clip pos="1" side="tl" part="gen"/>
581                                                         <lit-tag v="m"/>
582                                                 </equal>
583                                         </test>
584                                         <let>
585                                                 <var n="genero"/>
586                                                 <lit-tag v="m"/>
587                                         </let>
588                                 </when>
589                                 <when>
590                                         <test>
591                                                 <equal>
592                                                         <clip pos="1" side="tl" part="gen"/>
593                                                         <lit-tag v="f"/>
594                                                 </equal>
595                                         </test>
596                                         <let>
597                                                 <var n="genero"/>
598                                                 <lit-tag v="f"/>
599                                         </let>
600                                 </when>
601                         </choose>
602                         <choose>
603                                 <when>
604                                         <test>
605                                                 <equal>
606                                                         <clip pos="1" side="tl" part="nbr"/>
607                                                         <lit-tag v="sg"/>
608                                                 </equal>
609                                         </test>
610                                         <let>
611                                                 <var n="numero"/>
612                                                 <lit-tag v="sg"/>
613                                         </let>
614                                 </when>
615                                 <when>
616                                         <test>
617                                                 <equal>
618                                                         <clip pos="1" side="tl" part="nbr"/>
619                                                         <lit-tag v="pl"/>
620                                                 </equal>
621                                         </test>
622                                         <let>
623                                                 <var n="numero"/>
624                                                 <lit-tag v="pl"/>
625                                         </let>
626                                 </when>
627                         </choose>
628                         <choose>
629                                 <when>
630                                         <test>
631                                                 <!-- If word has GD or ND, we try to assign the
632                                                         gender or number of the previous rule. If there is no
633                                                         value for the gender or number variable from previous
634                                                         rules, gender will be masculine and number singular.-->
635                                                 <equal>
636                                                         <clip pos="1" side="tl" part="gen"/>
637                                                         <lit-tag v="GD"/>
638                                                 </equal>
639                                         </test>
640                                         <choose>
641                                                 <when>
642                                                         <test>
643                                                                 <equal>
644                                                                         <var n="genero"/>
645                                                                         <lit-tag v="f"/>
646                                                                 </equal>
647                                                         </test>
648                                                         <let>
649                                                                 <clip pos="1" side="tl" part="gen"/>
650                                                                 <lit-tag v="f"/>
651                                                         </let>
652                                                 </when>
653                                                 <otherwise>
654                                                         <let>
655                                                                 <clip pos="1" side="tl" part="gen"/>
656                                                                 <lit-tag v="m"/>
657                                                         </let>
658                                                 </otherwise>
659                                         </choose>
660                                 </when>
661                         </choose>
662                         <choose>
663                                 <when>
664                                         <test>
665                                                 <equal>
666                                                         <clip pos="1" side="tl" part="nbr"/>
667                                                         <lit-tag v="ND"/>
668                                                 </equal>
669                                         </test>
670                                         <choose>
671                                                 <when>
672                                                         <test>
673                                                                 <equal>
674                                                                         <var n="numero"/>
675                                                                         <lit-tag v="pl"/>
676                                                                 </equal>
677                                                         </test>
678                                                         <let>
679                                                                 <clip pos="1" side="tl" part="nbr"/>
680                                                                 <lit-tag v="pl"/>
681                                                         </let>
682                                                 </when>
683                                                 <otherwise>
684                                                         <let>
685                                                                 <clip pos="1" side="tl" part="nbr"/>
686                                                                 <lit-tag v="sg"/>
687                                                         </let>
688                                                 </otherwise>
689                                         </choose>
690                                 </when>
691                         </choose>
692                 </def-macro>
693                 <def-macro n="f_concord2" npar="2">
694                         <choose>
695                                 <when>
696                                         <test>
697                                                 <!-- do the main and second parameter gender agree?-->
698                                                 <and>
699                                                         <or>
700                                                                 <equal>
701                                                                         <clip pos="2" side="sl" part="gen"/>
702                                                                         <clip pos="1" side="sl" part="gen"/>
703                                                                 </equal>
704                                                                 <equal>
705                                                                         <clip pos="2" side="sl" part="gen"/>
706                                                                         <lit-tag v="mf"/>
707                                                                 </equal>
708                                                                 <equal>
709                                                                         <clip pos="1" side="sl" part="gen"/>
710                                                                         <lit-tag v="mf"/>
711                                                                 </equal>
712                                                         </or>
713                                                         <or>
714                                                                 <equal>
715                                                                         <!-- do the main and second parameter number agree?-->
716                                                                         <clip pos="2" side="sl" part="nbr"/>
717                                                                         <clip pos="1" side="sl" part="nbr"/>
718                                                                 </equal>
719                                                                 <equal>
720                                                                         <clip pos="2" side="sl" part="nbr"/>
721                                                                         <lit-tag v="sp"/>
722                                                                 </equal>
723                                                                 <equal>
724                                                                         <clip pos="1" side="sl" part="nbr"/>
725                                                                         <lit-tag v="sp"/>
726                                                                 </equal>
727                                                         </or>
728                                                 </and>
729                                         </test>
730                                         <let>
731                                                 <var n="concPrimero"/>
732                                                 <lit v="true"/>
733                                         </let>
734                                         <!-- there is gender and number agreement-->
735                                 </when>
736                                 <otherwise>
737                                         <let>
738                                                 <var n="concPrimero"/>
739                                                 <lit v="false"/>
740                                         </let>
741                                         <!-- there isn't gender and number agreement-->
742                                 </otherwise>
743                         </choose>
744                         <choose>
745                                 <when>
746                                         <test>
747                                                 <!-- Propagate the main parameter gender if it has been modified during the translation  -->
748                                                 <and>
749                                                         <not>
750                                                                 <equal>
751                                                                         <clip pos="1" side="tl" part="gen"/>
752                                                                         <clip pos="1" side="sl" part="gen"/>
753                                                                 </equal>
754                                                         </not>
755                                                         <not>
756                                                                 <equal>
757                                                                         <clip pos="1" side="tl" part="gen"/>
758                                                                         <lit-tag v="mf"/>
759                                                                 </equal>
760                                                         </not>
761                                                         <not>
762                                                                 <equal>
763                                                                         <clip pos="1" side="tl" part="gen"/>
764                                                                         <lit-tag v="GD"/>
765                                                                 </equal>
766                                                         </not>
767                                                 </and>
768                                         </test>
769                                         <choose>
770                                                 <when>
771                                                         <test>
772                                                                 <and>
773                                                                         <not>
774                                                                                 <equal>
775                                                                                         <clip pos="2" side="tl" part="gen"/>
776                                                                                         <lit-tag v="mf"/>
777                                                                                 </equal>
778                                                                         </not>
779                                                                         <not>
780                                                                                 <and>
781                                                                                         <equal>
782                                                                                                 <clip pos="2" side="sl" part="gen"/>
783                                                                                                 <lit-tag v="mf"/>
784                                                                                         </equal>
785                                                                                         <not>
786                                                                                                 <equal>
787                                                                                                         <clip pos="2" side="tl" part="gen"/>
788                                                                                                         <lit-tag v="GD"/>
789                                                                                                 </equal>
790                                                                                         </not>
791                                                                                 </and>
792                                                                         </not>
793                                                                         <equal>
794                                                                                 <var n="concPrimero"/>
795                                                                                 <lit v="true"/>
796                                                                         </equal>
797                                                                 </and>
798                                                         </test>
799                                                         <let>
800                                                                 <clip pos="2" side="tl" part="gen"/>
801                                                                 <clip pos="1" side="tl" part="gen"/>
802                                                         </let>
803                                                 </when>
804                                         </choose>
805                                 </when>
806                         </choose>
807                         <choose>
808                                 <when>
809                                         <test>
810                                                 <!-- Propagate the main parameter number if it has been modified during the translation  -->
811                                                 <and>
812                                                         <not>
813                                                                 <equal>
814                                                                         <clip pos="1" side="tl" part="nbr"/>
815                                                                         <clip pos="1" side="sl" part="nbr"/>
816                                                                 </equal>
817                                                         </not>
818                                                         <not>
819                                                                 <equal>
820                                                                         <clip pos="1" side="tl" part="nbr"/>
821                                                                         <lit-tag v="sp"/>
822                                                                 </equal>
823                                                         </not>
824                                                         <not>
825                                                                 <equal>
826                                                                         <clip pos="1" side="tl" part="nbr"/>
827                                                                         <lit-tag v="ND"/>
828                                                                 </equal>
829                                                         </not>
830                                                 </and>
831                                         </test>
832                                         <choose>
833                                                 <when>
834                                                         <test>
835                                                                 <and>
836                                                                         <not>
837                                                                                 <equal>
838                                                                                         <clip pos="2" side="tl" part="nbr"/>
839                                                                                         <lit-tag v="sp"/>
840                                                                                 </equal>
841                                                                         </not>
842                                                                         <not>
843                                                                                 <and>
844                                                                                         <equal>
845                                                                                                 <clip pos="2" side="sl" part="nbr"/>
846                                                                                                 <lit-tag v="sp"/>
847                                                                                         </equal>
848                                                                                         <not>
849                                                                                                 <equal>
850                                                                                                         <clip pos="2" side="tl" part="nbr"/>
851                                                                                                         <lit-tag v="ND"/>
852                                                                                                 </equal>
853                                                                                         </not>
854                                                                                 </and>
855                                                                         </not>
856                                                                         <equal>
857                                                                                 <var n="concPrimero"/>
858                                                                                 <lit v="true"/>
859                                                                         </equal>
860                                                                 </and>
861                                                         </test>
862                                                         <let>
863                                                                 <clip pos="2" side="tl" part="nbr"/>
864                                                                 <clip pos="1" side="tl" part="nbr"/>
865                                                         </let>
866                                                 </when>
867                                         </choose>
868                                 </when>
869                         </choose>
870                         <choose>
871                                 <when>
872                                         <test>
873                                                 <!-- Which is the rule general gender? -->
874                                                 <equal>
875                                                         <clip pos="1" side="tl" part="gen"/>
876                                                         <lit-tag v="m"/>
877                                                 </equal>
878                                         </test>
879                                         <let>
880                                                 <var n="genero"/>
881                                                 <lit-tag v="m"/>
882                                         </let>
883                                 </when>
884                                 <when>
885                                         <test>
886                                                 <equal>
887                                                         <clip pos="1" side="tl" part="gen"/>
888                                                         <lit-tag v="f"/>
889                                                 </equal>
890                                         </test>
891                                         <let>
892                                                 <var n="genero"/>
893                                                 <lit-tag v="f"/>
894                                         </let>
895                                 </when>
896                                 <when>
897                                         <test>
898                                                 <equal>
899                                                         <clip pos="2" side="tl" part="gen"/>
900                                                         <lit-tag v="m"/>
901                                                 </equal>
902                                         </test>
903                                         <let>
904                                                 <var n="genero"/>
905                                                 <lit-tag v="m"/>
906                                         </let>
907                                 </when>
908                                 <when>
909                                         <test>
910                                                 <equal>
911                                                         <clip pos="2" side="tl" part="gen"/>
912                                                         <lit-tag v="f"/>
913                                                 </equal>
914                                         </test>
915                                         <let>
916                                                 <var n="genero"/>
917                                                 <lit-tag v="f"/>
918                                         </let>
919                                 </when>
920                                 <when>
921                                         <test>
922                                                 <and>
923                                                         <equal>
924                                                                 <clip pos="1" side="tl" part="gen"/>
925                                                                 <lit-tag v="mf"/>
926                                                         </equal>
927                                                         <not>
928                                                                 <equal>
929                                                                         <clip pos="1" side="sl" part="gen"/>
930                                                                         <lit-tag v="mf"/>
931                                                                 </equal>
932                                                         </not>
933                                                 </and>
934                                         </test>
935                                         <let>
936                                                 <var n="genero"/>
937                                                 <clip pos="1" side="sl" part="gen"/>
938                                         </let>
939                                 </when>
940                                 <when>
941                                         <test>
942                                                 <and>
943                                                         <equal>
944                                                                 <clip pos="2" side="tl" part="gen"/>
945                                                                 <lit-tag v="mf"/>
946                                                         </equal>
947                                                         <not>
948                                                                 <equal>
949                                                                         <clip pos="2" side="sl" part="gen"/>
950                                                                         <lit-tag v="mf"/>
951                                                                 </equal>
952                                                         </not>
953                                                 </and>
954                                         </test>
955                                         <let>
956                                                 <var n="genero"/>
957                                                 <clip pos="2" side="sl" part="gen"/>
958                                         </let>
959                                 </when>
960                                 <otherwise>
961                                         <let>
962                                                 <var n="genero"/>
963                                                 <lit-tag v="m"/>
964                                         </let>
965                                 </otherwise>
966                         </choose>
967                         <choose>
968                                 <when>
969                                         <!-- Which is the rule general number? -->
970                                         <test>
971                                                 <equal>
972                                                         <clip pos="1" side="tl" part="nbr"/>
973                                                         <lit-tag v="sg"/>
974                                                 </equal>
975                                         </test>
976                                         <let>
977                                                 <var n="numero"/>
978                                                 <lit-tag v="sg"/>
979                                         </let>
980                                 </when>
981                                 <when>
982                                         <test>
983                                                 <equal>
984                                                         <clip pos="1" side="tl" part="nbr"/>
985                                                         <lit-tag v="pl"/>
986                                                 </equal>
987                                         </test>
988                                         <let>
989                                                 <var n="numero"/>
990                                                 <lit-tag v="pl"/>
991                                         </let>
992                                 </when>
993                                 <when>
994                                         <test>
995                                                 <equal>
996                                                         <clip pos="2" side="tl" part="nbr"/>
997                                                         <lit-tag v="sg"/>
998                                                 </equal>
999                                         </test>
1000                                         <let>
1001                                                 <var n="numero"/>
1002                                                 <lit-tag v="sg"/>
1003                                         </let>
1004                                 </when>
1005                                 <when>
1006                                         <test>
1007                                                 <equal>
1008                                                         <clip pos="2" side="tl" part="nbr"/>
1009                                                         <lit-tag v="pl"/>
1010                                                 </equal>
1011                                         </test>
1012                                         <let>
1013                                                 <var n="numero"/>
1014                                                 <lit-tag v="pl"/>
1015                                         </let>
1016                                 </when>
1017                                 <when>
1018                                         <test>
1019                                                 <and>
1020                                                         <equal>
1021                                                                 <clip pos="1" side="tl" part="nbr"/>
1022                                                                 <lit-tag v="sp"/>
1023                                                         </equal>
1024                                                         <not>
1025                                                                 <equal>
1026                                                                         <clip pos="1" side="sl" part="nbr"/>
1027                                                                         <lit-tag v="sp"/>
1028                                                                 </equal>
1029                                                         </not>
1030                                                 </and>
1031                                         </test>
1032                                         <let>
1033                                                 <var n="numero"/>
1034                                                 <clip pos="1" side="sl" part="nbr"/>
1035                                         </let>
1036                                 </when>
1037                                 <when>
1038                                         <test>
1039                                                 <and>
1040                                                         <equal>
1041                                                                 <clip pos="2" side="tl" part="nbr"/>
1042                                                                 <lit-tag v="sp"/>
1043                                                         </equal>
1044                                                         <not>
1045                                                                 <equal>
1046                                                                         <clip pos="2" side="sl" part="nbr"/>
1047                                                                         <lit-tag v="sp"/>
1048                                                                 </equal>
1049                                                         </not>
1050                                                 </and>
1051                                         </test>
1052                                         <let>
1053                                                 <var n="numero"/>
1054                                                 <clip pos="2" side="sl" part="nbr"/>
1055                                         </let>
1056                                 </when>
1057                                 <otherwise>
1058                                         <let>
1059                                                 <var n="numero"/>
1060                                                 <lit-tag v="sg"/>
1061                                         </let>
1062                                 </otherwise>
1063                         </choose>
1064                         <choose>
1065                                 <!-- Determine gender and number value if they are undetermined -->
1066                                 <when>
1067                                         <test>
1068                                                 <equal>
1069                                                         <clip pos="1" side="tl" part="gen"/>
1070                                                         <lit-tag v="GD"/>
1071                                                 </equal>
1072                                         </test>
1073                                         <let>
1074                                                 <clip pos="1" side="tl" part="gen"/>
1075                                                 <var n="genero"/>
1076                                         </let>
1077                                 </when>
1078                         </choose>
1079                         <choose>
1080                                 <when>
1081                                         <test>
1082                                                 <equal>
1083                                                         <clip pos="2" side="tl" part="gen"/>
1084                                                         <lit-tag v="GD"/>
1085                                                 </equal>
1086                                         </test>
1087                                         <let>
1088                                                 <clip pos="2" side="tl" part="gen"/>
1089                                                 <var n="genero"/>
1090                                         </let>
1091                                 </when>
1092                         </choose>
1093                         <choose>
1094                                 <when>
1095                                         <test>
1096                                                 <equal>
1097                                                         <clip pos="1" side="tl" part="nbr"/>
1098                                                         <lit-tag v="ND"/>
1099                                                 </equal>
1100                                         </test>
1101                                         <let>
1102                                                 <clip pos="1" side="tl" part="nbr"/>
1103                                                 <var n="numero"/>
1104                                         </let>
1105                                 </when>
1106                         </choose>
1107                         <choose>
1108                                 <when>
1109                                         <test>
1110                                                 <equal>
1111                                                         <clip pos="2" side="tl" part="nbr"/>
1112                                                         <lit-tag v="ND"/>
1113                                                 </equal>
1114                                         </test>
1115                                         <let>
1116                                                 <clip pos="2" side="tl" part="nbr"/>
1117                                                 <var n="numero"/>
1118                                         </let>
1119                                 </when>
1120                         </choose>
1121                 </def-macro>
1122                 <def-macro n="f_concord3" npar="3">
1123                         <choose>
1124                                 <!-- Look if in source language there is concordance between first and second element -->
1125                                 <when>
1126                                         <test>
1127                                                 <and>
1128                                                         <or>
1129                                                                 <equal>
1130                                                                         <clip pos="2" side="sl" part="gen"/>
1131                                                                         <clip pos="1" side="sl" part="gen"/>
1132                                                                 </equal>
1133                                                                 <equal>
1134                                                                         <clip pos="2" side="sl" part="gen"/>
1135                                                                         <lit-tag v="mf"/>
1136                                                                 </equal>
1137                                                                 <equal>
1138                                                                         <clip pos="1" side="sl" part="gen"/>
1139                                                                         <lit-tag v="mf"/>
1140                                                                 </equal>
1141                                                         </or>
1142                                                         <or>
1143                                                                 <equal>
1144                                                                         <clip pos="2" side="sl" part="nbr"/>
1145                                                                         <clip pos="1" side="sl" part="nbr"/>
1146                                                                 </equal>
1147                                                                 <equal>
1148                                                                         <clip pos="2" side="sl" part="nbr"/>
1149                                                                         <lit-tag v="sp"/>
1150                                                                 </equal>
1151                                                                 <equal>
1152                                                                         <clip pos="1" side="sl" part="nbr"/>
1153                                                                         <lit-tag v="sp"/>
1154                                                                 </equal>
1155                                                         </or>
1156                                                 </and>
1157                                         </test>
1158                                         <let>
1159                                                 <var n="concPrimero"/>
1160                                                 <lit v="true"/>
1161                                         </let>
1162                                 </when>
1163                                 <otherwise>
1164                                         <let>
1165                                                 <var n="concPrimero"/>
1166                                                 <lit v="false"/>
1167                                         </let>
1168                                 </otherwise>
1169                         </choose>
1170                         <choose>
1171                                 <!-- Look if in source language there is concordance between second and third element -->
1172                                 <when>
1173                                         <test>
1174                                                 <and>
1175                                                         <or>
1176                                                                 <equal>
1177                                                                         <clip pos="3" side="sl" part="gen"/>
1178                                                                         <clip pos="1" side="sl" part="gen"/>
1179                                                                 </equal>
1180                                                                 <equal>
1181                                                                         <clip pos="3" side="sl" part="gen"/>
1182                                                                         <lit-tag v="mf"/>
1183                                                                 </equal>
1184                                                                 <equal>
1185                                                                         <clip pos="1" side="sl" part="gen"/>
1186                                                                         <lit-tag v="mf"/>
1187                                                                 </equal>
1188                                                         </or>
1189                                                         <or>
1190                                                                 <equal>
1191                                                                         <clip pos="3" side="sl" part="nbr"/>
1192                                                                         <clip pos="1" side="sl" part="nbr"/>
1193                                                                 </equal>
1194                                                                 <equal>
1195                                                                         <clip pos="3" side="sl" part="nbr"/>
1196                                                                         <lit-tag v="sp"/>
1197                                                                 </equal>
1198                                                                 <equal>
1199                                                                         <clip pos="1" side="sl" part="nbr"/>
1200                                                                         <lit-tag v="sp"/>
1201                                                                 </equal>
1202                                                         </or>
1203                                                 </and>
1204                                         </test>
1205                                         <let>
1206                                                 <var n="concSegundo"/>
1207                                                 <lit v="true"/>
1208                                         </let>
1209                                 </when>
1210                                 <otherwise>
1211                                         <let>
1212                                                 <var n="concSegundo"/>
1213                                                 <lit v="false"/>
1214                                         </let>
1215                                 </otherwise>
1216                         </choose>
1217                         <choose>
1218                                 <!-- Propagate the main parameter gender if it has been modified during the translation -->
1219                                 <when>
1220                                         <test>
1221                                                 <and>
1222                                                         <not>
1223                                                                 <equal>
1224                                                                         <clip pos="1" side="tl" part="gen"/>
1225                                                                         <clip pos="1" side="sl" part="gen"/>
1226                                                                 </equal>
1227                                                         </not>
1228                                                         <not>
1229                                                                 <equal>
1230                                                                         <clip pos="1" side="tl" part="gen"/>
1231                                                                         <lit-tag v="mf"/>
1232                                                                 </equal>
1233                                                         </not>
1234                                                         <not>
1235                                                                 <equal>
1236                                                                         <clip pos="1" side="tl" part="gen"/>
1237                                                                         <lit-tag v="GD"/>
1238                                                                 </equal>
1239                                                         </not>
1240                                                 </and>
1241                                         </test>
1242                                         <choose>
1243                                                 <when>
1244                                                         <test>
1245                                                                 <and>
1246                                                                         <not>
1247                                                                                 <equal>
1248                                                                                         <clip pos="2" side="tl" part="gen"/>
1249                                                                                         <lit-tag v="mf"/>
1250                                                                                 </equal>
1251                                                                         </not>
1252                                                                         <not>
1253                                                                                 <and>
1254                                                                                         <equal>
1255                                                                                                 <clip pos="2" side="sl" part="gen"/>
1256                                                                                                 <lit-tag v="mf"/>
1257                                                                                         </equal>
1258                                                                                         <not>
1259                                                                                                 <equal>
1260                                                                                                         <clip pos="2" side="tl" part="gen"/>
1261                                                                                                         <lit-tag v="GD"/>
1262                                                                                                 </equal>
1263                                                                                         </not>
1264                                                                                 </and>
1265                                                                         </not>
1266                                                                         <equal>
1267                                                                                 <var n="concPrimero"/>
1268                                                                                 <lit v="true"/>
1269                                                                         </equal>
1270                                                                 </and>
1271                                                         </test>
1272                                                         <let>
1273                                                                 <clip pos="2" side="tl" part="gen"/>
1274                                                                 <clip pos="1" side="tl" part="gen"/>
1275                                                         </let>
1276                                                 </when>
1277                                         </choose>
1278                                         <choose>
1279                                                 <when>
1280                                                         <test>
1281                                                                 <and>
1282                                                                         <not>
1283                                                                                 <equal>
1284                                                                                         <clip pos="3" side="tl" part="gen"/>
1285                                                                                         <lit-tag v="mf"/>
1286                                                                                 </equal>
1287                                                                         </not>
1288                                                                         <not>
1289                                                                                 <and>
1290                                                                                         <equal>
1291                                                                                                 <clip pos="3" side="sl" part="gen"/>
1292                                                                                                 <lit-tag v="mf"/>
1293                                                                                         </equal>
1294                                                                                         <not>
1295                                                                                                 <equal>
1296                                                                                                         <clip pos="3" side="tl" part="gen"/>
1297                                                                                                         <lit-tag v="GD"/>
1298                                                                                                 </equal>
1299                                                                                         </not>
1300                                                                                 </and>
1301                                                                         </not>
1302                                                                         <equal>
1303                                                                                 <var n="concSegundo"/>
1304                                                                                 <lit v="true"/>
1305                                                                         </equal>
1306                                                                 </and>
1307                                                         </test>
1308                                                         <let>
1309                                                                 <clip pos="3" side="tl" part="gen"/>
1310                                                                 <clip pos="1" side="tl" part="gen"/>
1311                                                         </let>
1312                                                 </when>
1313                                         </choose>
1314                                 </when>
1315                         </choose>
1316                         <choose>
1317                                 <!-- Propagate the main parameter number if it has been modified during the translation -->
1318                                 <when>
1319                                         <test>
1320                                                 <and>
1321                                                         <not>
1322                                                                 <equal>
1323                                                                         <clip pos="1" side="tl" part="nbr"/>
1324                                                                         <clip pos="1" side="sl" part="nbr"/>
1325                                                                 </equal>
1326                                                         </not>
1327                                                         <not>
1328                                                                 <equal>
1329                                                                         <clip pos="1" side="tl" part="nbr"/>
1330                                                                         <lit-tag v="sp"/>
1331                                                                 </equal>
1332                                                         </not>
1333                                                         <not>
1334                                                                 <equal>
1335                                                                         <clip pos="1" side="tl" part="nbr"/>
1336                                                                         <lit-tag v="ND"/>
1337                                                                 </equal>
1338                                                         </not>
1339                                                 </and>
1340                                         </test>
1341                                         <choose>
1342                                                 <when>
1343                                                         <test>
1344                                                                 <and>
1345                                                                         <not>
1346                                                                                 <equal>
1347                                                                                         <clip pos="2" side="tl" part="nbr"/>
1348                                                                                         <lit-tag v="sp"/>
1349                                                                                 </equal>
1350                                                                         </not>
1351                                                                         <not>
1352                                                                                 <and>
1353                                                                                         <equal>
1354                                                                                                 <clip pos="2" side="sl" part="nbr"/>
1355                                                                                                 <lit-tag v="sp"/>
1356                                                                                         </equal>
1357                                                                                         <not>
1358                                                                                                 <equal>
1359                                                                                                         <clip pos="2" side="tl" part="nbr"/>
1360                                                                                                         <lit-tag v="ND"/>
1361                                                                                                 </equal>
1362                                                                                         </not>
1363                                                                                 </and>
1364                                                                         </not>
1365                                                                         <equal>
1366                                                                                 <var n="concPrimero"/>
1367                                                                                 <lit v="true"/>
1368                                                                         </equal>
1369                                                                 </and>
1370                                                         </test>
1371                                                         <let>
1372                                                                 <clip pos="2" side="tl" part="nbr"/>
1373                                                                 <clip pos="1" side="tl" part="nbr"/>
1374                                                         </let>
1375                                                 </when>
1376                                         </choose>
1377                                         <choose>
1378                                                 <when>
1379                                                         <test>
1380                                                                 <and>
1381                                                                         <not>
1382                                                                                 <equal>
1383                                                                                         <clip pos="3" side="tl" part="nbr"/>
1384                                                                                         <lit-tag v="sp"/>
1385                                                                                 </equal>
1386                                                                         </not>
1387                                                                         <not>
1388                                                                                 <and>
1389                                                                                         <equal>
1390                                                                                                 <clip pos="3" side="sl" part="nbr"/>
1391                                                                                                 <lit-tag v="sp"/>
1392                                                                                         </equal>
1393                                                                                         <not>
1394                                                                                                 <equal>
1395                                                                                                         <clip pos="3" side="tl" part="nbr"/>
1396                                                                                                         <lit-tag v="ND"/>
1397                                                                                                 </equal>
1398                                                                                         </not>
1399                                                                                 </and>
1400                                                                         </not>
1401                                                                         <equal>
1402                                                                                 <var n="concSegundo"/>
1403                                                                                 <lit v="true"/>
1404                                                                         </equal>
1405                                                                 </and>
1406                                                         </test>
1407                                                         <let>
1408                                                                 <clip pos="3" side="tl" part="nbr"/>
1409                                                                 <clip pos="1" side="tl" part="nbr"/>
1410                                                         </let>
1411                                                 </when>
1412                                         </choose>
1413                                 </when>
1414                         </choose>
1415                         <choose>
1416                                 <!-- Determine the rule general gender. Priority order: main, second and third element -->
1417                                 <when>
1418                                         <test>
1419                                                 <equal>
1420                                                         <clip pos="1" side="tl" part="gen"/>
1421                                                         <lit-tag v="m"/>
1422                                                 </equal>
1423                                         </test>
1424                                         <let>
1425                                                 <var n="genero"/>
1426                                                 <lit-tag v="m"/>
1427                                         </let>
1428                                 </when>
1429                                 <when>
1430                                         <test>
1431                                                 <equal>
1432                                                         <clip pos="1" side="tl" part="gen"/>
1433                                                         <lit-tag v="f"/>
1434                                                 </equal>
1435                                         </test>
1436                                         <let>
1437                                                 <var n="genero"/>
1438                                                 <lit-tag v="f"/>
1439                                         </let>
1440                                 </when>
1441                                 <when>
1442                                         <test>
1443                                                 <equal>
1444                                                         <clip pos="2" side="tl" part="gen"/>
1445                                                         <lit-tag v="m"/>
1446                                                 </equal>
1447                                         </test>
1448                                         <let>
1449                                                 <var n="genero"/>
1450                                                 <lit-tag v="m"/>
1451                                         </let>
1452                                 </when>
1453                                 <when>
1454                                         <test>
1455                                                 <equal>
1456                                                         <clip pos="2" side="tl" part="gen"/>
1457                                                         <lit-tag v="f"/>
1458                                                 </equal>
1459                                         </test>
1460                                         <let>
1461                                                 <var n="genero"/>
1462                                                 <lit-tag v="f"/>
1463                                         </let>
1464                                 </when>
1465                                 <when>
1466                                         <test>
1467                                                 <equal>
1468                                                         <clip pos="3" side="tl" part="gen"/>
1469                                                         <lit-tag v="m"/>
1470                                                 </equal>
1471                                         </test>
1472                                         <let>
1473                                                 <var n="genero"/>
1474                                                 <lit-tag v="m"/>
1475                                         </let>
1476                                 </when>
1477                                 <when>
1478                                         <test>
1479                                                 <equal>
1480                                                         <clip pos="3" side="tl" part="gen"/>
1481                                                         <lit-tag v="f"/>
1482                                                 </equal>
1483                                         </test>
1484                                         <let>
1485                                                 <var n="genero"/>
1486                                                 <lit-tag v="f"/>
1487                                         </let>
1488                                 </when>
1489                                 <when>
1490                                         <test>
1491                                                 <and>
1492                                                         <equal>
1493                                                                 <clip pos="1" side="tl" part="gen"/>
1494                                                                 <lit-tag v="mf"/>
1495                                                         </equal>
1496                                                         <not>
1497                                                                 <equal>
1498                                                                         <clip pos="1" side="sl" part="gen"/>
1499                                                                         <lit-tag v="mf"/>
1500                                                                 </equal>
1501                                                         </not>
1502                                                 </and>
1503                                         </test>
1504                                         <let>
1505                                                 <var n="genero"/>
1506                                                 <clip pos="1" side="sl" part="gen"/>
1507                                         </let>
1508                                 </when>
1509                                 <when>
1510                                         <test>
1511                                                 <and>
1512                                                         <equal>
1513                                                                 <clip pos="2" side="tl" part="gen"/>
1514                                                                 <lit-tag v="mf"/>
1515                                                         </equal>
1516                                                         <not>
1517                                                                 <equal>
1518                                                                         <clip pos="2" side="sl" part="gen"/>
1519                                                                         <lit-tag v="mf"/>
1520                                                                 </equal>
1521                                                         </not>
1522                                                 </and>
1523                                         </test>
1524                                         <let>
1525                                                 <var n="genero"/>
1526                                                 <clip pos="2" side="sl" part="gen"/>
1527                                         </let>
1528                                 </when>
1529                                 <when>
1530                                         <test>
1531                                                 <and>
1532                                                         <equal>
1533                                                                 <clip pos="3" side="tl" part="gen"/>
1534                                                                 <lit-tag v="mf"/>
1535                                                         </equal>
1536                                                         <not>
1537                                                                 <equal>
1538                                                                         <clip pos="3" side="sl" part="gen"/>
1539                                                                         <lit-tag v="mf"/>
1540                                                                 </equal>
1541                                                         </not>
1542                                                 </and>
1543                                         </test>
1544                                         <let>
1545                                                 <var n="genero"/>
1546                                                 <clip pos="3" side="sl" part="gen"/>
1547                                         </let>
1548                                 </when>
1549                                 <otherwise>
1550                                         <let>
1551                                                 <var n="genero"/>
1552                                                 <lit-tag v="m"/>
1553                                         </let>
1554                                 </otherwise>
1555                         </choose>
1556                         <choose>
1557                                 <!-- Determine the rule general number. Priority order: main, second and third element -->
1558                                 <when>
1559                                         <test>
1560                                                 <equal>
1561                                                         <clip pos="1" side="tl" part="nbr"/>
1562                                                         <lit-tag v="sg"/>
1563                                                 </equal>
1564                                         </test>
1565                                         <let>
1566                                                 <var n="numero"/>
1567                                                 <lit-tag v="sg"/>
1568                                         </let>
1569                                 </when>
1570                                 <when>
1571                                         <test>
1572                                                 <equal>
1573                                                         <clip pos="1" side="tl" part="nbr"/>
1574                                                         <lit-tag v="pl"/>
1575                                                 </equal>
1576                                         </test>
1577                                         <let>
1578                                                 <var n="numero"/>
1579                                                 <lit-tag v="pl"/>
1580                                         </let>
1581                                 </when>
1582                                 <when>
1583                                         <test>
1584                                                 <equal>
1585                                                         <clip pos="2" side="tl" part="nbr"/>
1586                                                         <lit-tag v="sg"/>
1587                                                 </equal>
1588                                         </test>
1589                                         <let>
1590                                                 <var n="numero"/>
1591                                                 <lit-tag v="sg"/>
1592                                         </let>
1593                                 </when>
1594                                 <when>
1595                                         <test>
1596                                                 <equal>
1597                                                         <clip pos="2" side="tl" part="nbr"/>
1598                                                         <lit-tag v="pl"/>
1599                                                 </equal>
1600                                         </test>
1601                                         <let>
1602                                                 <var n="numero"/>
1603                                                 <lit-tag v="pl"/>
1604                                         </let>
1605                                 </when>
1606                                 <when>
1607                                         <test>
1608                                                 <equal>
1609                                                         <clip pos="3" side="tl" part="nbr"/>
1610                                                         <lit-tag v="sg"/>
1611                                                 </equal>
1612                                         </test>
1613                                         <let>
1614                                                 <var n="numero"/>
1615                                                 <lit-tag v="sg"/>
1616                                         </let>
1617                                 </when>
1618                                 <when>
1619                                         <test>
1620                                                 <equal>
1621                                                         <clip pos="3" side="tl" part="nbr"/>
1622                                                         <lit-tag v="pl"/>
1623                                                 </equal>
1624                                         </test>
1625                                         <let>
1626                                                 <var n="numero"/>
1627                                                 <lit-tag v="pl"/>
1628                                         </let>
1629                                 </when>
1630                                 <when>
1631                                         <test>
1632                                                 <and>
1633                                                         <equal>
1634                                                                 <clip pos="1" side="tl" part="nbr"/>
1635                                                                 <lit-tag v="sp"/>
1636                                                         </equal>
1637                                                         <not>
1638                                                                 <equal>
1639                                                                         <clip pos="1" side="sl" part="nbr"/>
1640                                                                         <lit-tag v="sp"/>
1641                                                                 </equal>
1642                                                         </not>
1643                                                 </and>
1644                                         </test>
1645                                         <let>
1646                                                 <var n="numero"/>
1647                                                 <clip pos="1" side="sl" part="nbr"/>
1648                                         </let>
1649                                 </when>
1650                                 <when>
1651                                         <test>
1652                                                 <and>
1653                                                         <equal>
1654                                                                 <clip pos="2" side="tl" part="nbr"/>
1655                                                                 <lit-tag v="sp"/>
1656                                                         </equal>
1657                                                         <not>
1658                                                                 <equal>
1659                                                                         <clip pos="2" side="sl" part="nbr"/>
1660                                                                         <lit-tag v="sp"/>
1661                                                                 </equal>
1662                                                         </not>
1663                                                 </and>
1664                                         </test>
1665                                         <let>
1666                                                 <var n="numero"/>
1667                                                 <clip pos="2" side="sl" part="nbr"/>
1668                                         </let>
1669                                 </when>
1670                                 <when>
1671                                         <test>
1672                                                 <and>
1673                                                         <equal>
1674                                                                 <clip pos="3" side="tl" part="nbr"/>
1675                                                                 <lit-tag v="sp"/>
1676                                                         </equal>
1677                                                         <not>
1678                                                                 <equal>
1679                                                                         <clip pos="3" side="sl" part="nbr"/>
1680                                                                         <lit-tag v="sp"/>
1681                                                                 </equal>
1682                                                         </not>
1683                                                 </and>
1684                                         </test>
1685                                         <let>
1686                                                 <var n="numero"/>
1687                                                 <clip pos="3" side="sl" part="nbr"/>
1688                                         </let>
1689                                 </when>
1690                                 <otherwise>
1691                                         <let>
1692                                                 <var n="numero"/>
1693                                                 <lit-tag v="sg"/>
1694                                         </let>
1695                                 </otherwise>
1696                         </choose>
1697                         <choose>
1698                                 <!-- Assign values to GD and ND -->
1699                                 <when>
1700                                         <test>
1701                                                 <equal>
1702                                                         <clip pos="1" side="tl" part="gen"/>
1703                                                         <lit-tag v="GD"/>
1704                                                 </equal>
1705                                         </test>
1706                                         <let>
1707                                                 <clip pos="1" side="tl" part="gen"/>
1708                                                 <var n="genero"/>
1709                                         </let>
1710                                 </when>
1711                         </choose>
1712                         <choose>
1713                                 <when>
1714                                         <test>
1715                                                 <equal>
1716                                                         <clip pos="2" side="tl" part="gen"/>
1717                                                         <lit-tag v="GD"/>
1718                                                 </equal>
1719                                         </test>
1720                                         <let>
1721                                                 <clip pos="2" side="tl" part="gen"/>
1722                                                 <var n="genero"/>
1723                                         </let>
1724                                 </when>
1725                         </choose>
1726                         <choose>
1727                                 <when>
1728                                         <test>
1729                                                 <equal>
1730                                                         <clip pos="3" side="tl" part="gen"/>
1731                                                         <lit-tag v="GD"/>
1732                                                 </equal>
1733                                         </test>
1734                                         <let>
1735                                                 <clip pos="3" side="tl" part="gen"/>
1736                                                 <var n="genero"/>
1737                                         </let>
1738                                 </when>
1739                         </choose>
1740                         <choose>
1741                                 <when>
1742                                         <test>
1743                                                 <equal>
1744                                                         <clip pos="1" side="tl" part="nbr"/>
1745                                                         <lit-tag v="ND"/>
1746                                                 </equal>
1747                                         </test>
1748                                         <let>
1749                                                 <clip pos="1" side="tl" part="nbr"/>
1750                                                 <var n="numero"/>
1751                                         </let>
1752                                 </when>
1753                         </choose>
1754                         <choose>
1755                                 <when>
1756                                         <test>
1757                                                 <equal>
1758                                                         <clip pos="2" side="tl" part="nbr"/>
1759                                                         <lit-tag v="ND"/>
1760                                                 </equal>
1761                                         </test>
1762                                         <let>
1763                                                 <clip pos="2" side="tl" part="nbr"/>
1764                                                 <var n="numero"/>
1765                                         </let>
1766                                 </when>
1767                         </choose>
1768                         <choose>
1769                                 <when>
1770                                         <test>
1771                                                 <equal>
1772                                                         <clip pos="3" side="tl" part="nbr"/>
1773                                                         <lit-tag v="ND"/>
1774                                                 </equal>
1775                                         </test>
1776                                         <let>
1777                                                 <clip pos="3" side="tl" part="nbr"/>
1778                                                 <var n="numero"/>
1779                                         </let>
1780                                 </when>
1781                         </choose>
1782                 </def-macro>
1783                 <def-macro n="f_concord4" npar="4">
1784                         <choose>
1785                                 <when>
1786                                         <test>
1787                                                 <and>
1788                                                         <or>
1789                                                                 <equal>
1790                                                                         <clip pos="2" side="sl" part="gen"/>
1791                                                                         <clip pos="1" side="sl" part="gen"/>
1792                                                                 </equal>
1793                                                                 <equal>
1794                                                                         <clip pos="2" side="sl" part="gen"/>
1795                                                                         <lit-tag v="mf"/>
1796                                                                 </equal>
1797                                                                 <equal>
1798                                                                         <clip pos="1" side="sl" part="gen"/>
1799                                                                         <lit-tag v="mf"/>
1800                                                                 </equal>
1801                                                         </or>
1802                                                         <or>
1803                                                                 <equal>
1804                                                                         <clip pos="2" side="sl" part="nbr"/>
1805                                                                         <clip pos="1" side="sl" part="nbr"/>
1806                                                                 </equal>
1807                                                                 <equal>
1808                                                                         <clip pos="2" side="sl" part="nbr"/>
1809                                                                         <lit-tag v="sp"/>
1810                                                                 </equal>
1811                                                                 <equal>
1812                                                                         <clip pos="1" side="sl" part="nbr"/>
1813                                                                         <lit-tag v="sp"/>
1814                                                                 </equal>
1815                                                         </or>
1816                                                 </and>
1817                                         </test>
1818                                         <let>
1819                                                 <var n="concPrimero"/>
1820                                                 <lit v="true"/>
1821                                         </let>
1822                                 </when>
1823                                 <otherwise>
1824                                         <let>
1825                                                 <var n="concPrimero"/>
1826                                                 <lit v="false"/>
1827                                         </let>
1828                                 </otherwise>
1829                         </choose>
1830                         <choose>
1831                                 <when>
1832                                         <test>
1833                                                 <and>
1834                                                         <or>
1835                                                                 <equal>
1836                                                                         <clip pos="3" side="sl" part="gen"/>
1837                                                                         <clip pos="1" side="sl" part="gen"/>
1838                                                                 </equal>
1839                                                                 <equal>
1840                                                                         <clip pos="3" side="sl" part="gen"/>
1841                                                                         <lit-tag v="mf"/>
1842                                                                 </equal>
1843                                                                 <equal>
1844                                                                         <clip pos="1" side="sl" part="gen"/>
1845                                                                         <lit-tag v="mf"/>
1846                                                                 </equal>
1847                                                         </or>
1848                                                         <or>
1849                                                                 <equal>
1850                                                                         <clip pos="3" side="sl" part="nbr"/>
1851                                                                         <clip pos="1" side="sl" part="nbr"/>
1852                                                                 </equal>
1853                                                                 <equal>
1854                                                                         <clip pos="3" side="sl" part="nbr"/>
1855                                                                         <lit-tag v="sp"/>
1856                                                                 </equal>
1857                                                                 <equal>
1858                                                                         <clip pos="1" side="sl" part="nbr"/>
1859                                                                         <lit-tag v="sp"/>
1860                                                                 </equal>
1861                                                         </or>
1862                                                 </and>
1863                                         </test>
1864                                         <let>
1865                                                 <var n="concSegundo"/>
1866                                                 <lit v="true"/>
1867                                         </let>
1868                                 </when>
1869                                 <otherwise>
1870                                         <let>
1871                                                 <var n="concSegundo"/>
1872                                                 <lit v="false"/>
1873                                         </let>
1874                                 </otherwise>
1875                         </choose>
1876                         <choose>
1877                                 <when>
1878                                         <test>
1879                                                 <and>
1880                                                         <or>
1881                                                                 <equal>
1882                                                                         <clip pos="4" side="sl" part="gen"/>
1883                                                                         <clip pos="1" side="sl" part="gen"/>
1884                                                                 </equal>
1885                                                                 <equal>
1886                                                                         <clip pos="4" side="sl" part="gen"/>
1887                                                                         <lit-tag v="mf"/>
1888                                                                 </equal>
1889                                                                 <equal>
1890                                                                         <clip pos="1" side="sl" part="gen"/>
1891                                                                         <lit-tag v="mf"/>
1892                                                                 </equal>
1893                                                         </or>
1894                                                         <or>
1895                                                                 <equal>
1896                                                                         <clip pos="4" side="sl" part="nbr"/>
1897                                                                         <clip pos="1" side="sl" part="nbr"/>
1898                                                                 </equal>
1899                                                                 <equal>
1900                                                                         <clip pos="4" side="sl" part="nbr"/>
1901                                                                         <lit-tag v="sp"/>
1902                                                                 </equal>
1903                                                                 <equal>
1904                                                                         <clip pos="1" side="sl" part="nbr"/>
1905                                                                         <lit-tag v="sp"/>
1906                                                                 </equal>
1907                                                         </or>
1908                                                 </and>
1909                                         </test>
1910                                         <let>
1911                                                 <var n="concTercero"/>
1912                                                 <lit v="true"/>
1913                                         </let>
1914                                 </when>
1915                                 <otherwise>
1916                                         <let>
1917                                                 <var n="concTercero"/>
1918                                                 <lit v="false"/>
1919                                         </let>
1920                                 </otherwise>
1921                         </choose>
1922                         <choose>
1923                                 <when>
1924                                         <test>
1925                                                 <and>
1926                                                         <not>
1927                                                                 <equal>
1928                                                                         <clip pos="1" side="tl" part="gen"/>
1929                                                                         <clip pos="1" side="sl" part="gen"/>
1930                                                                 </equal>
1931                                                         </not>
1932                                                         <not>
1933                                                                 <equal>
1934                                                                         <clip pos="1" side="tl" part="gen"/>
1935                                                                         <lit-tag v="mf"/>
1936                                                                 </equal>
1937                                                         </not>
1938                                                         <not>
1939                                                                 <equal>
1940                                                                         <clip pos="1" side="tl" part="gen"/>
1941                                                                         <lit-tag v="GD"/>
1942                                                                 </equal>
1943                                                         </not>
1944                                                 </and>
1945                                         </test>
1946                                         <choose>
1947                                                 <when>
1948                                                         <test>
1949                                                                 <and>
1950                                                                         <not>
1951                                                                                 <equal>
1952                                                                                         <clip pos="2" side="tl" part="gen"/>
1953                                                                                         <lit-tag v="mf"/>
1954                                                                                 </equal>
1955                                                                         </not>
1956                                                                         <not>
1957                                                                                 <and>
1958                                                                                         <equal>
1959                                                                                                 <clip pos="2" side="sl" part="gen"/>
1960                                                                                                 <lit-tag v="mf"/>
1961                                                                                         </equal>
1962                                                                                         <not>
1963                                                                                                 <equal>
1964                                                                                                         <clip pos="2" side="tl" part="gen"/>
1965                                                                                                         <lit-tag v="GD"/>
1966                                                                                                 </equal>
1967                                                                                         </not>
1968                                                                                 </and>
1969                                                                         </not>
1970                                                                         <equal>
1971                                                                                 <var n="concPrimero"/>
1972                                                                                 <lit v="true"/>
1973                                                                         </equal>
1974                                                                 </and>
1975                                                         </test>
1976                                                         <let>
1977                                                                 <clip pos="2" side="tl" part="gen"/>
1978                                                                 <clip pos="1" side="tl" part="gen"/>
1979                                                         </let>
1980                                                 </when>
1981                                         </choose>
1982                                         <choose>
1983                                                 <when>
1984                                                         <test>
1985                                                                 <and>
1986                                                                         <not>
1987                                                                                 <equal>
1988                                                                                         <clip pos="3" side="tl" part="gen"/>
1989                                                                                         <lit-tag v="mf"/>
1990                                                                                 </equal>
1991                                                                         </not>
1992                                                                         <not>
1993                                                                                 <and>
1994                                                                                         <equal>
1995                                                                                                 <clip pos="3" side="sl" part="gen"/>
1996                                                                                                 <lit-tag v="mf"/>
1997                                                                                         </equal>
1998                                                                                         <not>
1999                                                                                                 <equal>
2000                                                                                                         <clip pos="3" side="tl" part="gen"/>
2001                                                                                                         <lit-tag v="GD"/>
2002                                                                                                 </equal>
2003                                                                                         </not>
2004                                                                                 </and>
2005                                                                         </not>
2006                                                                         <equal>
2007                                                                                 <var n="concSegundo"/>
2008                                                                                 <lit v="true"/>
2009                                                                         </equal>
2010                                                                 </and>
2011                                                         </test>
2012                                                         <let>
2013                                                                 <clip pos="3" side="tl" part="gen"/>
2014                                                                 <clip pos="1" side="tl" part="gen"/>
2015                                                         </let>
2016                                                 </when>
2017                                         </choose>
2018                                         <choose>
2019                                                 <when>
2020                                                         <test>
2021                                                                 <and>
2022                                                                         <not>
2023                                                                                 <equal>
2024                                                                                         <clip pos="4" side="tl" part="gen"/>
2025                                                                                         <lit-tag v="mf"/>
2026                                                                                 </equal>
2027                                                                         </not>
2028                                                                         <not>
2029                                                                                 <and>
2030                                                                                         <equal>
2031                                                                                                 <clip pos="4" side="sl" part="gen"/>
2032                                                                                                 <lit-tag v="mf"/>
2033                                                                                         </equal>
2034                                                                                         <not>
2035                                                                                                 <equal>
2036                                                                                                         <clip pos="4" side="tl" part="gen"/>
2037                                                                                                         <lit-tag v="GD"/>
2038                                                                                                 </equal>
2039                                                                                         </not>
2040                                                                                 </and>
2041                                                                         </not>
2042                                                                         <equal>
2043                                                                                 <var n="concTercero"/>
2044                                                                                 <lit v="true"/>
2045                                                                         </equal>
2046                                                                 </and>
2047                                                         </test>
2048                                                         <let>
2049                                                                 <clip pos="4" side="tl" part="gen"/>
2050                                                                 <clip pos="1" side="tl" part="gen"/>
2051                                                         </let>
2052                                                 </when>
2053                                         </choose>
2054                                 </when>
2055                         </choose>
2056                         <choose>
2057                                 <when>
2058                                         <test>
2059                                                 <and>
2060                                                         <not>
2061                                                                 <equal>
2062                                                                         <clip pos="1" side="tl" part="nbr"/>
2063                                                                         <clip pos="1" side="sl" part="nbr"/>
2064                                                                 </equal>
2065                                                         </not>
2066                                                         <not>
2067                                                                 <equal>
2068                                                                         <clip pos="1" side="tl" part="nbr"/>
2069                                                                         <lit-tag v="sp"/>
2070                                                                 </equal>
2071                                                         </not>
2072                                                         <not>
2073                                                                 <equal>
2074                                                                         <clip pos="1" side="tl" part="nbr"/>
2075                                                                         <lit-tag v="ND"/>
2076                                                                 </equal>
2077                                                         </not>
2078                                                 </and>
2079                                         </test>
2080                                         <choose>
2081                                                 <when>
2082                                                         <test>
2083                                                                 <and>
2084                                                                         <not>
2085                                                                                 <equal>
2086                                                                                         <clip pos="2" side="tl" part="nbr"/>
2087                                                                                         <lit-tag v="sp"/>
2088                                                                                 </equal>
2089                                                                         </not>
2090                                                                         <not>
2091                                                                                 <and>
2092                                                                                         <equal>
2093                                                                                                 <clip pos="2" side="sl" part="nbr"/>
2094                                                                                                 <lit-tag v="sp"/>
2095                                                                                         </equal>
2096                                                                                         <not>
2097                                                                                                 <equal>
2098                                                                                                         <clip pos="2" side="tl" part="nbr"/>
2099                                                                                                         <lit-tag v="ND"/>
2100                                                                                                 </equal>
2101                                                                                         </not>
2102                                                                                 </and>
2103                                                                         </not>
2104                                                                         <equal>
2105                                                                                 <var n="concPrimero"/>
2106                                                                                 <lit v="true"/>
2107                                                                         </equal>
2108                                                                 </and>
2109                                                         </test>
2110                                                         <let>
2111                                                                 <clip pos="2" side="tl" part="nbr"/>
2112                                                                 <clip pos="1" side="tl" part="nbr"/>
2113                                                         </let>
2114                                                 </when>
2115                                         </choose>
2116                                         <choose>
2117                                                 <when>
2118                                                         <test>
2119                                                                 <and>
2120                                                                         <not>
2121                                                                                 <equal>
2122                                                                                         <clip pos="3" side="tl" part="nbr"/>
2123                                                                                         <lit-tag v="sp"/>
2124                                                                                 </equal>
2125                                                                         </not>
2126                                                                         <not>
2127                                                                                 <and>
2128                                                                                         <equal>
2129                                                                                                 <clip pos="3" side="sl" part="nbr"/>
2130                                                                                                 <lit-tag v="sp"/>
2131                                                                                         </equal>
2132                                                                                         <not>
2133                                                                                                 <equal>
2134                                                                                                         <clip pos="3" side="tl" part="nbr"/>
2135                                                                                                         <lit-tag v="ND"/>
2136                                                                                                 </equal>
2137                                                                                         </not>
2138                                                                                 </and>
2139                                                                         </not>
2140                                                                         <equal>
2141                                                                                 <var n="concSegundo"/>
2142                                                                                 <lit v="true"/>
2143                                                                         </equal>
2144                                                                 </and>
2145                                                         </test>
2146                                                         <let>
2147                                                                 <clip pos="3" side="tl" part="nbr"/>
2148                                                                 <clip pos="1" side="tl" part="nbr"/>
2149                                                         </let>
2150                                                 </when>
2151                                         </choose>
2152                                         <choose>
2153                                                 <when>
2154                                                         <test>
2155                                                                 <and>
2156                                                                         <not>
2157                                                                                 <equal>
2158                                                                                         <clip pos="4" side="tl" part="nbr"/>
2159                                                                                         <lit-tag v="sp"/>
2160                                                                                 </equal>
2161                                                                         </not>
2162                                                                         <not>
2163                                                                                 <and>
2164                                                                                         <equal>
2165                                                                                                 <clip pos="4" side="sl" part="nbr"/>
2166                                                                                                 <lit-tag v="sp"/>
2167                                                                                         </equal>
2168                                                                                         <not>
2169                                                                                                 <equal>
2170                                                                                                         <clip pos="4" side="tl" part="nbr"/>
2171                                                                                                         <lit-tag v="ND"/>
2172                                                                                                 </equal>
2173                                                                                         </not>
2174                                                                                 </and>
2175                                                                         </not>
2176                                                                         <equal>
2177                                                                                 <var n="concTercero"/>
2178                                                                                 <lit v="true"/>
2179                                                                         </equal>
2180                                                                 </and>
2181                                                         </test>
2182                                                         <let>
2183                                                                 <clip pos="4" side="tl" part="nbr"/>
2184                                                                 <clip pos="1" side="tl" part="nbr"/>
2185                                                         </let>
2186                                                 </when>
2187                                         </choose>
2188                                 </when>
2189                         </choose>
2190                         <choose>
2191                                 <when>
2192                                         <test>
2193                                                 <equal>
2194                                                         <clip pos="1" side="tl" part="gen"/>
2195                                                         <lit-tag v="m"/>
2196                                                 </equal>
2197                                         </test>
2198                                         <let>
2199                                                 <var n="genero"/>
2200                                                 <lit-tag v="m"/>
2201                                         </let>
2202                                 </when>
2203                                 <when>
2204                                         <test>
2205                                                 <equal>
2206                                                         <clip pos="1" side="tl" part="gen"/>
2207                                                         <lit-tag v="f"/>
2208                                                 </equal>
2209                                         </test>
2210                                         <let>
2211                                                 <var n="genero"/>
2212                                                 <lit-tag v="f"/>
2213                                         </let>
2214                                 </when>
2215                                 <when>
2216                                         <test>
2217                                                 <equal>
2218                                                         <clip pos="2" side="tl" part="gen"/>
2219                                                         <lit-tag v="m"/>
2220                                                 </equal>
2221                                         </test>
2222                                         <let>
2223                                                 <var n="genero"/>
2224                                                 <lit-tag v="m"/>
2225                                         </let>
2226                                 </when>
2227                                 <when>
2228                                         <test>
2229                                                 <equal>
2230                                                         <clip pos="2" side="tl" part="gen"/>
2231                                                         <lit-tag v="f"/>
2232                                                 </equal>
2233                                         </test>
2234                                         <let>
2235                                                 <var n="genero"/>
2236                                                 <lit-tag v="f"/>
2237                                         </let>
2238                                 </when>
2239                                 <when>
2240                                         <test>
2241                                                 <equal>
2242                                                         <clip pos="3" side="tl" part="gen"/>
2243                                                         <lit-tag v="m"/>
2244                                                 </equal>
2245                                         </test>
2246                                         <let>
2247                                                 <var n="genero"/>
2248                                                 <lit-tag v="m"/>
2249                                         </let>
2250                                 </when>
2251                                 <when>
2252                                         <test>
2253                                                 <equal>
2254                                                         <clip pos="3" side="tl" part="gen"/>
2255                                                         <lit-tag v="f"/>
2256                                                 </equal>
2257                                         </test>
2258                                         <let>
2259                                                 <var n="genero"/>
2260                                                 <lit-tag v="f"/>
2261                                         </let>
2262                                 </when>
2263                                 <when>
2264                                         <test>
2265                                                 <equal>
2266                                                         <clip pos="4" side="tl" part="gen"/>
2267                                                         <lit-tag v="m"/>
2268                                                 </equal>
2269                                         </test>
2270                                         <let>
2271                                                 <var n="genero"/>
2272                                                 <lit-tag v="m"/>
2273                                         </let>
2274                                 </when>
2275                                 <when>
2276                                         <test>
2277                                                 <equal>
2278                                                         <clip pos="4" side="tl" part="gen"/>
2279                                                         <lit-tag v="f"/>
2280                                                 </equal>
2281                                         </test>
2282                                         <let>
2283                                                 <var n="genero"/>
2284                                                 <lit-tag v="f"/>
2285                                         </let>
2286                                 </when>
2287                                 <otherwise>
2288                                         <let>
2289                                                 <var n="genero"/>
2290                                                 <lit-tag v="m"/>
2291                                         </let>
2292                                 </otherwise>
2293                         </choose>
2294                         <choose>
2295                                 <when>
2296                                         <test>
2297                                                 <equal>
2298                                                         <clip pos="1" side="tl" part="nbr"/>
2299                                                         <lit-tag v="sg"/>
2300                                                 </equal>
2301                                         </test>
2302                                         <let>
2303                                                 <var n="numero"/>
2304                                                 <lit-tag v="sg"/>
2305                                         </let>
2306                                 </when>
2307                                 <when>
2308                                         <test>
2309                                                 <equal>
2310                                                         <clip pos="1" side="tl" part="nbr"/>
2311                                                         <lit-tag v="pl"/>
2312                                                 </equal>
2313                                         </test>
2314                                         <let>
2315                                                 <var n="numero"/>
2316                                                 <lit-tag v="pl"/>
2317                                         </let>
2318                                 </when>
2319                                 <when>
2320                                         <test>
2321                                                 <equal>
2322                                                         <clip pos="2" side="tl" part="nbr"/>
2323                                                         <lit-tag v="sg"/>
2324                                                 </equal>
2325                                         </test>
2326                                         <let>
2327                                                 <var n="numero"/>
2328                                                 <lit-tag v="sg"/>
2329                                         </let>
2330                                 </when>
2331                                 <when>
2332                                         <test>
2333                                                 <equal>
2334                                                         <clip pos="2" side="tl" part="nbr"/>
2335                                                         <lit-tag v="pl"/>
2336                                                 </equal>
2337                                         </test>
2338                                         <let>
2339                                                 <var n="numero"/>
2340                                                 <lit-tag v="pl"/>
2341                                         </let>
2342                                 </when>
2343                                 <when>
2344                                         <test>
2345                                                 <equal>
2346                                                         <clip pos="3" side="tl" part="nbr"/>
2347                                                         <lit-tag v="sg"/>
2348                                                 </equal>
2349                                         </test>
2350                                         <let>
2351                                                 <var n="numero"/>
2352                                                 <lit-tag v="sg"/>
2353                                         </let>
2354                                 </when>
2355                                 <when>
2356                                         <test>
2357                                                 <equal>
2358                                                         <clip pos="3" side="tl" part="nbr"/>
2359                                                         <lit-tag v="pl"/>
2360                                                 </equal>
2361                                         </test>
2362                                         <let>
2363                                                 <var n="numero"/>
2364                                                 <lit-tag v="pl"/>
2365                                         </let>
2366                                 </when>
2367                                 <when>
2368                                         <test>
2369                                                 <equal>
2370                                                         <clip pos="4" side="tl" part="nbr"/>
2371                                                         <lit-tag v="sg"/>
2372                                                 </equal>
2373                                         </test>
2374                                         <let>
2375                                                 <var n="numero"/>
2376                                                 <lit-tag v="sg"/>
2377                                         </let>
2378                                 </when>
2379                                 <when>
2380                                         <test>
2381                                                 <equal>
2382                                                         <clip pos="4" side="tl" part="nbr"/>
2383                                                         <lit-tag v="pl"/>
2384                                                 </equal>
2385                                         </test>
2386                                         <let>
2387                                                 <var n="numero"/>
2388                                                 <lit-tag v="pl"/>
2389                                         </let>
2390                                 </when>
2391                                 <otherwise>
2392                                         <let>
2393                                                 <var n="numero"/>
2394                                                 <lit-tag v="sg"/>
2395                                         </let>
2396                                 </otherwise>
2397                         </choose>
2398                         <choose>
2399                                 <when>
2400                                         <test>
2401                                                 <equal>
2402                                                         <clip pos="1" side="tl" part="gen"/>
2403                                                         <lit-tag v="GD"/>
2404                                                 </equal>
2405                                         </test>
2406                                         <let>
2407                                                 <clip pos="1" side="tl" part="gen"/>
2408                                                 <var n="genero"/>
2409                                         </let>
2410                                 </when>
2411                         </choose>
2412                         <choose>
2413                                 <when>
2414                                         <test>
2415                                                 <equal>
2416                                                         <clip pos="2" side="tl" part="gen"/>
2417                                                         <lit-tag v="GD"/>
2418                                                 </equal>
2419                                         </test>
2420                                         <let>
2421                                                 <clip pos="2" side="tl" part="gen"/>
2422                                                 <var n="genero"/>
2423                                         </let>
2424                                 </when>
2425                         </choose>
2426                         <choose>
2427                                 <when>
2428                                         <test>
2429                                                 <equal>
2430                                                         <clip pos="3" side="tl" part="gen"/>
2431                                                         <lit-tag v="GD"/>
2432                                                 </equal>
2433                                         </test>
2434                                         <let>
2435                                                 <clip pos="3" side="tl" part="gen"/>
2436                                                 <var n="genero"/>
2437                                         </let>
2438                                 </when>
2439                         </choose>
2440                         <choose>
2441                                 <when>
2442                                         <test>
2443                                                 <equal>
2444                                                         <clip pos="4" side="tl" part="gen"/>
2445                                                         <lit-tag v="GD"/>
2446                                                 </equal>
2447                                         </test>
2448                                         <let>
2449                                                 <clip pos="4" side="tl" part="gen"/>
2450                                                 <var n="genero"/>
2451                                         </let>
2452                                 </when>
2453                         </choose>
2454                         <choose>
2455                                 <when>
2456                                         <test>
2457                                                 <equal>
2458                                                         <clip pos="1" side="tl" part="nbr"/>
2459                                                         <lit-tag v="ND"/>
2460                                                 </equal>
2461                                         </test>
2462                                         <let>
2463                                                 <clip pos="1" side="tl" part="nbr"/>
2464                                                 <var n="numero"/>
2465                                         </let>
2466                                 </when>
2467                         </choose>
2468                         <choose>
2469                                 <when>
2470                                         <test>
2471                                                 <equal>
2472                                                         <clip pos="2" side="tl" part="nbr"/>
2473                                                         <lit-tag v="ND"/>
2474                                                 </equal>
2475                                         </test>
2476                                         <let>
2477                                                 <clip pos="2" side="tl" part="nbr"/>
2478                                                 <var n="numero"/>
2479                                         </let>
2480                                 </when>
2481                         </choose>
2482                         <choose>
2483                                 <when>
2484                                         <test>
2485                                                 <equal>
2486                                                         <clip pos="3" side="tl" part="nbr"/>
2487                                                         <lit-tag v="ND"/>
2488                                                 </equal>
2489                                         </test>
2490                                         <let>
2491                                                 <clip pos="3" side="tl" part="nbr"/>
2492                                                 <var n="numero"/>
2493                                         </let>
2494                                 </when>
2495                         </choose>
2496                         <choose>
2497                                 <when>
2498                                         <test>
2499                                                 <equal>
2500                                                         <clip pos="4" side="tl" part="nbr"/>
2501                                                         <lit-tag v="ND"/>
2502                                                 </equal>
2503                                         </test>
2504                                         <let>
2505                                                 <clip pos="4" side="tl" part="nbr"/>
2506                                                 <var n="numero"/>
2507                                         </let>
2508                                 </when>
2509                         </choose>
2510                 </def-macro>
2511                 <def-macro n="f_comparativa" npar="1">
2512                         <choose>
2513                                 <when>
2514                                         <test>
2515                                                 <or>
2516                                                         <equal caseless="yes">
2517                                                                 <clip pos="1" side="sl" part="lem"/>
2518                                                                 <lit v="mais"/>
2519                                                         </equal>
2520                                                         <equal caseless="yes">
2521                                                                 <clip pos="1" side="sl" part="lem"/>
2522                                                                 <lit v="menos"/>
2523                                                         </equal>
2524                                                         <equal caseless="yes">
2525                                                                 <clip pos="1" side="sl" part="lem"/>
2526                                                                 <lit v="melhor"/>
2527                                                         </equal>
2528                                                         <equal caseless="yes">
2529                                                                 <clip pos="1" side="sl" part="lem"/>
2530                                                                 <lit v="pior"/>
2531                                                         </equal>
2532                                                 </or>
2533                                         </test>
2534                                         <let>
2535                                                 <var n="comparativa"/>
2536                                                 <lit v="true"/>
2537                                         </let>
2538                                 </when>
2539                         </choose>
2540                 </def-macro>
2541                 <def-macro n="f_lexicadv" npar="2">
2542                         <choose>
2543                                 <when>
2544                                         <test>
2545                                                 <and>
2546                                                         <equal caseless="yes">
2547                                                                 <clip pos="1" side="tl" part="lem"/>
2548                                                                 <lit v="mucho"/>
2549                                                         </equal>
2550                                                         <not>
2551                                                                 <equal caseless="yes">
2552                                                                         <clip pos="2" side="sl" part="lem"/>
2553                                                                         <lit v="mais"/>
2554                                                                 </equal>
2555                                                         </not>
2556                                                         <not>
2557                                                                 <equal caseless="yes">
2558                                                                         <clip pos="2" side="sl" part="lem"/>
2559                                                                         <lit v="menos"/>
2560                                                                 </equal>
2561                                                         </not>
2562                                                         <not>
2563                                                                 <equal caseless="yes">
2564                                                                         <clip pos="2" side="sl" part="lem"/>
2565                                                                         <lit v="melhor"/>
2566                                                                 </equal>
2567                                                         </not>
2568                                                         <not>
2569                                                                 <equal caseless="yes">
2570                                                                         <clip pos="2" side="sl" part="lem"/>
2571                                                                         <lit v="pior"/>
2572                                                                 </equal>
2573                                                         </not>
2574                                                 </and>
2575                                         </test>
2576                                         <let>
2577                                                 <clip pos="1" side="tl" part="lem"/>
2578                                                 <lit v="muy"/>
2579                                         </let>
2580                                         <let>
2581                                                 <clip pos="1" side="tl" part="a_adv"/>
2582                                                 <lit-tag v="preadv"/>
2583                                         </let>
2584                                 </when>
2585                         </choose>
2586                 </def-macro>
2587                 <def-macro n="f_lexicadj" npar="2">
2588                         <choose>
2589                                 <when>
2590                                         <test>
2591                                                 <and>
2592                                                         <equal caseless="yes">
2593                                                                 <clip pos="1" side="sl" part="lem"/>
2594                                                                 <lit v="bom"/>
2595                                                         </equal>
2596                                                         <equal>
2597                                                                 <clip pos="1" side="tl" part="gen"/>
2598                                                                 <lit-tag v="m"/>
2599                                                         </equal>
2600                                                         <equal>
2601                                                                 <clip pos="1" side="tl" part="nbr"/>
2602                                                                 <lit-tag v="sg"/>
2603                                                         </equal>
2604                                                 </and>
2605                                         </test>
2606                                         <let>
2607                                                 <clip pos="1" side="tl" part="lem"/>
2608                                                 <lit v="buen"/>
2609                                         </let>
2610                                 </when>
2611                         </choose>
2612                         <choose>
2613                                 <when>
2614                                         <test>
2615                                                 <and>
2616                                                         <equal caseless="yes">
2617                                                                 <clip pos="1" side="sl" part="lem"/>
2618                                                                 <lit v="grande"/>
2619                                                         </equal>
2620                                                         <equal>
2621                                                                 <clip pos="1" side="tl" part="nbr"/>
2622                                                                 <lit-tag v="sg"/>
2623                                                         </equal>
2624                                                 </and>
2625                                         </test>
2626                                         <let>
2627                                                 <clip pos="1" side="tl" part="lem"/>
2628                                                 <lit v="gran"/>
2629                                         </let>
2630                                 </when>
2631                         </choose>
2632                         <choose>
2633                                 <when>
2634                                         <test>
2635                                                 <and>
2636                                                         <equal caseless="yes">
2637                                                                 <clip pos="1" side="sl" part="lem"/>
2638                                                                 <lit v="primeiro"/>
2639                                                         </equal>
2640                                                         <equal>
2641                                                                 <clip pos="1" side="tl" part="gen"/>
2642                                                                 <lit-tag v="m"/>
2643                                                         </equal>
2644                                                         <equal>
2645                                                                 <clip pos="1" side="tl" part="nbr"/>
2646                                                                 <lit-tag v="sg"/>
2647                                                         </equal>
2648                                                 </and>
2649                                         </test>
2650                                         <let>
2651                                                 <clip pos="1" side="tl" part="lem"/>
2652                                                 <lit v="primer"/>
2653                                         </let>
2654                                 </when>
2655                         </choose>
2656                         <choose>
2657                                 <when>
2658                                         <test>
2659                                                 <and>
2660                                                         <equal caseless="yes">
2661                                                                 <clip pos="1" side="sl" part="lem"/>
2662                                                                 <lit v="mau"/>
2663                                                         </equal>
2664                                                         <equal>
2665                                                                 <clip pos="1" side="tl" part="gen"/>
2666                                                                 <lit-tag v="m"/>
2667                                                         </equal>
2668                                                         <equal>
2669                                                                 <clip pos="1" side="tl" part="nbr"/>
2670                                                                 <lit-tag v="sg"/>
2671                                                         </equal>
2672                                                 </and>
2673                                         </test>
2674                                         <let>
2675                                                 <clip pos="1" side="tl" part="lem"/>
2676                                                 <lit v="mal"/>
2677                                         </let>
2678                                 </when>
2679                         </choose>
2680                         <choose>
2681                                 <when>
2682                                         <test>
2683                                                 <and>
2684                                                         <equal caseless="yes">
2685                                                                 <clip pos="1" side="sl" part="lem"/>
2686                                                                 <lit v="terceiro"/>
2687                                                         </equal>
2688                                                         <equal>
2689                                                                 <clip pos="1" side="tl" part="gen"/>
2690                                                                 <lit-tag v="m"/>
2691                                                         </equal>
2692                                                         <equal>
2693                                                                 <clip pos="1" side="tl" part="nbr"/>
2694                                                                 <lit-tag v="sg"/>
2695                                                         </equal>
2696                                                 </and>
2697                                         </test>
2698                                         <let>
2699                                                 <clip pos="1" side="tl" part="lem"/>
2700                                                 <lit v="tercer"/>
2701                                         </let>
2702                                 </when>
2703                         </choose>
2704                 </def-macro>
2705                 <def-macro n="f_bcond" npar="1">
2706                         <choose>
2707                                 <when>
2708                                         <test>
2709                                                 <not>
2710                                                         <equal>
2711                                                                 <b pos="1"/>
2712                                                                 <lit v=" "/>
2713                                                         </equal>
2714                                                 </not>
2715                                         </test>
2716                                         <out>
2717                                                 <b pos="1"/>
2718                                         </out>
2719                                 </when>
2720                         </choose>
2721                 </def-macro>
2722                 <def-macro n="f_infps" npar="1">
2723                         <choose>
2724                                 <when>
2725                                         <test>
2726                                                 <or>
2727                                                         <equal>
2728                                                                 <clip pos="1" side="sl" part="temps"/>
2729                                                                 <lit-tag v="infps"/>
2730                                                         </equal>
2731                                                         <equal>
2732                                                                 <clip pos="1" side="sl" part="temps"/>
2733                                                                 <lit-tag v="fts"/>
2734                                                         </equal>
2735                                                 </or>
2736                                         </test>
2737                                         <let>
2738                                                 <clip pos="1" side="tl" part="temps"/>
2739                                                 <lit-tag v="prs"/>
2740                                         </let>
2741                                 </when>
2742                         </choose>
2743                 </def-macro>
2744                 <def-macro n="prn_gostar" npar="1">
2745                         <choose>
2746                                 <when>
2747                                         <test>
2748                                                 <equal>
2749                                                         <clip pos="1" side="tl" part="persona"/>
2750                                                         <lit-tag v="p1"/>
2751                                                 </equal>
2752                                         </test>
2753                                         <choose>
2754                                                 <when>
2755                                                         <test>
2756                                                                 <equal>
2757                                                                         <clip pos="1" side="tl" part="nbr"/>
2758                                                                         <lit-tag v="sg"/>
2759                                                                 </equal>
2760                                                         </test>
2761                                                         <out>
2762                                                                 <lu>
2763                                                                         <get-case-from pos="1">
2764                                                                                 <lit v="me"/>
2765                                                                         </get-case-from>
2766                                                                         <lit-tag v="prn.pro.p1.mf.sg"/>
2767                                                                 </lu>
2768                                                         </out>
2769                                                 </when>
2770                                                 <otherwise>
2771                                                         <out>
2772                                                                 <lu>
2773                                                                         <get-case-from pos="1">
2774                                                                                 <lit v="nos"/>
2775                                                                         </get-case-from>
2776                                                                         <lit-tag v="prn.pro.p1.mf.pl"/>
2777                                                                 </lu>
2778                                                         </out>
2779                                                 </otherwise>
2780                                         </choose>
2781                                 </when>
2782                                 <otherwise>
2783                                         <choose>
2784                                                 <when>
2785                                                         <test>
2786                                                                 <equal>
2787                                                                         <clip pos="1" side="tl" part="persona"/>
2788                                                                         <lit-tag v="p2"/>
2789                                                                 </equal>
2790                                                         </test>
2791                                                         <choose>
2792                                                                 <when>
2793                                                                         <test>
2794                                                                                 <equal>
2795                                                                                         <clip pos="1" side="tl" part="nbr"/>
2796                                                                                         <lit-tag v="sg"/>
2797                                                                                 </equal>
2798                                                                         </test>
2799                                                                         <out>
2800                                                                                 <lu>
2801                                                                                         <get-case-from pos="1">
2802                                                                                                 <lit v="te"/>
2803                                                                                         </get-case-from>
2804                                                                                         <lit-tag v="prn.pro.p2.mf.sg"/>
2805                                                                                 </lu>
2806                                                                         </out>
2807                                                                 </when>
2808                                                                 <otherwise>
2809                                                                         <out>
2810                                                                                 <lu>
2811                                                                                         <get-case-from pos="1">
2812                                                                                                 <lit v="os"/>
2813                                                                                         </get-case-from>
2814                                                                                         <lit-tag v="prn.pro.p2.mf.pl"/>
2815                                                                                 </lu>
2816                                                                         </out>
2817                                                                 </otherwise>
2818                                                         </choose>
2819                                                 </when>
2820                                                 <otherwise>
2821                                                         <out>
2822                                                                 <lu>
2823                                                                         <get-case-from pos="1">
2824                                                                                 <lit v="le"/>
2825                                                                         </get-case-from>
2826                                                                         <lit-tag v="prn.pro.p3.mf"/>
2827                                                                         <clip pos="1" side="sl" part="nbr"/>
2828                                                                 </lu>
2829                                                         </out>
2830                                                 </otherwise>
2831                                         </choose>
2832                                 </otherwise>
2833                         </choose>
2834                 </def-macro>
2835                 <def-macro n="gostarenc" npar="2">
2836                         <choose>
2837                                 <when>
2838                                         <test>
2839                                                 <equal>
2840                                                         <clip pos="1" side="tl" part="temps"/>
2841                                                         <lit-tag v="pmp"/>
2842                                                 </equal>
2843                                         </test>
2844                                         <call-macro n="prn_gostar">
2845                                                 <with-param pos="1"/>
2846                                         </call-macro>
2847                                         <out>
2848                                                 <b pos="1"/>
2849                                                 <lu>
2850                                                         <get-case-from pos="1">
2851                                                                 <lit v="haber"/>
2852                                                         </get-case-from>
2853                                                         <lit-tag v="vbhaver.ifi"/>
2854                                                         <lit-tag v="p3"/>
2855                                                         <clip pos="2" side="tl" part="nbr"/>
2856                                                 </lu>
2857                                                 <b/>
2858                                                 <lu>
2859                                                         <get-case-from pos="2">
2860                                                                 <clip pos="1" side="tl" part="lemh"/>
2861                                                         </get-case-from>
2862                                                         <clip pos="1" side="tl" part="a_verb"/>
2863                                                         <lit-tag v="pp.m.sg"/>
2864                                                 </lu>
2865                                         </out>
2866                                 </when>
2867                                 <otherwise>
2868                                         <choose>
2869                                                 <when>
2870                                                         <test>
2871                                                                 <or>
2872                                                                         <equal>
2873                                                                                 <clip pos="1" side="tl" part="temps"/>
2874                                                                                 <lit-tag v="inf"/>
2875                                                                         </equal>
2876                                                                         <equal>
2877                                                                                 <clip pos="1" side="tl" part="temps"/>
2878                                                                                 <lit-tag v="ger"/>
2879                                                                         </equal>
2880                                                                 </or>
2881                                                         </test>
2882                                                         <out>
2883                                                                 <lu>
2884                                                                         <clip pos="1" side="tl" part="whole"/>
2885                                                                 </lu>
2886                                                         </out>
2887                                                 </when>
2888                                                 <otherwise>
2889                                                         <choose>
2890                                                                 <when>
2891                                                                         <test>
2892                                                                                 <not>
2893                                                                                         <equal>
2894                                                                                                 <clip pos="2" side="tl" part="nbr"/>
2895                                                                                                 <lit-tag v="pl"/>
2896                                                                                         </equal>
2897                                                                                 </not>
2898                                                                         </test>
2899                                                                         <let>
2900                                                                                 <clip pos="2" side="tl" part="nbr"/>
2901                                                                                 <lit-tag v="sg"/>
2902                                                                         </let>
2903                                                                 </when>
2904                                                         </choose>
2905                                                         <choose>
2906                                                                 <when>
2907                                                                         <test>
2908                                                                                 <equal>
2909                                                                                         <clip pos="1" side="tl" part="persona"/>
2910                                                                                         <lit-tag v="p1"/>
2911                                                                                 </equal>
2912                                                                         </test>
2913                                                                         <choose>
2914                                                                                 <when>
2915                                                                                         <test>
2916                                                                                                 <equal>
2917                                                                                                         <clip pos="1" side="tl" part="nbr"/>
2918                                                                                                         <lit-tag v="sg"/>
2919                                                                                                 </equal>
2920                                                                                         </test>
2921                                                                                         <out>
2922                                                                                                 <mlu>
2923                                                                                                         <lu>
2924                                                                                                                 <clip pos="1" side="tl" part="lemh"/>
2925                                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
2926                                                                                                                 <clip pos="1" side="tl" part="temps"/>
2927                                                                                                                 <lit-tag v="p3"/>
2928                                                                                                                 <clip pos="2" side="tl" part="nbr"/>
2929                                                                                                         </lu>
2930                                                                                                         <lu>
2931                                                                                                                 <lit v="me"/>
2932                                                                                                                 <lit-tag v="prn.enc.p1.mf.sg"/>
2933                                                                                                         </lu>
2934                                                                                                 </mlu>
2935                                                                                         </out>
2936                                                                                 </when>
2937                                                                                 <otherwise>
2938                                                                                         <out>
2939                                                                                                 <mlu>
2940                                                                                                         <lu>
2941                                                                                                                 <clip pos="1" side="tl" part="lemh"/>
2942                                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
2943                                                                                                                 <clip pos="1" side="tl" part="temps"/>
2944                                                                                                                 <lit-tag v="p3"/>
2945                                                                                                                 <clip pos="2" side="tl" part="nbr"/>
2946                                                                                                         </lu>
2947                                                                                                         <lu>
2948                                                                                                                 <lit v="nos"/>
2949                                                                                                                 <lit-tag v="prn.enc.p1.mf.pl"/>
2950                                                                                                         </lu>
2951                                                                                                 </mlu>
2952                                                                                         </out>
2953                                                                                 </otherwise>
2954                                                                         </choose>
2955                                                                 </when>
2956                                                                 <otherwise>
2957                                                                         <choose>
2958                                                                                 <when>
2959                                                                                         <test>
2960                                                                                                 <equal>
2961                                                                                                         <clip pos="1" side="tl" part="persona"/>
2962                                                                                                         <lit-tag v="p2"/>
2963                                                                                                 </equal>
2964                                                                                         </test>
2965                                                                                         <choose>
2966                                                                                                 <when>
2967                                                                                                         <test>
2968                                                                                                                 <equal>
2969                                                                                                                         <clip pos="1" side="tl" part="nbr"/>
2970                                                                                                                         <lit-tag v="sg"/>
2971                                                                                                                 </equal>
2972                                                                                                         </test>
2973                                                                                                         <out>
2974                                                                                                                 <mlu>
2975                                                                                                                         <lu>
2976                                                                                                                                 <clip pos="1" side="tl" part="lemh"/>
2977                                                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
2978                                                                                                                                 <clip pos="1" side="tl" part="temps"/>
2979                                                                                                                                 <lit-tag v="p3"/>
2980                                                                                                                                 <clip pos="2" side="tl" part="nbr"/>
2981                                                                                                                         </lu>
2982                                                                                                                         <lu>
2983                                                                                                                                 <lit v="te"/>
2984                                                                                                                                 <lit-tag v="prn.enc.p2.mf.sg"/>
2985                                                                                                                         </lu>
2986                                                                                                                 </mlu>
2987                                                                                                         </out>
2988                                                                                                 </when>
2989                                                                                                 <otherwise>
2990                                                                                                         <out>
2991                                                                                                                 <mlu>
2992                                                                                                                         <lu>
2993                                                                                                                                 <clip pos="1" side="tl" part="lemh"/>
2994                                                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
2995                                                                                                                                 <clip pos="1" side="tl" part="temps"/>
2996                                                                                                                                 <lit-tag v="p3"/>
2997                                                                                                                                 <clip pos="2" side="tl" part="nbr"/>
2998                                                                                                                         </lu>
2999                                                                                                                         <lu>
3000                                                                                                                                 <lit v="os"/>
3001                                                                                                                                 <lit-tag v="prn.enc.p2.mf.pl"/>
3002                                                                                                                         </lu>
3003                                                                                                                 </mlu>
3004                                                                                                         </out>
3005                                                                                                 </otherwise>
3006                                                                                         </choose>
3007                                                                                 </when>
3008                                                                                 <otherwise>
3009                                                                                         <out>
3010                                                                                                 <mlu>
3011                                                                                                         <lu>
3012                                                                                                                 <clip pos="1" side="tl" part="lemh"/>
3013                                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
3014                                                                                                                 <clip pos="1" side="tl" part="temps"/>
3015                                                                                                                 <lit-tag v="p3"/>
3016                                                                                                                 <clip pos="2" side="tl" part="nbr"/>
3017                                                                                                         </lu>
3018                                                                                                         <lu>
3019                                                                                                                 <lit v="le"/>
3020                                                                                                                 <lit-tag v="prn.enc.p3.mf"/>
3021                                                                                                                 <clip pos="1" side="tl" part="nbr"/>
3022                                                                                                         </lu>
3023                                                                                                 </mlu>
3024                                                                                         </out>
3025                                                                                 </otherwise>
3026                                                                         </choose>
3027                                                                 </otherwise>
3028                                                         </choose>
3029                                                 </otherwise>
3030                                         </choose>
3031                                 </otherwise>
3032                         </choose>
3033                 </def-macro>
3034         </section-def-macros>
3035         <section-rules>
3036                 <!-- outras (feitas por imaxin|software)-->
3037                 <rule>
3038                         <!--Pegar na tua mão > Coger tu mano-->
3039                         <pattern>
3040                                 <pattern-item n="pegar"/>
3041                                 <pattern-item n="em"/>
3042                         </pattern>
3043                         <action>
3044                                 <out>
3045                                         <lu>
3046                                                 <get-case-from pos="1">
3047                                                         <lit v="coger"/>
3048                                                 </get-case-from>
3049                                                 <clip pos="1" side="tl" part="a_verb"/>
3050                                                 <clip pos="1" side="tl" part="temps"/>
3051                                                 <clip pos="1" side="tl" part="persona"/>
3052                                                 <clip pos="1" side="tl" part="gen"/>
3053                                                 <clip pos="1" side="tl" part="nbr"/>
3054                                         </lu>
3055                                 </out>
3056                         </action>
3057                 </rule>
3058                 <rule>
3059                         <!--Um outro livro > Otro libro-->
3060                         <pattern>
3061                                 <pattern-item n="detind"/>
3062                                 <pattern-item n="outro"/>
3063                                 <pattern-item n="tnom"/>
3064                         </pattern>
3065                         <action>
3066                                 <call-macro n="f_concord2">
3067                                         <with-param pos="3"/>
3068                                         <with-param pos="2"/>
3069                                 </call-macro>
3070                                 <out>
3071                                         <lu>
3072                                                 <get-case-from pos="1">
3073                                                         <clip pos="2" side="tl" part="whole"/>
3074                                                 </get-case-from>
3075                                         </lu>
3076                                         <b/>
3077                                         <lu>
3078                                                 <clip pos="3" side="tl" part="whole"/>
3079                                         </lu>
3080                                 </out>
3081                         </action>
3082                 </rule>
3083                 <rule>
3084                         <!--Que horas são? > Qué hora es?[falta por conseguir acrescentar o signo ¿ no início]-->
3085                         <pattern>
3086                                 <pattern-item n="querel"/>
3087                                 <pattern-item n="hora"/>
3088                                 <pattern-item n="ser"/>
3089                         </pattern>
3090                         <action>
3091                                 <out>
3092                                         <lu>
3093                                                 <get-case-from pos="1">
3094                                                         <lit v="qué"/>
3095                                                 </get-case-from>
3096                                                 <lit-tag v="prn.itg.mf.sg"/>
3097                                         </lu>
3098                                         <b/>
3099                                         <lu>
3100                                                 <clip pos="2" side="tl" part="lem"/>
3101                                                 <clip pos="2" side="tl" part="a_nom"/>
3102                                                 <clip pos="2" side="tl" part="gen"/>
3103                                                 <lit-tag v="sg"/>
3104                                         </lu>
3105                                         <b/>
3106                                         <lu>
3107                                                 <clip pos="3" side="tl" part="lemh"/>
3108                                                 <clip pos="3" side="tl" part="a_verb"/>
3109                                                 <clip pos="3" side="sl" part="temps"/>
3110                                                 <clip pos="3" side="sl" part="persona"/>
3111                                                 <lit-tag v="sg"/>
3112                                         </lu>
3113                                 </out>
3114                         </action>
3115                 </rule>
3116                 <rule>
3117                         <!--Que horas marca? > Qué hora marca? [falta por conseguir acrescentar o signo ¿ no início]-->
3118                         <pattern>
3119                                 <pattern-item n="querel"/>
3120                                 <pattern-item n="hora"/>
3121                                 <pattern-item n="verb"/>
3122                         </pattern>
3123                         <action>
3124                                 <out>
3125                                         <lu>
3126                                                 <get-case-from pos="1">
3127                                                         <lit v="qué"/>
3128                                                 </get-case-from>
3129                                                 <lit-tag v="prn.itg.mf.sg"/>
3130                                         </lu>
3131                                         <b/>
3132                                         <lu>
3133                                                 <clip pos="2" side="tl" part="lem"/>
3134                                                 <clip pos="2" side="tl" part="a_nom"/>
3135                                                 <clip pos="2" side="tl" part="gen"/>
3136                                                 <lit-tag v="sg"/>
3137                                         </lu>
3138                                         <b/>
3139                                         <lu>
3140                                                 <clip pos="3" side="tl" part="lemh"/>
3141                                                 <clip pos="3" side="tl" part="a_verb"/>
3142                                                 <clip pos="3" side="sl" part="temps"/>
3143                                                 <clip pos="3" side="sl" part="persona"/>
3144                                                 <clip pos="3" side="sl" part="nbr"/>
3145                                         </lu>
3146                                 </out>
3147                         </action>
3148                 </rule>
3149                 <rule>
3150                         <!--ir/vir de comboio > ir/vir en tren (tendo em conta a confusão ir/ser)-->
3151                         <pattern>
3152                                 <pattern-item n="vbirser"/>
3153                                 <pattern-item n="de"/>
3154                                 <pattern-item n="emtransito"/>
3155                         </pattern>
3156                         <action>
3157                                 <out>
3158                                         <lu>
3159                                                 <clip pos="1" side="sl" part="lemh"/>
3160                                                 <clip pos="1" side="sl" part="a_verb"/>
3161                                                 <clip pos="1" side="sl" part="temps"/>
3162                                                 <clip pos="1" side="sl" part="persona"/>
3163                                                 <clip pos="1" side="sl" part="nbr"/>
3164                                         </lu>
3165                                         <b/>
3166                                         <lu>
3167                                                 <lit v="en"/>
3168                                                 <lit-tag v="pr"/>
3169                                         </lu>
3170                                         <b/>
3171                                         <lu>
3172                                                 <clip pos="3" side="tl" part="whole"/>
3173                                         </lu>
3174                                 </out>
3175                         </action>
3176                 </rule>
3177                 <rule>
3178                         <!--vocês comem > vosotros coméis-->
3179                         <pattern>
3180                                 <pattern-item n="voces"/>
3181                                 <pattern-item n="verb"/>
3182                         </pattern>
3183                         <action>
3184                                 <choose>
3185                                         <when>
3186                                                 <test>
3187                                                         <equal>
3188                                                                 <clip pos="2" side="sl" part="lem"/>
3189                                                                 <lit v="gostar"/>
3190                                                         </equal>
3191                                                 </test>
3192                                                 <out>
3193                                                         <lu>
3194                                                                 <get-case-from pos="1">
3195                                                                         <lit v="a"/>
3196                                                                 </get-case-from>
3197                                                                 <lit-tag v="pr"/>
3198                                                         </lu>
3199                                                         <b/>
3200                                                         <lu>
3201                                                                 <get-case-from pos="2">
3202                                                                         <lit v="vosotros"/>
3203                                                                 </get-case-from>
3204                                                                 <lit-tag v="prn.tn.p2.m.pl"/>
3205                                                         </lu>
3206                                                         <b/>
3207                                                         <lu>
3208                                                                 <lit v="os"/>
3209                                                                 <lit-tag v="prn.pro.p2.mf.pl"/>
3210                                                         </lu>
3211                                                         <b/>
3212                                                         <lu>
3213                                                                 <clip pos="2" side="tl" part="lemh"/>
3214                                                                 <clip pos="2" side="tl" part="a_verb"/>
3215                                                                 <clip pos="2" side="tl" part="temps"/>
3216                                                                 <lit-tag v="p3.sg"/>
3217                                                         </lu>
3218                                                 </out>
3219                                         </when>
3220                                         <otherwise>
3221                                                 <out>
3222                                                         <lu>
3223                                                                 <get-case-from pos="1">
3224                                                                         <lit v="vosotros"/>
3225                                                                 </get-case-from>
3226                                                                 <lit-tag v="prn.tn.p2.m.pl"/>
3227                                                         </lu>
3228                                                         <b/>
3229                                                         <lu>
3230                                                                 <clip pos="2" side="tl" part="lemh"/>
3231                                                                 <clip pos="2" side="tl" part="a_verb"/>
3232                                                                 <clip pos="2" side="tl" part="temps"/>
3233                                                                 <lit-tag v="p2.pl"/>
3234                                                         </lu>
3235                                                 </out>
3236                                         </otherwise>
3237                                 </choose>
3238                         </action>
3239                 </rule>
3240                 <rule>
3241                         <!--estar com sono > tener sueño -->
3242                         <pattern>
3243                                 <pattern-item n="estar"/>
3244                                 <pattern-item n="com"/>
3245                                 <pattern-item n="estarcom"/>
3246                         </pattern>
3247                         <action>
3248                                 <out>
3249                                         <lu>
3250                                                 <get-case-from pos="1">
3251                                                         <lit v="tener"/>
3252                                                 </get-case-from>
3253                                                 <clip pos="1" side="tl" part="a_verb"/>
3254                                                 <clip pos="1" side="tl" part="temps"/>
3255                                                 <clip pos="1" side="tl" part="persona"/>
3256                                                 <clip pos="1" side="tl" part="gen"/>
3257                                                 <clip pos="1" side="tl" part="nbr"/>
3258                                         </lu>
3259                                         <b/>
3260                                         <lu>
3261                                                 <clip pos="3" side="tl" part="whole"/>
3262                                         </lu>
3263                                 </out>
3264                         </action>
3265                 </rule>
3266                 <rule>
3267                         <!--estar com muito sono > tener mucho sueño-->
3268                         <pattern>
3269                                 <pattern-item n="estar"/>
3270                                 <pattern-item n="com"/>
3271                                 <pattern-item n="adjecdet"/>
3272                                 <pattern-item n="estarcom"/>
3273                         </pattern>
3274                         <action>
3275                                 <out>
3276                                         <lu>
3277                                                 <get-case-from pos="1">
3278                                                         <lit v="tener"/>
3279                                                 </get-case-from>
3280                                                 <clip pos="1" side="tl" part="a_verb"/>
3281                                                 <clip pos="1" side="tl" part="temps"/>
3282                                                 <clip pos="1" side="tl" part="persona"/>
3283                                                 <clip pos="1" side="tl" part="gen"/>
3284                                                 <clip pos="1" side="tl" part="nbr"/>
3285                                         </lu>
3286                                         <b/>
3287                                         <lu>
3288                                                 <clip pos="3" side="tl" part="whole"/>
3289                                         </lu>
3290                                         <b/>
3291                                         <lu>
3292                                                 <clip pos="4" side="tl" part="whole"/>
3293                                         </lu>
3294                                 </out>
3295                         </action>
3296                 </rule>
3297                 <rule>
3298                         <!-- 3 em cada 4 -> 3 de cada 4 -->
3299                         <pattern>
3300                                 <pattern-item n="numeros"/>
3301                                 <pattern-item n="em"/>
3302                                 <pattern-item n="cada"/>
3303                                 <pattern-item n="numeros"/>
3304                         </pattern>
3305                         <action>
3306                                 <out>
3307                                         <lu>
3308                                                 <clip pos="1" side="tl" part="whole"/>
3309                                         </lu>
3310                                         <b/>
3311                                         <lu>
3312                                                 <lit v="de"/>
3313                                                 <lit-tag v="pr"/>
3314                                         </lu>
3315                                         <b/>
3316                                         <lu>
3317                                                 <lit v="cada"/>
3318                                                 <lit-tag v="det.ind.mf.sp"/>
3319                                         </lu>
3320                                         <b/>
3321                                         <lu>
3322                                                 <clip pos="4" side="tl" part="whole"/>
3323                                         </lu>
3324                                 </out>
3325                         </action>
3326                 </rule>
3327                 <!-- Importar (feitas por imaxin|software)-->
3328                 <rule>
3329                         <!--REGRA 1- Eu importo-me > A mí me importa-->
3330                         <pattern>
3331                                 <pattern-item n="prn"/>
3332                                 <pattern-item n="importar"/>
3333                                 <pattern-item n="prnenc"/>
3334                         </pattern>
3335                         <action>
3336                                 <choose>
3337                                         <when>
3338                                                 <test>
3339                                                         <equal caseless="yes">
3340                                                                 <clip pos="1" side="sl" part="lem"/>
3341                                                                 <lit v="eu"/>
3342                                                         </equal>
3343                                                 </test>
3344                                                 <out>
3345                                                         <lu>
3346                                                                 <get-case-from pos="1">
3347                                                                         <lit v="a"/>
3348                                                                 </get-case-from>
3349                                                                 <lit-tag v="pr"/>
3350                                                         </lu>
3351                                                         <b/>
3352                                                         <lu>
3353                                                                 <lit v="mí"/>
3354                                                                 <lit-tag v="prn.tn.p1.mf.sg"/>
3355                                                         </lu>
3356                                                         <b/>
3357                                                         <lu>
3358                                                                 <lit v="me"/>
3359                                                                 <lit-tag v="prn.pro.p1.mf.sg"/>
3360                                                         </lu>
3361                                                         <b/>
3362                                                         <lu>
3363                                                                 <get-case-from pos="2">
3364                                                                         <clip pos="2" side="tl" part="lemh"/>
3365                                                                 </get-case-from>
3366                                                                 <clip pos="2" side="tl" part="a_verb"/>
3367                                                                 <clip pos="2" side="tl" part="temps"/>
3368                                                                 <lit-tag v="p3"/>
3369                                                                 <clip pos="2" side="tl" part="gen"/>
3370                                                                 <lit-tag v="sg"/>
3371                                                         </lu>
3372                                                 </out>
3373                                         </when>
3374                                         <when>
3375                                                 <test>
3376                                                         <equal caseless="yes">
3377                                                                 <clip pos="1" side="sl" part="lem"/>
3378                                                                 <lit v="tu"/>
3379                                                         </equal>
3380                                                 </test>
3381                                                 <out>
3382                                                         <lu>
3383                                                                 <get-case-from pos="1">
3384                                                                         <lit v="a"/>
3385                                                                 </get-case-from>
3386                                                                 <lit-tag v="pr"/>
3387                                                         </lu>
3388                                                         <b/>
3389                                                         <lu>
3390                                                                 <lit v="ti"/>
3391                                                                 <lit-tag v="prn.tn.p2.mf.sg"/>
3392                                                         </lu>
3393                                                         <b/>
3394                                                         <lu>
3395                                                                 <lit v="te"/>
3396                                                                 <lit-tag v="prn.pro.p2.mf.sg"/>
3397                                                         </lu>
3398                                                         <b/>
3399                                                         <lu>
3400                                                                 <get-case-from pos="2">
3401                                                                         <clip pos="2" side="tl" part="lemh"/>
3402                                                                 </get-case-from>
3403                                                                 <clip pos="2" side="tl" part="a_verb"/>
3404                                                                 <clip pos="2" side="tl" part="temps"/>
3405                                                                 <lit-tag v="p3"/>
3406                                                                 <clip pos="2" side="tl" part="gen"/>
3407                                                                 <lit-tag v="sg"/>
3408                                                         </lu>
3409                                                 </out>
3410                                         </when>
3411                                         <when>
3412                                                 <test>
3413                                                         <and>
3414                                                                 <equal>
3415                                                                         <clip pos="1" side="sl" part="persona"/>
3416                                                                         <lit-tag v="p3"/>
3417                                                                 </equal>
3418                                                                 <equal>
3419                                                                         <clip pos="1" side="sl" part="nbr"/>
3420                                                                         <lit-tag v="sg"/>
3421                                                                 </equal>
3422                                                                 <equal>
3423                                                                         <clip pos="1" side="sl" part="gen"/>
3424                                                                         <lit-tag v="m"/>
3425                                                                 </equal>
3426                                                         </and>
3427                                                 </test>
3428                                                 <out>
3429                                                         <lu>
3430                                                                 <get-case-from pos="1">
3431                                                                         <lit v="a"/>
3432                                                                 </get-case-from>
3433                                                                 <lit-tag v="pr"/>
3434                                                         </lu>
3435                                                         <b/>
3436                                                         <lu>
3437                                                                 <lit v="él"/>
3438                                                                 <lit-tag v="prn.tn.p3.m.sg"/>
3439                                                         </lu>
3440                                                         <b/>
3441                                                         <lu>
3442                                                                 <lit v="le"/>
3443                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
3444                                                         </lu>
3445                                                         <b/>
3446                                                         <lu>
3447                                                                 <get-case-from pos="2">
3448                                                                         <clip pos="2" side="tl" part="lemh"/>
3449                                                                 </get-case-from>
3450                                                                 <clip pos="2" side="tl" part="a_verb"/>
3451                                                                 <clip pos="2" side="tl" part="temps"/>
3452                                                                 <lit-tag v="p3"/>
3453                                                                 <clip pos="2" side="tl" part="gen"/>
3454                                                                 <lit-tag v="sg"/>
3455                                                         </lu>
3456                                                 </out>
3457                                         </when>
3458                                         <when>
3459                                                 <test>
3460                                                         <and>
3461                                                                 <equal>
3462                                                                         <clip pos="1" side="sl" part="persona"/>
3463                                                                         <lit-tag v="p3"/>
3464                                                                 </equal>
3465                                                                 <equal>
3466                                                                         <clip pos="1" side="sl" part="gen"/>
3467                                                                         <lit-tag v="f"/>
3468                                                                 </equal>
3469                                                                 <equal>
3470                                                                         <clip pos="1" side="sl" part="nbr"/>
3471                                                                         <lit-tag v="sg"/>
3472                                                                 </equal>
3473                                                         </and>
3474                                                 </test>
3475                                                 <out>
3476                                                         <lu>
3477                                                                 <get-case-from pos="1">
3478                                                                         <lit v="a"/>
3479                                                                 </get-case-from>
3480                                                                 <lit-tag v="pr"/>
3481                                                         </lu>
3482                                                         <b/>
3483                                                         <lu>
3484                                                                 <lit v="él"/>
3485                                                                 <lit-tag v="prn.tn.p3.f.sg"/>
3486                                                         </lu>
3487                                                         <b/>
3488                                                         <lu>
3489                                                                 <lit v="le"/>
3490                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
3491                                                         </lu>
3492                                                         <b/>
3493                                                         <lu>
3494                                                                 <get-case-from pos="2">
3495                                                                         <clip pos="2" side="tl" part="lemh"/>
3496                                                                 </get-case-from>
3497                                                                 <clip pos="2" side="tl" part="a_verb"/>
3498                                                                 <clip pos="2" side="tl" part="temps"/>
3499                                                                 <lit-tag v="p3"/>
3500                                                                 <clip pos="2" side="tl" part="gen"/>
3501                                                                 <lit-tag v="sg"/>
3502                                                         </lu>
3503                                                 </out>
3504                                         </when>
3505                                         <when>
3506                                                 <test>
3507                                                         <equal caseless="yes">
3508                                                                 <clip pos="1" side="sl" part="lem"/>
3509                                                                 <lit v="nós"/>
3510                                                         </equal>
3511                                                 </test>
3512                                                 <out>
3513                                                         <lu>
3514                                                                 <get-case-from pos="1">
3515                                                                         <lit v="a"/>
3516                                                                 </get-case-from>
3517                                                                 <lit-tag v="pr"/>
3518                                                         </lu>
3519                                                         <b/>
3520                                                         <lu>
3521                                                                 <lit v="nosotros"/>
3522                                                                 <lit-tag v="prn.tn.p1.mf.pl"/>
3523                                                         </lu>
3524                                                         <b/>
3525                                                         <lu>
3526                                                                 <lit v="nos"/>
3527                                                                 <lit-tag v="prn.pro.p1.mf.pl"/>
3528                                                         </lu>
3529                                                         <b/>
3530                                                         <lu>
3531                                                                 <get-case-from pos="2">
3532                                                                         <clip pos="2" side="tl" part="lemh"/>
3533                                                                 </get-case-from>
3534                                                                 <clip pos="2" side="tl" part="a_verb"/>
3535                                                                 <clip pos="2" side="tl" part="temps"/>
3536                                                                 <lit-tag v="p3"/>
3537                                                                 <clip pos="2" side="tl" part="gen"/>
3538                                                                 <lit-tag v="sg"/>
3539                                                         </lu>
3540                                                 </out>
3541                                         </when>
3542                                         <when>
3543                                                 <test>
3544                                                         <equal caseless="yes">
3545                                                                 <clip pos="1" side="sl" part="lem"/>
3546                                                                 <lit v="vós"/>
3547                                                         </equal>
3548                                                 </test>
3549                                                 <out>
3550                                                         <lu>
3551                                                                 <get-case-from pos="1">
3552                                                                         <lit v="a"/>
3553                                                                 </get-case-from>
3554                                                                 <lit-tag v="pr"/>
3555                                                         </lu>
3556                                                         <b/>
3557                                                         <lu>
3558                                                                 <lit v="vosotros"/>
3559                                                                 <lit-tag v="prn.tn.p2.mf.pl"/>
3560                                                         </lu>
3561                                                         <b/>
3562                                                         <lu>
3563                                                                 <lit v="os"/>
3564                                                                 <lit-tag v="prn.pro.p2.mf.pl"/>
3565                                                         </lu>
3566                                                         <b/>
3567                                                         <lu>
3568                                                                 <get-case-from pos="2">
3569                                                                         <clip pos="2" side="tl" part="lemh"/>
3570                                                                 </get-case-from>
3571                                                                 <clip pos="2" side="tl" part="a_verb"/>
3572                                                                 <clip pos="2" side="tl" part="temps"/>
3573                                                                 <lit-tag v="p3"/>
3574                                                                 <clip pos="2" side="tl" part="gen"/>
3575                                                                 <lit-tag v="sg"/>
3576                                                         </lu>
3577                                                 </out>
3578                                         </when>
3579                                         <when>
3580                                                 <test>
3581                                                         <equal caseless="yes">
3582                                                                 <clip pos="1" side="sl" part="lem"/>
3583                                                                 <lit v="você"/>
3584                                                         </equal>
3585                                                 </test>
3586                                                 <out>
3587                                                         <lu>
3588                                                                 <get-case-from pos="1">
3589                                                                         <lit v="a"/>
3590                                                                 </get-case-from>
3591                                                                 <lit-tag v="pr"/>
3592                                                         </lu>
3593                                                         <b/>
3594                                                         <lu>
3595                                                                 <lit v="usted"/>
3596                                                                 <lit-tag v="prn.tn.p3.mf"/>
3597                                                                 <clip pos="1" side="sl" part="nbr"/>
3598                                                         </lu>
3599                                                         <b/>
3600                                                         <lu>
3601                                                                 <lit v="le"/>
3602                                                                 <lit-tag v="prn.pro.p1.mf"/>
3603                                                                 <clip pos="1" side="sl" part="nbr"/>
3604                                                         </lu>
3605                                                         <b/>
3606                                                         <lu>
3607                                                                 <get-case-from pos="2">
3608                                                                         <clip pos="2" side="tl" part="lemh"/>
3609                                                                 </get-case-from>
3610                                                                 <clip pos="2" side="tl" part="a_verb"/>
3611                                                                 <clip pos="2" side="tl" part="temps"/>
3612                                                                 <lit-tag v="p3"/>
3613                                                                 <clip pos="2" side="tl" part="gen"/>
3614                                                                 <lit-tag v="sg"/>
3615                                                         </lu>
3616                                                 </out>
3617                                         </when>
3618                                         <when>
3619                                                 <test>
3620                                                         <and>
3621                                                                 <equal>
3622                                                                         <clip pos="1" side="sl" part="persona"/>
3623                                                                         <lit-tag v="p3"/>
3624                                                                 </equal>
3625                                                                 <equal>
3626                                                                         <clip pos="1" side="sl" part="gen"/>
3627                                                                         <lit-tag v="m"/>
3628                                                                 </equal>
3629                                                                 <equal>
3630                                                                         <clip pos="1" side="sl" part="nbr"/>
3631                                                                         <lit-tag v="pl"/>
3632                                                                 </equal>
3633                                                         </and>
3634                                                 </test>
3635                                                 <out>
3636                                                         <lu>
3637                                                                 <get-case-from pos="1">
3638                                                                         <lit v="a"/>
3639                                                                 </get-case-from>
3640                                                                 <lit-tag v="pr"/>
3641                                                         </lu>
3642                                                         <b/>
3643                                                         <lu>
3644                                                                 <lit v="él"/>
3645                                                                 <lit-tag v="prn.tn.p3.m.pl"/>
3646                                                         </lu>
3647                                                         <b/>
3648                                                         <lu>
3649                                                                 <lit v="le"/>
3650                                                                 <lit-tag v="prn.pro.p3.mf.pl"/>
3651                                                         </lu>
3652                                                         <b/>
3653                                                         <lu>
3654                                                                 <get-case-from pos="2">
3655                                                                         <clip pos="2" side="tl" part="lemh"/>
3656                                                                 </get-case-from>
3657                                                                 <clip pos="2" side="tl" part="a_verb"/>
3658                                                                 <clip pos="2" side="tl" part="temps"/>
3659                                                                 <lit-tag v="p3"/>
3660                                                                 <clip pos="2" side="tl" part="gen"/>
3661                                                                 <lit-tag v="sg"/>
3662                                                         </lu>
3663                                                 </out>
3664                                         </when>
3665                                         <when>
3666                                                 <test>
3667                                                         <and>
3668                                                                 <equal>
3669                                                                         <clip pos="1" side="sl" part="persona"/>
3670                                                                         <lit-tag v="p3"/>
3671                                                                 </equal>
3672                                                                 <equal>
3673                                                                         <clip pos="1" side="sl" part="gen"/>
3674                                                                         <lit-tag v="f"/>
3675                                                                 </equal>
3676                                                                 <equal>
3677                                                                         <clip pos="1" side="sl" part="nbr"/>
3678                                                                         <lit-tag v="pl"/>
3679                                                                 </equal>
3680                                                         </and>
3681                                                 </test>
3682                                                 <out>
3683                                                         <lu>
3684                                                                 <get-case-from pos="1">
3685                                                                         <lit v="a"/>
3686                                                                 </get-case-from>
3687                                                                 <lit-tag v="pr"/>
3688                                                         </lu>
3689                                                         <b/>
3690                                                         <lu>
3691                                                                 <lit v="él"/>
3692                                                                 <lit-tag v="prn.tn.p3.f.pl"/>
3693                                                         </lu>
3694                                                         <b/>
3695                                                         <lu>
3696                                                                 <lit v="le"/>
3697                                                                 <lit-tag v="prn.pro.p3.mf.pl"/>
3698                                                         </lu>
3699                                                         <b/>
3700                                                         <lu>
3701                                                                 <get-case-from pos="2">
3702                                                                         <clip pos="2" side="tl" part="lemh"/>
3703                                                                 </get-case-from>
3704                                                                 <clip pos="2" side="tl" part="a_verb"/>
3705                                                                 <clip pos="2" side="tl" part="temps"/>
3706                                                                 <lit-tag v="p3"/>
3707                                                                 <clip pos="2" side="tl" part="gen"/>
3708                                                                 <lit-tag v="sg"/>
3709                                                         </lu>
3710                                                 </out>
3711                                         </when>
3712                                         <otherwise>
3713                                                 <out>
3714                                                         <lu>
3715                                                                 <clip pos="1" side="tl" part="whole"/>
3716                                                         </lu>
3717                                                         <b/>
3718                                                         <mlu>
3719                                                                 <lu>
3720                                                                         <clip pos="2" side="tl" part="lemh"/>
3721                                                                         <clip pos="2" side="tl" part="a_verb"/>
3722                                                                         <clip pos="2" side="tl" part="temps"/>
3723                                                                         <lit-tag v="p3"/>
3724                                                                         <clip pos="2" side="tl" part="gen"/>
3725                                                                         <lit-tag v="sg"/>
3726                                                                 </lu>
3727                                                                 <lu>
3728                                                                         <clip pos="3" side="tl" part="whole"/>
3729                                                                 </lu>
3730                                                         </mlu>
3731                                                 </out>
3732                                         </otherwise>
3733                                 </choose>
3734                         </action>
3735                 </rule>
3736                 <rule>
3737                         <!--REGRA 2- Eu não me importo > A mí no me importa-->
3738                         <pattern>
3739                                 <pattern-item n="prn"/>
3740                                 <pattern-item n="proclise"/>
3741                                 <pattern-item n="prnpro"/>
3742                                 <pattern-item n="importar"/>
3743                         </pattern>
3744                         <action>
3745                                 <choose>
3746                                         <when>
3747                                                 <test>
3748                                                         <equal caseless="yes">
3749                                                                 <clip pos="1" side="sl" part="lem"/>
3750                                                                 <lit v="eu"/>
3751                                                         </equal>
3752                                                 </test>
3753                                                 <out>
3754                                                         <lu>
3755                                                                 <get-case-from pos="1">
3756                                                                         <lit v="a"/>
3757                                                                 </get-case-from>
3758                                                                 <lit-tag v="pr"/>
3759                                                         </lu>
3760                                                         <b/>
3761                                                         <lu>
3762                                                                 <lit v="mí"/>
3763                                                                 <lit-tag v="prn.tn.p1.mf.sg"/>
3764                                                         </lu>
3765                                                         <b/>
3766                                                         <lu>
3767                                                                 <clip pos="2" side="tl" part="whole"/>
3768                                                         </lu>
3769                                                         <b/>
3770                                                         <lu>
3771                                                                 <lit v="me"/>
3772                                                                 <lit-tag v="prn.pro.p1.mf.sg"/>
3773                                                         </lu>
3774                                                         <b/>
3775                                                         <lu>
3776                                                                 <clip pos="4" side="tl" part="lemh"/>
3777                                                                 <clip pos="4" side="tl" part="a_verb"/>
3778                                                                 <clip pos="4" side="tl" part="temps"/>
3779                                                                 <lit-tag v="p3"/>
3780                                                                 <clip pos="4" side="tl" part="gen"/>
3781                                                                 <lit-tag v="sg"/>
3782                                                         </lu>
3783                                                 </out>
3784                                         </when>
3785                                         <when>
3786                                                 <test>
3787                                                         <equal caseless="yes">
3788                                                                 <clip pos="1" side="sl" part="lem"/>
3789                                                                 <lit v="tu"/>
3790                                                         </equal>
3791                                                 </test>
3792                                                 <out>
3793                                                         <lu>
3794                                                                 <get-case-from pos="1">
3795                                                                         <lit v="a"/>
3796                                                                 </get-case-from>
3797                                                                 <lit-tag v="pr"/>
3798                                                         </lu>
3799                                                         <b/>
3800                                                         <lu>
3801                                                                 <lit v="ti"/>
3802                                                                 <lit-tag v="prn.tn.p2.mf.sg"/>
3803                                                         </lu>
3804                                                         <b/>
3805                                                         <lu>
3806                                                                 <clip pos="2" side="tl" part="whole"/>
3807                                                         </lu>
3808                                                         <b/>
3809                                                         <lu>
3810                                                                 <lit v="te"/>
3811                                                                 <lit-tag v="prn.pro.p2.mf.sg"/>
3812                                                         </lu>
3813                                                         <b/>
3814                                                         <lu>
3815                                                                 <clip pos="4" side="tl" part="lemh"/>
3816                                                                 <clip pos="4" side="tl" part="a_verb"/>
3817                                                                 <clip pos="4" side="tl" part="temps"/>
3818                                                                 <lit-tag v="p3"/>
3819                                                                 <clip pos="4" side="tl" part="gen"/>
3820                                                                 <lit-tag v="sg"/>
3821                                                         </lu>
3822                                                 </out>
3823                                         </when>
3824                                         <when>
3825                                                 <test>
3826                                                         <and>
3827                                                                 <equal>
3828                                                                         <clip pos="1" side="sl" part="persona"/>
3829                                                                         <lit-tag v="p3"/>
3830                                                                 </equal>
3831                                                                 <equal>
3832                                                                         <clip pos="1" side="sl" part="nbr"/>
3833                                                                         <lit-tag v="sg"/>
3834                                                                 </equal>
3835                                                                 <equal>
3836                                                                         <clip pos="1" side="sl" part="gen"/>
3837                                                                         <lit-tag v="m"/>
3838                                                                 </equal>
3839                                                         </and>
3840                                                 </test>
3841                                                 <out>
3842                                                         <lu>
3843                                                                 <get-case-from pos="1">
3844                                                                         <lit v="a"/>
3845                                                                 </get-case-from>
3846                                                                 <lit-tag v="pr"/>
3847                                                         </lu>
3848                                                         <b/>
3849                                                         <lu>
3850                                                                 <lit v="él"/>
3851                                                                 <lit-tag v="prn.tn.p3.m.sg"/>
3852                                                         </lu>
3853                                                         <b/>
3854                                                         <lu>
3855                                                                 <clip pos="2" side="tl" part="whole"/>
3856                                                         </lu>
3857                                                         <b/>
3858                                                         <lu>
3859                                                                 <lit v="le"/>
3860                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
3861                                                         </lu>
3862                                                         <b/>
3863                                                         <lu>
3864                                                                 <clip pos="4" side="tl" part="lemh"/>
3865                                                                 <clip pos="4" side="tl" part="a_verb"/>
3866                                                                 <clip pos="4" side="tl" part="temps"/>
3867                                                                 <lit-tag v="p3"/>
3868                                                                 <clip pos="4" side="tl" part="gen"/>
3869                                                                 <lit-tag v="sg"/>
3870                                                         </lu>
3871                                                 </out>
3872                                         </when>
3873                                         <when>
3874                                                 <test>
3875                                                         <and>
3876                                                                 <equal>
3877                                                                         <clip pos="1" side="sl" part="persona"/>
3878                                                                         <lit-tag v="p3"/>
3879                                                                 </equal>
3880                                                                 <equal>
3881                                                                         <clip pos="1" side="sl" part="gen"/>
3882                                                                         <lit-tag v="f"/>
3883                                                                 </equal>
3884                                                                 <equal>
3885                                                                         <clip pos="1" side="sl" part="nbr"/>
3886                                                                         <lit-tag v="sg"/>
3887                                                                 </equal>
3888                                                         </and>
3889                                                 </test>
3890                                                 <out>
3891                                                         <lu>
3892                                                                 <get-case-from pos="1">
3893                                                                         <lit v="a"/>
3894                                                                 </get-case-from>
3895                                                                 <lit-tag v="pr"/>
3896                                                         </lu>
3897                                                         <b/>
3898                                                         <lu>
3899                                                                 <lit v="él"/>
3900                                                                 <lit-tag v="prn.tn.p3.f.sg"/>
3901                                                         </lu>
3902                                                         <b/>
3903                                                         <lu>
3904                                                                 <clip pos="2" side="tl" part="whole"/>
3905                                                         </lu>
3906                                                         <b/>
3907                                                         <lu>
3908                                                                 <lit v="le"/>
3909                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
3910                                                         </lu>
3911                                                         <b/>
3912                                                         <lu>
3913                                                                 <clip pos="4" side="tl" part="lemh"/>
3914                                                                 <clip pos="4" side="tl" part="a_verb"/>
3915                                                                 <clip pos="4" side="tl" part="temps"/>
3916                                                                 <lit-tag v="p3"/>
3917                                                                 <clip pos="4" side="tl" part="gen"/>
3918                                                                 <lit-tag v="sg"/>
3919                                                         </lu>
3920                                                 </out>
3921                                         </when>
3922                                         <when>
3923                                                 <test>
3924                                                         <equal caseless="yes">
3925                                                                 <clip pos="1" side="sl" part="lem"/>
3926                                                                 <lit v="nós"/>
3927                                                         </equal>
3928                                                 </test>
3929                                                 <out>
3930                                                         <lu>
3931                                                                 <get-case-from pos="1">
3932                                                                         <lit v="a"/>
3933                                                                 </get-case-from>
3934                                                                 <lit-tag v="pr"/>
3935                                                         </lu>
3936                                                         <b/>
3937                                                         <lu>
3938                                                                 <lit v="nosotros"/>
3939                                                                 <lit-tag v="prn.tn.p1.mf.pl"/>
3940                                                         </lu>
3941                                                         <b/>
3942                                                         <lu>
3943                                                                 <clip pos="2" side="tl" part="whole"/>
3944                                                         </lu>
3945                                                         <b/>
3946                                                         <lu>
3947                                                                 <lit v="nos"/>
3948                                                                 <lit-tag v="prn.pro.p1.mf.pl"/>
3949                                                         </lu>
3950                                                         <b/>
3951                                                         <lu>
3952                                                                 <clip pos="4" side="tl" part="lemh"/>
3953                                                                 <clip pos="4" side="tl" part="a_verb"/>
3954                                                                 <clip pos="4" side="tl" part="temps"/>
3955                                                                 <lit-tag v="p3"/>
3956                                                                 <clip pos="4" side="tl" part="gen"/>
3957                                                                 <lit-tag v="sg"/>
3958                                                         </lu>
3959                                                 </out>
3960                                         </when>
3961                                         <when>
3962                                                 <test>
3963                                                         <equal caseless="yes">
3964                                                                 <clip pos="1" side="sl" part="lem"/>
3965                                                                 <lit v="vós"/>
3966                                                         </equal>
3967                                                 </test>
3968                                                 <out>
3969                                                         <lu>
3970                                                                 <get-case-from pos="1">
3971                                                                         <lit v="a"/>
3972                                                                 </get-case-from>
3973                                                                 <lit-tag v="pr"/>
3974                                                         </lu>
3975                                                         <b/>
3976                                                         <lu>
3977                                                                 <lit v="vosotros"/>
3978                                                                 <lit-tag v="prn.tn.p2.mf.pl"/>
3979                                                         </lu>
3980                                                         <b/>
3981                                                         <lu>
3982                                                                 <clip pos="2" side="tl" part="whole"/>
3983                                                         </lu>
3984                                                         <b/>
3985                                                         <lu>
3986                                                                 <lit v="os"/>
3987                                                                 <lit-tag v="prn.pro.p2.mf.pl"/>
3988                                                         </lu>
3989                                                         <b/>
3990                                                         <lu>
3991                                                                 <clip pos="4" side="tl" part="lemh"/>
3992                                                                 <clip pos="4" side="tl" part="a_verb"/>
3993                                                                 <clip pos="4" side="tl" part="temps"/>
3994                                                                 <lit-tag v="p3"/>
3995                                                                 <clip pos="4" side="tl" part="gen"/>
3996                                                                 <lit-tag v="sg"/>
3997                                                         </lu>
3998                                                 </out>
3999                                         </when>
4000                                         <when>
4001                                                 <test>
4002                                                         <equal caseless="yes">
4003                                                                 <clip pos="1" side="sl" part="lem"/>
4004                                                                 <lit v="você"/>
4005                                                         </equal>
4006                                                 </test>
4007                                                 <out>
4008                                                         <lu>
4009                                                                 <get-case-from pos="1">
4010                                                                         <lit v="a"/>
4011                                                                 </get-case-from>
4012                                                                 <lit-tag v="pr"/>
4013                                                         </lu>
4014                                                         <b/>
4015                                                         <lu>
4016                                                                 <lit v="usted"/>
4017                                                                 <lit-tag v="prn.tn.p3.mf"/>
4018                                                                 <clip pos="1" side="sl" part="nbr"/>
4019                                                         </lu>
4020                                                         <b/>
4021                                                         <lu>
4022                                                                 <clip pos="2" side="tl" part="whole"/>
4023                                                         </lu>
4024                                                         <b/>
4025                                                         <lu>
4026                                                                 <lit v="le"/>
4027                                                                 <lit-tag v="prn.pro.p3.mf"/>
4028                                                                 <clip pos="1" side="sl" part="nbr"/>
4029                                                         </lu>
4030                                                         <b/>
4031                                                         <lu>
4032                                                                 <clip pos="4" side="tl" part="lemh"/>
4033                                                                 <clip pos="4" side="tl" part="a_verb"/>
4034                                                                 <clip pos="4" side="tl" part="temps"/>
4035                                                                 <lit-tag v="p3"/>
4036                                                                 <clip pos="4" side="tl" part="gen"/>
4037                                                                 <lit-tag v="sg"/>
4038                                                         </lu>
4039                                                 </out>
4040                                         </when>
4041                                         <when>
4042                                                 <test>
4043                                                         <and>
4044                                                                 <equal>
4045                                                                         <clip pos="1" side="sl" part="persona"/>
4046                                                                         <lit-tag v="p3"/>
4047                                                                 </equal>
4048                                                                 <equal>
4049                                                                         <clip pos="1" side="sl" part="gen"/>
4050                                                                         <lit-tag v="m"/>
4051                                                                 </equal>
4052                                                                 <equal>
4053                                                                         <clip pos="1" side="sl" part="nbr"/>
4054                                                                         <lit-tag v="pl"/>
4055                                                                 </equal>
4056                                                         </and>
4057                                                 </test>
4058                                                 <out>
4059                                                         <lu>
4060                                                                 <get-case-from pos="1">
4061                                                                         <lit v="a"/>
4062                                                                 </get-case-from>
4063                                                                 <lit-tag v="pr"/>
4064                                                         </lu>
4065                                                         <b/>
4066                                                         <lu>
4067                                                                 <lit v="él"/>
4068                                                                 <lit-tag v="prn.tn.p3.m.pl"/>
4069                                                         </lu>
4070                                                         <b/>
4071                                                         <lu>
4072                                                                 <clip pos="2" side="tl" part="whole"/>
4073                                                         </lu>
4074                                                         <b/>
4075                                                         <lu>
4076                                                                 <lit v="le"/>
4077                                                                 <lit-tag v="prn.pro.p3.mf.pl"/>
4078                                                         </lu>
4079                                                         <b/>
4080                                                         <lu>
4081                                                                 <clip pos="4" side="tl" part="lemh"/>
4082                                                                 <clip pos="4" side="tl" part="a_verb"/>
4083                                                                 <clip pos="4" side="tl" part="temps"/>
4084                                                                 <lit-tag v="p3"/>
4085                                                                 <clip pos="4" side="tl" part="gen"/>
4086                                                                 <lit-tag v="sg"/>
4087                                                         </lu>
4088                                                 </out>
4089                                         </when>
4090                                         <when>
4091                                                 <test>
4092                                                         <and>
4093                                                                 <equal>
4094                                                                         <clip pos="1" side="sl" part="persona"/>
4095                                                                         <lit-tag v="p3"/>
4096                                                                 </equal>
4097                                                                 <equal>
4098                                                                         <clip pos="1" side="sl" part="gen"/>
4099                                                                         <lit-tag v="f"/>
4100                                                                 </equal>
4101                                                                 <equal>
4102                                                                         <clip pos="1" side="sl" part="nbr"/>
4103                                                                         <lit-tag v="pl"/>
4104                                                                 </equal>
4105                                                         </and>
4106                                                 </test>
4107                                                 <out>
4108                                                         <lu>
4109                                                                 <get-case-from pos="1">
4110                                                                         <lit v="a"/>
4111                                                                 </get-case-from>
4112                                                                 <lit-tag v="pr"/>
4113                                                         </lu>
4114                                                         <b/>
4115                                                         <lu>
4116                                                                 <lit v="él"/>
4117                                                                 <lit-tag v="prn.tn.p3.f.pl"/>
4118                                                         </lu>
4119                                                         <b/>
4120                                                         <lu>
4121                                                                 <clip pos="2" side="tl" part="whole"/>
4122                                                         </lu>
4123                                                         <b/>
4124                                                         <lu>
4125                                                                 <lit v="le"/>
4126                                                                 <lit-tag v="prn.pro.p3.mf"/>
4127                                                                 <clip pos="1" side="sl" part="nbr"/>
4128                                                         </lu>
4129                                                         <b/>
4130                                                         <lu>
4131                                                                 <clip pos="4" side="tl" part="lemh"/>
4132                                                                 <clip pos="4" side="tl" part="a_verb"/>
4133                                                                 <clip pos="4" side="tl" part="temps"/>
4134                                                                 <lit-tag v="p3"/>
4135                                                                 <clip pos="4" side="tl" part="gen"/>
4136                                                                 <lit-tag v="sg"/>
4137                                                         </lu>
4138                                                 </out>
4139                                         </when>
4140                                         <otherwise>
4141                                                 <out>
4142                                                         <lu>
4143                                                                 <clip pos="1" side="tl" part="whole"/>
4144                                                         </lu>
4145                                                         <b/>
4146                                                         <lu>
4147                                                                 <clip pos="2" side="tl" part="whole"/>
4148                                                         </lu>
4149                                                         <b/>
4150                                                         <lu>
4151                                                                 <clip pos="3" side="tl" part="whole"/>
4152                                                         </lu>
4153                                                         <b/>
4154                                                         <lu>
4155                                                                 <clip pos="4" side="tl" part="lemh"/>
4156                                                                 <clip pos="4" side="tl" part="a_verb"/>
4157                                                                 <clip pos="4" side="tl" part="temps"/>
4158                                                                 <clip pos="4" side="tl" part="persona"/>
4159                                                                 <clip pos="4" side="tl" part="gen"/>
4160                                                                 <clip pos="4" side="tl" part="nbr"/>
4161                                                         </lu>
4162                                                 </out>
4163                                         </otherwise>
4164                                 </choose>
4165                         </action>
4166                 </rule>
4167                 <rule>
4168                         <!--REGRA 3- Eu importo-me com coisas > A mí me importan cousas-->
4169                         <pattern>
4170                                 <pattern-item n="prn"/>
4171                                 <pattern-item n="importar"/>
4172                                 <pattern-item n="prnenc"/>
4173                                 <pattern-item n="com"/>
4174                                 <pattern-item n="aqueloutras"/>
4175                         </pattern>
4176                         <action>
4177                                 <choose>
4178                                         <when>
4179                                                 <test>
4180                                                         <equal caseless="yes">
4181                                                                 <clip pos="1" side="sl" part="lem"/>
4182                                                                 <lit v="eu"/>
4183                                                         </equal>
4184                                                 </test>
4185                                                 <out>
4186                                                         <lu>
4187                                                                 <get-case-from pos="1">
4188                                                                         <lit v="a"/>
4189                                                                 </get-case-from>
4190                                                                 <lit-tag v="pr"/>
4191                                                         </lu>
4192                                                         <b/>
4193                                                         <lu>
4194                                                                 <lit v="mí"/>
4195                                                                 <lit-tag v="prn.tn.p1.mf.sg"/>
4196                                                         </lu>
4197                                                         <b/>
4198                                                         <lu>
4199                                                                 <lit v="me"/>
4200                                                                 <lit-tag v="prn.pro.p1.mf.sg"/>
4201                                                         </lu>
4202                                                         <b/>
4203                                                         <lu>
4204                                                                 <get-case-from pos="2">
4205                                                                         <clip pos="2" side="tl" part="lemh"/>
4206                                                                 </get-case-from>
4207                                                                 <clip pos="2" side="tl" part="a_verb"/>
4208                                                                 <clip pos="2" side="tl" part="temps"/>
4209                                                                 <lit-tag v="p3"/>
4210                                                                 <clip pos="2" side="tl" part="gen"/>
4211                                                                 <clip pos="5" side="tl" part="nbr"/>
4212                                                         </lu>
4213                                                         <b/>
4214                                                         <lu>
4215                                                                 <clip pos="5" side="tl" part="whole"/>
4216                                                         </lu>
4217                                                 </out>
4218                                         </when>
4219                                         <when>
4220                                                 <test>
4221                                                         <equal caseless="yes">
4222                                                                 <clip pos="1" side="sl" part="lem"/>
4223                                                                 <lit v="tu"/>
4224                                                         </equal>
4225                                                 </test>
4226                                                 <out>
4227                                                         <lu>
4228                                                                 <get-case-from pos="1">
4229                                                                         <lit v="a"/>
4230                                                                 </get-case-from>
4231                                                                 <lit-tag v="pr"/>
4232                                                         </lu>
4233                                                         <b/>
4234                                                         <lu>
4235                                                                 <lit v="ti"/>
4236                                                                 <lit-tag v="prn.tn.p2.mf.sg"/>
4237                                                         </lu>
4238                                                         <b/>
4239                                                         <lu>
4240                                                                 <lit v="te"/>
4241                                                                 <lit-tag v="prn.pro.p2.mf.sg"/>
4242                                                         </lu>
4243                                                         <b/>
4244                                                         <lu>
4245                                                                 <get-case-from pos="2">
4246                                                                         <clip pos="2" side="tl" part="lemh"/>
4247                                                                 </get-case-from>
4248                                                                 <clip pos="2" side="tl" part="a_verb"/>
4249                                                                 <clip pos="2" side="tl" part="temps"/>
4250                                                                 <lit-tag v="p3"/>
4251                                                                 <clip pos="2" side="tl" part="gen"/>
4252                                                                 <clip pos="5" side="tl" part="nbr"/>
4253                                                         </lu>
4254                                                         <b/>
4255                                                         <lu>
4256                                                                 <clip pos="5" side="tl" part="whole"/>
4257                                                         </lu>
4258                                                 </out>
4259                                         </when>
4260                                         <when>
4261                                                 <test>
4262                                                         <and>
4263                                                                 <equal>
4264                                                                         <clip pos="1" side="sl" part="persona"/>
4265                                                                         <lit-tag v="p3"/>
4266                                                                 </equal>
4267                                                                 <equal>
4268                                                                         <clip pos="1" side="sl" part="gen"/>
4269                                                                         <lit-tag v="m"/>
4270                                                                 </equal>
4271                                                                 <equal>
4272                                                                         <clip pos="1" side="sl" part="nbr"/>
4273                                                                         <lit-tag v="sg"/>
4274                                                                 </equal>
4275                                                         </and>
4276                                                 </test>
4277                                                 <out>
4278                                                         <lu>
4279                                                                 <get-case-from pos="1">
4280                                                                         <lit v="a"/>
4281                                                                 </get-case-from>
4282                                                                 <lit-tag v="pr"/>
4283                                                         </lu>
4284                                                         <b/>
4285                                                         <lu>
4286                                                                 <lit v="él"/>
4287                                                                 <lit-tag v="prn.tn.p3.m.sg"/>
4288                                                         </lu>
4289                                                         <b/>
4290                                                         <lu>
4291                                                                 <lit v="le"/>
4292                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
4293                                                         </lu>
4294                                                         <b/>
4295                                                         <lu>
4296                                                                 <get-case-from pos="2">
4297                                                                         <clip pos="2" side="tl" part="lemh"/>
4298                                                                 </get-case-from>
4299                                                                 <clip pos="2" side="tl" part="a_verb"/>
4300                                                                 <clip pos="2" side="tl" part="temps"/>
4301                                                                 <lit-tag v="p3"/>
4302                                                                 <clip pos="2" side="tl" part="gen"/>
4303                                                                 <clip pos="5" side="tl" part="nbr"/>
4304                                                         </lu>
4305                                                         <b/>
4306                                                         <lu>
4307                                                                 <clip pos="5" side="tl" part="whole"/>
4308                                                         </lu>
4309                                                 </out>
4310                                         </when>
4311                                         <when>
4312                                                 <test>
4313                                                         <and>
4314                                                                 <equal>
4315                                                                         <clip pos="1" side="sl" part="persona"/>
4316                                                                         <lit-tag v="p3"/>
4317                                                                 </equal>
4318                                                                 <equal>
4319                                                                         <clip pos="1" side="sl" part="gen"/>
4320                                                                         <lit-tag v="f"/>
4321                                                                 </equal>
4322                                                                 <equal>
4323                                                                         <clip pos="1" side="sl" part="nbr"/>
4324                                                                         <lit-tag v="sg"/>
4325                                                                 </equal>
4326                                                         </and>
4327                                                 </test>
4328                                                 <out>
4329                                                         <lu>
4330                                                                 <get-case-from pos="1">
4331                                                                         <lit v="a"/>
4332                                                                 </get-case-from>
4333                                                                 <lit-tag v="pr"/>
4334                                                         </lu>
4335                                                         <b/>
4336                                                         <lu>
4337                                                                 <lit v="él"/>
4338                                                                 <lit-tag v="prn.tn.p3.f.sg"/>
4339                                                         </lu>
4340                                                         <b/>
4341                                                         <lu>
4342                                                                 <lit v="le"/>
4343                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
4344                                                         </lu>
4345                                                         <b/>
4346                                                         <lu>
4347                                                                 <get-case-from pos="2">
4348                                                                         <clip pos="2" side="tl" part="lemh"/>
4349                                                                 </get-case-from>
4350                                                                 <clip pos="2" side="tl" part="a_verb"/>
4351                                                                 <clip pos="2" side="tl" part="temps"/>
4352                                                                 <lit-tag v="p3"/>
4353                                                                 <clip pos="2" side="tl" part="gen"/>
4354                                                                 <clip pos="5" side="tl" part="nbr"/>
4355                                                         </lu>
4356                                                         <b/>
4357                                                         <lu>
4358                                                                 <clip pos="5" side="tl" part="whole"/>
4359                                                         </lu>
4360                                                 </out>
4361                                         </when>
4362                                         <when>
4363                                                 <test>
4364                                                         <equal caseless="yes">
4365                                                                 <clip pos="1" side="sl" part="lem"/>
4366                                                                 <lit v="nós"/>
4367                                                         </equal>
4368                                                 </test>
4369                                                 <out>
4370                                                         <lu>
4371                                                                 <get-case-from pos="1">
4372                                                                         <lit v="a"/>
4373                                                                 </get-case-from>
4374                                                                 <lit-tag v="pr"/>
4375                                                         </lu>
4376                                                         <b/>
4377                                                         <lu>
4378                                                                 <lit v="nosotros"/>
4379                                                                 <lit-tag v="prn.tn.p1.m.pl"/>
4380                                                         </lu>
4381                                                         <b/>
4382                                                         <lu>
4383                                                                 <lit v="nos"/>
4384                                                                 <lit-tag v="prn.pro.p1.mf.pl"/>
4385                                                         </lu>
4386                                                         <b/>
4387                                                         <lu>
4388                                                                 <get-case-from pos="2">
4389                                                                         <clip pos="2" side="tl" part="lemh"/>
4390                                                                 </get-case-from>
4391                                                                 <clip pos="2" side="tl" part="a_verb"/>
4392                                                                 <clip pos="2" side="tl" part="temps"/>
4393                                                                 <lit-tag v="p3"/>
4394                                                                 <clip pos="2" side="tl" part="gen"/>
4395                                                                 <clip pos="5" side="tl" part="nbr"/>
4396                                                         </lu>
4397                                                         <b/>
4398                                                         <lu>
4399                                                                 <clip pos="5" side="tl" part="whole"/>
4400                                                         </lu>
4401                                                 </out>
4402                                         </when>
4403                                         <when>
4404                                                 <test>
4405                                                         <equal caseless="yes">
4406                                                                 <clip pos="1" side="sl" part="lem"/>
4407                                                                 <lit v="vós"/>
4408                                                         </equal>
4409                                                 </test>
4410                                                 <out>
4411                                                         <lu>
4412                                                                 <get-case-from pos="1">
4413                                                                         <lit v="a"/>
4414                                                                 </get-case-from>
4415                                                                 <lit-tag v="pr"/>
4416                                                         </lu>
4417                                                         <b/>
4418                                                         <lu>
4419                                                                 <lit v="vosotros"/>
4420                                                                 <lit-tag v="prn.tn.p2.mf.pl"/>
4421                                                         </lu>
4422                                                         <b/>
4423                                                         <lu>
4424                                                                 <get-case-from pos="2">
4425                                                                         <clip pos="2" side="tl" part="lemh"/>
4426                                                                 </get-case-from>
4427                                                                 <clip pos="2" side="tl" part="a_verb"/>
4428                                                                 <clip pos="2" side="tl" part="temps"/>
4429                                                                 <lit-tag v="p3"/>
4430                                                                 <clip pos="2" side="tl" part="gen"/>
4431                                                                 <clip pos="5" side="tl" part="nbr"/>
4432                                                         </lu>
4433                                                         <b/>
4434                                                         <lu>
4435                                                                 <clip pos="5" side="tl" part="whole"/>
4436                                                         </lu>
4437                                                 </out>
4438                                         </when>
4439                                         <when>
4440                                                 <test>
4441                                                         <equal caseless="yes">
4442                                                                 <clip pos="1" side="sl" part="lem"/>
4443                                                                 <lit v="você"/>
4444                                                         </equal>
4445                                                 </test>
4446                                                 <out>
4447                                                         <lu>
4448                                                                 <get-case-from pos="1">
4449                                                                         <lit v="a"/>
4450                                                                 </get-case-from>
4451                                                                 <lit-tag v="pr"/>
4452                                                         </lu>
4453                                                         <b/>
4454                                                         <lu>
4455                                                                 <lit v="usted"/>
4456                                                                 <lit-tag v="prn.tn.p3.mf"/>
4457                                                                 <clip pos="1" side="sl" part="nbr"/>
4458                                                         </lu>
4459                                                         <b/>
4460                                                         <lu>
4461                                                                 <lit v="le"/>
4462                                                                 <lit-tag v="prn.pro.p3.mf"/>
4463                                                                 <clip pos="1" side="sl" part="nbr"/>
4464                                                         </lu>
4465                                                         <b/>
4466                                                         <lu>
4467                                                                 <get-case-from pos="2">
4468                                                                         <clip pos="2" side="tl" part="lemh"/>
4469                                                                 </get-case-from>
4470                                                                 <clip pos="2" side="tl" part="a_verb"/>
4471                                                                 <clip pos="2" side="tl" part="temps"/>
4472                                                                 <lit-tag v="p3"/>
4473                                                                 <clip pos="2" side="tl" part="gen"/>
4474                                                                 <clip pos="5" side="tl" part="nbr"/>
4475                                                         </lu>
4476                                                         <b/>
4477                                                         <lu>
4478                                                                 <clip pos="5" side="tl" part="whole"/>
4479                                                         </lu>
4480                                                 </out>
4481                                         </when>
4482                                         <when>
4483                                                 <test>
4484                                                         <and>
4485                                                                 <equal>
4486                                                                         <clip pos="1" side="sl" part="persona"/>
4487                                                                         <lit-tag v="p3"/>
4488                                                                 </equal>
4489                                                                 <equal>
4490                                                                         <clip pos="1" side="sl" part="gen"/>
4491                                                                         <lit-tag v="m"/>
4492                                                                 </equal>
4493                                                                 <equal>
4494                                                                         <clip pos="1" side="sl" part="nbr"/>
4495                                                                         <lit-tag v="pl"/>
4496                                                                 </equal>
4497                                                         </and>
4498                                                 </test>
4499                                                 <out>
4500                                                         <lu>
4501                                                                 <get-case-from pos="1">
4502                                                                         <lit v="a"/>
4503                                                                 </get-case-from>
4504                                                                 <lit-tag v="pr"/>
4505                                                         </lu>
4506                                                         <b/>
4507                                                         <lu>
4508                                                                 <lit v="él"/>
4509                                                                 <lit-tag v="prn.tn.p3.m.pl"/>
4510                                                         </lu>
4511                                                         <b/>
4512                                                         <lu>
4513                                                                 <lit v="le"/>
4514                                                                 <lit-tag v="prn.pro.p3.mf.pl"/>
4515                                                         </lu>
4516                                                         <b/>
4517                                                         <lu>
4518                                                                 <get-case-from pos="2">
4519                                                                         <clip pos="2" side="tl" part="lemh"/>
4520                                                                 </get-case-from>
4521                                                                 <clip pos="2" side="tl" part="a_verb"/>
4522                                                                 <clip pos="2" side="tl" part="temps"/>
4523                                                                 <lit-tag v="p3"/>
4524                                                                 <clip pos="2" side="tl" part="gen"/>
4525                                                                 <clip pos="5" side="tl" part="nbr"/>
4526                                                         </lu>
4527                                                         <b/>
4528                                                         <lu>
4529                                                                 <clip pos="5" side="tl" part="whole"/>
4530                                                         </lu>
4531                                                 </out>
4532                                         </when>
4533                                         <when>
4534                                                 <test>
4535                                                         <and>
4536                                                                 <equal>
4537                                                                         <clip pos="1" side="sl" part="persona"/>
4538                                                                         <lit-tag v="p3"/>
4539                                                                 </equal>
4540                                                                 <equal>
4541                                                                         <clip pos="1" side="sl" part="gen"/>
4542                                                                         <lit-tag v="f"/>
4543                                                                 </equal>
4544                                                                 <equal>
4545                                                                         <clip pos="1" side="sl" part="nbr"/>
4546                                                                         <lit-tag v="pl"/>
4547                                                                 </equal>
4548                                                         </and>
4549                                                 </test>
4550                                                 <out>
4551                                                         <lu>
4552                                                                 <get-case-from pos="1">
4553                                                                         <lit v="a"/>
4554                                                                 </get-case-from>
4555                                                                 <lit-tag v="pr"/>
4556                                                         </lu>
4557                                                         <b/>
4558                                                         <lu>
4559                                                                 <lit v="él"/>
4560                                                                 <lit-tag v="prn.tn.p3.f.pl"/>
4561                                                         </lu>
4562                                                         <b/>
4563                                                         <lu>
4564                                                                 <lit v="le"/>
4565                                                                 <lit-tag v="prn.pro.p3.mf.pl"/>
4566                                                         </lu>
4567                                                         <b/>
4568                                                         <lu>
4569                                                                 <get-case-from pos="2">
4570                                                                         <clip pos="2" side="tl" part="lemh"/>
4571                                                                 </get-case-from>
4572                                                                 <clip pos="2" side="tl" part="a_verb"/>
4573                                                                 <clip pos="2" side="tl" part="temps"/>
4574                                                                 <lit-tag v="p3"/>
4575                                                                 <clip pos="2" side="tl" part="gen"/>
4576                                                                 <clip pos="5" side="tl" part="nbr"/>
4577                                                         </lu>
4578                                                         <b/>
4579                                                         <lu>
4580                                                                 <clip pos="5" side="tl" part="whole"/>
4581                                                         </lu>
4582                                                 </out>
4583                                         </when>
4584                                         <otherwise>
4585                                                 <out>
4586                                                         <lu>
4587                                                                 <clip pos="1" side="tl" part="whole"/>
4588                                                         </lu>
4589                                                         <b/>
4590                                                         <mlu>
4591                                                                 <lu>
4592                                                                         <clip pos="2" side="tl" part="lemh"/>
4593                                                                         <clip pos="2" side="tl" part="a_verb"/>
4594                                                                         <clip pos="2" side="tl" part="temps"/>
4595                                                                         <lit-tag v="p3"/>
4596                                                                         <clip pos="2" side="tl" part="gen"/>
4597                                                                         <clip pos="5" side="tl" part="nbr"/>
4598                                                                 </lu>
4599                                                                 <lu>
4600                                                                         <clip pos="3" side="tl" part="whole"/>
4601                                                                 </lu>
4602                                                         </mlu>
4603                                                         <b/>
4604                                                         <lu>
4605                                                                 <clip pos="4" side="tl" part="whole"/>
4606                                                         </lu>
4607                                                         <b/>
4608                                                         <lu>
4609                                                                 <clip pos="5" side="tl" part="whole"/>
4610                                                         </lu>
4611                                                 </out>
4612                                         </otherwise>
4613                                 </choose>
4614                         </action>
4615                 </rule>
4616                 <rule>
4617                         <!--REGRA 4- Eu importo-me com o aquecimento > A mí me importa la calefacción-->
4618                         <pattern>
4619                                 <pattern-item n="prn"/>
4620                                 <pattern-item n="importar"/>
4621                                 <pattern-item n="prnenc"/>
4622                                 <pattern-item n="com"/>
4623                                 <pattern-item n="det"/>
4624                                 <pattern-item n="aqueloutras"/>
4625                         </pattern>
4626                         <action>
4627                                 <choose>
4628                                         <when>
4629                                                 <test>
4630                                                         <equal caseless="yes">
4631                                                                 <clip pos="1" side="sl" part="lem"/>
4632                                                                 <lit v="eu"/>
4633                                                         </equal>
4634                                                 </test>
4635                                                 <out>
4636                                                         <lu>
4637                                                                 <get-case-from pos="1">
4638                                                                         <lit v="a"/>
4639                                                                 </get-case-from>
4640                                                                 <lit-tag v="pr"/>
4641                                                         </lu>
4642                                                         <b/>
4643                                                         <lu>
4644                                                                 <lit v="mí"/>
4645                                                                 <lit-tag v="prn.tn.p1.mf.sg"/>
4646                                                         </lu>
4647                                                         <b/>
4648                                                         <lu>
4649                                                                 <lit v="me"/>
4650                                                                 <lit-tag v="prn.tn.p1.mf.sg"/>
4651                                                         </lu>
4652                                                         <b/>
4653                                                         <lu>
4654                                                                 <get-case-from pos="2">
4655                                                                         <clip pos="2" side="tl" part="lemh"/>
4656                                                                 </get-case-from>
4657                                                                 <clip pos="2" side="tl" part="a_verb"/>
4658                                                                 <clip pos="2" side="tl" part="temps"/>
4659                                                                 <lit-tag v="p3"/>
4660                                                                 <clip pos="2" side="tl" part="gen"/>
4661                                                                 <clip pos="6" side="tl" part="nbr"/>
4662                                                         </lu>
4663                                                         <b/>
4664                                                         <lu>
4665                                                                 <clip pos="5" side="tl" part="whole"/>
4666                                                         </lu>
4667                                                         <b/>
4668                                                         <lu>
4669                                                                 <clip pos="6" side="tl" part="whole"/>
4670                                                         </lu>
4671                                                 </out>
4672                                         </when>
4673                                         <when>
4674                                                 <test>
4675                                                         <equal caseless="yes">
4676                                                                 <clip pos="1" side="sl" part="lem"/>
4677                                                                 <lit v="tu"/>
4678                                                         </equal>
4679                                                 </test>
4680                                                 <out>
4681                                                         <lu>
4682                                                                 <get-case-from pos="1">
4683                                                                         <lit v="a"/>
4684                                                                 </get-case-from>
4685                                                                 <lit-tag v="pr"/>
4686                                                         </lu>
4687                                                         <b/>
4688                                                         <lu>
4689                                                                 <lit v="ti"/>
4690                                                                 <lit-tag v="prn.tn.p2.mf.sg"/>
4691                                                         </lu>
4692                                                         <b/>
4693                                                         <lu>
4694                                                                 <lit v="te"/>
4695                                                                 <lit-tag v="prn.pro.p2.mf.sg"/>
4696                                                         </lu>
4697                                                         <b/>
4698                                                         <lu>
4699                                                                 <get-case-from pos="2">
4700                                                                         <clip pos="2" side="tl" part="lemh"/>
4701                                                                 </get-case-from>
4702                                                                 <clip pos="2" side="tl" part="a_verb"/>
4703                                                                 <clip pos="2" side="tl" part="temps"/>
4704                                                                 <lit-tag v="p3"/>
4705                                                                 <clip pos="2" side="tl" part="gen"/>
4706                                                                 <clip pos="6" side="tl" part="nbr"/>
4707                                                         </lu>
4708                                                         <b/>
4709                                                         <lu>
4710                                                                 <clip pos="5" side="tl" part="whole"/>
4711                                                         </lu>
4712                                                         <b/>
4713                                                         <lu>
4714                                                                 <clip pos="6" side="tl" part="whole"/>
4715                                                         </lu>
4716                                                 </out>
4717                                         </when>
4718                                         <when>
4719                                                 <test>
4720                                                         <and>
4721                                                                 <equal>
4722                                                                         <clip pos="1" side="sl" part="persona"/>
4723                                                                         <lit-tag v="p3"/>
4724                                                                 </equal>
4725                                                                 <equal>
4726                                                                         <clip pos="1" side="sl" part="gen"/>
4727                                                                         <lit-tag v="m"/>
4728                                                                 </equal>
4729                                                                 <equal>
4730                                                                         <clip pos="1" side="sl" part="nbr"/>
4731                                                                         <lit-tag v="sg"/>
4732                                                                 </equal>
4733                                                         </and>
4734                                                 </test>
4735                                                 <out>
4736                                                         <lu>
4737                                                                 <get-case-from pos="1">
4738                                                                         <lit v="a"/>
4739                                                                 </get-case-from>
4740                                                                 <lit-tag v="pr"/>
4741                                                         </lu>
4742                                                         <b/>
4743                                                         <lu>
4744                                                                 <lit v="él"/>
4745                                                                 <lit-tag v="prn.tn.p3.m.sg"/>
4746                                                         </lu>
4747                                                         <b/>
4748                                                         <lu>
4749                                                                 <lit v="le"/>
4750                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
4751                                                         </lu>
4752                                                         <b/>
4753                                                         <lu>
4754                                                                 <get-case-from pos="2">
4755                                                                         <clip pos="2" side="tl" part="lemh"/>
4756                                                                 </get-case-from>
4757                                                                 <clip pos="2" side="tl" part="a_verb"/>
4758                                                                 <clip pos="2" side="tl" part="temps"/>
4759                                                                 <lit-tag v="p3"/>
4760                                                                 <clip pos="2" side="tl" part="gen"/>
4761                                                                 <clip pos="6" side="tl" part="nbr"/>
4762                                                         </lu>
4763                                                         <b/>
4764                                                         <lu>
4765                                                                 <clip pos="5" side="tl" part="whole"/>
4766                                                         </lu>
4767                                                         <b/>
4768                                                         <lu>
4769                                                                 <clip pos="6" side="tl" part="whole"/>
4770                                                         </lu>
4771                                                 </out>
4772                                         </when>
4773                                         <when>
4774                                                 <test>
4775                                                         <and>
4776                                                                 <equal>
4777                                                                         <clip pos="1" side="sl" part="persona"/>
4778                                                                         <lit-tag v="p3"/>
4779                                                                 </equal>
4780                                                                 <equal>
4781                                                                         <clip pos="1" side="sl" part="gen"/>
4782                                                                         <lit-tag v="f"/>
4783                                                                 </equal>
4784                                                                 <equal>
4785                                                                         <clip pos="1" side="sl" part="nbr"/>
4786                                                                         <lit-tag v="sg"/>
4787                                                                 </equal>
4788                                                         </and>
4789                                                 </test>
4790                                                 <out>
4791                                                         <lu>
4792                                                                 <get-case-from pos="1">
4793                                                                         <lit v="a"/>
4794                                                                 </get-case-from>
4795                                                                 <lit-tag v="pr"/>
4796                                                         </lu>
4797                                                         <b/>
4798                                                         <lu>
4799                                                                 <lit v="él"/>
4800                                                                 <lit-tag v="prn.tn.p3.f.sg"/>
4801                                                         </lu>
4802                                                         <b/>
4803                                                         <lu>
4804                                                                 <lit v="le"/>
4805                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
4806                                                         </lu>
4807                                                         <b/>
4808                                                         <lu>
4809                                                                 <get-case-from pos="2">
4810                                                                         <clip pos="2" side="tl" part="lemh"/>
4811                                                                 </get-case-from>
4812                                                                 <clip pos="2" side="tl" part="a_verb"/>
4813                                                                 <clip pos="2" side="tl" part="temps"/>
4814                                                                 <lit-tag v="p3"/>
4815                                                                 <clip pos="2" side="tl" part="gen"/>
4816                                                                 <clip pos="6" side="tl" part="nbr"/>
4817                                                         </lu>
4818                                                         <b/>
4819                                                         <lu>
4820                                                                 <clip pos="5" side="tl" part="whole"/>
4821                                                         </lu>
4822                                                         <b/>
4823                                                         <lu>
4824                                                                 <clip pos="6" side="tl" part="whole"/>
4825                                                         </lu>
4826                                                 </out>
4827                                         </when>
4828                                         <when>
4829                                                 <test>
4830                                                         <equal caseless="yes">
4831                                                                 <clip pos="1" side="sl" part="lem"/>
4832                                                                 <lit v="nós"/>
4833                                                         </equal>
4834                                                 </test>
4835                                                 <out>
4836                                                         <lu>
4837                                                                 <get-case-from pos="1">
4838                                                                         <lit v="a"/>
4839                                                                 </get-case-from>
4840                                                                 <lit-tag v="pr"/>
4841                                                         </lu>
4842                                                         <b/>
4843                                                         <lu>
4844                                                                 <lit v="nosotros"/>
4845                                                                 <lit-tag v="prn.tn.p1.m.pl"/>
4846                                                         </lu>
4847                                                         <b/>
4848                                                         <lu>
4849                                                                 <lit v="nos"/>
4850                                                                 <lit-tag v="prn.pro.p1.mf.pl"/>
4851                                                         </lu>
4852                                                         <b/>
4853                                                         <lu>
4854                                                                 <get-case-from pos="2">
4855                                                                         <clip pos="2" side="tl" part="lemh"/>
4856                                                                 </get-case-from>
4857                                                                 <clip pos="2" side="tl" part="a_verb"/>
4858                                                                 <clip pos="2" side="tl" part="temps"/>
4859                                                                 <lit-tag v="p3"/>
4860                                                                 <clip pos="2" side="tl" part="gen"/>
4861                                                                 <clip pos="6" side="tl" part="nbr"/>
4862                                                         </lu>
4863                                                         <b/>
4864                                                         <lu>
4865                                                                 <clip pos="5" side="tl" part="whole"/>
4866                                                         </lu>
4867                                                         <b/>
4868                                                         <lu>
4869                                                                 <clip pos="6" side="tl" part="whole"/>
4870                                                         </lu>
4871                                                 </out>
4872                                         </when>
4873                                         <when>
4874                                                 <test>
4875                                                         <equal caseless="yes">
4876                                                                 <clip pos="1" side="sl" part="lem"/>
4877                                                                 <lit v="você"/>
4878                                                         </equal>
4879                                                 </test>
4880                                                 <out>
4881                                                         <lu>
4882                                                                 <get-case-from pos="1">
4883                                                                         <lit v="a"/>
4884                                                                 </get-case-from>
4885                                                                 <lit-tag v="pr"/>
4886                                                         </lu>
4887                                                         <b/>
4888                                                         <lu>
4889                                                                 <lit v="usted"/>
4890                                                                 <lit-tag v="prn.tn.p3.mf"/>
4891                                                                 <clip pos="1" side="sl" part="nbr"/>
4892                                                         </lu>
4893                                                         <b/>
4894                                                         <lu>
4895                                                                 <lit v="le"/>
4896                                                                 <lit-tag v="prn.pro.p3.mf"/>
4897                                                                 <clip pos="1" side="sl" part="nbr"/>
4898                                                         </lu>
4899                                                         <b/>
4900                                                         <lu>
4901                                                                 <get-case-from pos="2">
4902                                                                         <clip pos="2" side="tl" part="lemh"/>
4903                                                                 </get-case-from>
4904                                                                 <clip pos="2" side="tl" part="a_verb"/>
4905                                                                 <clip pos="2" side="tl" part="temps"/>
4906                                                                 <lit-tag v="p3"/>
4907                                                                 <clip pos="2" side="tl" part="gen"/>
4908                                                                 <clip pos="6" side="tl" part="nbr"/>
4909                                                         </lu>
4910                                                         <b/>
4911                                                         <lu>
4912                                                                 <clip pos="5" side="tl" part="whole"/>
4913                                                         </lu>
4914                                                         <b/>
4915                                                         <lu>
4916                                                                 <clip pos="6" side="tl" part="whole"/>
4917                                                         </lu>
4918                                                 </out>
4919                                         </when>
4920                                         <when>
4921                                                 <test>
4922                                                         <equal caseless="yes">
4923                                                                 <clip pos="1" side="sl" part="lem"/>
4924                                                                 <lit v="vós"/>
4925                                                         </equal>
4926                                                 </test>
4927                                                 <out>
4928                                                         <lu>
4929                                                                 <get-case-from pos="1">
4930                                                                         <lit v="a"/>
4931                                                                 </get-case-from>
4932                                                                 <lit-tag v="pr"/>
4933                                                         </lu>
4934                                                         <b/>
4935                                                         <lu>
4936                                                                 <lit v="vosotros"/>
4937                                                                 <lit-tag v="prn.tn.p2.mf.pl"/>
4938                                                         </lu>
4939                                                         <b/>
4940                                                         <lu>
4941                                                                 <lit v="os"/>
4942                                                                 <lit-tag v="prn.pro.p2.mf.pl"/>
4943                                                         </lu>
4944                                                         <b/>
4945                                                         <lu>
4946                                                                 <get-case-from pos="2">
4947                                                                         <clip pos="2" side="tl" part="lemh"/>
4948                                                                 </get-case-from>
4949                                                                 <clip pos="2" side="tl" part="a_verb"/>
4950                                                                 <clip pos="2" side="tl" part="temps"/>
4951                                                                 <lit-tag v="p3"/>
4952                                                                 <clip pos="2" side="tl" part="gen"/>
4953                                                                 <clip pos="6" side="tl" part="nbr"/>
4954                                                         </lu>
4955                                                         <b/>
4956                                                         <lu>
4957                                                                 <clip pos="5" side="tl" part="whole"/>
4958                                                         </lu>
4959                                                         <b/>
4960                                                         <lu>
4961                                                                 <clip pos="6" side="tl" part="whole"/>
4962                                                         </lu>
4963                                                 </out>
4964                                         </when>
4965                                         <when>
4966                                                 <test>
4967                                                         <and>
4968                                                                 <equal>
4969                                                                         <clip pos="1" side="sl" part="persona"/>
4970                                                                         <lit-tag v="p3"/>
4971                                                                 </equal>
4972                                                                 <equal>
4973                                                                         <clip pos="1" side="sl" part="gen"/>
4974                                                                         <lit-tag v="m"/>
4975                                                                 </equal>
4976                                                                 <equal>
4977                                                                         <clip pos="1" side="sl" part="nbr"/>
4978                                                                         <lit-tag v="pl"/>
4979                                                                 </equal>
4980                                                         </and>
4981                                                 </test>
4982                                                 <out>
4983                                                         <lu>
4984                                                                 <get-case-from pos="1">
4985                                                                         <lit v="a"/>
4986                                                                 </get-case-from>
4987                                                                 <lit-tag v="pr"/>
4988                                                         </lu>
4989                                                         <b/>
4990                                                         <lu>
4991                                                                 <lit v="él"/>
4992                                                                 <lit-tag v="prn.tn.p3.m.pl"/>
4993                                                         </lu>
4994                                                         <b/>
4995                                                         <lu>
4996                                                                 <lit v="le"/>
4997                                                                 <lit-tag v="prn.pro.p3.mf.pl"/>
4998                                                         </lu>
4999                                                         <b/>
5000                                                         <lu>
5001                                                                 <get-case-from pos="2">
5002                                                                         <clip pos="2" side="tl" part="lemh"/>
5003                                                                 </get-case-from>
5004                                                                 <clip pos="2" side="tl" part="a_verb"/>
5005                                                                 <clip pos="2" side="tl" part="temps"/>
5006                                                                 <lit-tag v="p3"/>
5007                                                                 <clip pos="2" side="tl" part="gen"/>
5008                                                                 <clip pos="6" side="tl" part="nbr"/>
5009                                                         </lu>
5010                                                         <b/>
5011                                                         <lu>
5012                                                                 <clip pos="5" side="tl" part="whole"/>
5013                                                         </lu>
5014                                                         <b/>
5015                                                         <lu>
5016                                                                 <clip pos="6" side="tl" part="whole"/>
5017                                                         </lu>
5018                                                 </out>
5019                                         </when>
5020                                         <when>
5021                                                 <test>
5022                                                         <and>
5023                                                                 <equal>
5024                                                                         <clip pos="1" side="sl" part="persona"/>
5025                                                                         <lit-tag v="p3"/>
5026                                                                 </equal>
5027                                                                 <equal>
5028                                                                         <clip pos="1" side="sl" part="gen"/>
5029                                                                         <lit-tag v="f"/>
5030                                                                 </equal>
5031                                                                 <equal>
5032                                                                         <clip pos="1" side="sl" part="nbr"/>
5033                                                                         <lit-tag v="pl"/>
5034                                                                 </equal>
5035                                                         </and>
5036                                                 </test>
5037                                                 <out>
5038                                                         <lu>
5039                                                                 <get-case-from pos="1">
5040                                                                         <lit v="a"/>
5041                                                                 </get-case-from>
5042                                                                 <lit-tag v="pr"/>
5043                                                         </lu>
5044                                                         <b/>
5045                                                         <lu>
5046                                                                 <lit v="él"/>
5047                                                                 <lit-tag v="prn.tn.p3.f.pl"/>
5048                                                         </lu>
5049                                                         <b/>
5050                                                         <lu>
5051                                                                 <lit v="le"/>
5052                                                                 <lit-tag v="prn.pro.p3.mf.pl"/>
5053                                                         </lu>
5054                                                         <b/>
5055                                                         <lu>
5056                                                                 <get-case-from pos="2">
5057                                                                         <clip pos="2" side="tl" part="lemh"/>
5058                                                                 </get-case-from>
5059                                                                 <clip pos="2" side="tl" part="a_verb"/>
5060                                                                 <clip pos="2" side="tl" part="temps"/>
5061                                                                 <lit-tag v="p3"/>
5062                                                                 <clip pos="2" side="tl" part="gen"/>
5063                                                                 <clip pos="6" side="tl" part="nbr"/>
5064                                                         </lu>
5065                                                         <b/>
5066                                                         <lu>
5067                                                                 <clip pos="5" side="tl" part="whole"/>
5068                                                         </lu>
5069                                                         <b/>
5070                                                         <lu>
5071                                                                 <clip pos="6" side="tl" part="whole"/>
5072                                                         </lu>
5073                                                 </out>
5074                                         </when>
5075                                         <otherwise>
5076                                                 <out>
5077                                                         <lu>
5078                                                                 <clip pos="1" side="tl" part="whole"/>
5079                                                         </lu>
5080                                                         <b/>
5081                                                         <mlu>
5082                                                                 <lu>
5083                                                                         <clip pos="2" side="tl" part="lemh"/>
5084                                                                         <clip pos="2" side="tl" part="a_verb"/>
5085                                                                         <clip pos="2" side="tl" part="temps"/>
5086                                                                         <lit-tag v="p3"/>
5087                                                                         <clip pos="2" side="tl" part="gen"/>
5088                                                                         <clip pos="6" side="tl" part="nbr"/>
5089                                                                 </lu>
5090                                                                 <lu>
5091                                                                         <clip pos="3" side="tl" part="whole"/>
5092                                                                 </lu>
5093                                                         </mlu>
5094                                                         <b/>
5095                                                         <lu>
5096                                                                 <clip pos="4" side="tl" part="whole"/>
5097                                                         </lu>
5098                                                         <b/>
5099                                                         <lu>
5100                                                                 <clip pos="5" side="tl" part="whole"/>
5101                                                         </lu>
5102                                                         <b/>
5103                                                         <lu>
5104                                                                 <clip pos="6" side="tl" part="whole"/>
5105                                                         </lu>
5106                                                 </out>
5107                                         </otherwise>
5108                                 </choose>
5109                         </action>
5110                 </rule>
5111                 <rule>
5112                         <!--REGRA 5- Eu não me importo com coisas > A mí no me importan cosas-->
5113                         <pattern>
5114                                 <pattern-item n="prn"/>
5115                                 <pattern-item n="proclise"/>
5116                                 <pattern-item n="prnpro"/>
5117                                 <pattern-item n="importar"/>
5118                                 <pattern-item n="com"/>
5119                                 <pattern-item n="aqueloutras"/>
5120                         </pattern>
5121                         <action>
5122                                 <choose>
5123                                         <when>
5124                                                 <test>
5125                                                         <equal caseless="yes">
5126                                                                 <clip pos="1" side="sl" part="lem"/>
5127                                                                 <lit v="eu"/>
5128                                                         </equal>
5129                                                 </test>
5130                                                 <out>
5131                                                         <lu>
5132                                                                 <get-case-from pos="1">
5133                                                                         <lit v="a"/>
5134                                                                 </get-case-from>
5135                                                                 <lit-tag v="pr"/>
5136                                                         </lu>
5137                                                         <b/>
5138                                                         <lu>
5139                                                                 <lit v="mí"/>
5140                                                                 <lit-tag v="prn.tn.p1.mf.sg"/>
5141                                                         </lu>
5142                                                         <b/>
5143                                                         <lu>
5144                                                                 <clip pos="2" side="tl" part="whole"/>
5145                                                         </lu>
5146                                                         <b/>
5147                                                         <lu>
5148                                                                 <clip pos="3" side="tl" part="whole"/>
5149                                                         </lu>
5150                                                         <b/>
5151                                                         <lu>
5152                                                                 <clip pos="4" side="tl" part="lemh"/>
5153                                                                 <clip pos="4" side="tl" part="a_verb"/>
5154                                                                 <clip pos="4" side="tl" part="temps"/>
5155                                                                 <lit-tag v="p3"/>
5156                                                                 <clip pos="4" side="tl" part="gen"/>
5157                                                                 <clip pos="6" side="tl" part="nbr"/>
5158                                                         </lu>
5159                                                         <b/>
5160                                                         <lu>
5161                                                                 <clip pos="6" side="tl" part="whole"/>
5162                                                         </lu>
5163                                                 </out>
5164                                         </when>
5165                                         <when>
5166                                                 <test>
5167                                                         <equal caseless="yes">
5168                                                                 <clip pos="1" side="sl" part="lem"/>
5169                                                                 <lit v="tu"/>
5170                                                         </equal>
5171                                                 </test>
5172                                                 <out>
5173                                                         <lu>
5174                                                                 <get-case-from pos="1">
5175                                                                         <lit v="a"/>
5176                                                                 </get-case-from>
5177                                                                 <lit-tag v="pr"/>
5178                                                         </lu>
5179                                                         <b/>
5180                                                         <lu>
5181                                                                 <lit v="ti"/>
5182                                                                 <lit-tag v="prn.tn.p2.mf.sg"/>
5183                                                         </lu>
5184                                                         <b/>
5185                                                         <lu>
5186                                                                 <clip pos="2" side="tl" part="whole"/>
5187                                                         </lu>
5188                                                         <b/>
5189                                                         <lu>
5190                                                                 <clip pos="3" side="tl" part="whole"/>
5191                                                         </lu>
5192                                                         <b/>
5193                                                         <lu>
5194                                                                 <clip pos="4" side="tl" part="lemh"/>
5195                                                                 <clip pos="4" side="tl" part="a_verb"/>
5196                                                                 <clip pos="4" side="tl" part="temps"/>
5197                                                                 <lit-tag v="p3"/>
5198                                                                 <clip pos="4" side="tl" part="gen"/>
5199                                                                 <clip pos="6" side="tl" part="nbr"/>
5200                                                         </lu>
5201                                                         <b/>
5202                                                         <lu>
5203                                                                 <clip pos="6" side="tl" part="whole"/>
5204                                                         </lu>
5205                                                 </out>
5206                                         </when>
5207                                         <when>
5208                                                 <test>
5209                                                         <and>
5210                                                                 <equal>
5211                                                                         <clip pos="1" side="sl" part="persona"/>
5212                                                                         <lit-tag v="p3"/>
5213                                                                 </equal>
5214                                                                 <equal>
5215                                                                         <clip pos="1" side="sl" part="gen"/>
5216                                                                         <lit-tag v="m"/>
5217                                                                 </equal>
5218                                                                 <equal>
5219                                                                         <clip pos="1" side="sl" part="nbr"/>
5220                                                                         <lit-tag v="sg"/>
5221                                                                 </equal>
5222                                                         </and>
5223                                                 </test>
5224                                                 <out>
5225                                                         <lu>
5226                                                                 <get-case-from pos="1">
5227                                                                         <lit v="a"/>
5228                                                                 </get-case-from>
5229                                                                 <lit-tag v="pr"/>
5230                                                         </lu>
5231                                                         <b/>
5232                                                         <lu>
5233                                                                 <lit v="él"/>
5234                                                                 <lit-tag v="prn.tn.p3.m.sg"/>
5235                                                         </lu>
5236                                                         <b/>
5237                                                         <lu>
5238                                                                 <clip pos="2" side="tl" part="whole"/>
5239                                                         </lu>
5240                                                         <b/>
5241                                                         <lu>
5242                                                                 <lit v="le"/>
5243                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
5244                                                         </lu>
5245                                                         <b/>
5246                                                         <lu>
5247                                                                 <clip pos="4" side="tl" part="lemh"/>
5248                                                                 <clip pos="4" side="tl" part="a_verb"/>
5249                                                                 <clip pos="4" side="tl" part="temps"/>
5250                                                                 <lit-tag v="p3"/>
5251                                                                 <clip pos="4" side="tl" part="gen"/>
5252                                                                 <clip pos="6" side="tl" part="nbr"/>
5253                                                         </lu>
5254                                                         <b/>
5255                                                         <lu>
5256                                                                 <clip pos="6" side="tl" part="whole"/>
5257                                                         </lu>
5258                                                 </out>
5259                                         </when>
5260                                         <when>
5261                                                 <test>
5262                                                         <and>
5263                                                                 <equal>
5264                                                                         <clip pos="1" side="sl" part="persona"/>
5265                                                                         <lit-tag v="p3"/>
5266                                                                 </equal>
5267                                                                 <equal>
5268                                                                         <clip pos="1" side="sl" part="gen"/>
5269                                                                         <lit-tag v="f"/>
5270                                                                 </equal>
5271                                                                 <equal>
5272                                                                         <clip pos="1" side="sl" part="nbr"/>
5273                                                                         <lit-tag v="sg"/>
5274                                                                 </equal>
5275                                                         </and>
5276                                                 </test>
5277                                                 <out>
5278                                                         <lu>
5279                                                                 <get-case-from pos="1">
5280                                                                         <lit v="a"/>
5281                                                                 </get-case-from>
5282                                                                 <lit-tag v="pr"/>
5283                                                         </lu>
5284                                                         <b/>
5285                                                         <lu>
5286                                                                 <lit v="él"/>
5287                                                                 <lit-tag v="prn.tn.p3.f.sg"/>
5288                                                         </lu>
5289                                                         <b/>
5290                                                         <lu>
5291                                                                 <clip pos="2" side="tl" part="whole"/>
5292                                                         </lu>
5293                                                         <b/>
5294                                                         <lu>
5295                                                                 <lit v="le"/>
5296                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
5297                                                         </lu>
5298                                                         <b/>
5299                                                         <lu>
5300                                                                 <clip pos="4" side="tl" part="lemh"/>
5301                                                                 <clip pos="4" side="tl" part="a_verb"/>
5302                                                                 <clip pos="4" side="tl" part="temps"/>
5303                                                                 <lit-tag v="p3"/>
5304                                                                 <clip pos="4" side="tl" part="gen"/>
5305                                                                 <clip pos="6" side="tl" part="nbr"/>
5306                                                         </lu>
5307                                                         <b/>
5308                                                         <lu>
5309                                                                 <clip pos="6" side="tl" part="whole"/>
5310                                                         </lu>
5311                                                 </out>
5312                                         </when>
5313                                         <when>
5314                                                 <test>
5315                                                         <equal caseless="yes">
5316                                                                 <clip pos="1" side="sl" part="lem"/>
5317                                                                 <lit v="você"/>
5318                                                         </equal>
5319                                                 </test>
5320                                                 <out>
5321                                                         <lu>
5322                                                                 <get-case-from pos="1">
5323                                                                         <lit v="a"/>
5324                                                                 </get-case-from>
5325                                                                 <lit-tag v="pr"/>
5326                                                         </lu>
5327                                                         <b/>
5328                                                         <lu>
5329                                                                 <lit v="usted"/>
5330                                                                 <lit-tag v="prn.tn.p3.mf"/>
5331                                                                 <clip pos="1" side="sl" part="nbr"/>
5332                                                         </lu>
5333                                                         <b/>
5334                                                         <lu>
5335                                                                 <clip pos="2" side="tl" part="whole"/>
5336                                                         </lu>
5337                                                         <b/>
5338                                                         <lu>
5339                                                                 <lit v="le"/>
5340                                                                 <lit-tag v="prn.pro.p3.mf"/>
5341                                                                 <clip pos="1" side="sl" part="nbr"/>
5342                                                         </lu>
5343                                                         <b/>
5344                                                         <lu>
5345                                                                 <clip pos="4" side="tl" part="lemh"/>
5346                                                                 <clip pos="4" side="tl" part="a_verb"/>
5347                                                                 <clip pos="4" side="tl" part="temps"/>
5348                                                                 <lit-tag v="p3"/>
5349                                                                 <clip pos="4" side="tl" part="gen"/>
5350                                                                 <clip pos="6" side="tl" part="nbr"/>
5351                                                         </lu>
5352                                                         <b/>
5353                                                         <lu>
5354                                                                 <clip pos="6" side="tl" part="whole"/>
5355                                                         </lu>
5356                                                 </out>
5357                                         </when>
5358                                         <when>
5359                                                 <test>
5360                                                         <equal caseless="yes">
5361                                                                 <clip pos="1" side="sl" part="lem"/>
5362                                                                 <lit v="nós"/>
5363                                                         </equal>
5364                                                 </test>
5365                                                 <out>
5366                                                         <lu>
5367                                                                 <get-case-from pos="1">
5368                                                                         <lit v="a"/>
5369                                                                 </get-case-from>
5370                                                                 <lit-tag v="pr"/>
5371                                                         </lu>
5372                                                         <b/>
5373                                                         <lu>
5374                                                                 <lit v="nosotros"/>
5375                                                                 <lit-tag v="prn.tn.p1.m.pl"/>
5376                                                         </lu>
5377                                                         <b/>
5378                                                         <lu>
5379                                                                 <clip pos="2" side="tl" part="whole"/>
5380                                                         </lu>
5381                                                         <b/>
5382                                                         <lu>
5383                                                                 <clip pos="3" side="tl" part="whole"/>
5384                                                         </lu>
5385                                                         <b/>
5386                                                         <lu>
5387                                                                 <clip pos="4" side="tl" part="lemh"/>
5388                                                                 <clip pos="4" side="tl" part="a_verb"/>
5389                                                                 <clip pos="4" side="tl" part="temps"/>
5390                                                                 <lit-tag v="p3"/>
5391                                                                 <clip pos="4" side="tl" part="gen"/>
5392                                                                 <clip pos="6" side="tl" part="nbr"/>
5393                                                         </lu>
5394                                                         <b/>
5395                                                         <lu>
5396                                                                 <clip pos="6" side="tl" part="whole"/>
5397                                                         </lu>
5398                                                 </out>
5399                                         </when>
5400                                         <when>
5401                                                 <test>
5402                                                         <equal caseless="yes">
5403                                                                 <clip pos="1" side="sl" part="lem"/>
5404                                                                 <lit v="vós"/>
5405                                                         </equal>
5406                                                 </test>
5407                                                 <out>
5408                                                         <lu>
5409                                                                 <get-case-from pos="1">
5410                                                                         <lit v="a"/>
5411                                                                 </get-case-from>
5412                                                                 <lit-tag v="pr"/>
5413                                                         </lu>
5414                                                         <b/>
5415                                                         <lu>
5416                                                                 <lit v="vosotros"/>
5417                                                                 <lit-tag v="prn.tn.p2.mf.pl"/>
5418                                                         </lu>
5419                                                         <b/>
5420                                                         <lu>
5421                                                                 <clip pos="2" side="tl" part="whole"/>
5422                                                         </lu>
5423                                                         <b/>
5424                                                         <lu>
5425                                                                 <clip pos="3" side="tl" part="whole"/>
5426                                                         </lu>
5427                                                         <b/>
5428                                                         <lu>
5429                                                                 <clip pos="4" side="tl" part="lemh"/>
5430                                                                 <clip pos="4" side="tl" part="a_verb"/>
5431                                                                 <clip pos="4" side="tl" part="temps"/>
5432                                                                 <lit-tag v="p3"/>
5433                                                                 <clip pos="4" side="tl" part="gen"/>
5434                                                                 <clip pos="6" side="tl" part="nbr"/>
5435                                                         </lu>
5436                                                         <b/>
5437                                                         <lu>
5438                                                                 <clip pos="6" side="tl" part="whole"/>
5439                                                         </lu>
5440                                                 </out>
5441                                         </when>
5442                                         <when>
5443                                                 <test>
5444                                                         <and>
5445                                                                 <equal>
5446                                                                         <clip pos="1" side="sl" part="persona"/>
5447                                                                         <lit-tag v="p3"/>
5448                                                                 </equal>
5449                                                                 <equal>
5450                                                                         <clip pos="1" side="sl" part="gen"/>
5451                                                                         <lit-tag v="m"/>
5452                                                                 </equal>
5453                                                                 <equal>
5454                                                                         <clip pos="1" side="sl" part="nbr"/>
5455                                                                         <lit-tag v="pl"/>
5456                                                                 </equal>
5457                                                         </and>
5458                                                 </test>
5459                                                 <out>
5460                                                         <lu>
5461                                                                 <get-case-from pos="1">
5462                                                                         <lit v="a"/>
5463                                                                 </get-case-from>
5464                                                                 <lit-tag v="pr"/>
5465                                                         </lu>
5466                                                         <b/>
5467                                                         <lu>
5468                                                                 <lit v="él"/>
5469                                                                 <lit-tag v="prn.tn.p3.m.pl"/>
5470                                                         </lu>
5471                                                         <b/>
5472                                                         <lu>
5473                                                                 <clip pos="2" side="tl" part="whole"/>
5474                                                         </lu>
5475                                                         <b/>
5476                                                         <lu>
5477                                                                 <lit v="le"/>
5478                                                                 <lit-tag v="prn.pro.p3.mf.pl"/>
5479                                                         </lu>
5480                                                         <b/>
5481                                                         <lu>
5482                                                                 <clip pos="4" side="tl" part="lemh"/>
5483                                                                 <clip pos="4" side="tl" part="a_verb"/>
5484                                                                 <clip pos="4" side="tl" part="temps"/>
5485                                                                 <lit-tag v="p3"/>
5486                                                                 <clip pos="4" side="tl" part="gen"/>
5487                                                                 <clip pos="6" side="tl" part="nbr"/>
5488                                                         </lu>
5489                                                         <b/>
5490                                                         <lu>
5491                                                                 <clip pos="6" side="tl" part="whole"/>
5492                                                         </lu>
5493                                                 </out>
5494                                         </when>
5495                                         <when>
5496                                                 <test>
5497                                                         <and>
5498                                                                 <equal>
5499                                                                         <clip pos="1" side="sl" part="persona"/>
5500                                                                         <lit-tag v="p3"/>
5501                                                                 </equal>
5502                                                                 <equal>
5503                                                                         <clip pos="1" side="sl" part="gen"/>
5504                                                                         <lit-tag v="f"/>
5505                                                                 </equal>
5506                                                                 <equal>
5507                                                                         <clip pos="1" side="sl" part="nbr"/>
5508                                                                         <lit-tag v="pl"/>
5509                                                                 </equal>
5510                                                         </and>
5511                                                 </test>
5512                                                 <out>
5513                                                         <lu>
5514                                                                 <get-case-from pos="1">
5515                                                                         <lit v="a"/>
5516                                                                 </get-case-from>
5517                                                                 <lit-tag v="pr"/>
5518                                                         </lu>
5519                                                         <b/>
5520                                                         <lu>
5521                                                                 <lit v="él"/>
5522                                                                 <lit-tag v="prn.tn.p3.f.pl"/>
5523                                                         </lu>
5524                                                         <b/>
5525                                                         <lu>
5526                                                                 <clip pos="2" side="tl" part="whole"/>
5527                                                         </lu>
5528                                                         <b/>
5529                                                         <lu>
5530                                                                 <lit v="le"/>
5531                                                                 <lit-tag v="prn.pro.p3.mf.pl"/>
5532                                                         </lu>
5533                                                         <b/>
5534                                                         <lu>
5535                                                                 <clip pos="4" side="tl" part="lemh"/>
5536                                                                 <clip pos="4" side="tl" part="a_verb"/>
5537                                                                 <clip pos="4" side="tl" part="temps"/>
5538                                                                 <lit-tag v="p3"/>
5539                                                                 <clip pos="4" side="tl" part="gen"/>
5540                                                                 <clip pos="6" side="tl" part="nbr"/>
5541                                                         </lu>
5542                                                         <b/>
5543                                                         <lu>
5544                                                                 <clip pos="6" side="tl" part="whole"/>
5545                                                         </lu>
5546                                                 </out>
5547                                         </when>
5548                                         <otherwise>
5549                                                 <out>
5550                                                         <lu>
5551                                                                 <clip pos="1" side="tl" part="whole"/>
5552                                                         </lu>
5553                                                         <b/>
5554                                                         <lu>
5555                                                                 <clip pos="2" side="tl" part="whole"/>
5556                                                         </lu>
5557                                                         <b/>
5558                                                         <lu>
5559                                                                 <clip pos="3" side="tl" part="whole"/>
5560                                                         </lu>
5561                                                         <b/>
5562                                                         <lu>
5563                                                                 <clip pos="4" side="tl" part="lemh"/>
5564                                                                 <clip pos="4" side="tl" part="a_verb"/>
5565                                                                 <clip pos="4" side="tl" part="temps"/>
5566                                                                 <lit-tag v="p3"/>
5567                                                                 <clip pos="4" side="tl" part="gen"/>
5568                                                                 <clip pos="6" side="tl" part="nbr"/>
5569                                                         </lu>
5570                                                         <b/>
5571                                                         <lu>
5572                                                                 <clip pos="5" side="tl" part="whole"/>
5573                                                         </lu>
5574                                                         <b/>
5575                                                         <lu>
5576                                                                 <clip pos="6" side="tl" part="whole"/>
5577                                                         </lu>
5578                                                 </out>
5579                                         </otherwise>
5580                                 </choose>
5581                         </action>
5582                 </rule>
5583                 <rule>
5584                         <!--REGRA 6- Eu não me importo com o aquecimento > A mí no me importa la calefacción-->
5585                         <pattern>
5586                                 <pattern-item n="prn"/>
5587                                 <pattern-item n="proclise"/>
5588                                 <pattern-item n="prnpro"/>
5589                                 <pattern-item n="importar"/>
5590                                 <pattern-item n="com"/>
5591                                 <pattern-item n="det"/>
5592                                 <pattern-item n="aqueloutras"/>
5593                         </pattern>
5594                         <action>
5595                                 <choose>
5596                                         <when>
5597                                                 <test>
5598                                                         <equal caseless="yes">
5599                                                                 <clip pos="1" side="sl" part="lem"/>
5600                                                                 <lit v="eu"/>
5601                                                         </equal>
5602                                                 </test>
5603                                                 <out>
5604                                                         <lu>
5605                                                                 <get-case-from pos="1">
5606                                                                         <lit v="a"/>
5607                                                                 </get-case-from>
5608                                                                 <lit-tag v="pr"/>
5609                                                         </lu>
5610                                                         <b/>
5611                                                         <lu>
5612                                                                 <lit v="mí"/>
5613                                                                 <lit-tag v="prn.tn.p1.mf.sg"/>
5614                                                         </lu>
5615                                                         <b/>
5616                                                         <lu>
5617                                                                 <clip pos="2" side="tl" part="whole"/>
5618                                                         </lu>
5619                                                         <b/>
5620                                                         <lu>
5621                                                                 <clip pos="3" side="tl" part="whole"/>
5622                                                         </lu>
5623                                                         <b/>
5624                                                         <lu>
5625                                                                 <clip pos="4" side="tl" part="lemh"/>
5626                                                                 <clip pos="4" side="tl" part="a_verb"/>
5627                                                                 <clip pos="4" side="tl" part="temps"/>
5628                                                                 <lit-tag v="p3"/>
5629                                                                 <clip pos="4" side="tl" part="gen"/>
5630                                                                 <clip pos="7" side="tl" part="nbr"/>
5631                                                         </lu>
5632                                                         <b/>
5633                                                         <lu>
5634                                                                 <clip pos="6" side="tl" part="whole"/>
5635                                                         </lu>
5636                                                         <b/>
5637                                                         <lu>
5638                                                                 <clip pos="7" side="tl" part="whole"/>
5639                                                         </lu>
5640                                                 </out>
5641                                         </when>
5642                                         <when>
5643                                                 <test>
5644                                                         <equal caseless="yes">
5645                                                                 <clip pos="1" side="sl" part="lem"/>
5646                                                                 <lit v="tu"/>
5647                                                         </equal>
5648                                                 </test>
5649                                                 <out>
5650                                                         <lu>
5651                                                                 <get-case-from pos="1">
5652                                                                         <lit v="a"/>
5653                                                                 </get-case-from>
5654                                                                 <lit-tag v="pr"/>
5655                                                         </lu>
5656                                                         <b/>
5657                                                         <lu>
5658                                                                 <lit v="ti"/>
5659                                                                 <lit-tag v="prn.tn.p2.mf.sg"/>
5660                                                         </lu>
5661                                                         <b/>
5662                                                         <lu>
5663                                                                 <clip pos="2" side="tl" part="whole"/>
5664                                                         </lu>
5665                                                         <b/>
5666                                                         <lu>
5667                                                                 <clip pos="3" side="tl" part="whole"/>
5668                                                         </lu>
5669                                                         <b/>
5670                                                         <lu>
5671                                                                 <clip pos="4" side="tl" part="lemh"/>
5672                                                                 <clip pos="4" side="tl" part="a_verb"/>
5673                                                                 <clip pos="4" side="tl" part="temps"/>
5674                                                                 <lit-tag v="p3"/>
5675                                                                 <clip pos="4" side="tl" part="gen"/>
5676                                                                 <clip pos="7" side="tl" part="nbr"/>
5677                                                         </lu>
5678                                                         <b/>
5679                                                         <lu>
5680                                                                 <clip pos="6" side="tl" part="whole"/>
5681                                                         </lu>
5682                                                         <b/>
5683                                                         <lu>
5684                                                                 <clip pos="7" side="tl" part="whole"/>
5685                                                         </lu>
5686                                                 </out>
5687                                         </when>
5688                                         <when>
5689                                                 <test>
5690                                                         <and>
5691                                                                 <equal>
5692                                                                         <clip pos="1" side="sl" part="persona"/>
5693                                                                         <lit-tag v="p3"/>
5694                                                                 </equal>
5695                                                                 <equal>
5696                                                                         <clip pos="1" side="sl" part="gen"/>
5697                                                                         <lit-tag v="m"/>
5698                                                                 </equal>
5699                                                                 <equal>
5700                                                                         <clip pos="1" side="sl" part="nbr"/>
5701                                                                         <lit-tag v="sg"/>
5702                                                                 </equal>
5703                                                         </and>
5704                                                 </test>
5705                                                 <out>
5706                                                         <lu>
5707                                                                 <get-case-from pos="1">
5708                                                                         <lit v="a"/>
5709                                                                 </get-case-from>
5710                                                                 <lit-tag v="pr"/>
5711                                                         </lu>
5712                                                         <b/>
5713                                                         <lu>
5714                                                                 <lit v="él"/>
5715                                                                 <lit-tag v="prn.tn.p3.m.sg"/>
5716                                                         </lu>
5717                                                         <b/>
5718                                                         <lu>
5719                                                                 <clip pos="2" side="tl" part="whole"/>
5720                                                         </lu>
5721                                                         <b/>
5722                                                         <lu>
5723                                                                 <lit v="le"/>
5724                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
5725                                                         </lu>
5726                                                         <b/>
5727                                                         <lu>
5728                                                                 <clip pos="4" side="tl" part="lemh"/>
5729                                                                 <clip pos="4" side="tl" part="a_verb"/>
5730                                                                 <clip pos="4" side="tl" part="temps"/>
5731                                                                 <lit-tag v="p3"/>
5732                                                                 <clip pos="4" side="tl" part="gen"/>
5733                                                                 <clip pos="7" side="tl" part="nbr"/>
5734                                                         </lu>
5735                                                         <b/>
5736                                                         <lu>
5737                                                                 <clip pos="6" side="tl" part="whole"/>
5738                                                         </lu>
5739                                                         <b/>
5740                                                         <lu>
5741                                                                 <clip pos="7" side="tl" part="whole"/>
5742                                                         </lu>
5743                                                 </out>
5744                                         </when>
5745                                         <when>
5746                                                 <test>
5747                                                         <and>
5748                                                                 <equal>
5749                                                                         <clip pos="1" side="sl" part="persona"/>
5750                                                                         <lit-tag v="p3"/>
5751                                                                 </equal>
5752                                                                 <equal>
5753                                                                         <clip pos="1" side="sl" part="gen"/>
5754                                                                         <lit-tag v="f"/>
5755                                                                 </equal>
5756                                                                 <equal>
5757                                                                         <clip pos="1" side="sl" part="nbr"/>
5758                                                                         <lit-tag v="sg"/>
5759                                                                 </equal>
5760                                                         </and>
5761                                                 </test>
5762                                                 <out>
5763                                                         <lu>
5764                                                                 <get-case-from pos="1">
5765                                                                         <lit v="a"/>
5766                                                                 </get-case-from>
5767                                                                 <lit-tag v="pr"/>
5768                                                         </lu>
5769                                                         <b/>
5770                                                         <lu>
5771                                                                 <lit v="él"/>
5772                                                                 <lit-tag v="prn.tn.p3.f.sg"/>
5773                                                         </lu>
5774                                                         <b/>
5775                                                         <lu>
5776                                                                 <clip pos="2" side="tl" part="whole"/>
5777                                                         </lu>
5778                                                         <b/>
5779                                                         <lu>
5780                                                                 <lit v="le"/>
5781                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
5782                                                         </lu>
5783                                                         <b/>
5784                                                         <lu>
5785                                                                 <clip pos="4" side="tl" part="lemh"/>
5786                                                                 <clip pos="4" side="tl" part="a_verb"/>
5787                                                                 <clip pos="4" side="tl" part="temps"/>
5788                                                                 <lit-tag v="p3"/>
5789                                                                 <clip pos="4" side="tl" part="gen"/>
5790                                                                 <clip pos="7" side="tl" part="nbr"/>
5791                                                         </lu>
5792                                                         <b/>
5793                                                         <lu>
5794                                                                 <clip pos="6" side="tl" part="whole"/>
5795                                                         </lu>
5796                                                         <b/>
5797                                                         <lu>
5798                                                                 <clip pos="7" side="tl" part="whole"/>
5799                                                         </lu>
5800                                                 </out>
5801                                         </when>
5802                                         <when>
5803                                                 <test>
5804                                                         <equal caseless="yes">
5805                                                                 <clip pos="1" side="sl" part="lem"/>
5806                                                                 <lit v="você"/>
5807                                                         </equal>
5808                                                 </test>
5809                                                 <out>
5810                                                         <lu>
5811                                                                 <get-case-from pos="1">
5812                                                                         <lit v="a"/>
5813                                                                 </get-case-from>
5814                                                                 <lit-tag v="pr"/>
5815                                                         </lu>
5816                                                         <b/>
5817                                                         <lu>
5818                                                                 <lit v="usted"/>
5819                                                                 <lit-tag v="prn.tn.p3.mf"/>
5820                                                                 <clip pos="1" side="sl" part="nbr"/>
5821                                                         </lu>
5822                                                         <b/>
5823                                                         <lu>
5824                                                                 <clip pos="2" side="tl" part="whole"/>
5825                                                         </lu>
5826                                                         <b/>
5827                                                         <lu>
5828                                                                 <lit v="le"/>
5829                                                                 <lit-tag v="prn.pro.p3.mf"/>
5830                                                                 <clip pos="1" side="sl" part="nbr"/>
5831                                                         </lu>
5832                                                         <b/>
5833                                                         <lu>
5834                                                                 <clip pos="4" side="tl" part="lemh"/>
5835                                                                 <clip pos="4" side="tl" part="a_verb"/>
5836                                                                 <clip pos="4" side="tl" part="temps"/>
5837                                                                 <lit-tag v="p3"/>
5838                                                                 <clip pos="4" side="tl" part="gen"/>
5839                                                                 <clip pos="7" side="tl" part="nbr"/>
5840                                                         </lu>
5841                                                         <b/>
5842                                                         <lu>
5843                                                                 <clip pos="6" side="tl" part="whole"/>
5844                                                         </lu>
5845                                                         <b/>
5846                                                         <lu>
5847                                                                 <clip pos="7" side="tl" part="whole"/>
5848                                                         </lu>
5849                                                 </out>
5850                                         </when>
5851                                         <when>
5852                                                 <test>
5853                                                         <equal caseless="yes">
5854                                                                 <clip pos="1" side="sl" part="lem"/>
5855                                                                 <lit v="nós"/>
5856                                                         </equal>
5857                                                 </test>
5858                                                 <out>
5859                                                         <lu>
5860                                                                 <get-case-from pos="1">
5861                                                                         <lit v="a"/>
5862                                                                 </get-case-from>
5863                                                                 <lit-tag v="pr"/>
5864                                                         </lu>
5865                                                         <b/>
5866                                                         <lu>
5867                                                                 <lit v="nosotros"/>
5868                                                                 <lit-tag v="prn.tn.p1.mf.pl"/>
5869                                                         </lu>
5870                                                         <b/>
5871                                                         <lu>
5872                                                                 <clip pos="2" side="tl" part="whole"/>
5873                                                         </lu>
5874                                                         <b/>
5875                                                         <lu>
5876                                                                 <clip pos="3" side="tl" part="whole"/>
5877                                                         </lu>
5878                                                         <b/>
5879                                                         <lu>
5880                                                                 <clip pos="4" side="tl" part="lemh"/>
5881                                                                 <clip pos="4" side="tl" part="a_verb"/>
5882                                                                 <clip pos="4" side="tl" part="temps"/>
5883                                                                 <lit-tag v="p3"/>
5884                                                                 <clip pos="4" side="tl" part="gen"/>
5885                                                                 <clip pos="7" side="tl" part="nbr"/>
5886                                                         </lu>
5887                                                         <b/>
5888                                                         <lu>
5889                                                                 <clip pos="6" side="tl" part="whole"/>
5890                                                         </lu>
5891                                                         <b/>
5892                                                         <lu>
5893                                                                 <clip pos="7" side="tl" part="whole"/>
5894                                                         </lu>
5895                                                 </out>
5896                                         </when>
5897                                         <when>
5898                                                 <test>
5899                                                         <equal caseless="yes">
5900                                                                 <clip pos="1" side="sl" part="lem"/>
5901                                                                 <lit v="vós"/>
5902                                                         </equal>
5903                                                 </test>
5904                                                 <out>
5905                                                         <lu>
5906                                                                 <get-case-from pos="1">
5907                                                                         <lit v="a"/>
5908                                                                 </get-case-from>
5909                                                                 <lit-tag v="pr"/>
5910                                                         </lu>
5911                                                         <b/>
5912                                                         <lu>
5913                                                                 <lit v="vosotros"/>
5914                                                                 <lit-tag v="prn.tn.p2.mf.pl"/>
5915                                                         </lu>
5916                                                         <b/>
5917                                                         <lu>
5918                                                                 <clip pos="2" side="tl" part="whole"/>
5919                                                         </lu>
5920                                                         <b/>
5921                                                         <lu>
5922                                                                 <clip pos="3" side="tl" part="whole"/>
5923                                                         </lu>
5924                                                         <b/>
5925                                                         <lu>
5926                                                                 <clip pos="4" side="tl" part="lemh"/>
5927                                                                 <clip pos="4" side="tl" part="a_verb"/>
5928                                                                 <clip pos="4" side="tl" part="temps"/>
5929                                                                 <lit-tag v="p3"/>
5930                                                                 <clip pos="4" side="tl" part="gen"/>
5931                                                                 <clip pos="7" side="tl" part="nbr"/>
5932                                                         </lu>
5933                                                         <b/>
5934                                                         <lu>
5935                                                                 <clip pos="6" side="tl" part="whole"/>
5936                                                         </lu>
5937                                                         <b/>
5938                                                         <lu>
5939                                                                 <clip pos="7" side="tl" part="whole"/>
5940                                                         </lu>
5941                                                 </out>
5942                                         </when>
5943                                         <when>
5944                                                 <test>
5945                                                         <and>
5946                                                                 <equal>
5947                                                                         <clip pos="1" side="sl" part="persona"/>
5948                                                                         <lit-tag v="p3"/>
5949                                                                 </equal>
5950                                                                 <equal>
5951                                                                         <clip pos="1" side="sl" part="gen"/>
5952                                                                         <lit-tag v="m"/>
5953                                                                 </equal>
5954                                                                 <equal>
5955                                                                         <clip pos="1" side="sl" part="nbr"/>
5956                                                                         <lit-tag v="pl"/>
5957                                                                 </equal>
5958                                                         </and>
5959                                                 </test>
5960                                                 <out>
5961                                                         <lu>
5962                                                                 <get-case-from pos="1">
5963                                                                         <lit v="a"/>
5964                                                                 </get-case-from>
5965                                                                 <lit-tag v="pr"/>
5966                                                         </lu>
5967                                                         <b/>
5968                                                         <lu>
5969                                                                 <lit v="él"/>
5970                                                                 <lit-tag v="prn.tn.p3.m.pl"/>
5971                                                         </lu>
5972                                                         <b/>
5973                                                         <lu>
5974                                                                 <clip pos="2" side="tl" part="whole"/>
5975                                                         </lu>
5976                                                         <b/>
5977                                                         <lu>
5978                                                                 <lit v="le"/>
5979                                                                 <lit-tag v="prn.pro.p3.mf.pl"/>
5980                                                         </lu>
5981                                                         <b/>
5982                                                         <lu>
5983                                                                 <clip pos="4" side="tl" part="lemh"/>
5984                                                                 <clip pos="4" side="tl" part="a_verb"/>
5985                                                                 <clip pos="4" side="tl" part="temps"/>
5986                                                                 <lit-tag v="p3"/>
5987                                                                 <clip pos="4" side="tl" part="gen"/>
5988                                                                 <clip pos="7" side="tl" part="nbr"/>
5989                                                         </lu>
5990                                                         <b/>
5991                                                         <lu>
5992                                                                 <clip pos="6" side="tl" part="whole"/>
5993                                                         </lu>
5994                                                         <b/>
5995                                                         <lu>
5996                                                                 <clip pos="7" side="tl" part="whole"/>
5997                                                         </lu>
5998                                                 </out>
5999                                         </when>
6000                                         <when>
6001                                                 <test>
6002                                                         <and>
6003                                                                 <equal>
6004                                                                         <clip pos="1" side="sl" part="persona"/>
6005                                                                         <lit-tag v="p3"/>
6006                                                                 </equal>
6007                                                                 <equal>
6008                                                                         <clip pos="1" side="sl" part="gen"/>
6009                                                                         <lit-tag v="f"/>
6010                                                                 </equal>
6011                                                                 <equal>
6012                                                                         <clip pos="1" side="sl" part="nbr"/>
6013                                                                         <lit-tag v="pl"/>
6014                                                                 </equal>
6015                                                         </and>
6016                                                 </test>
6017                                                 <out>
6018                                                         <lu>
6019                                                                 <get-case-from pos="1">
6020                                                                         <lit v="a"/>
6021                                                                 </get-case-from>
6022                                                                 <lit-tag v="pr"/>
6023                                                         </lu>
6024                                                         <b/>
6025                                                         <lu>
6026                                                                 <lit v="él"/>
6027                                                                 <lit-tag v="prn.tn.p3.f.pl"/>
6028                                                         </lu>
6029                                                         <b/>
6030                                                         <lu>
6031                                                                 <clip pos="2" side="tl" part="whole"/>
6032                                                         </lu>
6033                                                         <b/>
6034                                                         <lu>
6035                                                                 <lit v="le"/>
6036                                                                 <lit-tag v="prn.pro.p3.mf.pl"/>
6037                                                         </lu>
6038                                                         <b/>
6039                                                         <lu>
6040                                                                 <clip pos="4" side="tl" part="lemh"/>
6041                                                                 <clip pos="4" side="tl" part="a_verb"/>
6042                                                                 <clip pos="4" side="tl" part="temps"/>
6043                                                                 <lit-tag v="p3"/>
6044                                                                 <clip pos="4" side="tl" part="gen"/>
6045                                                                 <clip pos="7" side="tl" part="nbr"/>
6046                                                         </lu>
6047                                                         <b/>
6048                                                         <lu>
6049                                                                 <clip pos="6" side="tl" part="whole"/>
6050                                                         </lu>
6051                                                         <b/>
6052                                                         <lu>
6053                                                                 <clip pos="7" side="tl" part="whole"/>
6054                                                         </lu>
6055                                                 </out>
6056                                         </when>
6057                                         <otherwise>
6058                                                 <out>
6059                                                         <lu>
6060                                                                 <clip pos="1" side="tl" part="whole"/>
6061                                                         </lu>
6062                                                         <b/>
6063                                                         <lu>
6064                                                                 <clip pos="2" side="tl" part="whole"/>
6065                                                         </lu>
6066                                                         <b/>
6067                                                         <lu>
6068                                                                 <clip pos="3" side="tl" part="whole"/>
6069                                                         </lu>
6070                                                         <b/>
6071                                                         <lu>
6072                                                                 <clip pos="4" side="tl" part="lemh"/>
6073                                                                 <clip pos="4" side="tl" part="a_verb"/>
6074                                                                 <clip pos="4" side="tl" part="temps"/>
6075                                                                 <lit-tag v="p3"/>
6076                                                                 <clip pos="4" side="tl" part="gen"/>
6077                                                                 <clip pos="7" side="tl" part="nbr"/>
6078                                                         </lu>
6079                                                         <b/>
6080                                                         <lu>
6081                                                                 <clip pos="6" side="tl" part="whole"/>
6082                                                         </lu>
6083                                                         <b/>
6084                                                         <lu>
6085                                                                 <clip pos="7" side="tl" part="whole"/>
6086                                                         </lu>
6087                                                 </out>
6088                                         </otherwise>
6089                                 </choose>
6090                         </action>
6091                 </rule>
6092                 <rule>
6093                         <!--REGRA 7- Importar-se-->
6094                         <pattern>
6095                                 <pattern-item n="importar"/>
6096                                 <pattern-item n="prnenc"/>
6097                         </pattern>
6098                         <action>
6099                                 <choose>
6100                                         <when>
6101                                                 <test>
6102                                                         <and>
6103                                                                 <equal>
6104                                                                         <clip pos="1" side="sl" part="temps"/>
6105                                                                         <lit-tag v="inf"/>
6106                                                                 </equal>
6107                                                                 <equal>
6108                                                                         <clip pos="2" side="sl" part="lem"/>
6109                                                                         <lit v="se"/>
6110                                                                 </equal>
6111                                                         </and>
6112                                                 </test>
6113                                                 <out>
6114                                                         <mlu>
6115                                                                 <lu>
6116                                                                         <clip pos="1" side="tl" part="whole"/>
6117                                                                 </lu>
6118                                                                 <lu>
6119                                                                         <lit v="le"/>
6120                                                                         <lit-tag v="prn.enc.p3.mf.sg"/>
6121                                                                 </lu>
6122                                                         </mlu>
6123                                                 </out>
6124                                         </when>
6125                                         <when>
6126                                                 <test>
6127                                                         <equal>
6128                                                                 <clip pos="2" side="sl" part="lem"/>
6129                                                                 <lit v="se"/>
6130                                                         </equal>
6131                                                 </test>
6132                                                 <out>
6133                                                         <lu>
6134                                                                 <get-case-from pos="1">
6135                                                                         <lit v="le"/>
6136                                                                 </get-case-from>
6137                                                                 <lit-tag v="prn.pro.p3.mf"/>
6138                                                                 <clip pos="1" side="sl" part="nbr"/>
6139                                                         </lu>
6140                                                         <b/>
6141                                                         <lu>
6142                                                                 <get-case-from pos="2">
6143                                                                         <clip pos="1" side="tl" part="lemh"/>
6144                                                                 </get-case-from>
6145                                                                 <clip pos="1" side="tl" part="a_verb"/>
6146                                                                 <clip pos="1" side="sl" part="temps"/>
6147                                                                 <clip pos="1" side="sl" part="persona"/>
6148                                                                 <lit-tag v="sg"/>
6149                                                         </lu>
6150                                                 </out>
6151                                         </when>
6152                                         <when>
6153                                                 <test>
6154                                                         <or>
6155                                                                 <equal>
6156                                                                         <clip pos="1" side="tl" part="temps"/>
6157                                                                         <lit-tag v="inf"/>
6158                                                                 </equal>
6159                                                                 <equal>
6160                                                                         <clip pos="1" side="tl" part="temps"/>
6161                                                                         <lit-tag v="infps"/>
6162                                                                 </equal>
6163                                                         </or>
6164                                                 </test>
6165                                                 <out>
6166                                                         <mlu>
6167                                                                 <lu>
6168                                                                         <clip pos="1" side="tl" part="whole"/>
6169                                                                 </lu>
6170                                                                 <lu>
6171                                                                         <clip pos="2" side="tl" part="whole"/>
6172                                                                 </lu>
6173                                                         </mlu>
6174                                                 </out>
6175                                         </when>
6176                                         <otherwise>
6177                                                 <out>
6178                                                         <mlu>
6179                                                                 <lu>
6180                                                                         <clip pos="1" side="tl" part="lemh"/>
6181                                                                         <clip pos="1" side="tl" part="a_verb"/>
6182                                                                         <clip pos="1" side="tl" part="temps"/>
6183                                                                         <lit-tag v="p3"/>
6184                                                                         <clip pos="1" side="tl" part="gen"/>
6185                                                                         <lit-tag v="sg"/>
6186                                                                 </lu>
6187                                                                 <lu>
6188                                                                         <clip pos="2" side="tl" part="whole"/>
6189                                                                 </lu>
6190                                                         </mlu>
6191                                                 </out>
6192                                         </otherwise>
6193                                 </choose>
6194                         </action>
6195                 </rule>
6196                 <rule>
6197                         <!--REGRA 8- Importo-me com coisas  > Me importan cosas-->
6198                         <pattern>
6199                                 <pattern-item n="importar"/>
6200                                 <pattern-item n="prnenc"/>
6201                                 <pattern-item n="com"/>
6202                                 <pattern-item n="aqueloutras"/>
6203                         </pattern>
6204                         <action>
6205                                 <choose>
6206                                         <when>
6207                                                 <test>
6208                                                         <and>
6209                                                                 <or>
6210                                                                         <equal>
6211                                                                                 <clip pos="1" side="tl" part="temps"/>
6212                                                                                 <lit-tag v="inf"/>
6213                                                                         </equal>
6214                                                                         <equal>
6215                                                                                 <clip pos="1" side="tl" part="temps"/>
6216                                                                                 <lit-tag v="infps"/>
6217                                                                         </equal>
6218                                                                 </or>
6219                                                                 <equal>
6220                                                                         <clip pos="2" side="tl" part="lem"/>
6221                                                                         <lit v="se"/>
6222                                                                 </equal>
6223                                                         </and>
6224                                                 </test>
6225                                                 <out>
6226                                                         <lu>
6227                                                                 <get-case-from pos="1">
6228                                                                         <lit v="le"/>
6229                                                                 </get-case-from>
6230                                                                 <lit-tag v="prn.pro.p3.mf"/>
6231                                                                 <clip pos="1" side="tl" part="nbr"/>
6232                                                         </lu>
6233                                                         <b/>
6234                                                         <lu>
6235                                                                 <get-case-from pos="2">
6236                                                                         <clip pos="1" side="tl" part="lemh"/>
6237                                                                 </get-case-from>
6238                                                                 <clip pos="1" side="tl" part="a_verb"/>
6239                                                                 <lit-tag v="inf"/>
6240                                                         </lu>
6241                                                         <b/>
6242                                                         <lu>
6243                                                                 <clip pos="4" side="tl" part="whole"/>
6244                                                         </lu>
6245                                                 </out>
6246                                         </when>
6247                                         <when>
6248                                                 <test>
6249                                                         <equal>
6250                                                                 <clip pos="2" side="tl" part="lem"/>
6251                                                                 <lit v="se"/>
6252                                                         </equal>
6253                                                 </test>
6254                                                 <out>
6255                                                         <lu>
6256                                                                 <get-case-from pos="1">
6257                                                                         <lit v="le"/>
6258                                                                 </get-case-from>
6259                                                                 <lit-tag v="prn.pro.p3.mf"/>
6260                                                                 <clip pos="1" side="tl" part="nbr"/>
6261                                                         </lu>
6262                                                         <b/>
6263                                                         <lu>
6264                                                                 <get-case-from pos="2">
6265                                                                         <clip pos="1" side="tl" part="lemh"/>
6266                                                                 </get-case-from>
6267                                                                 <clip pos="1" side="tl" part="a_verb"/>
6268                                                                 <clip pos="1" side="tl" part="temps"/>
6269                                                                 <lit-tag v="p3"/>
6270                                                                 <clip pos="4" side="tl" part="nbr"/>
6271                                                         </lu>
6272                                                         <b/>
6273                                                         <lu>
6274                                                                 <clip pos="4" side="tl" part="whole"/>
6275                                                         </lu>
6276                                                 </out>
6277                                         </when>
6278                                         <when>
6279                                                 <test>
6280                                                         <or>
6281                                                                 <equal>
6282                                                                         <clip pos="1" side="tl" part="temps"/>
6283                                                                         <lit-tag v="inf"/>
6284                                                                 </equal>
6285                                                                 <equal>
6286                                                                         <clip pos="1" side="tl" part="temps"/>
6287                                                                         <lit-tag v="infps"/>
6288                                                                 </equal>
6289                                                         </or>
6290                                                 </test>
6291                                                 <out>
6292                                                         <mlu>
6293                                                                 <lu>
6294                                                                         <clip pos="1" side="tl" part="whole"/>
6295                                                                 </lu>
6296                                                                 <lu>
6297                                                                         <clip pos="2" side="tl" part="whole"/>
6298                                                                 </lu>
6299                                                         </mlu>
6300                                                         <b/>
6301                                                         <lu>
6302                                                                 <clip pos="4" side="tl" part="whole"/>
6303                                                         </lu>
6304                                                 </out>
6305                                         </when>
6306                                         <otherwise>
6307                                                 <out>
6308                                                         <mlu>
6309                                                                 <lu>
6310                                                                         <clip pos="1" side="tl" part="lemh"/>
6311                                                                         <clip pos="1" side="tl" part="a_verb"/>
6312                                                                         <clip pos="1" side="tl" part="temps"/>
6313                                                                         <lit-tag v="p3"/>
6314                                                                         <clip pos="4" side="tl" part="nbr"/>
6315                                                                 </lu>
6316                                                                 <lu>
6317                                                                         <clip pos="2" side="tl" part="whole"/>
6318                                                                 </lu>
6319                                                         </mlu>
6320                                                         <b/>
6321                                                         <lu>
6322                                                                 <clip pos="4" side="tl" part="whole"/>
6323                                                         </lu>
6324                                                 </out>
6325                                         </otherwise>
6326                                 </choose>
6327                         </action>
6328                 </rule>
6329                 <rule>
6330                         <!--REGRA 9- Importo-me com o aquecimento > Me importa la calefacción-->
6331                         <pattern>
6332                                 <pattern-item n="importar"/>
6333                                 <pattern-item n="prnenc"/>
6334                                 <pattern-item n="com"/>
6335                                 <pattern-item n="det"/>
6336                                 <pattern-item n="aqueloutras"/>
6337                         </pattern>
6338                         <action>
6339                                 <choose>
6340                                         <when>
6341                                                 <test>
6342                                                         <and>
6343                                                                 <or>
6344                                                                         <equal>
6345                                                                                 <clip pos="1" side="tl" part="temps"/>
6346                                                                                 <lit-tag v="inf"/>
6347                                                                         </equal>
6348                                                                         <equal>
6349                                                                                 <clip pos="1" side="tl" part="temps"/>
6350                                                                                 <lit-tag v="infps"/>
6351                                                                         </equal>
6352                                                                 </or>
6353                                                                 <equal>
6354                                                                         <clip pos="2" side="tl" part="lem"/>
6355                                                                         <lit v="se"/>
6356                                                                 </equal>
6357                                                         </and>
6358                                                 </test>
6359                                                 <out>
6360                                                         <lu>
6361                                                                 <get-case-from pos="1">
6362                                                                         <lit v="le"/>
6363                                                                 </get-case-from>
6364                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
6365                                                         </lu>
6366                                                         <b/>
6367                                                         <lu>
6368                                                                 <get-case-from pos="2">
6369                                                                         <clip pos="1" side="tl" part="whole"/>
6370                                                                 </get-case-from>
6371                                                         </lu>
6372                                                         <b/>
6373                                                         <lu>
6374                                                                 <clip pos="4" side="tl" part="whole"/>
6375                                                         </lu>
6376                                                         <b/>
6377                                                         <lu>
6378                                                                 <clip pos="5" side="tl" part="whole"/>
6379                                                         </lu>
6380                                                 </out>
6381                                         </when>
6382                                         <when>
6383                                                 <test>
6384                                                         <equal>
6385                                                                 <clip pos="2" side="tl" part="lem"/>
6386                                                                 <lit v="se"/>
6387                                                         </equal>
6388                                                 </test>
6389                                                 <out>
6390                                                         <lu>
6391                                                                 <get-case-from pos="1">
6392                                                                         <lit v="le"/>
6393                                                                 </get-case-from>
6394                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
6395                                                         </lu>
6396                                                         <b/>
6397                                                         <lu>
6398                                                                 <get-case-from pos="2">
6399                                                                         <clip pos="1" side="tl" part="lemh"/>
6400                                                                 </get-case-from>
6401                                                                 <clip pos="1" side="tl" part="a_verb"/>
6402                                                                 <clip pos="1" side="tl" part="temps"/>
6403                                                                 <lit-tag v="p3"/>
6404                                                                 <clip pos="4" side="tl" part="nbr"/>
6405                                                         </lu>
6406                                                         <b/>
6407                                                         <lu>
6408                                                                 <clip pos="4" side="tl" part="whole"/>
6409                                                         </lu>
6410                                                         <b/>
6411                                                         <lu>
6412                                                                 <clip pos="5" side="tl" part="whole"/>
6413                                                         </lu>
6414                                                 </out>
6415                                         </when>
6416                                         <when>
6417                                                 <test>
6418                                                         <or>
6419                                                                 <equal>
6420                                                                         <clip pos="1" side="tl" part="temps"/>
6421                                                                         <lit-tag v="inf"/>
6422                                                                 </equal>
6423                                                                 <equal>
6424                                                                         <clip pos="1" side="tl" part="temps"/>
6425                                                                         <lit-tag v="infps"/>
6426                                                                 </equal>
6427                                                         </or>
6428                                                 </test>
6429                                                 <out>
6430                                                         <mlu>
6431                                                                 <lu>
6432                                                                         <clip pos="1" side="tl" part="whole"/>
6433                                                                 </lu>
6434                                                                 <lu>
6435                                                                         <clip pos="2" side="tl" part="whole"/>
6436                                                                 </lu>
6437                                                         </mlu>
6438                                                         <b/>
6439                                                         <lu>
6440                                                                 <clip pos="4" side="tl" part="whole"/>
6441                                                         </lu>
6442                                                         <b/>
6443                                                         <lu>
6444                                                                 <clip pos="5" side="tl" part="whole"/>
6445                                                         </lu>
6446                                                 </out>
6447                                         </when>
6448                                         <otherwise>
6449                                                 <out>
6450                                                         <mlu>
6451                                                                 <lu>
6452                                                                         <clip pos="1" side="tl" part="lemh"/>
6453                                                                         <clip pos="1" side="tl" part="a_verb"/>
6454                                                                         <clip pos="1" side="tl" part="temps"/>
6455                                                                         <lit-tag v="p3"/>
6456                                                                         <clip pos="4" side="tl" part="nbr"/>
6457                                                                 </lu>
6458                                                                 <lu>
6459                                                                         <clip pos="2" side="tl" part="whole"/>
6460                                                                 </lu>
6461                                                         </mlu>
6462                                                         <b/>
6463                                                         <lu>
6464                                                                 <clip pos="4" side="tl" part="whole"/>
6465                                                         </lu>
6466                                                         <b/>
6467                                                         <lu>
6468                                                                 <clip pos="5" side="tl" part="whole"/>
6469                                                         </lu>
6470                                                 </out>
6471                                         </otherwise>
6472                                 </choose>
6473                         </action>
6474                 </rule>
6475                 <rule>
6476                         <!--REGRA 10- Não me importo com coisas  > No me importan cosas-->
6477                         <pattern>
6478                                 <pattern-item n="proclise"/>
6479                                 <pattern-item n="prnpro"/>
6480                                 <pattern-item n="importar"/>
6481                                 <pattern-item n="com"/>
6482                                 <pattern-item n="aqueloutras"/>
6483                         </pattern>
6484                         <action>
6485                                 <choose>
6486                                         <when>
6487                                                 <test>
6488                                                         <and>
6489                                                                 <or>
6490                                                                         <equal>
6491                                                                                 <clip pos="3" side="tl" part="temps"/>
6492                                                                                 <lit-tag v="inf"/>
6493                                                                         </equal>
6494                                                                         <equal>
6495                                                                                 <clip pos="3" side="tl" part="temps"/>
6496                                                                                 <lit-tag v="infps"/>
6497                                                                         </equal>
6498                                                                 </or>
6499                                                                 <equal>
6500                                                                         <clip pos="2" side="tl" part="lem"/>
6501                                                                         <lit v="se"/>
6502                                                                 </equal>
6503                                                         </and>
6504                                                 </test>
6505                                                 <out>
6506                                                         <lu>
6507                                                                 <clip pos="1" side="tl" part="whole"/>
6508                                                         </lu>
6509                                                         <b/>
6510                                                         <lu>
6511                                                                 <lit v="le"/>
6512                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
6513                                                         </lu>
6514                                                         <b/>
6515                                                         <lu>
6516                                                                 <clip pos="3" side="tl" part="whole"/>
6517                                                         </lu>
6518                                                         <b/>
6519                                                         <lu>
6520                                                                 <clip pos="5" side="tl" part="whole"/>
6521                                                         </lu>
6522                                                 </out>
6523                                         </when>
6524                                         <when>
6525                                                 <test>
6526                                                         <equal>
6527                                                                 <clip pos="2" side="tl" part="lem"/>
6528                                                                 <lit v="se"/>
6529                                                         </equal>
6530                                                 </test>
6531                                                 <out>
6532                                                         <lu>
6533                                                                 <clip pos="1" side="tl" part="whole"/>
6534                                                         </lu>
6535                                                         <b/>
6536                                                         <lu>
6537                                                                 <lit v="le"/>
6538                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
6539                                                         </lu>
6540                                                         <b/>
6541                                                         <lu>
6542                                                                 <clip pos="3" side="tl" part="lemh"/>
6543                                                                 <clip pos="3" side="tl" part="a_verb"/>
6544                                                                 <clip pos="3" side="tl" part="temps"/>
6545                                                                 <lit-tag v="p3"/>
6546                                                                 <clip pos="5" side="tl" part="nbr"/>
6547                                                         </lu>
6548                                                         <b/>
6549                                                         <lu>
6550                                                                 <clip pos="5" side="tl" part="whole"/>
6551                                                         </lu>
6552                                                 </out>
6553                                         </when>
6554                                         <when>
6555                                                 <test>
6556                                                         <equal>
6557                                                                 <clip pos="5" side="sl" part="lem"/>
6558                                                                 <lit v="isso"/>
6559                                                         </equal>
6560                                                 </test>
6561                                                 <out>
6562                                                         <lu>
6563                                                                 <clip pos="1" side="tl" part="whole"/>
6564                                                         </lu>
6565                                                         <b/>
6566                                                         <lu>
6567                                                                 <clip pos="2" side="tl" part="whole"/>
6568                                                         </lu>
6569                                                         <b/>
6570                                                         <lu>
6571                                                                 <clip pos="3" side="tl" part="lemh"/>
6572                                                                 <clip pos="3" side="tl" part="a_verb"/>
6573                                                                 <clip pos="3" side="tl" part="temps"/>
6574                                                                 <lit-tag v="p3"/>
6575                                                                 <clip pos="3" side="sl" part="nbr"/>
6576                                                         </lu>
6577                                                         <b/>
6578                                                         <lu>
6579                                                                 <clip pos="5" side="tl" part="whole"/>
6580                                                         </lu>
6581                                                 </out>
6582                                         </when>
6583                                         <when>
6584                                                 <test>
6585                                                         <or>
6586                                                                 <equal>
6587                                                                         <clip pos="1" side="tl" part="temps"/>
6588                                                                         <lit-tag v="inf"/>
6589                                                                 </equal>
6590                                                                 <equal>
6591                                                                         <clip pos="1" side="tl" part="temps"/>
6592                                                                         <lit-tag v="infps"/>
6593                                                                 </equal>
6594                                                         </or>
6595                                                 </test>
6596                                                 <out>
6597                                                         <lu>
6598                                                                 <clip pos="1" side="tl" part="whole"/>
6599                                                         </lu>
6600                                                         <b/>
6601                                                         <lu>
6602                                                                 <clip pos="2" side="tl" part="whole"/>
6603                                                         </lu>
6604                                                         <b/>
6605                                                         <lu>
6606                                                                 <clip pos="3" side="tl" part="whole"/>
6607                                                         </lu>
6608                                                         <b/>
6609                                                         <lu>
6610                                                                 <clip pos="5" side="tl" part="whole"/>
6611                                                         </lu>
6612                                                 </out>
6613                                         </when>
6614                                         <otherwise>
6615                                                 <out>
6616                                                         <lu>
6617                                                                 <clip pos="1" side="tl" part="whole"/>
6618                                                         </lu>
6619                                                         <b/>
6620                                                         <lu>
6621                                                                 <clip pos="2" side="tl" part="whole"/>
6622                                                         </lu>
6623                                                         <b/>
6624                                                         <lu>
6625                                                                 <clip pos="3" side="tl" part="lemh"/>
6626                                                                 <clip pos="3" side="tl" part="a_verb"/>
6627                                                                 <clip pos="3" side="tl" part="temps"/>
6628                                                                 <lit-tag v="p3"/>
6629                                                                 <clip pos="5" side="tl" part="nbr"/>
6630                                                         </lu>
6631                                                         <b/>
6632                                                         <lu>
6633                                                                 <clip pos="5" side="tl" part="whole"/>
6634                                                         </lu>
6635                                                 </out>
6636                                         </otherwise>
6637                                 </choose>
6638                         </action>
6639                 </rule>
6640                 <rule>
6641                         <!--REGRA 11- Não me importo com o aquecimento > No me importa la calefacción-->
6642                         <pattern>
6643                                 <pattern-item n="proclise"/>
6644                                 <pattern-item n="prnpro"/>
6645                                 <pattern-item n="importar"/>
6646                                 <pattern-item n="com"/>
6647                                 <pattern-item n="det"/>
6648                                 <pattern-item n="aqueloutras"/>
6649                         </pattern>
6650                         <action>
6651                                 <choose>
6652                                         <when>
6653                                                 <test>
6654                                                         <and>
6655                                                                 <or>
6656                                                                         <equal>
6657                                                                                 <clip pos="3" side="tl" part="temps"/>
6658                                                                                 <lit-tag v="inf"/>
6659                                                                         </equal>
6660                                                                         <equal>
6661                                                                                 <clip pos="3" side="tl" part="temps"/>
6662                                                                                 <lit-tag v="infps"/>
6663                                                                         </equal>
6664                                                                 </or>
6665                                                                 <equal>
6666                                                                         <clip pos="2" side="tl" part="lem"/>
6667                                                                         <lit v="se"/>
6668                                                                 </equal>
6669                                                         </and>
6670                                                 </test>
6671                                                 <out>
6672                                                         <lu>
6673                                                                 <clip pos="1" side="tl" part="whole"/>
6674                                                         </lu>
6675                                                         <b/>
6676                                                         <lu>
6677                                                                 <lit v="le"/>
6678                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
6679                                                         </lu>
6680                                                         <b/>
6681                                                         <lu>
6682                                                                 <clip pos="3" side="tl" part="whole"/>
6683                                                         </lu>
6684                                                         <b/>
6685                                                         <lu>
6686                                                                 <clip pos="5" side="tl" part="whole"/>
6687                                                         </lu>
6688                                                         <b/>
6689                                                         <lu>
6690                                                                 <clip pos="6" side="tl" part="whole"/>
6691                                                         </lu>
6692                                                 </out>
6693                                         </when>
6694                                         <when>
6695                                                 <test>
6696                                                         <equal>
6697                                                                 <clip pos="2" side="tl" part="lem"/>
6698                                                                 <lit v="se"/>
6699                                                         </equal>
6700                                                 </test>
6701                                                 <out>
6702                                                         <lu>
6703                                                                 <clip pos="1" side="tl" part="whole"/>
6704                                                         </lu>
6705                                                         <b/>
6706                                                         <lu>
6707                                                                 <lit v="le"/>
6708                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
6709                                                         </lu>
6710                                                         <b/>
6711                                                         <lu>
6712                                                                 <clip pos="3" side="tl" part="lemh"/>
6713                                                                 <clip pos="3" side="tl" part="a_verb"/>
6714                                                                 <clip pos="3" side="tl" part="temps"/>
6715                                                                 <lit-tag v="p3"/>
6716                                                                 <clip pos="6" side="tl" part="nbr"/>
6717                                                         </lu>
6718                                                         <b/>
6719                                                         <lu>
6720                                                                 <clip pos="5" side="tl" part="whole"/>
6721                                                         </lu>
6722                                                         <b/>
6723                                                         <lu>
6724                                                                 <clip pos="6" side="tl" part="whole"/>
6725                                                         </lu>
6726                                                 </out>
6727                                         </when>
6728                                         <when>
6729                                                 <test>
6730                                                         <or>
6731                                                                 <equal>
6732                                                                         <clip pos="3" side="tl" part="temps"/>
6733                                                                         <lit-tag v="inf"/>
6734                                                                 </equal>
6735                                                                 <equal>
6736                                                                         <clip pos="3" side="tl" part="temps"/>
6737                                                                         <lit-tag v="infps"/>
6738                                                                 </equal>
6739                                                         </or>
6740                                                 </test>
6741                                                 <out>
6742                                                         <lu>
6743                                                                 <clip pos="1" side="tl" part="whole"/>
6744                                                         </lu>
6745                                                         <b/>
6746                                                         <lu>
6747                                                                 <clip pos="2" side="tl" part="whole"/>
6748                                                         </lu>
6749                                                         <b/>
6750                                                         <lu>
6751                                                                 <clip pos="3" side="tl" part="whole"/>
6752                                                         </lu>
6753                                                         <b/>
6754                                                         <lu>
6755                                                                 <clip pos="5" side="tl" part="whole"/>
6756                                                         </lu>
6757                                                         <b/>
6758                                                         <lu>
6759                                                                 <clip pos="6" side="tl" part="whole"/>
6760                                                         </lu>
6761                                                 </out>
6762                                         </when>
6763                                         <otherwise>
6764                                                 <out>
6765                                                         <lu>
6766                                                                 <clip pos="1" side="tl" part="whole"/>
6767                                                         </lu>
6768                                                         <b/>
6769                                                         <lu>
6770                                                                 <clip pos="2" side="tl" part="whole"/>
6771                                                         </lu>
6772                                                         <b/>
6773                                                         <lu>
6774                                                                 <clip pos="3" side="tl" part="lemh"/>
6775                                                                 <clip pos="3" side="tl" part="a_verb"/>
6776                                                                 <clip pos="3" side="tl" part="temps"/>
6777                                                                 <lit-tag v="p3"/>
6778                                                                 <clip pos="6" side="tl" part="nbr"/>
6779                                                         </lu>
6780                                                         <b/>
6781                                                         <lu>
6782                                                                 <clip pos="5" side="tl" part="whole"/>
6783                                                         </lu>
6784                                                         <b/>
6785                                                         <lu>
6786                                                                 <clip pos="6" side="tl" part="whole"/>
6787                                                         </lu>
6788                                                 </out>
6789                                         </otherwise>
6790                                 </choose>
6791                         </action>
6792                 </rule>
6793                 <rule>
6794                         <!--REGRA 12- Não me importo > No me importa-->
6795                         <pattern>
6796                                 <pattern-item n="proclise"/>
6797                                 <pattern-item n="prnpro"/>
6798                                 <pattern-item n="importar"/>
6799                         </pattern>
6800                         <action>
6801                                 <choose>
6802                                         <when>
6803                                                 <test>
6804                                                         <and>
6805                                                                 <or>
6806                                                                         <equal>
6807                                                                                 <clip pos="3" side="tl" part="temps"/>
6808                                                                                 <lit-tag v="inf"/>
6809                                                                         </equal>
6810                                                                         <equal>
6811                                                                                 <clip pos="3" side="tl" part="temps"/>
6812                                                                                 <lit-tag v="infps"/>
6813                                                                         </equal>
6814                                                                 </or>
6815                                                                 <equal>
6816                                                                         <clip pos="2" side="tl" part="lem"/>
6817                                                                         <lit v="se"/>
6818                                                                 </equal>
6819                                                         </and>
6820                                                 </test>
6821                                                 <out>
6822                                                         <lu>
6823                                                                 <clip pos="1" side="tl" part="whole"/>
6824                                                         </lu>
6825                                                         <b/>
6826                                                         <lu>
6827                                                                 <lit v="le"/>
6828                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
6829                                                         </lu>
6830                                                         <b/>
6831                                                         <lu>
6832                                                                 <clip pos="3" side="tl" part="whole"/>
6833                                                         </lu>
6834                                                 </out>
6835                                         </when>
6836                                         <when>
6837                                                 <test>
6838                                                         <equal>
6839                                                                 <clip pos="2" side="tl" part="lem"/>
6840                                                                 <lit v="se"/>
6841                                                         </equal>
6842                                                 </test>
6843                                                 <out>
6844                                                         <lu>
6845                                                                 <clip pos="1" side="tl" part="whole"/>
6846                                                         </lu>
6847                                                         <b/>
6848                                                         <lu>
6849                                                                 <lit v="le"/>
6850                                                                 <lit-tag v="prn.pro.p3.mf.sg"/>
6851                                                         </lu>
6852                                                         <b/>
6853                                                         <lu>
6854                                                                 <clip pos="3" side="tl" part="lemh"/>
6855                                                                 <clip pos="3" side="tl" part="a_verb"/>
6856                                                                 <clip pos="3" side="tl" part="temps"/>
6857                                                                 <lit-tag v="p3"/>
6858                                                                 <clip pos="3" side="tl" part="nbr"/>
6859                                                         </lu>
6860                                                 </out>
6861                                         </when>
6862                                         <when>
6863                                                 <test>
6864                                                         <or>
6865                                                                 <equal>
6866                                                                         <clip pos="3" side="tl" part="temps"/>
6867                                                                         <lit-tag v="inf"/>
6868                                                                 </equal>
6869                                                                 <equal>
6870                                                                         <clip pos="3" side="tl" part="temps"/>
6871                                                                         <lit-tag v="infps"/>
6872                                                                 </equal>
6873                                                         </or>
6874                                                 </test>
6875                                                 <out>
6876                                                         <lu>
6877                                                                 <clip pos="1" side="tl" part="whole"/>
6878                                                         </lu>
6879                                                         <b/>
6880                                                         <lu>
6881                                                                 <clip pos="2" side="tl" part="whole"/>
6882                                                         </lu>
6883                                                         <b/>
6884                                                         <lu>
6885                                                                 <clip pos="3" side="tl" part="whole"/>
6886                                                         </lu>
6887                                                 </out>
6888                                         </when>
6889                                         <otherwise>
6890                                                 <out>
6891                                                         <lu>
6892                                                                 <clip pos="1" side="tl" part="whole"/>
6893                                                         </lu>
6894                                                         <b/>
6895                                                         <lu>
6896                                                                 <clip pos="2" side="tl" part="whole"/>
6897                                                         </lu>
6898                                                         <b/>
6899                                                         <lu>
6900                                                                 <clip pos="3" side="tl" part="lemh"/>
6901                                                                 <clip pos="3" side="tl" part="a_verb"/>
6902                                                                 <clip pos="3" side="tl" part="temps"/>
6903                                                                 <lit-tag v="p3"/>
6904                                                                 <clip pos="3" side="tl" part="nbr"/>
6905                                                         </lu>
6906                                                 </out>
6907                                         </otherwise>
6908                                 </choose>
6909                         </action>
6910                 </rule>
6911                 <!-- REGLES DE CONCORDÀNCIA-->
6912                 <rule>
6913                         <!-- REGLA 1: relatiu-->
6914                         <pattern>
6915                                 <pattern-item n="relat"/>
6916                         </pattern>
6917                         <action>
6918                                 <call-macro n="f_concord1">
6919                                         <with-param pos="1"/>
6920                                 </call-macro>
6921                                 <out>
6922                                         <lu>
6923                                                 <clip pos="1" side="tl" part="whole"/>
6924                                         </lu>
6925                                 </out>
6926                         </action>
6927                 </rule>
6928                 <rule>
6929                         <!-- REGLA 1: DETERMINANT -->
6930                         <pattern>
6931                                 <pattern-item n="det"/>
6932                         </pattern>
6933                         <action>
6934                                 <call-macro n="f_concord1">
6935                                         <with-param pos="1"/>
6936                                 </call-macro>
6937                                 <out>
6938                                         <lu>
6939                                                 <clip pos="1" side="tl" part="whole"/>
6940                                         </lu>
6941                                 </out>
6942                         </action>
6943                 </rule>
6944                 <rule>
6945                         <!-- REGLA 2: NOM -->
6946                         <pattern>
6947                                 <pattern-item n="nom"/>
6948                         </pattern>
6949                         <action>
6950                                 <call-macro n="f_concord1">
6951                                         <with-param pos="1"/>
6952                                 </call-macro>
6953                                 <out>
6954                                         <lu>
6955                                                 <clip pos="1" side="tl" part="lem"/>
6956                                                 <clip pos="1" side="tl" part="a_nom"/>
6957                                                 <clip pos="1" side="tl" part="gen"/>
6958                                                 <clip pos="1" side="tl" part="nbr"/>
6959                                         </lu>
6960                                 </out>
6961                         </action>
6962                 </rule>
6963                 <rule>
6964                         <!-- REGLA 3: ADJECTIU -->
6965                         <pattern>
6966                                 <pattern-item n="adj"/>
6967                         </pattern>
6968                         <action>
6969                                 <call-macro n="f_concord1">
6970                                         <with-param pos="1"/>
6971                                 </call-macro>
6972                                 <call-macro n="f_comparativa">
6973                                         <with-param pos="1"/>
6974                                 </call-macro>
6975                                 <out>
6976                                         <lu>
6977                                                 <clip pos="1" side="tl" part="whole"/>
6978                                         </lu>
6979                                 </out>
6980                         </action>
6981                 </rule>
6982                 <rule>
6983                         <!-- REGLA 4: PRONOM -->
6984                         <!--Special case, macro f_concord1 is not applicable because gender and number cannot be taken from previous rules -->
6985                         <pattern>
6986                                 <pattern-item n="prn"/>
6987                         </pattern>
6988                         <action>
6989                                 <choose>
6990                                         <when>
6991                                                 <test>
6992                                                         <equal>
6993                                                                 <clip pos="1" side="tl" part="gen"/>
6994                                                                 <lit-tag v="GD"/>
6995                                                         </equal>
6996                                                 </test>
6997                                                 <let>
6998                                                         <clip pos="1" side="tl" part="gen"/>
6999                                                         <lit-tag v="m"/>
7000                                                 </let>
7001                                         </when>
7002                                         <when>
7003                                                 <test>
7004                                                         <equal>
7005                                                                 <clip pos="1" side="tl" part="nbr"/>
7006                                                                 <lit-tag v="ND"/>
7007                                                         </equal>
7008                                                 </test>
7009                                                 <let>
7010                                                         <clip pos="1" side="tl" part="nbr"/>
7011                                                         <lit-tag v="sg"/>
7012                                                 </let>
7013                                         </when>
7014                                 </choose>
7015                                 <out>
7016                                         <lu>
7017                                                 <clip pos="1" side="tl" part="whole"/>
7018                                         </lu>
7019                                 </out>
7020                         </action>
7021                 </rule>
7022                 <rule>
7023                         <!-- REGLA 5: NUMERAL-->
7024                         <pattern>
7025                                 <pattern-item n="num"/>
7026                         </pattern>
7027                         <action>
7028                                 <call-macro n="f_concord1">
7029                                         <with-param pos="1"/>
7030                                 </call-macro>
7031                                 <out>
7032                                         <lu>
7033                                                 <clip pos="1" side="tl" part="whole"/>
7034                                         </lu>
7035                                 </out>
7036                         </action>
7037                 </rule>
7038                 <rule>
7039                         <!-- REGLA 6: adverbi-->
7040                         <pattern>
7041                                 <pattern-item n="adv"/>
7042                         </pattern>
7043                         <action>
7044                                 <call-macro n="f_comparativa">
7045                                         <with-param pos="1"/>
7046                                 </call-macro>
7047                                 <out>
7048                                         <lu>
7049                                                 <clip pos="1" side="tl" part="whole"/>
7050                                         </lu>
7051                                 </out>
7052                         </action>
7053                 </rule>
7054                 <rule>
7055                         <!-- REGLA 7: DETERMINANT t-NOM -->
7056                         <pattern>
7057                                 <pattern-item n="det"/>
7058                                 <pattern-item n="tnom"/>
7059                         </pattern>
7060                         <action>
7061                                 <call-macro n="f_concord2">
7062                                         <with-param pos="2"/>
7063                                         <with-param pos="1"/>
7064                                 </call-macro>
7065                                 <out>
7066                                         <lu>
7067                                                 <clip pos="1" side="tl" part="whole"/>
7068                                         </lu>
7069                                         <b pos="1"/>
7070                                         <lu>
7071                                                 <clip pos="2" side="tl" part="lemh"/>
7072                                                 <clip pos="2" side="tl" part="a_tnom"/>
7073                                                 <clip pos="2" side="tl" part="gen"/>
7074                                                 <clip pos="2" side="tl" part="nbr"/>
7075                                                 <clip pos="2" side="tl" part="lemq"/>
7076                                         </lu>
7077                                 </out>
7078                         </action>
7079                 </rule>
7080                 <rule>
7081                         <!-- REGLA 8: NOM ADJECTIU-->
7082                         <pattern>
7083                                 <pattern-item n="nom"/>
7084                                 <pattern-item n="adjec"/>
7085                         </pattern>
7086                         <action>
7087                                 <call-macro n="f_concord2">
7088                                         <with-param pos="1"/>
7089                                         <with-param pos="2"/>
7090                                 </call-macro>
7091                                 <call-macro n="f_comparativa">
7092                                         <with-param pos="2"/>
7093                                 </call-macro>
7094                                 <out>
7095                                         <lu>
7096                                                 <clip pos="1" side="tl" part="lem"/>
7097                                                 <clip pos="1" side="tl" part="a_nom"/>
7098                                                 <clip pos="1" side="tl" part="gen"/>
7099                                                 <clip pos="1" side="tl" part="nbr"/>
7100                                         </lu>
7101                                         <b pos="1"/>
7102                                         <lu>
7103                                                 <clip pos="2" side="tl" part="whole"/>
7104                                         </lu>
7105                                 </out>
7106                         </action>
7107                 </rule>
7108                 <rule>
7109                         <!-- REGLA 9: ADJECTIU NOM -->
7110                         <pattern>
7111                                 <pattern-item n="adj"/>
7112                                 <pattern-item n="nom"/>
7113                         </pattern>
7114                         <action>
7115                                 <call-macro n="f_concord2">
7116                                         <with-param pos="2"/>
7117                                         <with-param pos="1"/>
7118                                 </call-macro>
7119                                 <call-macro n="f_lexicadj">
7120                                         <with-param pos="1"/>
7121                                         <with-param pos="2"/>
7122                                 </call-macro>
7123                                 <call-macro n="f_comparativa">
7124                                         <with-param pos="1"/>
7125                                 </call-macro>
7126                                 <out>
7127                                         <lu>
7128                                                 <clip pos="1" side="tl" part="lem"/>
7129                                                 <clip pos="1" side="tl" part="a_adj"/>
7130                                                 <clip pos="1" side="tl" part="gen"/>
7131                                                 <clip pos="1" side="tl" part="nbr"/>
7132                                         </lu>
7133                                         <b pos="1"/>
7134                                         <lu>
7135                                                 <clip pos="2" side="tl" part="lem"/>
7136                                                 <clip pos="2" side="tl" part="a_nom"/>
7137                                                 <clip pos="2" side="tl" part="gen"/>
7138                                                 <clip pos="2" side="tl" part="nbr"/>
7139                                         </lu>
7140                                 </out>
7141                         </action>
7142                 </rule>
7143                 <rule>
7144                         <!-- REGLA 10: DET NOM ADJECTIU-->
7145                         <pattern>
7146                                 <pattern-item n="det"/>
7147                                 <pattern-item n="nom"/>
7148                                 <pattern-item n="adjec"/>
7149                         </pattern>
7150                         <action>
7151                                 <call-macro n="f_concord3">
7152                                         <with-param pos="2"/>
7153                                         <with-param pos="3"/>
7154                                         <with-param pos="1"/>
7155                                 </call-macro>
7156                                 <call-macro n="f_comparativa">
7157                                         <with-param pos="3"/>
7158                                 </call-macro>
7159                                 <out>
7160                                         <lu>
7161                                                 <clip pos="1" side="tl" part="whole"/>
7162                                         </lu>
7163                                         <b pos="1"/>
7164                                         <lu>
7165                                                 <clip pos="2" side="tl" part="lem"/>
7166                                                 <clip pos="2" side="tl" part="a_nom"/>
7167                                                 <clip pos="2" side="tl" part="gen"/>
7168                                                 <clip pos="2" side="tl" part="nbr"/>
7169                                         </lu>
7170                                         <b pos="2"/>
7171                                         <lu>
7172                                                 <clip pos="3" side="tl" part="whole"/>
7173                                         </lu>
7174                                 </out>
7175                         </action>
7176                 </rule>
7177                 <rule>
7178                         <!-- REGLA 11: DET ADJECTIU NOM-->
7179                         <pattern>
7180                                 <pattern-item n="det"/>
7181                                 <pattern-item n="adjec"/>
7182                                 <pattern-item n="nom"/>
7183                         </pattern>
7184                         <action>
7185                                 <call-macro n="f_concord3">
7186                                         <with-param pos="3"/>
7187                                         <with-param pos="2"/>
7188                                         <with-param pos="1"/>
7189                                 </call-macro>
7190                                 <call-macro n="f_lexicadj">
7191                                         <with-param pos="2"/>
7192                                         <with-param pos="3"/>
7193                                 </call-macro>
7194                                 <call-macro n="f_comparativa">
7195                                         <with-param pos="2"/>
7196                                 </call-macro>
7197                                 <out>
7198                                         <lu>
7199                                                 <clip pos="1" side="tl" part="whole"/>
7200                                         </lu>
7201                                         <b pos="1"/>
7202                                         <lu>
7203                                                 <clip pos="2" side="tl" part="whole"/>
7204                                         </lu>
7205                                         <b pos="2"/>
7206                                         <lu>
7207                                                 <clip pos="3" side="tl" part="whole"/>
7208                                         </lu>
7209                                 </out>
7210                         </action>
7211                 </rule>
7212                 <rule>
7213                         <!-- REGLA 12: PREDET DET NOM-->
7214                         <pattern>
7215                                 <pattern-item n="predet"/>
7216                                 <pattern-item n="det"/>
7217                                 <pattern-item n="nom"/>
7218                         </pattern>
7219                         <action>
7220                                 <call-macro n="f_concord3">
7221                                         <with-param pos="3"/>
7222                                         <with-param pos="2"/>
7223                                         <with-param pos="1"/>
7224                                 </call-macro>
7225                                 <out>
7226                                         <lu>
7227                                                 <clip pos="1" side="tl" part="whole"/>
7228                                         </lu>
7229                                         <b pos="1"/>
7230                                         <lu>
7231                                                 <clip pos="2" side="tl" part="whole"/>
7232                                         </lu>
7233                                         <b pos="2"/>
7234                                         <lu>
7235                                                 <clip pos="3" side="tl" part="lem"/>
7236                                                 <clip pos="3" side="tl" part="a_nom"/>
7237                                                 <clip pos="3" side="tl" part="gen"/>
7238                                                 <clip pos="3" side="tl" part="nbr"/>
7239                                         </lu>
7240                                 </out>
7241                         </action>
7242                 </rule>
7243                 <rule>
7244                         <!-- REGLA 13: PREDET DET NOM ADJECTIU-->
7245                         <pattern>
7246                                 <pattern-item n="predet"/>
7247                                 <pattern-item n="det"/>
7248                                 <pattern-item n="nom"/>
7249                                 <pattern-item n="adjec"/>
7250                         </pattern>
7251                         <action>
7252                                 <call-macro n="f_concord4">
7253                                         <with-param pos="3"/>
7254                                         <with-param pos="4"/>
7255                                         <with-param pos="2"/>
7256                                         <with-param pos="1"/>
7257                                 </call-macro>
7258                                 <call-macro n="f_comparativa">
7259                                         <with-param pos="4"/>
7260                                 </call-macro>
7261                                 <out>
7262                                         <lu>
7263                                                 <clip pos="1" side="tl" part="whole"/>
7264                                         </lu>
7265                                         <b pos="1"/>
7266                                         <lu>
7267                                                 <clip pos="2" side="tl" part="whole"/>
7268                                         </lu>
7269                                         <b pos="2"/>
7270                                         <lu>
7271                                                 <clip pos="3" side="tl" part="whole"/>
7272                                         </lu>
7273                                         <b pos="3"/>
7274                                         <lu>
7275                                                 <clip pos="4" side="tl" part="whole"/>
7276                                         </lu>
7277                                 </out>
7278                         </action>
7279                 </rule>
7280                 <rule>
7281                         <!-- REGLA 14: PREDETERMINANT t-NOM -->
7282                         <pattern>
7283                                 <pattern-item n="predet"/>
7284                                 <pattern-item n="tnom"/>
7285                         </pattern>
7286                         <action>
7287                                 <call-macro n="f_concord2">
7288                                         <with-param pos="2"/>
7289                                         <with-param pos="1"/>
7290                                 </call-macro>
7291                                 <out>
7292                                         <lu>
7293                                                 <clip pos="1" side="tl" part="whole"/>
7294                                         </lu>
7295                                         <b pos="1"/>
7296                                         <lu>
7297                                                 <clip pos="2" side="tl" part="lemh"/>
7298                                                 <clip pos="2" side="tl" part="a_tnom"/>
7299                                                 <clip pos="2" side="tl" part="gen"/>
7300                                                 <clip pos="2" side="tl" part="nbr"/>
7301                                                 <clip pos="2" side="tl" part="lemq"/>
7302                                         </lu>
7303                                 </out>
7304                         </action>
7305                 </rule>
7306                 <rule>
7307                         <!-- REGLA 15: PREDETERMINANT NOM ADJECTIU -->
7308                         <pattern>
7309                                 <pattern-item n="predet"/>
7310                                 <pattern-item n="nom"/>
7311                                 <pattern-item n="adjec"/>
7312                         </pattern>
7313                         <action>
7314                                 <call-macro n="f_concord3">
7315                                         <with-param pos="2"/>
7316                                         <with-param pos="3"/>
7317                                         <with-param pos="1"/>
7318                                 </call-macro>
7319                                 <out>
7320                                         <lu>
7321                                                 <clip pos="1" side="tl" part="whole"/>
7322                                         </lu>
7323                                         <b pos="1"/>
7324                                         <lu>
7325                                                 <clip pos="2" side="tl" part="whole"/>
7326                                         </lu>
7327                                         <lu>
7328                                                 <clip pos="3" side="tl" part="whole"/>
7329                                         </lu>
7330                                 </out>
7331                         </action>
7332                 </rule>
7333                 <rule>
7334                         <!-- REGLA 16: PREDETERMINANT ADJECTIU NOM -->
7335                         <pattern>
7336                                 <pattern-item n="predet"/>
7337                                 <pattern-item n="adjec"/>
7338                                 <pattern-item n="nom"/>
7339                         </pattern>
7340                         <action>
7341                                 <call-macro n="f_concord3">
7342                                         <with-param pos="3"/>
7343                                         <with-param pos="2"/>
7344                                         <with-param pos="1"/>
7345                                 </call-macro>
7346                                 <call-macro n="f_lexicadj">
7347                                         <with-param pos="2"/>
7348                                         <with-param pos="3"/>
7349                                 </call-macro>
7350                                 <call-macro n="f_comparativa">
7351                                         <with-param pos="2"/>
7352                                 </call-macro>
7353                                 <out>
7354                                         <lu>
7355                                                 <clip pos="1" side="tl" part="whole"/>
7356                                         </lu>
7357                                         <b pos="1"/>
7358                                         <lu>
7359                                                 <clip pos="2" side="tl" part="whole"/>
7360                                         </lu>
7361                                         <lu>
7362                                                 <clip pos="3" side="tl" part="whole"/>
7363                                         </lu>
7364                                 </out>
7365                         </action>
7366                 </rule>
7367                 <rule>
7368                         <!-- REGLA 18: ADJECTIU NOM ADJECTIU-->
7369                         <pattern>
7370                                 <pattern-item n="adj"/>
7371                                 <pattern-item n="nom"/>
7372                                 <pattern-item n="adjec"/>
7373                         </pattern>
7374                         <action>
7375                                 <call-macro n="f_concord3">
7376                                         <with-param pos="2"/>
7377                                         <with-param pos="3"/>
7378                                         <with-param pos="1"/>
7379                                 </call-macro>
7380                                 <call-macro n="f_lexicadj">
7381                                         <with-param pos="1"/>
7382                                         <with-param pos="2"/>
7383                                 </call-macro>
7384                                 <call-macro n="f_comparativa">
7385                                         <with-param pos="1"/>
7386                                 </call-macro>
7387                                 <call-macro n="f_comparativa">
7388                                         <with-param pos="3"/>
7389                                 </call-macro>
7390                                 <out>
7391                                         <lu>
7392                                                 <clip pos="1" side="tl" part="whole"/>
7393                                         </lu>
7394                                         <b pos="1"/>
7395                                         <lu>
7396                                                 <clip pos="2" side="tl" part="whole"/>
7397                                         </lu>
7398                                         <b pos="2"/>
7399                                         <lu>
7400                                                 <clip pos="3" side="tl" part="whole"/>
7401                                         </lu>
7402                                 </out>
7403                         </action>
7404                 </rule>
7405                 <rule>
7406                         <!-- REGLA 19: DET ADJECTIU NOM ADJECTIU -->
7407                         <pattern>
7408                                 <pattern-item n="det"/>
7409                                 <pattern-item n="adjec"/>
7410                                 <pattern-item n="nom"/>
7411                                 <pattern-item n="adjec"/>
7412                         </pattern>
7413                         <action>
7414                                 <call-macro n="f_concord4">
7415                                         <with-param pos="3"/>
7416                                         <with-param pos="4"/>
7417                                         <with-param pos="2"/>
7418                                         <with-param pos="1"/>
7419                                 </call-macro>
7420                                 <call-macro n="f_comparativa">
7421                                         <with-param pos="2"/>
7422                                 </call-macro>
7423                                 <call-macro n="f_comparativa">
7424                                         <with-param pos="4"/>
7425                                 </call-macro>
7426                                 <call-macro n="f_lexicadj">
7427                                         <with-param pos="2"/>
7428                                         <with-param pos="3"/>
7429                                 </call-macro>
7430                                 <out>
7431                                         <lu>
7432                                                 <clip pos="1" side="tl" part="whole"/>
7433                                         </lu>
7434                                         <b pos="1"/>
7435                                         <lu>
7436                                                 <clip pos="2" side="tl" part="whole"/>
7437                                         </lu>
7438                                         <b pos="2"/>
7439                                         <lu>
7440                                                 <clip pos="3" side="tl" part="whole"/>
7441                                         </lu>
7442                                         <b pos="3"/>
7443                                         <lu>
7444                                                 <clip pos="4" side="tl" part="whole"/>
7445                                         </lu>
7446                                 </out>
7447                         </action>
7448                 </rule>
7449                 <rule>
7450                         <!-- REGLA 20: NOM ADVERBI ADJECTIU-->
7451                         <pattern>
7452                                 <pattern-item n="nom"/>
7453                                 <pattern-item n="adv"/>
7454                                 <pattern-item n="adjec"/>
7455                         </pattern>
7456                         <action>
7457                                 <call-macro n="f_concord2">
7458                                         <with-param pos="1"/>
7459                                         <with-param pos="3"/>
7460                                 </call-macro>
7461                                 <call-macro n="f_comparativa">
7462                                         <with-param pos="2"/>
7463                                 </call-macro>
7464                                 <call-macro n="f_comparativa">
7465                                         <with-param pos="3"/>
7466                                 </call-macro>
7467                                 <call-macro n="f_lexicadv">
7468                                         <with-param pos="2"/>
7469                                         <with-param pos="3"/>
7470                                 </call-macro>
7471                                 <out>
7472                                         <lu>
7473                                                 <clip pos="1" side="tl" part="whole"/>
7474                                         </lu>
7475                                         <b pos="1"/>
7476                                         <lu>
7477                                                 <clip pos="2" side="tl" part="whole"/>
7478                                         </lu>
7479                                         <b pos="2"/>
7480                                         <lu>
7481                                                 <clip pos="3" side="tl" part="whole"/>
7482                                         </lu>
7483                                 </out>
7484                         </action>
7485                 </rule>
7486                 <rule>
7487                         <!-- REGLA 21: DET NOM ADVERBI ADJECTIU -->
7488                         <pattern>
7489                                 <pattern-item n="det"/>
7490                                 <pattern-item n="nom"/>
7491                                 <pattern-item n="adv"/>
7492                                 <pattern-item n="adjec"/>
7493                         </pattern>
7494                         <action>
7495                                 <call-macro n="f_concord3">
7496                                         <with-param pos="2"/>
7497                                         <with-param pos="1"/>
7498                                         <with-param pos="4"/>
7499                                 </call-macro>
7500                                 <call-macro n="f_comparativa">
7501                                         <with-param pos="3"/>
7502                                 </call-macro>
7503                                 <call-macro n="f_comparativa">
7504                                         <with-param pos="4"/>
7505                                 </call-macro>
7506                                 <call-macro n="f_lexicadv">
7507                                         <with-param pos="3"/>
7508                                         <with-param pos="4"/>
7509                                 </call-macro>
7510                                 <out>
7511                                         <lu>
7512                                                 <clip pos="1" side="tl" part="whole"/>
7513                                         </lu>
7514                                         <b pos="1"/>
7515                                         <lu>
7516                                                 <clip pos="2" side="tl" part="whole"/>
7517                                         </lu>
7518                                         <b pos="2"/>
7519                                         <lu>
7520                                                 <clip pos="3" side="tl" part="whole"/>
7521                                         </lu>
7522                                         <b pos="3"/>
7523                                         <lu>
7524                                                 <clip pos="4" side="tl" part="whole"/>
7525                                         </lu>
7526                                 </out>
7527                         </action>
7528                 </rule>
7529                 <rule>
7530                         <!-- REGLA 22: DET ADVERBI t-NOM-->
7531                         <pattern>
7532                                 <pattern-item n="det"/>
7533                                 <pattern-item n="adv"/>
7534                                 <pattern-item n="tnom"/>
7535                         </pattern>
7536                         <action>
7537                                 <call-macro n="f_concord2">
7538                                         <with-param pos="3"/>
7539                                         <with-param pos="1"/>
7540                                 </call-macro>
7541                                 <call-macro n="f_comparativa">
7542                                         <with-param pos="2"/>
7543                                 </call-macro>
7544                                 <out>
7545                                         <lu>
7546                                                 <clip pos="1" side="tl" part="whole"/>
7547                                         </lu>
7548                                         <b pos="1"/>
7549                                         <lu>
7550                                                 <clip pos="2" side="tl" part="whole"/>
7551                                         </lu>
7552                                         <b pos="2"/>
7553                                         <lu>
7554                                                 <clip pos="3" side="tl" part="lemh"/>
7555                                                 <clip pos="3" side="tl" part="a_tnom"/>
7556                                                 <clip pos="3" side="tl" part="gen"/>
7557                                                 <clip pos="3" side="tl" part="nbr"/>
7558                                                 <clip pos="3" side="tl" part="lemq"/>
7559                                         </lu>
7560                                 </out>
7561                         </action>
7562                 </rule>
7563                 <rule>
7564                         <!-- REGLA 23: NUMERAL t-NOM -->
7565                         <pattern>
7566                                 <pattern-item n="num"/>
7567                                 <pattern-item n="tnom"/>
7568                         </pattern>
7569                         <action>
7570                                 <call-macro n="f_concord2">
7571                                         <with-param pos="2"/>
7572                                         <with-param pos="1"/>
7573                                 </call-macro>
7574                                 <out>
7575                                         <lu>
7576                                                 <clip pos="1" side="tl" part="whole"/>
7577                                         </lu>
7578                                         <b pos="1"/>
7579                                         <lu>
7580                                                 <clip pos="2" side="tl" part="lemh"/>
7581                                                 <clip pos="2" side="tl" part="a_tnom"/>
7582                                                 <clip pos="2" side="tl" part="gen"/>
7583                                                 <clip pos="2" side="tl" part="nbr"/>
7584                                                 <clip pos="2" side="tl" part="lemq"/>
7585                                         </lu>
7586                                 </out>
7587                         </action>
7588                 </rule>
7589                 <rule>
7590                         <!-- REGLA 25: NUMERAL NOM ADJECTIU -->
7591                         <pattern>
7592                                 <pattern-item n="num"/>
7593                                 <pattern-item n="nom"/>
7594                                 <pattern-item n="adjec"/>
7595                         </pattern>
7596                         <action>
7597                                 <call-macro n="f_concord3">
7598                                         <with-param pos="2"/>
7599                                         <with-param pos="1"/>
7600                                         <with-param pos="3"/>
7601                                 </call-macro>
7602                                 <call-macro n="f_comparativa">
7603                                         <with-param pos="3"/>
7604                                 </call-macro>
7605                                 <out>
7606                                         <lu>
7607                                                 <clip pos="1" side="tl" part="whole"/>
7608                                         </lu>
7609                                         <b pos="1"/>
7610                                         <lu>
7611                                                 <clip pos="2" side="tl" part="whole"/>
7612                                         </lu>
7613                                         <b pos="2"/>
7614                                         <lu>
7615                                                 <clip pos="3" side="tl" part="whole"/>
7616                                         </lu>
7617                                 </out>
7618                         </action>
7619                 </rule>
7620                 <rule>
7621                         <!-- REGLA 26: NUMERAL ADJECTIU NOM -->
7622                         <pattern>
7623                                 <pattern-item n="num"/>
7624                                 <pattern-item n="adjec"/>
7625                                 <pattern-item n="nom"/>
7626                         </pattern>
7627                         <action>
7628                                 <call-macro n="f_concord3">
7629                                         <with-param pos="3"/>
7630                                         <with-param pos="2"/>
7631                                         <with-param pos="1"/>
7632                                 </call-macro>
7633                                 <call-macro n="f_comparativa">
7634                                         <with-param pos="2"/>
7635                                 </call-macro>
7636                                 <call-macro n="f_lexicadj">
7637                                         <with-param pos="2"/>
7638                                         <with-param pos="3"/>
7639                                 </call-macro>
7640                                 <out>
7641                                         <lu>
7642                                                 <clip pos="1" side="tl" part="whole"/>
7643                                         </lu>
7644                                         <b pos="1"/>
7645                                         <lu>
7646                                                 <clip pos="2" side="tl" part="whole"/>
7647                                         </lu>
7648                                         <b pos="2"/>
7649                                         <lu>
7650                                                 <clip pos="3" side="tl" part="lem"/>
7651                                                 <clip pos="3" side="tl" part="a_nom"/>
7652                                                 <clip pos="3" side="tl" part="gen"/>
7653                                                 <clip pos="3" side="tl" part="nbr"/>
7654                                         </lu>
7655                                 </out>
7656                         </action>
7657                 </rule>
7658                 <rule>
7659                         <!-- REGLA 27: DET NUMERAL NOM -->
7660                         <pattern>
7661                                 <pattern-item n="det"/>
7662                                 <pattern-item n="num"/>
7663                                 <pattern-item n="nom"/>
7664                         </pattern>
7665                         <action>
7666                                 <call-macro n="f_concord3">
7667                                         <with-param pos="3"/>
7668                                         <with-param pos="2"/>
7669                                         <with-param pos="1"/>
7670                                 </call-macro>
7671                                 <out>
7672                                         <lu>
7673                                                 <clip pos="1" side="tl" part="whole"/>
7674                                         </lu>
7675                                         <b pos="1"/>
7676                                         <lu>
7677                                                 <clip pos="2" side="tl" part="whole"/>
7678                                         </lu>
7679                                         <b pos="2"/>
7680                                         <lu>
7681                                                 <clip pos="3" side="tl" part="lem"/>
7682                                                 <clip pos="3" side="tl" part="a_nom"/>
7683                                                 <clip pos="3" side="tl" part="gen"/>
7684                                                 <clip pos="3" side="tl" part="nbr"/>
7685                                         </lu>
7686                                 </out>
7687                         </action>
7688                 </rule>
7689                 <rule>
7690                         <!-- REGLA 28: cuyo t-NOM -->
7691                         <pattern>
7692                                 <pattern-item n="cuyo"/>
7693                                 <pattern-item n="tnom"/>
7694                         </pattern>
7695                         <action>
7696                                 <call-macro n="f_concord2">
7697                                         <with-param pos="2"/>
7698                                         <with-param pos="1"/>
7699                                 </call-macro>
7700                                 <out>
7701                                         <lu>
7702                                                 <clip pos="1" side="tl" part="whole"/>
7703                                         </lu>
7704                                         <b pos="1"/>
7705                                         <lu>
7706                                                 <clip pos="2" side="tl" part="lemh"/>
7707                                                 <clip pos="2" side="tl" part="a_tnom"/>
7708                                                 <clip pos="2" side="tl" part="gen"/>
7709                                                 <clip pos="2" side="tl" part="nbr"/>
7710                                                 <clip pos="2" side="tl" part="lemq"/>
7711                                         </lu>
7712                                 </out>
7713                         </action>
7714                 </rule>
7715                 <rule>
7716                         <!-- REGLA 29: cuyo ADJECTIU NOM -->
7717                         <pattern>
7718                                 <pattern-item n="cuyo"/>
7719                                 <pattern-item n="adjec"/>
7720                                 <pattern-item n="nom"/>
7721                         </pattern>
7722                         <action>
7723                                 <call-macro n="f_concord3">
7724                                         <with-param pos="3"/>
7725                                         <with-param pos="2"/>
7726                                         <with-param pos="1"/>
7727                                 </call-macro>
7728                                 <call-macro n="f_lexicadj">
7729                                         <with-param pos="2"/>
7730                                         <with-param pos="3"/>
7731                                 </call-macro>
7732                                 <call-macro n="f_comparativa">
7733                                         <with-param pos="2"/>
7734                                 </call-macro>
7735                                 <out>
7736                                         <lu>
7737                                                 <clip pos="1" side="tl" part="whole"/>
7738                                         </lu>
7739                                         <b pos="1"/>
7740                                         <lu>
7741                                                 <clip pos="2" side="tl" part="whole"/>
7742                                         </lu>
7743                                         <b pos="2"/>
7744                                         <lu>
7745                                                 <clip pos="3" side="tl" part="whole"/>
7746                                         </lu>
7747                                 </out>
7748                         </action>
7749                 </rule>
7750                 <rule>
7751                         <!-- REGLA 30: cuyo NOM ADJECTIU-->
7752                         <pattern>
7753                                 <pattern-item n="cuyo"/>
7754                                 <pattern-item n="nom"/>
7755                                 <pattern-item n="adjec"/>
7756                         </pattern>
7757                         <action>
7758                                 <call-macro n="f_concord3">
7759                                         <with-param pos="2"/>
7760                                         <with-param pos="3"/>
7761                                         <with-param pos="1"/>
7762                                 </call-macro>
7763                                 <call-macro n="f_comparativa">
7764                                         <with-param pos="3"/>
7765                                 </call-macro>
7766                                 <out>
7767                                         <lu>
7768                                                 <clip pos="1" side="tl" part="whole"/>
7769                                         </lu>
7770                                         <b pos="1"/>
7771                                         <lu>
7772                                                 <clip pos="2" side="tl" part="lem"/>
7773                                                 <clip pos="2" side="tl" part="a_nom"/>
7774                                                 <clip pos="2" side="tl" part="gen"/>
7775                                                 <clip pos="2" side="tl" part="nbr"/>
7776                                         </lu>
7777                                         <b pos="2"/>
7778                                         <lu>
7779                                                 <clip pos="3" side="tl" part="whole"/>
7780                                         </lu>
7781                                 </out>
7782                         </action>
7783                 </rule>
7784                 <rule>
7785                         <!-- REGLA : ADVERBI ADJECTIU-->
7786                         <pattern>
7787                                 <pattern-item n="adv"/>
7788                                 <pattern-item n="adjec"/>
7789                         </pattern>
7790                         <action>
7791                                 <call-macro n="f_concord1">
7792                                         <with-param pos="2"/>
7793                                 </call-macro>
7794                                 <call-macro n="f_comparativa">
7795                                         <with-param pos="1"/>
7796                                 </call-macro>
7797                                 <call-macro n="f_comparativa">
7798                                         <with-param pos="2"/>
7799                                 </call-macro>
7800                                 <call-macro n="f_lexicadv">
7801                                         <with-param pos="1"/>
7802                                         <with-param pos="2"/>
7803                                 </call-macro>
7804                                 <out>
7805                                         <lu>
7806                                                 <clip pos="1" side="tl" part="whole"/>
7807                                         </lu>
7808                                         <b pos="1"/>
7809                                         <lu>
7810                                                 <clip pos="2" side="tl" part="whole"/>
7811                                         </lu>
7812                                 </out>
7813                         </action>
7814                 </rule>
7815                 <rule>
7816                         <!-- REGLA : ADVERBI ADVERBI ADJECTIU-->
7817                         <pattern>
7818                                 <pattern-item n="adv"/>
7819                                 <pattern-item n="adv"/>
7820                                 <pattern-item n="adjec"/>
7821                         </pattern>
7822                         <action>
7823                                 <call-macro n="f_comparativa">
7824                                         <with-param pos="1"/>
7825                                 </call-macro>
7826                                 <call-macro n="f_comparativa">
7827                                         <with-param pos="2"/>
7828                                 </call-macro>
7829                                 <call-macro n="f_comparativa">
7830                                         <with-param pos="3"/>
7831                                 </call-macro>
7832                                 <call-macro n="f_lexicadv">
7833                                         <with-param pos="1"/>
7834                                         <with-param pos="2"/>
7835                                 </call-macro>
7836                                 <call-macro n="f_lexicadv">
7837                                         <with-param pos="2"/>
7838                                         <with-param pos="3"/>
7839                                 </call-macro>
7840                                 <call-macro n="f_concord1">
7841                                         <with-param pos="3"/>
7842                                 </call-macro>
7843                                 <out>
7844                                         <lu>
7845                                                 <clip pos="1" side="tl" part="whole"/>
7846                                         </lu>
7847                                         <b pos="1"/>
7848                                         <lu>
7849                                                 <clip pos="2" side="tl" part="whole"/>
7850                                         </lu>
7851                                         <b pos="2"/>
7852                                         <lu>
7853                                                 <clip pos="3" side="tl" part="whole"/>
7854                                         </lu>
7855                                 </out>
7856                         </action>
7857                 </rule>
7858                 <rule>
7859                         <!-- REGLA : ADVERBI ADVERBI-->
7860                         <pattern>
7861                                 <pattern-item n="adv"/>
7862                                 <pattern-item n="adv"/>
7863                         </pattern>
7864                         <action>
7865                                 <call-macro n="f_comparativa">
7866                                         <with-param pos="1"/>
7867                                 </call-macro>
7868                                 <call-macro n="f_comparativa">
7869                                         <with-param pos="2"/>
7870                                 </call-macro>
7871                                 <call-macro n="f_lexicadv">
7872                                         <with-param pos="1"/>
7873                                         <with-param pos="2"/>
7874                                 </call-macro>
7875                                 <out>
7876                                         <lu>
7877                                                 <clip pos="1" side="tl" part="whole"/>
7878                                         </lu>
7879                                         <b pos="1"/>
7880                                         <lu>
7881                                                 <clip pos="2" side="tl" part="whole"/>
7882                                         </lu>
7883                                 </out>
7884                         </action>
7885                 </rule>
7886                 <!-- REGLES PER ELIMINIAR EL DET DAVANT DE NOM PROPI -->
7887                 <rule>
7888                         <!-- REGLA 31: DETERMINANT NOM propi-antropònim -->
7889                         <pattern>
7890                                 <pattern-item n="det"/>
7891                                 <pattern-item n="npant"/>
7892                         </pattern>
7893                         <action>
7894                                 <out>
7895                                         <lu>
7896                                                 <clip pos="2" side="tl" part="whole"/>
7897                                         </lu>
7898                                 </out>
7899                                 <call-macro n="f_bcond">
7900                                         <with-param pos="1"/>
7901                                 </call-macro>
7902                         </action>
7903                 </rule>
7904                 <rule>
7905                         <!-- REGLA 32: DETERMINANT NOM propi-topònim -->
7906                         <pattern>
7907                                 <pattern-item n="det"/>
7908                                 <pattern-item n="nploc"/>
7909                         </pattern>
7910                         <action>
7911                                 <out>
7912                                         <lu>
7913                                                 <clip pos="2" side="tl" part="whole"/>
7914                                         </lu>
7915                                 </out>
7916                                 <call-macro n="f_bcond">
7917                                         <with-param pos="1"/>
7918                                 </call-macro>
7919                         </action>
7920                 </rule>
7921                 <!--    REGLES DE VERBS (posició dels clítics, canvis de temps, multiparaules, etc)-->
7922                 <!--                                                            =·= gostar I =·= -->
7923                 <rule>
7924                         <!-- REGLA : gostar-->
7925                         <pattern>
7926                                 <pattern-item n="gostar"/>
7927                         </pattern>
7928                         <action>
7929                                 <choose>
7930                                         <when>
7931                                                 <test>
7932                                                         <or>
7933                                                                 <equal>
7934                                                                         <clip pos="1" side="tl" part="temps"/>
7935                                                                         <lit-tag v="inf"/>
7936                                                                 </equal>
7937                                                                 <equal>
7938                                                                         <clip pos="1" side="tl" part="temps"/>
7939                                                                         <lit-tag v="ger"/>
7940                                                                 </equal>
7941                                                         </or>
7942                                                 </test>
7943                                                 <out>
7944                                                         <lu>
7945                                                                 <clip pos="1" side="tl" part="whole"/>
7946                                                         </lu>
7947                                                 </out>
7948                                         </when>
7949                                         <otherwise>
7950                                                 <choose>
7951                                                         <when>
7952                                                                 <test>
7953                                                                         <equal>
7954                                                                                 <clip pos="1" side="tl" part="temps"/>
7955                                                                                 <lit-tag v="imp"/>
7956                                                                         </equal>
7957                                                                 </test>
7958                                                                 <choose>
7959                                                                         <when>
7960                                                                                 <test>
7961                                                                                         <equal>
7962                                                                                                 <clip pos="1" side="tl" part="persona"/>
7963                                                                                                 <lit-tag v="p1"/>
7964                                                                                         </equal>
7965                                                                                 </test>
7966                                                                                 <choose>
7967                                                                                         <when>
7968                                                                                                 <test>
7969                                                                                                         <equal>
7970                                                                                                                 <clip pos="1" side="tl" part="nbr"/>
7971                                                                                                                 <lit-tag v="sg"/>
7972                                                                                                         </equal>
7973                                                                                                 </test>
7974                                                                                                 <out>
7975                                                                                                         <mlu>
7976                                                                                                                 <lu>
7977                                                                                                                         <clip pos="1" side="tl" part="lemh"/>
7978                                                                                                                         <clip pos="1" side="tl" part="a_verb"/>
7979                                                                                                                         <clip pos="1" side="tl" part="temps"/>
7980                                                                                                                         <lit-tag v="p3.sg"/>
7981                                                                                                                 </lu>
7982                                                                                                                 <lu>
7983                                                                                                                         <lit v="me"/>
7984                                                                                                                         <lit-tag v="prn.enc.p1.mf.sg"/>
7985                                                                                                                 </lu>
7986                                                                                                         </mlu>
7987                                                                                                 </out>
7988                                                                                         </when>
7989                                                                                         <otherwise>
7990                                                                                                 <out>
7991                                                                                                         <mlu>
7992                                                                                                                 <lu>
7993                                                                                                                         <clip pos="1" side="tl" part="lemh"/>
7994                                                                                                                         <clip pos="1" side="tl" part="a_verb"/>
7995                                                                                                                         <clip pos="1" side="tl" part="temps"/>
7996                                                                                                                         <lit-tag v="p3.sg"/>
7997                                                                                                                 </lu>
7998                                                                                                                 <lu>
7999                                                                                                                         <lit v="nos"/>
8000                                                                                                                         <lit-tag v="prn.enc.p1.mf.pl"/>
8001                                                                                                                 </lu>
8002                                                                                                         </mlu>
8003                                                                                                 </out>
8004                                                                                         </otherwise>
8005                                                                                 </choose>
8006                                                                         </when>
8007                                                                         <otherwise>
8008                                                                                 <choose>
8009                                                                                         <when>
8010                                                                                                 <test>
8011                                                                                                         <equal>
8012                                                                                                                 <clip pos="1" side="tl" part="persona"/>
8013                                                                                                                 <lit-tag v="p2"/>
8014                                                                                                         </equal>
8015                                                                                                 </test>
8016                                                                                                 <choose>
8017                                                                                                         <when>
8018                                                                                                                 <test>
8019                                                                                                                         <equal>
8020                                                                                                                                 <clip pos="1" side="tl" part="nbr"/>
8021                                                                                                                                 <lit-tag v="sg"/>
8022                                                                                                                         </equal>
8023                                                                                                                 </test>
8024                                                                                                                 <out>
8025                                                                                                                         <mlu>
8026                                                                                                                                 <lu>
8027                                                                                                                                         <clip pos="1" side="tl" part="lemh"/>
8028                                                                                                                                         <clip pos="1" side="tl" part="a_verb"/>
8029                                                                                                                                         <clip pos="1" side="tl" part="temps"/>
8030                                                                                                                                         <lit-tag v="p3.sg"/>
8031                                                                                                                                 </lu>
8032                                                                                                                                 <lu>
8033                                                                                                                                         <lit v="te"/>
8034                                                                                                                                         <lit-tag v="prn.enc.p2.mf.sg"/>
8035                                                                                                                                 </lu>
8036                                                                                                                         </mlu>
8037                                                                                                                 </out>
8038                                                                                                         </when>
8039                                                                                                         <otherwise>
8040                                                                                                                 <out>
8041                                                                                                                         <mlu>
8042                                                                                                                                 <lu>
8043                                                                                                                                         <clip pos="1" side="tl" part="lemh"/>
8044                                                                                                                                         <clip pos="1" side="tl" part="a_verb"/>
8045                                                                                                                                         <clip pos="1" side="tl" part="temps"/>
8046                                                                                                                                         <lit-tag v="p3.sg"/>
8047                                                                                                                                 </lu>
8048                                                                                                                                 <lu>
8049                                                                                                                                         <lit v="os"/>
8050                                                                                                                                         <lit-tag v="prn.enc.p2.mf.pl"/>
8051                                                                                                                                 </lu>
8052                                                                                                                         </mlu>
8053                                                                                                                 </out>
8054                                                                                                         </otherwise>
8055                                                                                                 </choose>
8056                                                                                         </when>
8057                                                                                         <otherwise>
8058                                                                                                 <out>
8059                                                                                                         <mlu>
8060                                                                                                                 <lu>
8061                                                                                                                         <clip pos="1" side="tl" part="lemh"/>
8062                                                                                                                         <clip pos="1" side="tl" part="a_verb"/>
8063                                                                                                                         <clip pos="1" side="tl" part="temps"/>
8064                                                                                                                         <lit-tag v="p3.sg"/>
8065                                                                                                                 </lu>
8066                                                                                                                 <lu>
8067                                                                                                                         <lit v="le"/>
8068                                                                                                                         <lit-tag v="prn.enc.p3.mf"/>
8069                                                                                                                         <clip pos="1" side="tl" part="nbr"/>
8070                                                                                                                 </lu>
8071                                                                                                         </mlu>
8072                                                                                                 </out>
8073                                                                                         </otherwise>
8074                                                                                 </choose>
8075                                                                         </otherwise>
8076                                                                 </choose>
8077                                                         </when>
8078                                                         <otherwise>
8079                                                                 <call-macro n="f_infps">
8080                                                                         <with-param pos="1"/>
8081                                                                 </call-macro>
8082                                                                 <call-macro n="prn_gostar">
8083                                                                         <with-param pos="1"/>
8084                                                                 </call-macro>
8085                                                                 <choose>
8086                                                                         <when>
8087                                                                                 <test>
8088                                                                                         <equal>
8089                                                                                                 <clip pos="1" side="sl" part="temps"/>
8090                                                                                                 <lit-tag v="pmp"/>
8091                                                                                         </equal>
8092                                                                                 </test>
8093                                                                                 <out>
8094                                                                                         <lu>
8095                                                                                                 <get-case-from pos="1">
8096                                                                                                         <lit v="haber"/>
8097                                                                                                 </get-case-from>
8098                                                                                                 <lit-tag v="vbhaver.ifi.p3.sg"/>
8099                                                                                         </lu>
8100                                                                                         <b/>
8101                                                                                         <lu>
8102                                                                                                 <clip pos="1" side="tl" part="lemh"/>
8103                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
8104                                                                                                 <lit-tag v="pp.m.sg"/>
8105                                                                                                 <clip pos="1" side="tl" part="lemq"/>
8106                                                                                         </lu>
8107                                                                                 </out>
8108                                                                         </when>
8109                                                                         <otherwise>
8110                                                                                 <choose>
8111                                                                                         <when>
8112                                                                                                 <test>
8113                                                                                                         <equal>
8114                                                                                                                 <clip pos="1" side="sl" part="temps"/>
8115                                                                                                                 <lit-tag v="pp"/>
8116                                                                                                         </equal>
8117                                                                                                 </test>
8118                                                                                                 <out>
8119                                                                                                         <lu>
8120                                                                                                                 <clip pos="1" side="tl" part="lemh"/>
8121                                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
8122                                                                                                                 <clip pos="1" side="tl" part="temps"/>
8123                                                                                                                 <lit-tag v="m.sg"/>
8124                                                                                                         </lu>
8125                                                                                                 </out>
8126                                                                                         </when>
8127                                                                                         <otherwise>
8128                                                                                                 <out>
8129                                                                                                         <b/>
8130                                                                                                         <lu>
8131                                                                                                                 <clip pos="1" side="tl" part="lemh"/>
8132                                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
8133                                                                                                                 <clip pos="1" side="tl" part="temps"/>
8134                                                                                                                 <lit-tag v="p3.sg"/>
8135                                                                                                         </lu>
8136                                                                                                 </out>
8137                                                                                         </otherwise>
8138                                                                                 </choose>
8139                                                                         </otherwise>
8140                                                                 </choose>
8141                                                         </otherwise>
8142                                                 </choose>
8143                                         </otherwise>
8144                                 </choose>
8145                         </action>
8146                 </rule>
8147                 <rule>
8148                         <!-- REGLA : gostar-->
8149                         <pattern>
8150                                 <pattern-item n="vbhaver"/>
8151                                 <pattern-item n="gostar"/>
8152                         </pattern>
8153                         <action>
8154                                 <call-macro n="f_infps">
8155                                         <with-param pos="1"/>
8156                                 </call-macro>
8157                                 <call-macro n="prn_gostar">
8158                                         <with-param pos="1"/>
8159                                 </call-macro>
8160                                 <out>
8161                                         <b/>
8162                                         <lu>
8163                                                 <clip pos="1" side="tl" part="lemh"/>
8164                                                 <clip pos="1" side="tl" part="a_verb"/>
8165                                                 <clip pos="1" side="tl" part="temps"/>
8166                                                 <lit-tag v="p3"/>
8167                                                 <clip pos="1" side="tl" part="gen"/>
8168                                                 <lit-tag v="sg"/>
8169                                         </lu>
8170                                         <b pos="1"/>
8171                                         <lu>
8172                                                 <clip pos="2" side="tl" part="whole"/>
8173                                         </lu>
8174                                 </out>
8175                         </action>
8176                 </rule>
8177                 <rule>
8178                         <!-- REGLA : gostar gostando -> estar gustando -->
8179                         <pattern>
8180                                 <pattern-item n="estar"/>
8181                                 <pattern-item n="gostarger"/>
8182                         </pattern>
8183                         <action>
8184                                 <call-macro n="f_infps">
8185                                         <with-param pos="1"/>
8186                                 </call-macro>
8187                                 <call-macro n="prn_gostar">
8188                                         <with-param pos="1"/>
8189                                 </call-macro>
8190                                 <out>
8191                                         <b/>
8192                                         <lu>
8193                                                 <clip pos="1" side="tl" part="lemh"/>
8194                                                 <clip pos="1" side="tl" part="a_verb"/>
8195                                                 <clip pos="1" side="tl" part="temps"/>
8196                                                 <lit-tag v="p3"/>
8197                                                 <clip pos="1" side="tl" part="gen"/>
8198                                                 <lit-tag v="sg"/>
8199                                         </lu>
8200                                         <b pos="1"/>
8201                                         <lu>
8202                                                 <clip pos="2" side="tl" part="whole"/>
8203                                         </lu>
8204                                 </out>
8205                         </action>
8206                 </rule>
8207                 <rule>
8208                         <!-- REGLA : estar a gostar -> estar gustando -->
8209                         <pattern>
8210                                 <pattern-item n="estar"/>
8211                                 <pattern-item n="a"/>
8212                                 <pattern-item n="gostarinf"/>
8213                         </pattern>
8214                         <action>
8215                                 <call-macro n="f_infps">
8216                                         <with-param pos="1"/>
8217                                 </call-macro>
8218                                 <call-macro n="prn_gostar">
8219                                         <with-param pos="1"/>
8220                                 </call-macro>
8221                                 <out>
8222                                         <b/>
8223                                         <lu>
8224                                                 <clip pos="1" side="tl" part="lemh"/>
8225                                                 <clip pos="1" side="tl" part="a_verb"/>
8226                                                 <clip pos="1" side="tl" part="temps"/>
8227                                                 <lit-tag v="p3"/>
8228                                                 <clip pos="1" side="tl" part="gen"/>
8229                                                 <lit-tag v="sg"/>
8230                                         </lu>
8231                                         <b pos="1"/>
8232                                         <lu>
8233                                                 <clip pos="3" side="tl" part="lemh"/>
8234                                                 <clip pos="3" side="tl" part="a_verb"/>
8235                                                 <lit-tag v="ger"/>
8236                                         </lu>
8237                                 </out>
8238                                 <call-macro n="f_bcond">
8239                                         <with-param pos="2"/>
8240                                 </call-macro>
8241                         </action>
8242                 </rule>
8243                 <rule>
8244                         <!-- REGLA : estar gostando de -> estar gustando -->
8245                         <pattern>
8246                                 <pattern-item n="estar"/>
8247                                 <pattern-item n="gostarger"/>
8248                                 <pattern-item n="de"/>
8249                         </pattern>
8250                         <action>
8251                                 <call-macro n="f_infps">
8252                                         <with-param pos="1"/>
8253                                 </call-macro>
8254                                 <call-macro n="prn_gostar">
8255                                         <with-param pos="1"/>
8256                                 </call-macro>
8257                                 <out>
8258                                         <b/>
8259                                         <lu>
8260                                                 <clip pos="1" side="tl" part="lemh"/>
8261                                                 <clip pos="1" side="tl" part="a_verb"/>
8262                                                 <clip pos="1" side="tl" part="temps"/>
8263                                                 <lit-tag v="p3"/>
8264                                                 <clip pos="1" side="tl" part="gen"/>
8265                                                 <lit-tag v="sg"/>
8266                                         </lu>
8267                                         <b pos="1"/>
8268                                         <lu>
8269                                                 <clip pos="2" side="tl" part="whole"/>
8270                                         </lu>
8271                                 </out>
8272                                 <call-macro n="f_bcond">
8273                                         <with-param pos="2"/>
8274                                 </call-macro>
8275                         </action>
8276                 </rule>
8277                 <rule>
8278                         <!-- REGLA : estar a gostar de -> estar gustando -->
8279                         <pattern>
8280                                 <pattern-item n="estar"/>
8281                                 <pattern-item n="a"/>
8282                                 <pattern-item n="gostarinf"/>
8283                                 <pattern-item n="de"/>
8284                         </pattern>
8285                         <action>
8286                                 <call-macro n="f_infps">
8287                                         <with-param pos="1"/>
8288                                 </call-macro>
8289                                 <call-macro n="prn_gostar">
8290                                         <with-param pos="1"/>
8291                                 </call-macro>
8292                                 <out>
8293                                         <b/>
8294                                         <lu>
8295                                                 <clip pos="1" side="tl" part="lemh"/>
8296                                                 <clip pos="1" side="tl" part="a_verb"/>
8297                                                 <clip pos="1" side="tl" part="temps"/>
8298                                                 <lit-tag v="p3"/>
8299                                                 <clip pos="1" side="tl" part="gen"/>
8300                                                 <lit-tag v="sg"/>
8301                                         </lu>
8302                                         <b pos="1"/>
8303                                         <lu>
8304                                                 <clip pos="3" side="tl" part="lemh"/>
8305                                                 <clip pos="3" side="tl" part="a_verb"/>
8306                                                 <lit-tag v="ger"/>
8307                                         </lu>
8308                                 </out>
8309                                 <call-macro n="f_bcond">
8310                                         <with-param pos="2"/>
8311                                 </call-macro>
8312                                 <call-macro n="f_bcond">
8313                                         <with-param pos="3"/>
8314                                 </call-macro>
8315                         </action>
8316                 </rule>
8317                 <!--                                                            =·=clítics=·= -->
8318                 <rule>
8319                         <!--REGLA 33: VERB (per a multiparaules sense enclítics)-->
8320                         <pattern>
8321                                 <pattern-item n="verb"/>
8322                         </pattern>
8323                         <action>
8324                                 <choose>
8325                                         <when>
8326                                                 <test>
8327                                                         <or>
8328                                                                 <equal>
8329                                                                         <clip pos="1" side="sl" part="temps"/>
8330                                                                         <lit-tag v="infps"/>
8331                                                                 </equal>
8332                                                                 <equal>
8333                                                                         <clip pos="1" side="sl" part="temps"/>
8334                                                                         <lit-tag v="fts"/>
8335                                                                 </equal>
8336                                                         </or>
8337                                                 </test>
8338                                                 <out>
8339                                                         <lu>
8340                                                                 <clip pos="1" side="tl" part="lemh"/>
8341                                                                 <clip pos="1" side="tl" part="a_verb"/>
8342                                                                 <lit-tag v="prs"/>
8343                                                                 <clip pos="1" side="tl" part="persona"/>
8344                                                                 <clip pos="1" side="tl" part="nbr"/>
8345                                                                 <clip pos="1" side="tl" part="lemq"/>
8346                                                         </lu>
8347                                                 </out>
8348                                         </when>
8349                                         <otherwise>
8350                                                 <choose>
8351                                                         <when>
8352                                                                 <test>
8353                                                                         <equal>
8354                                                                                 <clip pos="1" side="sl" part="temps"/>
8355                                                                                 <lit-tag v="pmp"/>
8356                                                                         </equal>
8357                                                                 </test>
8358                                                                 <out>
8359                                                                         <lu>
8360                                                                                 <get-case-from pos="1">
8361                                                                                         <lit v="haber"/>
8362                                                                                 </get-case-from>
8363                                                                                 <lit-tag v="vbhaver.ifi"/>
8364                                                                                 <clip pos="1" side="tl" part="persona"/>
8365                                                                                 <clip pos="1" side="tl" part="nbr"/>
8366                                                                         </lu>
8367                                                                         <b/>
8368                                                                         <lu>
8369                                                                                 <clip pos="1" side="tl" part="lemh"/>
8370                                                                                 <clip pos="1" side="tl" part="a_verb"/>
8371                                                                                 <lit-tag v="pp.m.sg"/>
8372                                                                                 <clip pos="1" side="tl" part="lemq"/>
8373                                                                         </lu>
8374                                                                 </out>
8375                                                         </when>
8376                                                         <otherwise>
8377                                                                 <out>
8378                                                                         <lu>
8379                                                                                 <clip pos="1" side="tl" part="lemh"/>
8380                                                                                 <clip pos="1" side="tl" part="a_verb"/>
8381                                                                                 <clip pos="1" side="tl" part="temps"/>
8382                                                                                 <clip pos="1" side="tl" part="persona"/>
8383                                                                                 <clip pos="1" side="tl" part="gen"/>
8384                                                                                 <clip pos="1" side="tl" part="nbr"/>
8385                                                                                 <clip pos="1" side="tl" part="lemq"/>
8386                                                                         </lu>
8387                                                                 </out>
8388                                                         </otherwise>
8389                                                 </choose>
8390                                         </otherwise>
8391                                 </choose>
8392                         </action>
8393                 </rule>
8394                 <rule>
8395                         <!--REGLA 34: VERB + ENCLÍTIC-->
8396                         <pattern>
8397                                 <pattern-item n="verb"/>
8398                                 <pattern-item n="prnenc"/>
8399                         </pattern>
8400                         <action>
8401                                 <choose>
8402                                         <when>
8403                                                 <test>
8404                                                         <or>
8405                                                                 <equal>
8406                                                                         <clip pos="1" side="sl" part="temps"/>
8407                                                                         <lit-tag v="inf"/>
8408                                                                 </equal>
8409                                                                 <equal>
8410                                                                         <clip pos="1" side="sl" part="temps"/>
8411                                                                         <lit-tag v="ger"/>
8412                                                                 </equal>
8413                                                                 <equal>
8414                                                                         <clip pos="1" side="sl" part="temps"/>
8415                                                                         <lit-tag v="imp"/>
8416                                                                 </equal>
8417                                                         </or>
8418                                                 </test>
8419                                                 <out>
8420                                                         <mlu>
8421                                                                 <lu>
8422                                                                         <clip pos="1" side="tl" part="lemh"/>
8423                                                                         <clip pos="1" side="tl" part="a_verb"/>
8424                                                                         <clip pos="1" side="tl" part="temps"/>
8425                                                                         <clip pos="1" side="tl" part="persona"/>
8426                                                                         <clip pos="1" side="tl" part="nbr"/>
8427                                                                 </lu>
8428                                                                 <lu>
8429                                                                         <clip pos="2" side="tl" part="lem"/>
8430                                                                         <clip pos="2" side="tl" part="a_prnenc"/>
8431                                                                         <clip pos="2" side="tl" part="persona"/>
8432                                                                         <clip pos="2" side="tl" part="gen"/>
8433                                                                         <clip pos="2" side="tl" part="nbr"/>
8434                                                                         <clip pos="1" side="tl" part="lemq"/>
8435                                                                 </lu>
8436                                                         </mlu>
8437                                                 </out>
8438                                         </when>
8439                                         <otherwise>
8440                                                 <out>
8441                                                         <lu>
8442                                                                 <get-case-from pos="1">
8443                                                                         <clip pos="2" side="tl" part="lem"/>
8444                                                                 </get-case-from>
8445                                                                 <lit-tag v="prn.pro"/>
8446                                                                 <clip pos="2" side="tl" part="tipoenc_pro"/>
8447                                                         </lu>
8448                                                         <b/>
8449                                                 </out>
8450                                                 <choose>
8451                                                         <when>
8452                                                                 <test>
8453                                                                         <or>
8454                                                                                 <equal>
8455                                                                                         <clip pos="1" side="sl" part="temps"/>
8456                                                                                         <lit-tag v="infps"/>
8457                                                                                 </equal>
8458                                                                                 <equal>
8459                                                                                         <clip pos="1" side="sl" part="temps"/>
8460                                                                                         <lit-tag v="fts"/>
8461                                                                                 </equal>
8462                                                                         </or>
8463                                                                 </test>
8464                                                                 <out>
8465                                                                         <lu>
8466                                                                                 <get-case-from pos="2">
8467                                                                                         <clip pos="1" side="tl" part="lemh"/>
8468                                                                                 </get-case-from>
8469                                                                                 <clip pos="1" side="tl" part="a_verb"/>
8470                                                                                 <lit-tag v="prs"/>
8471                                                                                 <clip pos="1" side="tl" part="persona"/>
8472                                                                                 <clip pos="1" side="tl" part="nbr"/>
8473                                                                                 <clip pos="1" side="tl" part="lemq"/>
8474                                                                         </lu>
8475                                                                 </out>
8476                                                         </when>
8477                                                         <otherwise>
8478                                                                 <choose>
8479                                                                         <when>
8480                                                                                 <test>
8481                                                                                         <equal>
8482                                                                                                 <clip pos="1" side="sl" part="temps"/>
8483                                                                                                 <lit-tag v="pmp"/>
8484                                                                                         </equal>
8485                                                                                 </test>
8486                                                                                 <out>
8487                                                                                         <lu>
8488                                                                                                 <get-case-from pos="2">
8489                                                                                                         <lit v="haber"/>
8490                                                                                                 </get-case-from>
8491                                                                                                 <lit-tag v="vbhaver.ifi"/>
8492                                                                                                 <clip pos="1" side="tl" part="persona"/>
8493                                                                                                 <clip pos="1" side="tl" part="nbr"/>
8494                                                                                         </lu>
8495                                                                                         <b/>
8496                                                                                         <lu>
8497                                                                                                 <clip pos="1" side="tl" part="lemh"/>
8498                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
8499                                                                                                 <lit-tag v="pp.m.sg"/>
8500                                                                                                 <clip pos="1" side="tl" part="lemq"/>
8501                                                                                         </lu>
8502                                                                                 </out>
8503                                                                         </when>
8504                                                                         <otherwise>
8505                                                                                 <out>
8506                                                                                         <lu>
8507                                                                                                 <get-case-from pos="2">
8508                                                                                                         <clip pos="1" side="tl" part="lemh"/>
8509                                                                                                 </get-case-from>
8510                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
8511                                                                                                 <clip pos="1" side="tl" part="temps"/>
8512                                                                                                 <clip pos="1" side="tl" part="persona"/>
8513                                                                                                 <clip pos="1" side="tl" part="gen"/>
8514                                                                                                 <clip pos="1" side="tl" part="nbr"/>
8515                                                                                                 <clip pos="1" side="tl" part="lemq"/>
8516                                                                                         </lu>
8517                                                                                 </out>
8518                                                                         </otherwise>
8519                                                                 </choose>
8520                                                         </otherwise>
8521                                                 </choose>
8522                                         </otherwise>
8523                                 </choose>
8524                         </action>
8525                 </rule>
8526                 <rule>
8527                         <!--REGLA 35: PROCLÍTIC + VERB-->
8528                         <pattern>
8529                                 <pattern-item n="prnpro"/>
8530                                 <pattern-item n="verb"/>
8531                         </pattern>
8532                         <action>
8533                                 <choose>
8534                                         <when>
8535                                                 <test>
8536                                                         <or>
8537                                                                 <equal>
8538                                                                         <clip pos="2" side="sl" part="temps"/>
8539                                                                         <lit-tag v="inf"/>
8540                                                                 </equal>
8541                                                                 <equal>
8542                                                                         <clip pos="2" side="sl" part="temps"/>
8543                                                                         <lit-tag v="ger"/>
8544                                                                 </equal>
8545                                                                 <equal>
8546                                                                         <clip pos="2" side="sl" part="temps"/>
8547                                                                         <lit-tag v="imp"/>
8548                                                                 </equal>
8549                                                         </or>
8550                                                 </test>
8551                                                 <out>
8552                                                         <mlu>
8553                                                                 <lu>
8554                                                                         <get-case-from pos="1">
8555                                                                                 <clip pos="2" side="tl" part="lemh"/>
8556                                                                         </get-case-from>
8557                                                                         <clip pos="2" side="tl" part="a_verb"/>
8558                                                                         <clip pos="2" side="tl" part="temps"/>
8559                                                                         <clip pos="2" side="tl" part="persona"/>
8560                                                                         <clip pos="2" side="tl" part="nbr"/>
8561                                                                 </lu>
8562                                                                 <lu>
8563                                                                         <get-case-from pos="2">
8564                                                                                 <clip pos="1" side="tl" part="lem"/>
8565                                                                         </get-case-from>
8566                                                                         <lit-tag v="prn.enc"/>
8567                                                                         <clip pos="1" side="tl" part="tipoenc_pro"/>
8568                                                                         <clip pos="2" side="tl" part="lemq"/>
8569                                                                 </lu>
8570                                                         </mlu>
8571                                                 </out>
8572                                         </when>
8573                                         <otherwise>
8574                                                 <out>
8575                                                         <lu>
8576                                                                 <get-case-from pos="1">
8577                                                                         <clip pos="1" side="tl" part="lem"/>
8578                                                                 </get-case-from>
8579                                                                 <lit-tag v="prn.pro"/>
8580                                                                 <clip pos="1" side="tl" part="tipoenc_pro"/>
8581                                                         </lu>
8582                                                         <b pos="1"/>
8583                                                 </out>
8584                                                 <choose>
8585                                                         <when>
8586                                                                 <test>
8587                                                                         <or>
8588                                                                                 <equal>
8589                                                                                         <clip pos="2" side="sl" part="temps"/>
8590                                                                                         <lit-tag v="infps"/>
8591                                                                                 </equal>
8592                                                                                 <equal>
8593                                                                                         <clip pos="2" side="sl" part="temps"/>
8594                                                                                         <lit-tag v="fts"/>
8595                                                                                 </equal>
8596                                                                         </or>
8597                                                                 </test>
8598                                                                 <out>
8599                                                                         <lu>
8600                                                                                 <clip pos="2" side="tl" part="lemh"/>
8601                                                                                 <clip pos="2" side="tl" part="a_verb"/>
8602                                                                                 <lit-tag v="prs"/>
8603                                                                                 <clip pos="2" side="tl" part="persona"/>
8604                                                                                 <clip pos="2" side="tl" part="nbr"/>
8605                                                                                 <clip pos="2" side="tl" part="lemq"/>
8606                                                                         </lu>
8607                                                                 </out>
8608                                                         </when>
8609                                                         <otherwise>
8610                                                                 <choose>
8611                                                                         <when>
8612                                                                                 <test>
8613                                                                                         <equal>
8614                                                                                                 <clip pos="2" side="sl" part="temps"/>
8615                                                                                                 <lit-tag v="pmp"/>
8616                                                                                         </equal>
8617                                                                                 </test>
8618                                                                                 <out>
8619                                                                                         <lu>
8620                                                                                                 <lit v="haber"/>
8621                                                                                                 <lit-tag v="vbhaver.ifi"/>
8622                                                                                                 <clip pos="2" side="tl" part="persona"/>
8623                                                                                                 <clip pos="2" side="tl" part="nbr"/>
8624                                                                                         </lu>
8625                                                                                         <b/>
8626                                                                                         <lu>
8627                                                                                                 <clip pos="2" side="tl" part="lemh"/>
8628                                                                                                 <clip pos="2" side="tl" part="a_verb"/>
8629                                                                                                 <lit-tag v="pp.m.sg"/>
8630                                                                                                 <clip pos="2" side="tl" part="lemq"/>
8631                                                                                         </lu>
8632                                                                                 </out>
8633                                                                         </when>
8634                                                                         <otherwise>
8635                                                                                 <out>
8636                                                                                         <lu>
8637                                                                                                 <clip pos="2" side="tl" part="lemh"/>
8638                                                                                                 <clip pos="2" side="tl" part="a_verb"/>
8639                                                                                                 <clip pos="2" side="tl" part="temps"/>
8640                                                                                                 <clip pos="2" side="tl" part="persona"/>
8641                                                                                                 <clip pos="2" side="tl" part="gen"/>
8642                                                                                                 <clip pos="2" side="tl" part="nbr"/>
8643                                                                                                 <clip pos="2" side="tl" part="lemq"/>
8644                                                                                         </lu>
8645                                                                                 </out>
8646                                                                         </otherwise>
8647                                                                 </choose>
8648                                                         </otherwise>
8649                                                 </choose>
8650                                         </otherwise>
8651                                 </choose>
8652                         </action>
8653                 </rule>
8654                 <rule>
8655                         <!-- verb-mesoclític-cua -->
8656                         <pattern>
8657                                 <pattern-item n="verbmeso"/>
8658                                 <pattern-item n="prnenc"/>
8659                                 <pattern-item n="cuavb"/>
8660                         </pattern>
8661                         <action>
8662                                 <out>
8663                                         <lu>
8664                                                 <get-case-from pos="1">
8665                                                         <clip pos="2" side="tl" part="lem"/>
8666                                                 </get-case-from>
8667                                                 <lit-tag v="prn.pro"/>
8668                                                 <clip pos="2" side="tl" part="tipoenc_pro"/>
8669                                         </lu>
8670                                         <b pos="1"/>
8671                                         <lu>
8672                                                 <get-case-from pos="2">
8673                                                         <clip pos="1" side="tl" part="lemh"/>
8674                                                 </get-case-from>
8675                                                 <clip pos="1" side="tl" part="a_verb"/>
8676                                                 <clip pos="3" side="tl" part="temps"/>
8677                                                 <clip pos="3" side="tl" part="persona"/>
8678                                                 <clip pos="3" side="tl" part="nbr"/>
8679                                                 <clip pos="1" side="tl" part="lemq"/>
8680                                         </lu>
8681                                 </out>
8682                         </action>
8683                 </rule>
8684                 <rule>
8685                         <!--REGLA 34: VERB + ENCLÍTIC + ENCLÍTIC-->
8686                         <pattern>
8687                                 <pattern-item n="verb"/>
8688                                 <pattern-item n="prnenc"/>
8689                                 <pattern-item n="prnenc"/>
8690                         </pattern>
8691                         <action>
8692                                 <choose>
8693                                         <when>
8694                                                 <test>
8695                                                         <or>
8696                                                                 <equal>
8697                                                                         <clip pos="1" side="sl" part="temps"/>
8698                                                                         <lit-tag v="inf"/>
8699                                                                 </equal>
8700                                                                 <equal>
8701                                                                         <clip pos="1" side="sl" part="temps"/>
8702                                                                         <lit-tag v="ger"/>
8703                                                                 </equal>
8704                                                                 <equal>
8705                                                                         <clip pos="1" side="sl" part="temps"/>
8706                                                                         <lit-tag v="imp"/>
8707                                                                 </equal>
8708                                                         </or>
8709                                                 </test>
8710                                                 <out>
8711                                                         <mlu>
8712                                                                 <lu>
8713                                                                         <clip pos="1" side="tl" part="lemh"/>
8714                                                                         <clip pos="1" side="tl" part="a_verb"/>
8715                                                                         <clip pos="1" side="tl" part="temps"/>
8716                                                                         <clip pos="1" side="tl" part="persona"/>
8717                                                                         <clip pos="1" side="tl" part="nbr"/>
8718                                                                 </lu>
8719                                                                 <lu>
8720                                                                         <clip pos="2" side="tl" part="lem"/>
8721                                                                         <clip pos="2" side="tl" part="a_prnenc"/>
8722                                                                         <clip pos="2" side="tl" part="persona"/>
8723                                                                         <clip pos="2" side="tl" part="gen"/>
8724                                                                         <clip pos="2" side="tl" part="nbr"/>
8725                                                                 </lu>
8726                                                                 <lu>
8727                                                                         <clip pos="3" side="tl" part="lem"/>
8728                                                                         <clip pos="3" side="tl" part="a_prnenc"/>
8729                                                                         <clip pos="3" side="tl" part="persona"/>
8730                                                                         <clip pos="3" side="tl" part="gen"/>
8731                                                                         <clip pos="3" side="tl" part="nbr"/>
8732                                                                         <clip pos="1" side="tl" part="lemq"/>
8733                                                                 </lu>
8734                                                         </mlu>
8735                                                 </out>
8736                                         </when>
8737                                         <otherwise>
8738                                                 <out>
8739                                                         <lu>
8740                                                                 <get-case-from pos="1">
8741                                                                         <clip pos="2" side="tl" part="lem"/>
8742                                                                 </get-case-from>
8743                                                                 <lit-tag v="prn.pro"/>
8744                                                                 <clip pos="2" side="tl" part="tipoenc_pro"/>
8745                                                         </lu>
8746                                                         <b/>
8747                                                         <lu>
8748                                                                 <clip pos="3" side="tl" part="lem"/>
8749                                                                 <lit-tag v="prn.pro"/>
8750                                                                 <clip pos="3" side="tl" part="tipoenc_pro"/>
8751                                                         </lu>
8752                                                         <b/>
8753                                                 </out>
8754                                                 <choose>
8755                                                         <when>
8756                                                                 <test>
8757                                                                         <or>
8758                                                                                 <equal>
8759                                                                                         <clip pos="1" side="sl" part="temps"/>
8760                                                                                         <lit-tag v="infps"/>
8761                                                                                 </equal>
8762                                                                                 <equal>
8763                                                                                         <clip pos="1" side="sl" part="temps"/>
8764                                                                                         <lit-tag v="fts"/>
8765                                                                                 </equal>
8766                                                                         </or>
8767                                                                 </test>
8768                                                                 <out>
8769                                                                         <lu>
8770                                                                                 <get-case-from pos="2">
8771                                                                                         <clip pos="1" side="tl" part="lemh"/>
8772                                                                                 </get-case-from>
8773                                                                                 <clip pos="1" side="tl" part="a_verb"/>
8774                                                                                 <lit-tag v="prs"/>
8775                                                                                 <clip pos="1" side="tl" part="persona"/>
8776                                                                                 <clip pos="1" side="tl" part="nbr"/>
8777                                                                                 <clip pos="1" side="tl" part="lemq"/>
8778                                                                         </lu>
8779                                                                 </out>
8780                                                         </when>
8781                                                         <otherwise>
8782                                                                 <choose>
8783                                                                         <when>
8784                                                                                 <test>
8785                                                                                         <equal>
8786                                                                                                 <clip pos="1" side="sl" part="temps"/>
8787                                                                                                 <lit-tag v="pmp"/>
8788                                                                                         </equal>
8789                                                                                 </test>
8790                                                                                 <out>
8791                                                                                         <lu>
8792                                                                                                 <get-case-from pos="1">
8793                                                                                                         <lit v="haber"/>
8794                                                                                                 </get-case-from>
8795                                                                                                 <lit-tag v="vbhaver.ifi"/>
8796                                                                                                 <clip pos="1" side="tl" part="persona"/>
8797                                                                                                 <clip pos="1" side="tl" part="nbr"/>
8798                                                                                         </lu>
8799                                                                                         <b/>
8800                                                                                         <lu>
8801                                                                                                 <clip pos="1" side="tl" part="lemh"/>
8802                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
8803                                                                                                 <lit-tag v="pp.m.sg"/>
8804                                                                                                 <clip pos="1" side="tl" part="lemq"/>
8805                                                                                         </lu>
8806                                                                                 </out>
8807                                                                         </when>
8808                                                                         <otherwise>
8809                                                                                 <out>
8810                                                                                         <lu>
8811                                                                                                 <clip pos="1" side="tl" part="lemh"/>
8812                                                                                                 <clip pos="1" side="tl" part="a_verb"/>
8813                                                                                                 <clip pos="1" side="tl" part="temps"/>
8814                                                                                                 <clip pos="1" side="tl" part="persona"/>
8815                                                                                                 <clip pos="1" side="tl" part="gen"/>
8816                                                                                                 <clip pos="1" side="tl" part="nbr"/>
8817                                                                                                 <clip pos="1" side="tl" part="lemq"/>
8818                                                                                         </lu>
8819                                                                                 </out>
8820                                                                         </otherwise>
8821                                                                 </choose>
8822                                                         </otherwise>
8823                                                 </choose>
8824                                         </otherwise>
8825                                 </choose>
8826                         </action>
8827                 </rule>
8828                 <rule>
8829                         <!--REGLA : prnpro prnrpo VERB-->
8830                         <pattern>
8831                                 <pattern-item n="prnpro"/>
8832                                 <pattern-item n="prnpro"/>
8833                                 <pattern-item n="verb"/>
8834                         </pattern>
8835                         <action>
8836                                 <choose>
8837                                         <when>
8838                                                 <test>
8839                                                         <or>
8840                                                                 <equal>
8841                                                                         <clip pos="3" side="sl" part="temps"/>
8842                                                                         <lit-tag v="inf"/>
8843                                                                 </equal>
8844                                                                 <equal>
8845                                                                         <clip pos="3" side="sl" part="temps"/>
8846                                                                         <lit-tag v="ger"/>
8847                                                                 </equal>
8848                                                                 <equal>
8849                                                                         <clip pos="3" side="sl" part="temps"/>
8850                                                                         <lit-tag v="imp"/>
8851                                                                 </equal>
8852                                                         </or>
8853                                                 </test>
8854                                                 <out>
8855                                                         <mlu>
8856                                                                 <lu>
8857                                                                         <get-case-from pos="1">
8858                                                                                 <clip pos="3" side="tl" part="lemh"/>
8859                                                                         </get-case-from>
8860                                                                         <clip pos="3" side="tl" part="a_verb"/>
8861                                                                         <clip pos="3" side="tl" part="temps"/>
8862                                                                         <clip pos="3" side="tl" part="persona"/>
8863                                                                         <clip pos="3" side="tl" part="nbr"/>
8864                                                                 </lu>
8865                                                                 <lu>
8866                                                                         <get-case-from pos="2">
8867                                                                                 <clip pos="1" side="tl" part="lem"/>
8868                                                                         </get-case-from>
8869                                                                         <lit-tag v="prn.enc"/>
8870                                                                         <clip pos="1" side="tl" part="tipoenc_pro"/>
8871                                                                 </lu>
8872                                                                 <lu>
8873                                                                         <get-case-from pos="3">
8874                                                                                 <clip pos="2" side="tl" part="lem"/>
8875                                                                         </get-case-from>
8876                                                                         <lit-tag v="prn.enc"/>
8877                                                                         <clip pos="2" side="tl" part="tipoenc_pro"/>
8878                                                                         <clip pos="3" side="tl" part="lemq"/>
8879                                                                 </lu>
8880                                                         </mlu>
8881                                                 </out>
8882                                         </when>
8883                                         <otherwise>
8884                                                 <out>
8885                                                         <lu>
8886                                                                 <clip pos="1" side="tl" part="whole"/>
8887                                                         </lu>
8888                                                         <b pos="1"/>
8889                                                         <lu>
8890                                                                 <clip pos="2" side="tl" part="whole"/>
8891                                                         </lu>
8892                                                         <b pos="2"/>
8893                                                 </out>
8894                                                 <choose>
8895                                                         <when>
8896                                                                 <test>
8897                                                                         <or>
8898                                                                                 <equal>
8899                                                                                         <clip pos="3" side="sl" part="temps"/>
8900                                                                                         <lit-tag v="infps"/>
8901                                                                                 </equal>
8902                                                                                 <equal>
8903                                                                                         <clip pos="3" side="sl" part="temps"/>
8904                                                                                         <lit-tag v="fts"/>
8905                                                                                 </equal>
8906                                                                         </or>
8907                                                                 </test>
8908                                                                 <out>
8909                                                                         <lu>
8910                                                                                 <clip pos="3" side="tl" part="lemh"/>
8911                                                                                 <clip pos="3" side="tl" part="a_verb"/>
8912                                                                                 <lit-tag v="prs"/>
8913                                                                                 <clip pos="3" side="tl" part="persona"/>
8914                                                                                 <clip pos="3" side="tl" part="nbr"/>
8915                                                                                 <clip pos="3" side="tl" part="lemq"/>
8916                                                                         </lu>
8917                                                                 </out>
8918                                                         </when>
8919                                                         <otherwise>
8920                                                                 <choose>
8921                                                                         <when>
8922                                                                                 <test>
8923                                                                                         <equal>
8924                                                                                                 <clip pos="3" side="sl" part="temps"/>
8925                                                                                                 <lit-tag v="pmp"/>
8926                                                                                         </equal>
8927                                                                                 </test>
8928                                                                                 <out>
8929                                                                                         <lu>
8930                                                                                                 <lit v="haber"/>
8931                                                                                                 <lit-tag v="vbhaver.ifi"/>
8932                                                                                                 <clip pos="3" side="tl" part="persona"/>
8933                                                                                                 <clip pos="3" side="tl" part="nbr"/>
8934                                                                                         </lu>
8935                                                                                         <b/>
8936                                                                                         <lu>
8937                                                                                                 <clip pos="3" side="tl" part="lemh"/>
8938                                                                                                 <clip pos="3" side="tl" part="a_verb"/>
8939                                                                                                 <lit-tag v="pp.m.sg"/>
8940                                                                                                 <clip pos="3" side="tl" part="lemq"/>
8941                                                                                         </lu>
8942                                                                                 </out>
8943                                                                         </when>
8944                                                                         <otherwise>
8945                                                                                 <out>
8946                                                                                         <lu>
8947                                                                                                 <clip pos="3" side="tl" part="lemh"/>
8948                                                                                                 <clip pos="3" side="tl" part="a_verb"/>
8949                                                                                                 <clip pos="3" side="tl" part="temps"/>
8950                                                                                                 <clip pos="3" side="tl" part="persona"/>
8951                                                                                                 <clip pos="3" side="tl" part="gen"/>
8952                                                                                                 <clip pos="3" side="tl" part="nbr"/>
8953                                                                                                 <clip pos="3" side="tl" part="lemq"/>
8954                                                                                         </lu>
8955                                                                                 </out>
8956                                                                         </otherwise>
8957                                                                 </choose>
8958                                                         </otherwise>
8959                                                 </choose>
8960                                         </otherwise>
8961                                 </choose>
8962                         </action>
8963                 </rule>
8964                 <rule>
8965                         <!-- verb-mesoclític-mesoclític-cua -->
8966                         <pattern>
8967                                 <pattern-item n="verbmeso"/>
8968                                 <pattern-item n="prnenc"/>
8969                                 <pattern-item n="prnenc"/>
8970                                 <pattern-item n="cuavb"/>
8971                         </pattern>
8972                         <action>
8973                                 <out>
8974                                         <lu>
8975                                                 <get-case-from pos="1">
8976                                                         <clip pos="2" side="tl" part="lem"/>
8977                                                 </get-case-from>
8978                                                 <lit-tag v="prn.pro"/>
8979                                                 <clip pos="2" side="tl" part="tipoenc_pro"/>
8980                                         </lu>
8981                                         <b/>
8982                                         <lu>
8983                                                 <clip pos="3" side="tl" part="lem"/>
8984                                                 <lit-tag v="prn.pro"/>
8985                                                 <clip pos="3" side="tl" part="tipoenc_pro"/>
8986                                         </lu>
8987                                         <b/>
8988                                         <lu>
8989                                                 <get-case-from pos="2">
8990                                                         <clip pos="1" side="tl" part="lemh"/>
8991                                                 </get-case-from>
8992                                                 <clip pos="1" side="tl" part="a_verb"/>
8993                                                 <clip pos="4" side="tl" part="temps"/>
8994                                                 <clip pos="4" side="tl" part="persona"/>
8995                                                 <clip pos="4" side="tl" part="nbr"/>
8996                                                 <clip pos="1" side="tl" part="lemq"/>
8997                                         </lu>
8998                                 </out>
8999                         </action>
9000                 </rule>
9001                 <!--                                                            =·= v. ir =·= -->
9002                 <rule>
9003                         <!--REGLA 36: VERB IR + INFINITIU -> IR + A + INFINITIU -->
9004                         <pattern>
9005                                 <pattern-item n="vbir"/>
9006                                 <pattern-item n="inf"/>
9007                         </pattern>
9008                         <action>
9009                                 <choose>
9010                                         <when>
9011                                                 <test>
9012                                                         <or>
9013                                                                 <equal>
9014                                                                         <clip pos="1" side="sl" part="temps"/>
9015                                                                         <lit-tag v="infps"/>
9016                                                                 </equal>
9017                                                                 <equal>
9018                                                                         <clip pos="1" side="sl" part="temps"/>
9019                                                                         <lit-tag v="fts"/>
9020                                                                 </equal>
9021                                                         </or>
9022                                                 </test>
9023                                                 <out>
9024                                                         <lu>
9025                                                                 <clip pos="1" side="tl" part="lemh"/>
9026                                                                 <clip pos="1" side="tl" part="a_verb"/>
9027                                                                 <lit-tag v="prs"/>
9028                                                                 <clip pos="1" side="tl" part="persona"/>
9029                                                                 <clip pos="1" side="tl" part="nbr"/>
9030                                                                 <!--                                            <clip pos="1" side="tl" part="lemq"/>     -->
9031                                                         </lu>
9032                                                 </out>
9033                                         </when>
9034                                         <otherwise>
9035                                                 <out>
9036                                                         <lu>
9037                                                                 <clip pos="1" side="tl" part="whole"/>
9038                                                         </lu>
9039                                                 </out>
9040                                         </otherwise>
9041                                 </choose>
9042                                 <out>
9043                                         <b pos="1"/>
9044                                         <lu>
9045                                                 <get-case-from pos="2">
9046                                                         <lit v="a"/>
9047                                                 </get-case-from>
9048                                                 <lit-tag v="pr"/>
9049                                         </lu>
9050                                         <b/>
9051                                         <lu>
9052                                                 <clip pos="2" side="tl" part="lemh"/>
9053                                                 <clip pos="2" side="tl" part="a_verb"/>
9054                                                 <clip pos="2" side="tl" part="temps"/>
9055                                                 <clip pos="2" side="tl" part="persona"/>
9056                                                 <clip pos="2" side="tl" part="nbr"/>
9057                                                 <clip pos="2" side="tl" part="lemq"/>
9058                                         </lu>
9059                                 </out>
9060                         </action>
9061                 </rule>
9062                 <rule>
9063                         <!--REGLA 37: pro + VERB IR + INFINITIU -> IR + A + INFINITIU-enc -->
9064                         <pattern>
9065                                 <pattern-item n="prnpro"/>
9066                                 <pattern-item n="vbir"/>
9067                                 <pattern-item n="inf"/>
9068                         </pattern>
9069                         <action>
9070                                 <choose>
9071                                         <when>
9072                                                 <test>
9073                                                         <or>
9074                                                                 <equal>
9075                                                                         <clip pos="2" side="sl" part="temps"/>
9076                                                                         <lit-tag v="infps"/>
9077                                                                 </equal>
9078                                                                 <equal>
9079                                                                         <clip pos="2" side="sl" part="temps"/>
9080                                                                         <lit-tag v="fts"/>
9081                                                                 </equal>
9082                                                         </or>
9083                                                 </test>
9084                                                 <out>
9085                                                         <lu>
9086                                                                 <get-case-from pos="1">
9087                                                                         <clip pos="2" side="tl" part="lemh"/>
9088                                                                 </get-case-from>
9089                                                                 <clip pos="2" side="tl" part="a_verb"/>
9090                                                                 <lit-tag v="prs"/>
9091                                                                 <clip pos="2" side="tl" part="persona"/>
9092                                                                 <clip pos="2" side="tl" part="nbr"/>
9093                                                                 <!--                                                    <clip pos="2" side="tl" part="lemq"/>     -->
9094                                                         </lu>
9095                                                 </out>
9096                                         </when>
9097                                         <otherwise>
9098                                                 <out>
9099                                                         <lu>
9100                                                                 <get-case-from pos="1">
9101                                                                         <clip pos="2" side="tl" part="lemh"/>
9102                                                                 </get-case-from>
9103                                                                 <clip pos="2" side="tl" part="a_verb"/>
9104                                                                 <clip pos="2" side="tl" part="temps"/>
9105                                                                 <clip pos="2" side="tl" part="persona"/>
9106                                                                 <clip pos="2" side="tl" part="gen"/>
9107                                                                 <clip pos="2" side="tl" part="nbr"/>
9108                                                                 <!--                                                    <clip pos="2" side="tl" part="lemq"/>     -->
9109                                                         </lu>
9110                                                 </out>
9111                                         </otherwise>
9112                                 </choose>
9113                                 <out>
9114                                         <b pos="2"/>
9115                                         <lu>
9116                                                 <get-case-from pos="3">
9117                                                         <lit v="a"/>
9118                                                 </get-case-from>
9119                                                 <lit-tag v="pr"/>
9120                                         </lu>
9121                                         <b/>
9122                                         <mlu>
9123                                                 <lu>
9124                                                         <clip pos="3" side="tl" part="lemh"/>
9125                                                         <clip pos="3" side="tl" part="a_verb"/>
9126                                                         <clip pos="3" side="tl" part="temps"/>
9127                                                 </lu>
9128                                                 <lu>
9129                                                         <clip pos="1" side="tl" part="lem"/>
9130                                                         <lit-tag v="prn.enc"/>
9131                                                         <clip pos="1" side="tl" part="tipoenc_pro"/>
9132                                                         <clip pos="3" side="tl" part="lemq"/>
9133                                                 </lu>
9134                                         </mlu>
9135                                 </out>
9136                         </action>
9137                 </rule>
9138                 <rule>
9139                         <!--REGLA 37: pro + pro + VERB IR + INFINITIU -> IR + A + INFINITIU-enc-enc -->
9140                         <pattern>
9141                                 <pattern-item n="prnpro"/>
9142                                 <pattern-item n="prnpro"/>
9143                                 <pattern-item n="vbir"/>
9144                                 <pattern-item n="inf"/>
9145                         </pattern>
9146                         <action>
9147                                 <choose>
9148                                         <when>
9149                                                 <test>
9150                                                         <or>
9151                                                                 <equal>
9152                                                                         <clip pos="3" side="sl" part="temps"/>
9153                                                                         <lit-tag v="infps"/>
9154                                                                 </equal>
9155                                                                 <equal>
9156                                                                         <clip pos="3" side="sl" part="temps"/>
9157                                                                         <lit-tag v="fts"/>
9158                                                                 </equal>
9159                                                         </or>
9160                                                 </test>
9161                                                 <out>
9162                                                         <lu>
9163                                                                 <get-case-from pos="1">
9164                                                                         <clip pos="3" side="tl" part="lemh"/>
9165                                                                 </get-case-from>
9166                                                                 <clip pos="3" side="tl" part="a_verb"/>
9167                                                                 <lit-tag v="prs"/>
9168                                                                 <clip pos="3" side="tl" part="persona"/>
9169                                                                 <clip pos="3" side="tl" part="nbr"/>
9170                                                                 <!--                                                    <clip pos="3" side="tl" part="lemq"/>     -->
9171                                                         </lu>
9172                                                 </out>
9173                                         </when>
9174                                         <otherwise>
9175                                                 <out>
9176                                                         <lu>
9177                                                                 <get-case-from pos="1">
9178                                                                         <clip pos="3" side="tl" part="lemh"/>
9179                                                                 </get-case-from>
9180                                                                 <clip pos="3" side="tl" part="a_verb"/>
9181                                                                 <clip pos="3" side="tl" part="temps"/>
9182                                                                 <clip pos="3" side="tl" part="persona"/>
9183                                                                 <clip pos="3" side="tl" part="gen"/>
9184                                                                 <clip pos="3" side="tl" part="nbr"/>
9185                                                                 <!--                                                    <clip pos="3" side="tl" part="lemq"/>     -->
9186                                                         </lu>
9187                                                 </out>
9188                                         </otherwise>
9189                                 </choose>
9190                                 <out>
9191                                         <b pos="1"/>
9192                                         <lu>
9193                                                 <get-case-from pos="4">
9194                                                         <lit v="a"/>
9195                                                 </get-case-from>
9196                                                 <lit-tag v="pr"/>
9197                                         </lu>
9198                                         <b pos="2"/>
9199                                         <mlu>
9200                                                 <lu>
9201                                                         <clip pos="4" side="tl" part="lemh"/>
9202                                                         <clip pos="4" side="tl" part="a_verb"/>
9203                                                         <clip pos="4" side="tl" part="temps"/>
9204                                                 </lu>
9205                                                 <lu>
9206                                                         <clip pos="1" side="tl" part="lem"/>
9207                                                         <lit-tag v="prn.enc"/>
9208                                                         <clip pos="1" side="tl" part="tipoenc_pro"/>
9209                                                 </lu>
9210                                                 <lu>
9211                                                         <clip pos="2" side="tl" part="lem"/>
9212                                                         <lit-tag v="prn.enc"/>
9213                                                         <clip pos="2" side="tl" part="tipoenc_pro"/>
9214                                                         <clip pos="4" side="tl" part="lemq"/>
9215                                                 </lu>
9216                                         </mlu>
9217                                 </out>
9218                                 <call-macro n="f_bcond">
9219                                         <with-param pos="3"/>
9220                                 </call-macro>
9221                         </action>
9222                 </rule>
9223                 <rule>
9224                         <!--REGLA 38: VERB IR + pro + INFINITIU -> IR + A + INFINITIU-enc -->
9225                         <pattern>
9226                                 <pattern-item n="vbir"/>
9227                                 <pattern-item n="prnpro"/>
9228                                 <pattern-item n="inf"/>
9229                         </pattern>
9230                         <action>
9231                                 <choose>
9232                                         <when>
9233                                                 <test>
9234                                                         <or>
9235                                                                 <equal>
9236                                                                         <clip pos="1" side="sl" part="temps"/>
9237                                                                         <lit-tag v="infps"/>
9238                                                                 </equal>
9239                                                                 <equal>
9240                                                                         <clip pos="1" side="sl" part="temps"/>
9241                                                                         <lit-tag v="fts"/>
9242                                                                 </equal>
9243                                                         </or>
9244                                                 </test>
9245                                                 <out>
9246                                                         <lu>
9247                                                                 <clip pos="1" side="tl" part="lemh"/>
9248                                                                 <clip pos="1" side="tl" part="a_verb"/>
9249                                                                 <lit-tag v="prs"/>
9250                                                                 <clip pos="1" side="tl" part="persona"/>
9251                                                                 <clip pos="1" side="tl" part="nbr"/>
9252                                                                 <!--                                            <clip pos="1" side="tl" part="lemq"/>     -->
9253                                                         </lu>
9254                                                 </out>
9255                                         </when>
9256                                         <otherwise>
9257                                                 <out>
9258                                                         <lu>
9259                                                                 <clip pos="1" side="tl" part="whole"/>
9260                                                         </lu>
9261                                                 </out>
9262                                         </otherwise>
9263                                 </choose>
9264                                 <out>
9265                                         <b pos="1"/>
9266                                         <lu>
9267                                                 <get-case-from pos="3">
9268                                                         <lit v="a"/>
9269                                                 </get-case-from>
9270                                                 <lit-tag v="pr"/>
9271                                         </lu>
9272                                         <b pos="2"/>
9273                                         <mlu>
9274                                                 <lu>
9275                                                         <clip pos="3" side="tl" part="lemh"/>
9276                                                         <clip pos="3" side="tl" part="a_verb"/>
9277                                                         <clip pos="3" side="tl" part="temps"/>
9278                                                 </lu>
9279                                                 <lu>
9280                                                         <clip pos="2" side="tl" part="lem"/>
9281                                                         <lit-tag v="prn.enc"/>
9282                                                         <clip pos="2" side="tl" part="tipoenc_pro"/>
9283                                                         <clip pos="3" side="tl" part="lemq"/>
9284                                                 </lu>
9285                                         </mlu>
9286                                 </out>
9287                         </action>
9288                 </rule>
9289                 <rule>
9290                         <!--REGLA 38: VERB IR + pro + pro + INFINITIU -> IR + A + INFINITIU-enc-enc -->
9291                         <pattern>
9292                                 <pattern-item n="vbir"/>
9293                                 <pattern-item n="prnpro"/>
9294                                 <pattern-item n="prnpro"/>
9295                                 <pattern-item n="inf"/>
9296                         </pattern>
9297                         <action>
9298                                 <choose>
9299                                         <when>
9300                                                 <test>
9301                                                         <or>
9302                                                                 <equal>
9303                                                                         <clip pos="1" side="sl" part="temps"/>
9304                                                                         <lit-tag v="infps"/>
9305                                                                 </equal>
9306                                                                 <equal>
9307                                                                         <clip pos="1" side="sl" part="temps"/>
9308                                                                         <lit-tag v="fts"/>
9309                                                                 </equal>
9310                                                         </or>
9311                                                 </test>
9312                                                 <out>
9313                                                         <lu>
9314                                                                 <clip pos="1" side="tl" part="lemh"/>
9315                                                                 <clip pos="1" side="tl" part="a_verb"/>
9316                                                                 <lit-tag v="prs"/>
9317                                                                 <clip pos="1" side="tl" part="persona"/>
9318                                                                 <clip pos="1" side="tl" part="nbr"/>
9319                                                                 <!--                                            <clip pos="1" side="tl" part="lemq"/>     -->
9320                                                         </lu>
9321                                                 </out>
9322                                         </when>
9323                                         <otherwise>
9324                                                 <out>
9325                                                         <lu>
9326                                                                 <clip pos="1" side="tl" part="whole"/>
9327                                                         </lu>
9328                                                 </out>
9329                                         </otherwise>
9330                                 </choose>
9331                                 <out>
9332                                         <b pos="1"/>
9333                                         <lu>
9334                                                 <get-case-from pos="4">
9335                                                         <lit v="a"/>
9336                                                 </get-case-from>
9337                                                 <lit-tag v="pr"/>
9338                                         </lu>
9339                                         <b pos="2"/>
9340                                         <mlu>
9341                                                 <lu>
9342                                                         <clip pos="4" side="tl" part="lemh"/>
9343                                                         <clip pos="4" side="tl" part="a_verb"/>
9344                                                         <clip pos="4" side="tl" part="temps"/>
9345                                                 </lu>
9346                                                 <lu>
9347                                                         <clip pos="2" side="tl" part="lem"/>
9348                                                         <lit-tag v="prn.enc"/>
9349                                                         <clip pos="2" side="tl" part="tipoenc_pro"/>
9350                                                 </lu>
9351                                                 <lu>
9352                                                         <clip pos="3" side="tl" part="lem"/>
9353                                                         <lit-tag v="prn.enc"/>
9354                                                         <clip pos="3" side="tl" part="tipoenc_pro"/>
9355                                                         <clip pos="4" side="tl" part="lemq"/>
9356                                                 </lu>
9357                                         </mlu>
9358                                 </out>
9359                                 <call-macro n="f_bcond">
9360                                         <with-param pos="3"/>
9361                                 </call-macro>
9362                         </action>
9363                 </rule>
9364                 <rule>
9365                         <!--REGLA 39: VERB IR + INFINITIU-enc -> IR + A + INFINITIU-enc -->
9366                         <pattern>
9367                                 <pattern-item n="vbir"/>
9368                                 <pattern-item n="inf"/>
9369                                 <pattern-item n="prnenc"/>
9370                         </pattern>
9371                         <action>
9372                                 <choose>
9373                                         <when>
9374                                                 <test>
9375                                                         <or>
9376                                                                 <equal>
9377                                                                         <clip pos="1" side="sl" part="temps"/>
9378                                                                         <lit-tag v="infps"/>
9379                                                                 </equal>
9380                                                                 <equal>
9381                                                                         <clip pos="1" side="sl" part="temps"/>
9382                                                                         <lit-tag v="fts"/>
9383                                                                 </equal>
9384                                                         </or>
9385                                                 </test>
9386                                                 <out>
9387                                                         <lu>
9388                                                                 <clip pos="1" side="tl" part="lemh"/>
9389                                                                 <clip pos="1" side="tl" part="a_verb"/>
9390                                                                 <lit-tag v="prs"/>
9391                                                                 <clip pos="1" side="tl" part="persona"/>
9392                                                                 <clip pos="1" side="tl" part="nbr"/>
9393                                                                 <!--                                                    <clip pos="1" side="tl" part="lemq"/>     -->
9394                                                         </lu>
9395                                                 </out>
9396                                         </when>
9397                                         <otherwise>
9398                                                 <out>
9399                                                         <lu>
9400                                                                 <clip pos="1" side="tl" part="lemh"/>
9401                                                                 <clip pos="1" side="tl" part="a_verb"/>
9402                                                                 <clip pos="1" side="tl" part="temps"/>
9403                                                                 <clip pos="1" side="tl" part="persona"/>
9404                                                                 <clip pos="1" side="tl" part="gen"/>
9405                                                                 <clip pos="1" side="tl" part="nbr"/>
9406                                                                 <!--                                                    <clip pos="1" side="tl" part="lemq"/>     -->
9407                                                         </lu>
9408                                                 </out>
9409                                         </otherwise>
9410                                 </choose>
9411                                 <out>
9412                                         <b pos="1"/>
9413                                         <lu>
9414                                                 <get-case-from pos="2">
9415                                                         <lit v="a"/>
9416                                                 </get-case-from>
9417                                                 <lit-tag v="pr"/>
9418                                         </lu>
9419                                         <b pos="2"/>
9420                                         <mlu>
9421                                                 <lu>
9422                                                         <clip pos="2" side="tl" part="lemh"/>
9423                                                         <clip pos="2" side="tl" part="a_verb"/>
9424                                                         <clip pos="2" side="tl" part="temps"/>
9425                                                 </lu>
9426                                                 <lu>
9427                                                         <clip pos="3" side="tl" part="lem"/>
9428                                                         <lit-tag v="prn.enc"/>
9429                                                         <clip pos="3" side="tl" part="tipoenc_pro"/>
9430                                                         <clip pos="2" side="tl" part="lemq"/>
9431                                                 </lu>
9432                                         </mlu>
9433                                 </out>
9434                         </action>
9435                 </rule>
9436                 <rule>
9437                         <!--REGLA 39: VERB IR + INFINITIU-enc-enc -> IR + A + INFINITIU-enc-enc -->
9438                         <pattern>
9439                                 <pattern-item n="vbir"/>
9440                                 <pattern-item n="inf"/>
9441                                 <pattern-item n="prnenc"/>
9442                                 <pattern-item n="prnenc"/>
9443                         </pattern>
9444                         <action>
9445                                 <choose>
9446                                         <when>
9447                                                 <test>
9448                                                         <or>
9449                                                                 <equal>
9450                                                                         <clip pos="1" side="sl" part="temps"/>
9451                                                                         <lit-tag v="infps"/>
9452                                                                 </equal>
9453                                                                 <equal>
9454                                                                         <clip pos="1" side="sl" part="temps"/>
9455                                                                         <lit-tag v="fts"/>
9456                                                                 </equal>
9457                                                         </or>
9458                                                 </test>
9459                                                 <out>
9460                                                         <lu>
9461                                                                 <clip pos="1" side="tl" part="lemh"/>
9462                                                                 <clip pos="1" side="tl" part="a_verb"/>
9463                                                                 <lit-tag v="prs"/>
9464                                                                 <clip pos="1" side="tl" part="persona"/>
9465                                                                 <clip pos="1" side="tl" part="nbr"/>
9466                                                                 <!--                                                    <clip pos="1" side="tl" part="lemq"/>     -->
9467                                                         </lu>
9468                                                 </out>
9469                                         </when>
9470                                         <otherwise>
9471                                                 <out>
9472                                                         <lu>
9473                                                                 <clip pos="1" side="tl" part="lemh"/>
9474                                                                 <clip pos="1" side="tl" part="a_verb"/>
9475                                                                 <clip pos="1" side="tl" part="temps"/>
9476                                                                 <clip pos="1" side="tl" part="persona"/>
9477                                                                 <clip pos="1" side="tl" part="gen"/>
9478                                                                 <clip pos="1" side="tl" part="nbr"/>
9479                                                                 <!--                                                    <clip pos="1" side="tl" part="lemq"/>     -->
9480                                                         </lu>
9481                                                 </out>
9482                                         </otherwise>
9483                                 </choose>
9484                                 <out>
9485                                         <b pos="1"/>
9486                                         <lu>
9487                                                 <get-case-from pos="2">
9488                                                         <lit v="a"/>
9489                                                 </get-case-from>
9490                                                 <lit-tag v="pr"/>
9491                                         </lu>
9492                                         <b pos="2"/>
9493                                         <mlu>
9494                                                 <lu>
9495                                                         <clip pos="2" side="tl" part="lemh"/>
9496                                                         <clip pos="2" side="tl" part="a_verb"/>
9497                                                         <clip pos="2" side="tl" part="temps"/>
9498                                                 </lu>
9499                                                 <lu>
9500                                                         <clip pos="3" side="tl" part="lem"/>
9501                                                         <lit-tag v="prn.enc"/>
9502                                                         <clip pos="3" side="tl" part="tipoenc_pro"/>
9503                                                 </lu>
9504                                                 <lu>
9505                                                         <clip pos="4" side="tl" part="lem"/>
9506                                                         <lit-tag v="prn.enc"/>
9507                                                         <clip pos="4" side="tl" part="tipoenc_pro"/>
9508                                                         <clip pos="2" side="tl" part="lemq"/>
9509                                                 </lu>
9510                                         </mlu>
9511                                 </out>
9512                         </action>
9513                 </rule>
9514                 <!-- el mateix amb un adverbi al mig-->
9515                 <rule>
9516                         <!--REGLA 36: va igualmente cantar -> va a cantar igualmente-->
9517                         <pattern>
9518                                 <pattern-item n="vbir"/>
9519                                 <pattern-item n="adv"/>
9520                                 <pattern-item n="inf"/>
9521                         </pattern>
9522                         <action>
9523                                 <choose>
9524                                         <when>
9525                                                 <test>
9526                                                         <or>
9527                                                                 <equal>
9528                                                                         <clip pos="1" side="sl" part="temps"/>
9529                                                                         <lit-tag v="infps"/>
9530                                                                 </equal>
9531                                                                 <equal>
9532                                                                         <clip pos="1" side="sl" part="temps"/>
9533                                                                         <lit-tag v="fts"/>
9534                                                                 </equal>
9535                                                         </or>
9536                                                 </test>
9537                                                 <out>
9538                                                         <lu>
9539                                                                 <clip pos="1" side="tl" part="lemh"/>
9540                                                                 <clip pos="1" side="tl" part="a_verb"/>
9541                                                                 <lit-tag v="prs"/>
9542                                                                 <clip pos="1" side="tl" part="persona"/>
9543                                                                 <clip pos="1" side="tl" part="nbr"/>
9544                                                                 <!--                                            <clip pos="1" side="tl" part="lemq"/>     -->
9545                                                         </lu>
9546                                                 </out>
9547                                         </when>
9548                                         <otherwise>
9549                                                 <out>
9550                                                         <lu>
9551                                                                 <clip pos="1" side="tl" part="whole"/>
9552                                                         </lu>
9553                                                 </out>
9554                                         </otherwise>
9555                                 </choose>
9556                                 <out>
9557                                         <b pos="1"/>
9558                                         <lu>
9559                                                 <get-case-from pos="3">
9560                                                         <lit v="a"/>
9561                                                 </get-case-from>
9562                                                 <lit-tag v="pr"/>
9563                                         </lu>
9564                                         <b/>
9565                                         <lu>
9566                                                 <clip pos="3" side="tl" part="lemh"/>
9567                                                 <clip pos="3" side="tl" part="a_verb"/>
9568                                                 <clip pos="3" side="tl" part="temps"/>
9569                                                 <clip pos="3" side="tl" part="persona"/>
9570                                                 <clip pos="3" side="tl" part="nbr"/>
9571                                                 <clip pos="3" side="tl" part="lemq"/>
9572                                         </lu>
9573                                         <b pos="2"/>
9574                                         <lu>
9575                                                 <clip pos="2" side="tl" part="whole"/>
9576                                         </lu>
9577                                 </out>
9578                         </action>
9579                 </rule>
9580                 <rule>
9581                         <!--REGLA 37: pro + VERB IR + adv + INFINITIU -> IR + A + INFINITIU-enc +adv -->
9582                         <pattern>
9583                                 <pattern-item n="prnpro"/>
9584                                 <pattern-item n="vbir"/>
9585                                 <pattern-item n="adv"/>
9586                                 <pattern-item n="inf"/>
9587                         </pattern>
9588                         <action>
9589                                 <choose>
9590                                         <when>
9591                                                 <test>
9592                                                         <or>
9593                                                                 <equal>
9594                                                                         <clip pos="2" side="sl" part="temps"/>
9595                                                                         <lit-tag v="infps"/>
9596                                                                 </equal>
9597                                                                 <equal>
9598                                                                         <clip pos="2" side="sl" part="temps"/>
9599                                                                         <lit-tag v="fts"/>
9600                                                                 </equal>
9601                                                         </or>
9602                                                 </test>
9603                                                 <out>
9604                                                         <lu>
9605                                                                 <get-case-from pos="1">
9606                                                                         <clip pos="2" side="tl" part="lemh"/>
9607                                                                 </get-case-from>
9608                                                                 <clip pos="2" side="tl" part="a_verb"/>
9609                                                                 <lit-tag v="prs"/>
9610                                                                 <clip pos="2" side="tl" part="persona"/>
9611                                                                 <clip pos="2" side="tl" part="nbr"/>
9612                                                                 <!--                                                    <clip pos="2" side="tl" part="lemq"/>     -->
9613                                                         </lu>
9614                                                 </out>
9615                                         </when>
9616                                         <otherwise>
9617                                                 <out>
9618                                                         <lu>
9619                                                                 <get-case-from pos="1">
9620                                                                         <clip pos="2" side="tl" part="lemh"/>
9621                                                                 </get-case-from>
9622                                                                 <clip pos="2" side="tl" part="a_verb"/>
9623                                                                 <clip pos="2" side="tl" part="temps"/>
9624                                                                 <clip pos="2" side="tl" part="persona"/>
9625                                                                 <clip pos="2" side="tl" part="gen"/>
9626                                                                 <clip pos="2" side="tl" part="nbr"/>
9627                                                                 <!--                                                    <clip pos="2" side="tl" part="lemq"/>     -->
9628                                                         </lu>
9629                                                 </out>
9630                                         </otherwise>
9631                                 </choose>
9632                                 <out>
9633                                         <b pos="2"/>
9634                                         <lu>
9635                                                 <get-case-from pos="4">
9636                                                         <lit v="a"/>
9637                                                 </get-case-from>
9638                                                 <lit-tag v="pr"/>
9639                                         </lu>
9640                                         <b/>
9641                                         <mlu>
9642                                                 <lu>
9643                                                         <clip pos="4" side="tl" part="lemh"/>
9644                                                         <clip pos="4" side="tl" part="a_verb"/>
9645                                                         <clip pos="4" side="tl" part="temps"/>
9646                                                 </lu>
9647                                                 <lu>
9648                                                         <clip pos="1" side="tl" part="lem"/>
9649                                                         <lit-tag v="prn.enc"/>
9650                                                         <clip pos="1" side="tl" part="tipoenc_pro"/>
9651                                                         <clip pos="4" side="tl" part="lemq"/>
9652                                                 </lu>
9653                                         </mlu>
9654                                         <b pos="3"/>
9655                                         <lu>
9656                                                 <clip pos="3" side="tl" part="whole"/>
9657                                         </lu>
9658                                 </out>
9659                         </action>
9660                 </rule>
9661                 <rule>
9662                         <!--REGLA 37: pro + pro + VERB IR + adv + INFINITIU -> IR + A + INFINITIU-enc-enc + adv-->
9663                         <pattern>
9664                                 <pattern-item n="prnpro"/>
9665                                 <pattern-item n="prnpro"/>
9666                                 <pattern-item n="vbir"/>
9667                                 <pattern-item n="adv"/>
9668                                 <pattern-item n="inf"/>
9669                         </pattern>
9670                         <action>
9671                                 <choose>
9672                                         <when>
9673                                                 <test>
9674                                                         <or>
9675                                                                 <equal>
9676                                                                         <clip pos="3" side="sl" part="temps"/>
9677                                                                         <lit-tag v="infps"/>
9678                                                                 </equal>
9679                                                                 <equal>
9680                                                                         <clip pos="3" side="sl" part="temps"/>
9681                                                                         <lit-tag v="fts"/>
9682                                                                 </equal>
9683                                                         </or>
9684                                                 </test>
9685                                                 <out>
9686                                                         <lu>
9687                                                                 <get-case-from pos="1">
9688                                                                         <clip pos="3" side="tl" part="lemh"/>
9689                                                                 </get-case-from>
9690                                                                 <clip pos="3" side="tl" part="a_verb"/>
9691                                                                 <lit-tag v="prs"/>
9692                                                                 <clip pos="3" side="tl" part="persona"/>
9693                                                                 <clip pos="3" side="tl" part="nbr"/>
9694                                                                 <!--                                                    <clip pos="3" side="tl" part="lemq"/>     -->
9695                                                         </lu>
9696                                                 </out>
9697                                         </when>
9698                                         <otherwise>
9699                                                 <out>
9700                                                         <lu>
9701                                                                 <get-case-from pos="1">
9702                                                                         <clip pos="3" side="tl" part="lemh"/>
9703                                                                 </get-case-from>
9704                                                                 <clip pos="3" side="tl" part="a_verb"/>
9705                                                                 <clip pos="3" side="tl" part="temps"/>
9706                                                                 <clip pos="3" side="tl" part="persona"/>
9707                                                                 <clip pos="3" side="tl" part="gen"/>
9708                                                                 <clip pos="3" side="tl" part="nbr"/>
9709                                                                 <!--                                                    <clip pos="3" side="tl" part="lemq"/>     -->
9710                                                         </lu>
9711                                                 </out>
9712                                         </otherwise>
9713                                 </choose>
9714                                 <out>
9715                                         <b pos="1"/>
9716                                         <lu>
9717                                                 <get-case-from pos="4">
9718                                                         <lit v="a"/>
9719                                                 </get-case-from>
9720                                                 <lit-tag v="pr"/>
9721                                         </lu>
9722                                         <b pos="2"/>
9723                                         <mlu>
9724                                                 <lu>
9725                                                         <clip pos="5" side="tl" part="lemh"/>
9726                                                         <clip pos="5" side="tl" part="a_verb"/>
9727                                                         <clip pos="5" side="tl" part="temps"/>
9728                                                 </lu>
9729                                                 <lu>
9730                                                         <clip pos="1" side="tl" part="lem"/>
9731                                                         <lit-tag v="prn.enc"/>
9732                                                         <clip pos="1" side="tl" part="tipoenc_pro"/>
9733                                                 </lu>
9734                                                 <lu>
9735                                                         <clip pos="2" side="tl" part="lem"/>
9736                                                         <lit-tag v="prn.enc"/>
9737                                                         <clip pos="2" side="tl" part="tipoenc_pro"/>
9738                                                         <clip pos="5" side="tl" part="lemq"/>
9739                                                 </lu>
9740                                         </mlu>
9741                                         <b pos="3"/>
9742                                         <lu>
9743                                                 <clip pos="4" side="tl" part="whole"/>
9744                                         </lu>
9745                                 </out>
9746                                 <call-macro n="f_bcond">
9747                                         <with-param pos="4"/>
9748                                 </call-macro>
9749                         </action>
9750                 </rule>
9751                 <rule>
9752                         <!--REGLA 38: VERB IR + + adv + pro + INFINITIU -> IR + A + INFINITIU-enc +adv -->
9753                         <pattern>
9754                                 <pattern-item n="vbir"/>
9755                                 <pattern-item n="adv"/>
9756                                 <pattern-item n="prnpro"/>
9757                                 <pattern-item n="inf"/>
9758                         </pattern>
9759                         <action>
9760                                 <choose>
9761                                         <when>
9762                                                 <test>
9763                                                         <or>
9764                                                                 <equal>
9765                                                                         <clip pos="1" side="sl" part="temps"/>
9766                                                                         <lit-tag v="infps"/>
9767                                                                 </equal>
9768                                                                 <equal>
9769                                                                         <clip pos="1" side="sl" part="temps"/>
9770                                                                         <lit-tag v="fts"/>
9771                                                                 </equal>
9772                                                         </or>
9773                                                 </test>
9774                                                 <out>
9775                                                         <lu>
9776                                                                 <clip pos="1" side="tl" part="lemh"/>
9777                                                                 <clip pos="1" side="tl" part="a_verb"/>
9778                                                                 <lit-tag v="prs"/>
9779                                                                 <clip pos="1" side="tl" part="persona"/>
9780                                                                 <clip pos="1" side="tl" part="nbr"/>
9781                                                                 <!--                                            <clip pos="1" side="tl" part="lemq"/>     -->
9782                                                         </lu>
9783                                                 </out>
9784                                         </when>
9785                                         <otherwise>
9786                                                 <out>
9787                                                         <lu>
9788                                                                 <clip pos="1" side="tl" part="whole"/>
9789                                                         </lu>
9790                                                 </out>
9791                                         </otherwise>
9792                                 </choose>
9793                                 <out>
9794                                         <b pos="1"/>
9795                                         <lu>
9796                                                 <get-case-from pos="3">
9797                                                         <lit v="a"/>
9798                                                 </get-case-from>
9799                                                 <lit-tag v="pr"/>
9800                                         </lu>
9801                                         <b pos="2"/>
9802                                         <mlu>
9803                                                 <lu>
9804                                                         <clip pos="4" side="tl" part="lemh"/>
9805                                                         <clip pos="4" side="tl" part="a_verb"/>
9806                                                         <clip pos="4" side="tl" part="temps"/>
9807                                                 </lu>
9808                                                 <lu>
9809                                                         <clip pos="3" side="tl" part="lem"/>
9810                                                         <lit-tag v="prn.enc"/>
9811                                                         <clip pos="3" side="tl" part="tipoenc_pro"/>
9812                                                         <clip pos="4" side="tl" part="lemq"/>
9813                                                 </lu>
9814                                         </mlu>
9815                                         <b pos="3"/>
9816                                         <lu>
9817                                                 <clip pos="2" side="tl" part="whole"/>
9818                                         </lu>
9819                                 </out>
9820                         </action>
9821                 </rule>
9822                 <rule>
9823                         <!--REGLA 38: VERB IR + adv + pro + pro + INFINITIU -> IR + A + INFINITIU-enc-enc +adv -->
9824                         <pattern>
9825                                 <pattern-item n="vbir"/>
9826                                 <pattern-item n="adv"/>
9827                                 <pattern-item n="prnpro"/>
9828                                 <pattern-item n="prnpro"/>
9829                                 <pattern-item n="inf"/>
9830                         </pattern>
9831                         <action>
9832                                 <choose>
9833                                         <when>
9834                                                 <test>
9835                                                         <or>
9836                                                                 <equal>
9837                                                                         <clip pos="1" side="sl" part="temps"/>
9838                                                                         <lit-tag v="infps"/>
9839                                                                 </equal>
9840                                                                 <equal>
9841                                                                         <clip pos="1" side="sl" part="temps"/>
9842                                                                         <lit-tag v="fts"/>
9843                                                                 </equal>
9844                                                         </or>
9845                                                 </test>
9846                                                 <out>
9847                                                         <lu>
9848                                                                 <clip pos="1" side="tl" part="lemh"/>
9849                                                                 <clip pos="1" side="tl" part="a_verb"/>
9850                                                                 <lit-tag v="prs"/>
9851                                                                 <clip pos="1" side="tl" part="persona"/>
9852                                                                 <clip pos="1" side="tl" part="nbr"/>
9853                                                                 <!--                                            <clip pos="1" side="tl" part="lemq"/>     -->
9854                                                         </lu>
9855                                                 </out>
9856                                         </when>
9857                                         <otherwise>
9858                                                 <out>
9859                                                         <lu>
9860                                                                 <clip pos="1" side="tl" part="whole"/>
9861                                                         </lu>
9862                                                 </out>
9863                                         </otherwise>
9864                                 </choose>
9865                                 <out>
9866                                         <b pos="1"/>
9867                                         <lu>
9868                                                 <get-case-from pos="4">
9869                                                         <lit v="a"/>
9870                                                 </get-case-from>
9871                                                 <lit-tag v="pr"/>
9872                                         </lu>
9873                                         <b pos="2"/>
9874                                         <mlu>
9875                                                 <lu>
9876                                                         <clip pos="5" side="tl" part="lemh"/>
9877                                                         <clip pos="5" side="tl" part="a_verb"/>
9878                                                         <clip pos="5" side="tl" part="temps"/>
9879                                                 </lu>
9880                                                 <lu>
9881                                                         <clip pos="3" side="tl" part="lem"/>
9882                                                         <lit-tag v="prn.enc"/>
9883                                                         <clip pos="3" side="tl" part="tipoenc_pro"/>
9884                                                 </lu>
9885                                                 <lu>
9886                                                         <clip pos="4" side="tl" part="lem"/>
9887                                                         <lit-tag v="prn.enc"/>
9888                                                         <clip pos="4" side="tl" part="tipoenc_pro"/>
9889                                                         <clip pos="5" side="tl" part="lemq"/>
9890                                                 </lu>
9891                                         </mlu>
9892                                         <b pos="3"/>
9893                                         <lu>
9894                                                 <clip pos="2" side="tl" part="whole"/>
9895                                         </lu>
9896                                 </out>
9897                                 <call-macro n="f_bcond">
9898                                         <with-param pos="4"/>
9899                                 </call-macro>
9900                         </action>
9901                 </rule>
9902                 <rule>
9903                         <!--REGLA 39: VERB IR +adv +INFINITIU-enc -> IR + A + INFINITIU-enc + adv-->
9904                         <pattern>
9905                                 <pattern-item n="vbir"/>
9906                                 <pattern-item n="adv"/>
9907                                 <pattern-item n="inf"/>
9908                                 <pattern-item n="prnenc"/>
9909                         </pattern>
9910                         <action>
9911                                 <choose>
9912                                         <when>
9913                                                 <test>
9914                                                         <or>
9915                                                                 <equal>
9916                                                                         <clip pos="1" side="sl" part="temps"/>
9917                                                                         <lit-tag v="infps"/>
9918                                                                 </equal>
9919                                                                 <equal>
9920                                                                         <clip pos="1" side="sl" part="temps"/>
9921                                                                         <lit-tag v="fts"/>
9922                                                                 </equal>
9923                                                         </or>
9924                                                 </test>
9925                                                 <out>
9926                                                         <lu>
9927                                                                 <clip pos="1" side="tl" part="lemh"/>
9928                                                                 <clip pos="1" side="tl" part="a_verb"/>
9929                                                                 <lit-tag v="prs"/>
9930                                                                 <clip pos="1" side="tl" part="persona"/>
9931                                                                 <clip pos="1" side="tl" part="nbr"/>
9932                                                                 <!--                                                    <clip pos="1" side="tl" part="lemq"/>     -->
9933                                                         </lu>
9934                                                 </out>
9935                                         </when>
9936                                         <otherwise>
9937                                                 <out>
9938                                                         <lu>
9939                                                                 <clip pos="1" side="tl" part="lemh"/>
9940                                                                 <clip pos="1" side="tl" part="a_verb"/>
9941                                                                 <clip pos="1" side="tl" part="temps"/>
9942                                                                 <clip pos="1" side="tl" part="persona"/>
9943                                                                 <clip pos="1" side="tl" part="gen"/>
9944                                                                 <clip pos="1" side="tl" part="nbr"/>
9945                                                                 <!--                                                    <clip pos="1" side="tl" part="lemq"/>     -->
9946                                                         </lu>
9947                                                 </out>
9948                                         </otherwise>
9949                                 </choose>
9950                                 <out>
9951                                         <b pos="1"/>
9952                                         <lu>
9953                                                 <get-case-from pos="3">
9954                                                         <lit v="a"/>
9955                                                 </get-case-from>
9956                                                 <lit-tag v="pr"/>
9957                                         </lu>
9958                                         <b pos="2"/>
9959                                         <mlu>
9960                                                 <lu>
9961                                                         <clip pos="3" side="tl" part="lemh"/>
9962                                                         <clip pos="3" side="tl" part="a_verb"/>
9963                                                         <clip pos="3" side="tl" part="temps"/>
9964                                                 </lu>
9965                                                 <lu>
9966                                                         <clip pos="4" side="tl" part="lem"/>
9967                                                         <lit-tag v="prn.enc"/>
9968                                                         <clip pos="4" side="tl" part="tipoenc_pro"/>
9969                                                         <clip pos="3" side="tl" part="lemq"/>
9970                                                 </lu>
9971                                         </mlu>
9972                                         <b pos="3"/>
9973                                         <lu>
9974                                                 <clip pos="2" side="tl" part="whole"/>
9975                                         </lu>
9976                                 </out>
9977                         </action>
9978                 </rule>
9979                 <rule>
9980                         <!--REGLA 39: VERB IR + INFINITIU-enc-enc -> IR + A + INFINITIU-enc-enc -->
9981                         <pattern>
9982                                 <pattern-item n="vbir"/>
9983                                 <pattern-item n="adv"/>
9984                                 <pattern-item n="inf"/>
9985                                 <pattern-item n="prnenc"/>
9986                                 <pattern-item n="prnenc"/>
9987                         </pattern>
9988                         <action>
9989                                 <choose>
9990                                         <when>
9991                                                 <test>
9992                                                         <or>
9993                                                                 <equal>
9994                                                                         <clip pos="1" side="sl" part="temps"/>
9995                                                                         <lit-tag v="infps"/>
9996                                                                 </equal>
9997                                                                 <equal>
9998                                                                         <clip pos="1" side="sl" part="temps"/>
9999                                                                         <lit-tag v="fts"/>
10000                                                                 </equal>
10001                                                         </or>
10002                                                 </test>
10003                                                 <out>
10004                                                         <lu>
10005                                                                 <clip pos="1" side="tl" part="lemh"/>
10006                                                                 <clip pos="1" side="tl" part="a_verb"/>
10007                                                                 <lit-tag v="prs"/>
10008                                                                 <clip pos="1" side="tl" part="persona"/>
10009                                                                 <clip pos="1" side="tl" part="nbr"/>
10010                                                                 <!--                                                    <clip pos="1" side="tl" part="lemq"/>     -->
10011                                                         </lu>
10012                                                 </out>
10013                                         </when>
10014                                         <otherwise>
10015                                                 <out>
10016                                                         <lu>
10017                                                                 <clip pos="1" side="tl" part="lemh"/>
10018                                                                 <clip pos="1" side="tl" part="a_verb"/>
10019                                                                 <clip pos="1" side="tl" part="temps"/>
10020                                                                 <clip pos="1" side="tl" part="persona"/>
10021                                                                 <clip pos="1" side="tl" part="gen"/>
10022                                                                 <clip pos="1" side="tl" part="nbr"/>
10023                                                                 <!--                                                    <clip pos="1" side="tl" part="lemq"/>     -->
10024                                                         </lu>
10025                                                 </out>
10026                                         </otherwise>
10027                                 </choose>
10028                                 <out>
10029                                         <b pos="1"/>
10030                                         <lu>
10031                                                 <get-case-from pos="3">
10032                                                         <lit v="a"/>
10033                                                 </get-case-from>
10034                                                 <lit-tag v="pr"/>
10035                                         </lu>
10036                                         <b pos="2"/>
10037                                         <mlu>
10038                                                 <lu>
10039                                                         <clip pos="3" side="tl" part="lemh"/>
10040                                                         <clip pos="3" side="tl" part="a_verb"/>
10041                                                         <clip pos="3" side="tl" part="temps"/>
10042                                                 </lu>
10043                                                 <lu>
10044                                                         <clip pos="4" side="tl" part="lem"/>
10045                                                         <lit-tag v="prn.enc"/>
10046                                                         <clip pos="4" side="tl" part="tipoenc_pro"/>
10047                                                 </lu>
10048                                                 <lu>
10049                                                         <clip pos="5" side="tl" part="lem"/>
10050                                                         <lit-tag v="prn.enc"/>
10051                                                         <clip pos="5" side="tl" part="tipoenc_pro"/>
10052                                                         <clip pos="3" side="tl" part="lemq"/>
10053                                                 </lu>
10054                                         </mlu>
10055                                         <b pos="3"/>
10056                                         <lu>
10057                                                 <clip pos="2" side="tl" part="whole"/>
10058                                         </lu>
10059                                 </out>
10060                         </action>
10061                 </rule>
10062                 <!--                                                            =·= infinitivo pessoal =·= -->
10063                 <rule>
10064                         <!--REGLA 40: PREP INFPS -> PRP INF (sense clítics)-->
10065                         <pattern>
10066                                 <pattern-item n="prep"/>
10067                                 <pattern-item n="infpsfts"/>
10068                         </pattern>
10069                         <action>
10070                                 <out>
10071                                         <lu>
10072                                                 <clip pos="1" side="tl" part="whole"/>
10073                                         </lu>
10074                                         <b pos="1"/>
10075                                         <lu>
10076                                                 <clip pos="2" side="tl" part="lemh"/>
10077                                                 <clip pos="2" side="tl" part="a_verb"/>
10078                                                 <lit-tag v="inf"/>
10079                                                 <clip pos="2" side="tl" part="lemq"/>
10080                                         </lu>
10081                                 </out>
10082                         </action>
10083                 </rule>
10084                 <rule>
10085                         <!--REGLA 41: PREP PRNPRO INFPS -> PRP INF-ENC -->
10086                         <pattern>
10087                                 <pattern-item n="prep"/>
10088                                 <pattern-item n="prnpro"/>
10089                                 <pattern-item n="infpsfts"/>
10090                         </pattern>
10091                         <action>
10092                                 <out>
10093                                         <lu>
10094                                                 <clip pos="1" side="tl" part="whole"/>
10095                                         </lu>
10096                                         <b pos="1"/>
10097                                         <mlu>
10098                                                 <lu>
10099                                                         <clip pos="3" side="tl" part="lemh"/>
10100                                                         <clip pos="3" side="tl" part="a_verb"/>
10101                                                         <lit-tag v="inf"/>
10102                                                 </lu>
10103                                                 <lu>
10104                                                         <clip pos="2" side="tl" part="lem"/>
10105                                                         <lit-tag v="prn.enc"/>
10106                                                         <clip pos="2" side="tl" part="tipoenc_pro"/>
10107                                                         <clip pos="3" side="tl" part="lemq"/>
10108                                                 </lu>
10109                                         </mlu>
10110                                 </out>
10111                                 <call-macro n="f_bcond">
10112                                         <with-param pos="2"/>
10113                                 </call-macro>
10114                         </action>
10115                 </rule>
10116                 <rule>
10117                         <!--REGLA 42: PREP INFPS-ENC -> PRP INF-ENC -->
10118                         <pattern>
10119                                 <pattern-item n="prep"/>
10120                                 <pattern-item n="infpsfts"/>
10121                                 <pattern-item n="prnenc"/>
10122                         </pattern>
10123                         <action>
10124                                 <out>
10125                                         <lu>
10126                                                 <clip pos="1" side="tl" part="whole"/>
10127                                         </lu>
10128                                         <b pos="1"/>
10129                                         <mlu>
10130                                                 <lu>
10131                                                         <clip pos="2" side="tl" part="lemh"/>
10132                                                         <clip pos="2" side="tl" part="a_verb"/>
10133                                                         <lit-tag v="inf"/>
10134                                                 </lu>
10135                                                 <lu>
10136                                                         <clip pos="3" side="tl" part="lem"/>
10137                                                         <lit-tag v="prn.enc"/>
10138                                                         <clip pos="3" side="tl" part="tipoenc_pro"/>
10139                                                         <clip pos="2" side="tl" part="lemq"/>
10140                                                 </lu>
10141                                         </mlu>
10142                                 </out>
10143                         </action>
10144                 </rule>
10145                 <!-- el mateix, però amb un adverbi entre la preposició i el verb -->
10146                 <rule>
10147                         <!--REGLA 40: PREP ADV INFPS -> PRP ADV INF (sense clítics)-->
10148                         <pattern>
10149                                 <pattern-item n="prep"/>
10150                                 <pattern-item n="adv"/>
10151                                 <pattern-item n="infpsfts"/>
10152                         </pattern>
10153                         <action>
10154                                 <out>
10155                                         <lu>
10156                                                 <clip pos="1" side="tl" part="whole"/>
10157                                         </lu>
10158                                         <b pos="1"/>
10159                                         <lu>
10160                                                 <clip pos="2" side="tl" part="whole"/>
10161                                         </lu>
10162                                         <b pos="2"/>
10163                                         <lu>
10164                                                 <clip pos="3" side="tl" part="lemh"/>
10165                                                 <clip pos="3" side="tl" part="a_verb"/>
10166                                                 <lit-tag v="inf"/>
10167                                                 <clip pos="3" side="tl" part="lemq"/>
10168                                         </lu>
10169                                 </out>
10170                         </action>
10171                 </rule>
10172                 <rule>
10173                         <!--REGLA 41: PREP ADV PRNPRO INFPS -> PREP ADV INF-ENC -->
10174                         <pattern>
10175                                 <pattern-item n="prep"/>
10176                                 <pattern-item n="adv"/>
10177                                 <pattern-item n="prnpro"/>
10178                                 <pattern-item n="infpsfts"/>
10179                         </pattern>
10180                         <action>
10181                                 <out>
10182                                         <lu>
10183                                                 <clip pos="1" side="tl" part="whole"/>
10184                                         </lu>
10185                                         <b pos="1"/>
10186                                         <lu>
10187                                                 <clip pos="2" side="tl" part="whole"/>
10188                                         </lu>
10189                                         <b pos="2"/>
10190                                         <mlu>
10191                                                 <lu>
10192                                                         <clip pos="4" side="tl" part="lemh"/>
10193                                                         <clip pos="4" side="tl" part="a_verb"/>
10194                                                         <lit-tag v="inf"/>
10195                                                 </lu>
10196                                                 <lu>
10197                                                         <clip pos="3" side="tl" part="lem"/>
10198                                                         <lit-tag v="prn.enc"/>
10199                                                         <clip pos="3" side="tl" part="tipoenc_pro"/>
10200                                                         <clip pos="4" side="tl" part="lemq"/>
10201                                                 </lu>
10202                                         </mlu>
10203                                 </out>
10204                                 <call-macro n="f_bcond">
10205                                         <with-param pos="3"/>
10206                                 </call-macro>
10207                         </action>
10208                 </rule>
10209                 <rule>
10210                         <!--REGLA 42: PREP ADV INFPS-ENC -> PRP ADV INF-ENC -->
10211                         <pattern>
10212                                 <pattern-item n="prep"/>
10213                                 <pattern-item n="adv"/>
10214                                 <pattern-item n="infpsfts"/>
10215                                 <pattern-item n="prnenc"/>
10216                         </pattern>
10217                         <action>
10218                                 <out>
10219                                         <lu>
10220                                                 <clip pos="1" side="tl" part="whole"/>
10221                                         </lu>
10222                                         <b pos="1"/>
10223                                         <lu>
10224                                                 <clip pos="2" side="tl" part="whole"/>
10225                                         </lu>
10226                                         <b pos="2"/>
10227                                         <mlu>
10228                                                 <lu>
10229                                                         <clip pos="3" side="tl" part="lemh"/>
10230                                                         <clip pos="3" side="tl" part="a_verb"/>
10231                                                         <lit-tag v="inf"/>
10232                                                 </lu>
10233                                                 <lu>
10234                                                         <clip pos="4" side="tl" part="lem"/>
10235                                                         <lit-tag v="prn.enc"/>
10236                                                         <clip pos="4" side="tl" part="tipoenc_pro"/>
10237                                                         <clip pos="3" side="tl" part="lemq"/>
10238                                                 </lu>
10239                                         </mlu>
10240                                 </out>
10241                         </action>
10242                 </rule>
10243                 <!-- amb si condicional  -->
10244                 <rule>
10245                         <!--REGLA 40: SEADV INFPS/FTS-> SI FTS (sense clítics)-->
10246                         <pattern>
10247                                 <pattern-item n="seadv"/>
10248                                 <pattern-item n="infpsfts"/>
10249                         </pattern>
10250                         <action>
10251                                 <out>
10252                                         <lu>
10253                                                 <clip pos="1" side="tl" part="whole"/>
10254                                         </lu>
10255                                         <b pos="1"/>
10256                                         <lu>
10257                                                 <clip pos="2" side="tl" part="lemh"/>
10258                                                 <clip pos="2" side="tl" part="a_verb"/>
10259                                                 <lit-tag v="pis"/>
10260                                                 <clip pos="2" side="tl" part="persona"/>
10261                                                 <clip pos="2" side="tl" part="nbr"/>
10262                                                 <clip pos="2" side="tl" part="lemq"/>
10263                                         </lu>
10264                                 </out>
10265                         </action>
10266                 </rule>
10267                 <rule>
10268                         <!--REGLA 41: SEADV PRNPRO INFPS -> SEADV PRNPRO FTS -->
10269                         <pattern>
10270                                 <pattern-item n="seadv"/>
10271                                 <pattern-item n="prnpro"/>
10272                                 <pattern-item n="infpsfts"/>
10273                         </pattern>
10274                         <action>
10275                                 <out>
10276                                         <lu>
10277                                                 <clip pos="1" side="tl" part="whole"/>
10278                                         </lu>
10279                                         <b pos="1"/>
10280                                         <lu>
10281                                                 <clip pos="2" side="tl" part="lem"/>
10282                                                 <lit-tag v="prn.pro"/>
10283                                                 <clip pos="2" side="tl" part="tipoenc_pro"/>
10284                                         </lu>
10285                                         <b pos="2"/>
10286                                         <lu>
10287                                                 <clip pos="3" side="tl" part="lemh"/>
10288                                                 <clip pos="3" side="tl" part="a_verb"/>
10289                                                 <lit-tag v="pis"/>
10290                                                 <clip pos="3" side="tl" part="persona"/>
10291                                                 <clip pos="3" side="tl" part="nbr"/>
10292                                                 <clip pos="3" side="tl" part="lemq"/>
10293                                         </lu>
10294                                 </out>
10295                                 <!--                    <call-macro n="f_bcond">
10296                                 <with-param pos="2"/>
10297                         </call-macro>-->
10298                         </action>
10299                 </rule>
10300                 <rule>
10301                         <!--REGLA 42: SEADV INFPS-ENC -> SEADV PRNPRO FTS -->
10302                         <pattern>
10303                                 <pattern-item n="seadv"/>
10304                                 <pattern-item n="infpsfts"/>
10305                                 <pattern-item n="prnenc"/>
10306                         </pattern>
10307                         <action>
10308                                 <out>
10309                                         <lu>
10310                                                 <clip pos="1" side="tl" part="whole"/>
10311                                         </lu>
10312                                         <b pos="1"/>
10313                                         <lu>
10314                                                 <clip pos="3" side="tl" part="lem"/>
10315                                                 <lit-tag v="prn.pro"/>
10316                                                 <clip pos="3" side="tl" part="tipoenc_pro"/>
10317                                         </lu>
10318                                         <b pos="2"/>
10319                                         <lu>
10320                                                 <clip pos="2" side="tl" part="lemh"/>
10321                                                 <clip pos="2" side="tl" part="a_verb"/>
10322                                                 <lit-tag v="pis"/>
10323                                                 <clip pos="2" side="tl" part="persona"/>
10324                                                 <clip pos="2" side="tl" part="nbr"/>
10325                                                 <clip pos="2" side="tl" part="lemq"/>
10326                                         </lu>
10327                                 </out>
10328                         </action>
10329                 </rule>
10330                 <!-- el mateix, però amb un adverbi entre la preposició i el verb -->
10331                 <rule>
10332                         <!--REGLA 40: SEADV ADV INFPS -> SEADV ADV FTS (sense clítics)-->
10333                         <pattern>
10334                                 <pattern-item n="seadv"/>
10335                                 <pattern-item n="adv"/>
10336                                 <pattern-item n="infpsfts"/>
10337                         </pattern>
10338                         <action>
10339                                 <out>
10340                                         <lu>
10341                                                 <clip pos="1" side="tl" part="whole"/>
10342                                         </lu>
10343                                         <b pos="1"/>
10344                                         <lu>
10345                                                 <clip pos="2" side="tl" part="whole"/>
10346                                         </lu>
10347                                         <b pos="2"/>
10348                                         <lu>
10349                                                 <clip pos="3" side="tl" part="lemh"/>
10350                                                 <clip pos="3" side="tl" part="a_verb"/>
10351                                                 <lit-tag v="pis"/>
10352                                                 <clip pos="3" side="tl" part="persona"/>
10353                                                 <clip pos="3" side="tl" part="nbr"/>
10354                                                 <clip pos="3" side="tl" part="lemq"/>
10355                                         </lu>
10356                                 </out>
10357                         </action>
10358                 </rule>
10359                 <rule>
10360                         <!--REGLA 41: SEADV ADV PRNPRO INFPS -> SEADV ADV PRNPRO FTS -->
10361                         <pattern>
10362                                 <pattern-item n="seadv"/>
10363                                 <pattern-item n="adv"/>
10364                                 <pattern-item n="prnpro"/>
10365                                 <pattern-item n="infpsfts"/>
10366                         </pattern>
10367                         <action>
10368                                 <out>
10369                                         <lu>
10370                                                 <clip pos="1" side="tl" part="whole"/>
10371                                         </lu>
10372                                         <b pos="1"/>
10373                                         <lu>
10374                                                 <clip pos="2" side="tl" part="whole"/>
10375                                         </lu>
10376                                         <b pos="2"/>
10377                                         <lu>
10378                                                 <clip pos="3" side="tl" part="lem"/>
10379                                                 <lit-tag v="prn.pro"/>
10380                                                 <clip pos="3" side="tl" part="tipoenc_pro"/>
10381                                         </lu>
10382                                         <b pos="3"/>
10383                                         <lu>
10384                                                 <clip pos="4" side="tl" part="lemh"/>
10385                                                 <clip pos="4" side="tl" part="a_verb"/>
10386                                                 <lit-tag v="pis"/>
10387                                                 <clip pos="4" side="tl" part="persona"/>
10388                                                 <clip pos="4" side="tl" part="nbr"/>
10389                                                 <clip pos="4" side="tl" part="lemq"/>
10390                                         </lu>
10391                                 </out>
10392                                 <!--                    <call-macro n="f_bcond">
10393                                 <with-param pos="3"/>
10394                         </call-macro>-->
10395                         </action>
10396                 </rule>
10397                 <rule>
10398                         <!--REGLA 42: SEADV ADV INFPS-ENC -> SEADV ADV PRNPRO FTS -->
10399                         <pattern>
10400                                 <pattern-item n="seadv"/>
10401                                 <pattern-item n="adv"/>
10402                                 <pattern-item n="infpsfts"/>
10403                                 <pattern-item n="prnenc"/>
10404                         </pattern>
10405                         <action>
10406                                 <out>
10407                                         <lu>
10408                                                 <clip pos="1" side="tl" part="whole"/>
10409                                         </lu>
10410                                         <b pos="1"/>
10411                                         <lu>
10412                                                 <clip pos="2" side="tl" part="whole"/>
10413                                         </lu>
10414                                         <b pos="2"/>
10415                                         <lu>
10416                                                 <clip pos="4" side="tl" part="lem"/>
10417                                                 <lit-tag v="prn.pro"/>
10418                                                 <clip pos="4" side="tl" part="tipoenc_pro"/>
10419                                         </lu>
10420                                         <b pos="3"/>
10421                                         <lu>
10422                                                 <clip pos="3" side="tl" part="lemh"/>
10423                                                 <clip pos="3" side="tl" part="a_verb"/>
10424                                                 <lit-tag v="pis"/>
10425                                                 <clip pos="3" side="tl" part="persona"/>
10426                                                 <clip pos="3" side="tl" part="nbr"/>
10427                                                 <clip pos="3" side="tl" part="lemq"/>
10428                                         </lu>
10429                                 </out>
10430                         </action>
10431                 </rule>
10432                 <!--                                                            =:= estar a inf. =·= -->
10433                 <rule>
10434                         <!--REGLA 43: estar a infinitiu   -> estar gerundi -->
10435                         <pattern>
10436                                 <pattern-item n="estar"/>
10437                                 <pattern-item n="a"/>
10438                                 <pattern-item n="inf"/>
10439                         </pattern>
10440                         <action>
10441                                 <choose>
10442                                         <when>
10443                                                 <test>
10444                                                         <or>
10445                                                                 <equal>
10446                                                                         <clip pos="1" side="sl" part="temps"/>
10447                                                                         <lit-tag v="infps"/>
10448                                                                 </equal>
10449                                                                 <equal>
10450                                                                         <clip pos="1" side="sl" part="temps"/>
10451                                                                         <lit-tag v="fts"/>
10452                                                                 </equal>
10453                                                         </or>
10454                                                 </test>
10455                                                 <out>
10456                                                         <lu>
10457                                                                 <clip pos="1" side="tl" part="lemh"/>
10458                                                                 <clip pos="1" side="tl" part="a_verb"/>
10459                                                                 <lit-tag v="prs"/>
10460                                                                 <clip pos="1" side="tl" part="persona"/>
10461                                                                 <clip pos="1" side="tl" part="nbr"/>
10462                                                                 <clip pos="1" side="tl" part="lemq"/>
10463                                                         </lu>
10464                                                 </out>
10465                                         </when>
10466                                         <otherwise>
10467                                                 <out>
10468                                                         <lu>
10469                                                                 <clip pos="1" side="tl" part="whole"/>
10470                                                         </lu>
10471                                                 </out>
10472                                         </otherwise>
10473                                 </choose>
10474                                 <out>
10475                                         <b pos="1"/>
10476                                         <lu>
10477                                                 <clip pos="3" side="tl" part="lemh"/>
10478                                                 <clip pos="3" side="tl" part="a_verb"/>
10479                                                 <lit-tag v="ger"/>
10480                                         </lu>
10481                                 </out>
10482                                 <call-macro n="f_bcond">
10483                                         <with-param pos="2"/>
10484                                 </call-macro>
10485                         </action>
10486                 </rule>
10487                 <rule>
10488                         <!--REGLA 43: estar adv a infinitiu   -> estar gerundi adv -->
10489                         <pattern>
10490                                 <pattern-item n="estar"/>
10491                                 <pattern-item n="adv"/>
10492                                 <pattern-item n="a"/>
10493                                 <pattern-item n="inf"/>
10494                         </pattern>
10495                         <action>
10496                                 <choose>
10497                                         <when>
10498                                                 <test>
10499                                                         <or>
10500                                                                 <equal>
10501                                                                         <clip pos="1" side="sl" part="temps"/>
10502                                                                         <lit-tag v="infps"/>
10503                                                                 </equal>
10504                                                                 <equal>
10505                                                                         <clip pos="1" side="sl" part="temps"/>
10506                                                                         <lit-tag v="fts"/>
10507                                                                 </equal>
10508                                                         </or>
10509                                                 </test>
10510                                                 <out>
10511                                                         <lu>
10512                                                                 <clip pos="1" side="tl" part="lemh"/>
10513                                                                 <clip pos="1" side="tl" part="a_verb"/>
10514                                                                 <lit-tag v="prs"/>
10515                                                                 <clip pos="1" side="tl" part="persona"/>
10516                                                                 <clip pos="1" side="tl" part="nbr"/>
10517                                                                 <clip pos="1" side="tl" part="lemq"/>
10518                                                         </lu>
10519                                                 </out>
10520                                         </when>
10521                                         <otherwise>
10522                                                 <out>
10523                                                         <lu>
10524                                                                 <clip pos="1" side="tl" part="whole"/>
10525                                                         </lu>
10526                                                 </out>
10527                                         </otherwise>
10528                                 </choose>
10529                                 <out>
10530                                         <b pos="1"/>
10531                                         <lu>
10532                                                 <clip pos="4" side="tl" part="lemh"/>
10533                                                 <clip pos="4" side="tl" part="a_verb"/>
10534                                                 <lit-tag v="ger"/>
10535                                         </lu>
10536                                         <b pos="2"/>
10537                                         <lu>
10538                                                 <clip pos="2" side="tl" part="whole"/>
10539                                         </lu>
10540                                 </out>
10541                                 <call-macro n="f_bcond">
10542                                         <with-param pos="3"/>
10543                                 </call-macro>
10544                         </action>
10545                 </rule>
10546                 <rule>
10547                         <!--REGLA 44: estar a prnpro inf -> estar ger-enc -->
10548                         <pattern>
10549                                 <pattern-item n="estar"/>
10550                                 <pattern-item n="a"/>
10551                                 <pattern-item n="prnpro"/>
10552                                 <pattern-item n="inf"/>
10553                         </pattern>
10554                         <action>
10555                                 <choose>
10556                                         <when>
10557                                                 <test>
10558                                                         <or>
10559                                                                 <equal>
10560                                                                         <clip pos="1" side="sl" part="temps"/>
10561                                                                         <lit-tag v="infps"/>
10562                                                                 </equal>
10563                                                                 <equal>
10564                                                                         <clip pos="1" side="sl" part="temps"/>
10565                                                                         <lit-tag v="fts"/>
10566                                                                 </equal>
10567                                                         </or>
10568                                                 </test>
10569                                                 <out>
10570                                                         <lu>
10571                                                                 <clip pos="1" side="tl" part="lemh"/>
10572                                                                 <clip pos="1" side="tl" part="a_verb"/>
10573                                                                 <lit-tag v="prs"/>
10574                                                                 <clip pos="1" side="tl" part="persona"/>
10575                                                                 <clip pos="1" side="tl" part="nbr"/>
10576                                                                 <clip pos="1" side="tl" part="lemq"/>
10577                                                         </lu>
10578                                                 </out>
10579                                         </when>
10580                                         <otherwise>
10581                                                 <out>
10582                                                         <lu>
10583                                                                 <clip pos="1" side="tl" part="whole"/>
10584                                                         </lu>
10585                                                 </out>
10586                                         </otherwise>
10587                                 </choose>
10588                                 <out>
10589                                         <b pos="1"/>
10590                                         <mlu>
10591                                                 <lu>
10592                                                         <clip pos="4" side="tl" part="lemh"/>
10593                                                         <clip pos="4" side="tl" part="a_verb"/>
10594                                                         <lit-tag v="ger"/>
10595                                                 </lu>
10596                                                 <lu>
10597                                                         <clip pos="3" side="tl" part="lem"/>
10598                                                         <lit-tag v="prn.enc"/>
10599                                                         <clip pos="3" side="tl" part="tipoenc_pro"/>
10600                                                         <clip pos="4" side="tl" part="lemq"/>
10601                                                 </lu>
10602                                         </mlu>
10603                                 </out>
10604                                 <call-macro n="f_bcond">
10605                                         <with-param pos="2"/>
10606                                 </call-macro>
10607                                 <call-macro n="f_bcond">
10608                                         <with-param pos="3"/>
10609                                 </call-macro>
10610                         </action>
10611                 </rule>
10612                 <rule>
10613                         <!--REGLA 44: estar adv a prnpro inf -> estar ger-enc adv-->
10614                         <pattern>
10615                                 <pattern-item n="estar"/>
10616                                 <pattern-item n="adv"/>
10617                                 <pattern-item n="a"/>
10618                                 <pattern-item n="prnpro"/>
10619                                 <pattern-item n="inf"/>
10620                         </pattern>
10621                         <action>
10622                                 <choose>
10623                                         <when>
10624                                                 <test>
10625                                                         <or>
10626                                                                 <equal>
10627                                                                         <clip pos="1" side="sl" part="temps"/>
10628                                                                         <lit-tag v="infps"/>
10629                                                                 </equal>
10630                                                                 <equal>
10631                                                                         <clip pos="1" side="sl" part="temps"/>
10632                                                                         <lit-tag v="fts"/>
10633                                                                 </equal>
10634                                                         </or>
10635                                                 </test>
10636                                                 <out>
10637                                                         <lu>
10638                                                                 <clip pos="1" side="tl" part="lemh"/>
10639                                                                 <clip pos="1" side="tl" part="a_verb"/>
10640                                                                 <lit-tag v="prs"/>
10641                                                                 <clip pos="1" side="tl" part="persona"/>
10642                                                                 <clip pos="1" side="tl" part="nbr"/>
10643                                                                 <clip pos="1" side="tl" part="lemq"/>
10644                                                         </lu>
10645                                                 </out>
10646                                         </when>
10647                                         <otherwise>
10648                                                 <out>
10649                                                         <lu>
10650                                                                 <clip pos="1" side="tl" part="whole"/>
10651                                                         </lu>
10652                                                 </out>
10653                                         </otherwise>
10654                                 </choose>
10655                                 <out>
10656                                         <b pos="1"/>
10657                                         <mlu>
10658                                                 <lu>
10659                                                         <clip pos="5" side="tl" part="lemh"/>
10660                                                         <clip pos="5" side="tl" part="a_verb"/>
10661                                                         <lit-tag v="ger"/>
10662                                                 </lu>
10663                                                 <lu>
10664                                                         <clip pos="4" side="tl" part="lem"/>
10665                                                         <lit-tag v="prn.enc"/>
10666                                                         <clip pos="4" side="tl" part="tipoenc_pro"/>
10667                                                         <clip pos="5" side="tl" part="lemq"/>
10668                                                 </lu>
10669                                         </mlu>
10670                                         <b pos="2"/>
10671                                         <lu>
10672                                                 <clip pos="2" side="tl" part="whole"/>
10673                                         </lu>
10674                                 </out>
10675                                 <call-macro n="f_bcond">
10676                                         <with-param pos="3"/>
10677                                 </call-macro>
10678                                 <call-macro n="f_bcond">
10679                                         <with-param pos="4"/>
10680                                 </call-macro>
10681                         </action>
10682                 </rule>
10683                 <rule>
10684                         <!--REGLA 45: estar a inf-enc -> estar ger-enc -->
10685                         <pattern>
10686                                 <pattern-item n="estar"/>
10687                                 <pattern-item n="a"/>
10688                                 <pattern-item n="inf"/>
10689                                 <pattern-item n="prnenc"/>
10690                         </pattern>
10691                         <action>
10692                                 <choose>
10693                                         <when>
10694                                                 <test>
10695                                                         <or>
10696                                                                 <equal>
10697                                                                         <clip pos="1" side="sl" part="temps"/>
10698                                                                         <lit-tag v="infps"/>
10699                                                                 </equal>
10700                                                                 <equal>
10701                                                                         <clip pos="1" side="sl" part="temps"/>
10702                                                                         <lit-tag v="fts"/>
10703                                                                 </equal>
10704                                                         </or>
10705                                                 </test>
10706                                                 <out>
10707                                                         <lu>
10708                                                                 <clip pos="1" side="tl" part="lemh"/>
10709                                                                 <clip pos="1" side="tl" part="a_verb"/>
10710                                                                 <lit-tag v="prs"/>
10711                                                                 <clip pos="1" side="tl" part="persona"/>
10712                                                                 <clip pos="1" side="tl" part="nbr"/>
10713                                                                 <clip pos="1" side="tl" part="lemq"/>
10714                                                         </lu>
10715                                                 </out>
10716                                         </when>
10717                                         <otherwise>
10718                                                 <out>
10719                                                         <lu>
10720                                                                 <clip pos="1" side="tl" part="lemh"/>
10721                                                                 <clip pos="1" side="tl" part="a_verb"/>
10722                                                                 <clip pos="1" side="tl" part="temps"/>
10723                                                                 <clip pos="1" side="tl" part="persona"/>
10724                                                                 <clip pos="1" side="tl" part="nbr"/>
10725                                                                 <clip pos="1" side="tl" part="lemq"/>
10726                                                         </lu>
10727                                                 </out>
10728                                         </otherwise>
10729                                 </choose>
10730                                 <out>
10731                                         <b pos="1"/>
10732                                         <mlu>
10733                                                 <lu>
10734                                                         <clip pos="3" side="tl" part="lemh"/>
10735                                                         <clip pos="3" side="tl" part="a_verb"/>
10736                                                         <lit-tag v="ger"/>
10737                                                 </lu>
10738                                                 <lu>
10739                                                         <clip pos="4" side="tl" part="lem"/>
10740                                                         <lit-tag v="prn.enc"/>
10741                                                         <clip pos="4" side="tl" part="tipoenc_pro"/>
10742                                                         <clip pos="3" side="tl" part="lemq"/>
10743                                                 </lu>
10744                                         </mlu>
10745                                 </out>
10746                                 <call-macro n="f_bcond">
10747                                         <with-param pos="2"/>
10748                                 </call-macro>
10749                         </action>
10750                 </rule>
10751                 <rule>
10752                         <!--REGLA 45: estar adv a inf-enc -> estar adv ger-enc -->
10753                         <pattern>
10754                                 <pattern-item n="estar"/>
10755                                 <pattern-item n="adv"/>
10756                                 <pattern-item n="a"/>
10757                                 <pattern-item n="inf"/>
10758                                 <pattern-item n="prnenc"/>
10759                         </pattern>
10760                         <action>
10761                                 <choose>
10762                                         <when>
10763                                                 <test>
10764                                                         <or>
10765                                                                 <equal>
10766                                                                         <clip pos="1" side="sl" part="temps"/>
10767                                                                         <lit-tag v="infps"/>
10768                                                                 </equal>
10769                                                                 <equal>
10770                                                                         <clip pos="1" side="sl" part="temps"/>
10771                                                                         <lit-tag v="fts"/>
10772                                                                 </equal>
10773                                                         </or>
10774                                                 </test>
10775                                                 <out>
10776                                                         <lu>
10777                                                                 <clip pos="1" side="tl" part="lemh"/>
10778                                                                 <clip pos="1" side="tl" part="a_verb"/>
10779                                                                 <lit-tag v="prs"/>
10780                                                                 <clip pos="1" side="tl" part="persona"/>
10781                                                                 <clip pos="1" side="tl" part="nbr"/>
10782                                                                 <clip pos="1" side="tl" part="lemq"/>
10783                                                         </lu>
10784                                                 </out>
10785                                         </when>
10786                                         <otherwise>
10787                                                 <out>
10788                                                         <lu>
10789                                                                 <clip pos="1" side="tl" part="lemh"/>
10790                                                                 <clip pos="1" side="tl" part="a_verb"/>
10791                                                                 <clip pos="1" side="tl" part="temps"/>
10792                                                                 <clip pos="1" side="tl" part="persona"/>
10793                                                                 <clip pos="1" side="tl" part="nbr"/>
10794                                                                 <clip pos="1" side="tl" part="lemq"/>
10795                                                         </lu>
10796                                                 </out>
10797                                         </otherwise>
10798                                 </choose>
10799                                 <out>
10800                                         <b pos="1"/>
10801                                         <mlu>
10802                                                 <lu>
10803                                                         <clip pos="4" side="tl" part="lemh"/>
10804                                                         <clip pos="4" side="tl" part="a_verb"/>
10805                                                         <lit-tag v="ger"/>
10806                                                 </lu>
10807                                                 <lu>
10808                                                         <clip pos="5" side="tl" part="lem"/>
10809                                                         <lit-tag v="prn.enc"/>
10810                                                         <clip pos="5" side="tl" part="tipoenc_pro"/>
10811                                                         <clip pos="4" side="tl" part="lemq"/>
10812                                                 </lu>
10813                                         </mlu>
10814                                         <b pos="2"/>
10815                                         <lu>
10816                                                 <clip pos="2" side="tl" part="whole"/>
10817                                         </lu>
10818                                 </out>
10819                                 <call-macro n="f_bcond">
10820                                         <with-param pos="3"/>
10821                                 </call-macro>
10822                         </action>
10823                 </rule>
10824                 <rule>
10825                         <!--REGLA 46: prnpro estar a inf -> estar (amb clític) gerundi -->
10826                         <pattern>
10827                                 <pattern-item n="prnpro"/>
10828                                 <pattern-item n="estar"/>
10829                                 <pattern-item n="a"/>
10830                                 <pattern-item n="inf"/>
10831                         </pattern>
10832                         <action>
10833                                 <choose>
10834                                         <when>
10835                                                 <test>
10836                                                         <or>
10837                                                                 <equal>
10838                                                                         <clip pos="2" side="sl" part="temps"/>
10839                                                                         <lit-tag v="inf"/>
10840                                                                 </equal>
10841                                                                 <equal>
10842                                                                         <clip pos="2" side="sl" part="temps"/>
10843                                                                         <lit-tag v="imp"/>
10844                                                                 </equal>
10845                                                                 <equal>
10846                                                                         <clip pos="2" side="sl" part="temps"/>
10847                                                                         <lit-tag v="ger"/>
10848                                                                 </equal>
10849                                                         </or>
10850                                                 </test>
10851                                                 <out>
10852                                                         <mlu>
10853                                                                 <lu>
10854                                                                         <get-case-from pos="1">
10855                                                                                 <clip pos="2" side="tl" part="lemh"/>
10856                                                                         </get-case-from>
10857                                                                         <clip pos="2" side="tl" part="a_verb"/>
10858                                                                         <clip pos="2" side="tl" part="temps"/>
10859                                                                         <clip pos="2" side="tl" part="persona"/>
10860                                                                         <clip pos="2" side="tl" part="nbr"/>
10861                                                                 </lu>
10862                                                                 <lu>
10863                                                                         <get-case-from pos="2">
10864                                                                                 <clip pos="1" side="tl" part="lem"/>
10865                                                                         </get-case-from>
10866                                                                         <lit-tag v="prn.enc"/>
10867                                                                         <clip pos="1" side="tl" part="tipoenc_pro"/>
10868                                                                         <clip pos="2" side="tl" part="lemq"/>
10869                                                                 </lu>
10870                                                         </mlu>
10871                                                 </out>
10872                                                 <call-macro n="f_bcond">
10873                                                         <with-param pos="1"/>
10874                                                 </call-macro>
10875                                         </when>
10876                                         <otherwise>
10877                                                 <out>
10878                                                         <lu>
10879                                                                 <clip pos="1" side="tl" part="whole"/>
10880                                                         </lu>
10881                                                         <b pos="1"/>
10882                                                 </out>
10883                                                 <choose>
10884                                                         <when>
10885                                                                 <test>
10886                                                                         <or>
10887                                                                                 <equal>
10888                                                                                         <clip pos="2" side="sl" part="temps"/>
10889                                                                                         <lit-tag v="infps"/>
10890                                                                                 </equal>
10891                                                                                 <equal>
10892                                                                                         <clip pos="2" side="sl" part="temps"/>
10893                                                                                         <lit-tag v="fts"/>
10894                                                                                 </equal>
10895                                                                         </or>
10896                                                                 </test>
10897                                                                 <out>
10898                                                                         <lu>
10899                                                                                 <clip pos="2" side="tl" part="lemh"/>
10900                                                                                 <clip pos="2" side="tl" part="a_verb"/>
10901                                                                                 <lit-tag v="prs"/>
10902                                                                                 <clip pos="2" side="tl" part="persona"/>
10903                                                                                 <clip pos="2" side="tl" part="nbr"/>
10904                                                                                 <clip pos="2" side="tl" part="lemq"/>
10905                                                                         </lu>
10906                                                                 </out>
10907                                                         </when>
10908                                                         <otherwise>
10909                                                                 <out>
10910                                                                         <lu>
10911                                                                                 <clip pos="2" side="tl" part="whole"/>
10912                                                                         </lu>
10913                                                                 </out>
10914                                                         </otherwise>
10915                                                 </choose>
10916                                         </otherwise>
10917                                 </choose>
10918                                 <out>
10919                                         <b pos="2"/>
10920                                         <lu>
10921                                                 <clip pos="4" side="tl" part="lemh"/>
10922                                                 <clip pos="4" side="tl" part="a_verb"/>
10923                                                 <lit-tag v="ger"/>
10924                                         </lu>
10925                                 </out>
10926                                 <call-macro n="f_bcond">
10927                                         <with-param pos="3"/>
10928                                 </call-macro>
10929                         </action>
10930                 </rule>
10931                 <rule>
10932                         <!--REGLA 46: prnpro estar adv a inf -> estar (amb clític) gerundi adv-->
10933                         <pattern>
10934                                 <pattern-item n="prnpro"/>
10935                                 <pattern-item n="estar"/>
10936                                 <pattern-item n="adv"/>
10937                                 <pattern-item n="a"/>
10938                                 <pattern-item n="inf"/>
10939                         </pattern>
10940                         <action>
10941                                 <choose>
10942                                         <when>
10943                                                 <test>
10944                                                         <or>
10945                                                                 <equal>
10946                                                                         <clip pos="2" side="sl" part="temps"/>
10947                                                                         <lit-tag v="inf"/>
10948                                                                 </equal>
10949                                                                 <equal>
10950                                                                         <clip pos="2" side="sl" part="temps"/>
10951                                                                         <lit-tag v="imp"/>
10952                                                                 </equal>
10953                                                                 <equal>
10954                                                                         <clip pos="2" side="sl" part="temps"/>
10955                                                                         <lit-tag v="ger"/>
10956                                                                 </equal>
10957                                                         </or>
10958                                                 </test>
10959                                                 <out>
10960                                                         <mlu>
10961                                                                 <lu>
10962                                                                         <get-case-from pos="1">
10963                                                                                 <clip pos="2" side="tl" part="lemh"/>
10964                                                                         </get-case-from>
10965                                                                         <clip pos="2" side="tl" part="a_verb"/>
10966                                                                         <clip pos="2" side="tl" part="temps"/>
10967                                                                         <clip pos="2" side="tl" part="persona"/>
10968                                                                         <clip pos="2" side="tl" part="nbr"/>
10969                                                                 </lu>
10970                                                                 <lu>
10971                                                                         <get-case-from pos="2">
10972                                                                                 <clip pos="1" side="tl" part="lem"/>
10973                                                                         </get-case-from>
10974                                                                         <lit-tag v="prn.enc"/>
10975                                                                         <clip pos="1" side="tl" part="tipoenc_pro"/>
10976                                                                         <clip pos="2" side="tl" part="lemq"/>
10977                                                                 </lu>
10978                                                         </mlu>
10979                                                 </out>
10980                                                 <call-macro n="f_bcond">
10981                                                         <with-param pos="1"/>
10982                                                 </call-macro>
10983                                         </when>
10984                                         <otherwise>
10985                                                 <out>
10986                                                         <lu>
10987                                                                 <clip pos="1" side="tl" part="whole"/>
10988                                                         </lu>
10989                                                         <b pos="1"/>
10990                                                 </out>
10991                                                 <choose>
10992                                                         <when>
10993                                                                 <test>
10994                                                                         <or>
10995                                                                                 <equal>
10996                                                                                         <clip pos="2" side="sl" part="temps"/>
10997                                                                                         <lit-tag v="infps"/>
10998                                                                                 </equal>
10999                                                                                 <equal>
11000                                                                                         <clip pos="2" side="sl" part="temps"/>
11001                                                                                         <lit-tag v="fts"/>
11002                                                                                 </equal>
11003                                                                         </or>
11004                                                                 </test>
11005                                                                 <out>
11006                                                                         <lu>
11007                                                                                 <clip pos="2" side="tl" part="lemh"/>
11008                                                                                 <clip pos="2" side="tl" part="a_verb"/>
11009                                                                                 <lit-tag v="prs"/>
11010                                                                                 <clip pos="2" side="tl" part="persona"/>
11011                                                                                 <clip pos="2" side="tl" part="nbr"/>
11012                                                                                 <clip pos="2" side="tl" part="lemq"/>
11013                                                                         </lu>
11014                                                                 </out>
11015                                                         </when>
11016                                                         <otherwise>
11017                                                                 <out>
11018                                                                         <lu>
11019                                                                                 <clip pos="2" side="tl" part="whole"/>
11020                                                                         </lu>
11021                                                                 </out>
11022                                                         </otherwise>
11023                                                 </choose>
11024                                         </otherwise>
11025                                 </choose>
11026                                 <out>
11027                                         <b pos="2"/>
11028                                         <lu>
11029                                                 <clip pos="5" side="tl" part="lemh"/>
11030                                                 <clip pos="5" side="tl" part="a_verb"/>
11031                                                 <lit-tag v="ger"/>
11032                                         </lu>
11033                                         <b pos="3"/>
11034                                         <lu>
11035                                                 <clip pos="3" side="tl" part="whole"/>
11036                                         </lu>
11037                                 </out>
11038                                 <call-macro n="f_bcond">
11039                                         <with-param pos="4"/>
11040                                 </call-macro>
11041                         </action>
11042                 </rule>
11043                 <rule>
11044                         <!--REGLA 47: estar-enc adv a inf -> estar (amb clític) gerundi adv-->
11045                         <pattern>
11046                                 <pattern-item n="estar"/>
11047                                 <pattern-item n="prnenc"/>
11048                                 <pattern-item n="adv"/>
11049                                 <pattern-item n="a"/>
11050                                 <pattern-item n="inf"/>
11051                         </pattern>
11052                         <action>
11053                                 <choose>
11054                                         <when>
11055                                                 <test>
11056                                                         <or>
11057                                                                 <equal>
11058                                                                         <clip pos="1" side="sl" part="temps"/>
11059                                                                         <lit-tag v="inf"/>
11060                                                                 </equal>
11061                                                                 <equal>
11062                                                                         <clip pos="1" side="sl" part="temps"/>
11063                                                                         <lit-tag v="imp"/>
11064                                                                 </equal>
11065                                                                 <equal>
11066                                                                         <clip pos="1" side="sl" part="temps"/>
11067                                                                         <lit-tag v="ger"/>
11068                                                                 </equal>
11069                                                         </or>
11070                                                 </test>
11071                                                 <out>
11072                                                         <mlu>
11073                                                                 <lu>
11074                                                                         <clip pos="1" side="tl" part="lemh"/>
11075                                                                         <clip pos="1" side="tl" part="a_verb"/>
11076                                                                         <clip pos="1" side="tl" part="temps"/>
11077                                                                         <clip pos="1" side="tl" part="persona"/>
11078                                                                         <clip pos="1" side="tl" part="nbr"/>
11079                                                                 </lu>
11080                                                                 <lu>
11081                                                                         <clip pos="2" side="tl" part="lem"/>
11082                                                                         <lit-tag v="prn.enc"/>
11083                                                                         <clip pos="2" side="tl" part="tipoenc_pro"/>
11084                                                                         <clip pos="1" side="tl" part="lemq"/>
11085                                                                 </lu>
11086                                                         </mlu>
11087                                                 </out>
11088                                                 <call-macro n="f_bcond">
11089                                                         <with-param pos="1"/>
11090                                                 </call-macro>
11091                                         </when>
11092                                         <otherwise>
11093                                                 <out>
11094                                                         <lu>
11095                                                                 <get-case-from pos="1">
11096                                                                         <clip pos="2" side="tl" part="lem"/>
11097                                                                 </get-case-from>
11098                                                                 <lit-tag v="prn.pro"/>
11099                                                                 <clip pos="2" side="tl" part="tipoenc_pro"/>
11100                                                         </lu>
11101                                                         <b pos="1"/>
11102                                                 </out>
11103                                                 <choose>
11104                                                         <when>
11105                                                                 <test>
11106                                                                         <or>
11107                                                                                 <equal>
11108                                                                                         <clip pos="1" side="sl" part="temps"/>
11109                                                                                         <lit-tag v="infps"/>
11110                                                                                 </equal>
11111                                                                                 <equal>
11112                                                                                         <clip pos="1" side="sl" part="temps"/>
11113                                                                                         <lit-tag v="fts"/>
11114                                                                                 </equal>
11115                                                                         </or>
11116                                                                 </test>
11117                                                                 <out>
11118                                                                         <lu>
11119                                                                                 <get-case-from pos="2">
11120                                                                                         <clip pos="1" side="tl" part="lemh"/>
11121                                                                                 </get-case-from>
11122                                                                                 <clip pos="1" side="tl" part="a_verb"/>
11123                                                                                 <lit-tag v="prs"/>
11124                                                                                 <clip pos="1" side="tl" part="persona"/>
11125                                                                                 <clip pos="1" side="tl" part="nbr"/>
11126                                                                                 <clip pos="1" side="tl" part="lemq"/>
11127                                                                         </lu>
11128                                                                 </out>
11129                                                         </when>
11130                                                         <otherwise>
11131                                                                 <out>
11132                                                                         <lu>
11133                                                                                 <get-case-from pos="2">
11134                                                                                         <clip pos="1" side="tl" part="lemh"/>
11135                                                                                 </get-case-from>
11136                                                                                 <clip pos="1" side="tl" part="a_verb"/>
11137                                                                                 <clip pos="1" side="tl" part="temps"/>
11138                                                                                 <clip pos="1" side="tl" part="persona"/>
11139                                                                                 <clip pos="1" side="tl" part="gen"/>
11140                                                                                 <clip pos="1" side="tl" part="nbr"/>
11141                                                                                 <clip pos="1" side="tl" part="lemq"/>
11142                                                                         </lu>
11143                                                                 </out>
11144                                                         </otherwise>
11145                                                 </choose>
11146                                         </otherwise>
11147                                 </choose>
11148                                 <out>
11149                                         <b pos="2"/>
11150                                         <lu>
11151                                                 <clip pos="5" side="tl" part="lemh"/>
11152                                                 <clip pos="5" side="tl" part="a_verb"/>
11153                                                 <lit-tag v="ger"/>
11154                                         </lu>
11155                                         <b pos="3"/>
11156                                         <lu>
11157                                                 <clip pos="3" side="tl" part="whole"/>
11158                                         </lu>
11159                                 </out>
11160                                 <call-macro n="f_bcond">
11161                                         <with-param pos="4"/>
11162                                 </call-macro>
11163                         </action>
11164                 </rule>
11165                 <!--    <rule> <!-#- REGLA: em se tratando -> tratándose -#->
11166                 <pattern>
11167                         <pattern-item n="em"/>
11168                         <pattern-item n="prnpro"/>
11169                         <pattern-item n="ger"/>
11170                 </pattern>
11171                 <action>
11172                         <out>
11173                                 <mlu>
11174                                         <lu>
11175                                                 <get-case-from pos="1" >
11176                                                         <clip pos="3" side="tl" part="lemh"/>
11177                                                 </get-case-from>
11178                                                 <clip pos="3" side="tl" part="a_verb"/>
11179                                                 <clip pos="3" side="tl" part="temps"/>
11180                                         </lu>
11181                                         <lu>
11182                                                 <clip pos="2" side="tl" part="lem"/>
11183                                                 <lit-tag v="prn.enc"/>
11184                                                 <clip pos="2" side="tl" part="tipoenc_pro"/>
11185                                         </lu>
11186                                 </mlu>
11187                         </out>
11188                         <call-macro n="f_bcond">
11189                                 <with-param pos="1"/>
11190                         </call-macro>
11191                         <call-macro n="f_bcond">
11192                                 <with-param pos="1"/>
11193                         </call-macro>
11194                 </action>
11195         </rule> -->
11196                 <!--                                                            =·= concordança amb predicatius =·=      -->
11197                 <rule>
11198                         <!--REGLA : nom pred adj (sense enclítics)-->
11199                         <pattern>
11200                                 <pattern-item n="nom"/>
11201                                 <pattern-item n="pred"/>
11202                                 <pattern-item n="adjec"/>
11203                         </pattern>
11204                         <action>
11205                                 <call-macro n="f_concord2">
11206                                         <with-param pos="1"/>
11207                                         <with-param pos="3"/>
11208                                 </call-macro>
11209                                 <call-macro n="f_comparativa">
11210                                         <with-param pos="3"/>
11211                                 </call-macro>
11212                                 <out>
11213                                         <lu>
11214                                                 <clip pos="1" side="tl" part="whole"/>
11215                                         </lu>
11216                                         <b pos="1"/>
11217                                 </out>
11218                                 <choose>
11219                                         <when>
11220                                                 <test>
11221                                                         <or>
11222                                                                 <equal>
11223                                                                         <clip pos="2" side="sl" part="temps"/>
11224                                                                         <lit-tag v="infps"/>
11225                                                                 </equal>
11226                                                                 <equal>
11227                                                                         <clip pos="2" side="sl" part="temps"/>
11228                                                                         <lit-tag v="fts"/>
11229                                                                 </equal>
11230                                                         </or>
11231                                                 </test>
11232                                                 <out>
11233                                                         <lu>
11234                                                                 <clip pos="2" side="tl" part="lemh"/>
11235                                                                 <clip pos="2" side="tl" part="a_verb"/>
11236                                                                 <lit-tag v="prs"/>
11237                                                                 <clip pos="2" side="tl" part="persona"/>
11238                                                                 <clip pos="2" side="tl" part="nbr"/>
11239                                                                 <clip pos="2" side="tl" part="lemq"/>
11240                                                         </lu>
11241                                                 </out>
11242                                         </when>
11243                                         <otherwise>
11244                                                 <choose>
11245                                                         <when>
11246                                                                 <test>
11247                                                                         <equal>
11248                                                                                 <clip pos="2" side="sl" part="temps"/>
11249                                                                                 <lit-tag v="pmp"/>
11250                                                                         </equal>
11251                                                                 </test>
11252                                                                 <out>
11253                                                                         <lu>
11254                                                                                 <get-case-from pos="2">
11255                                                                                         <lit v="haber"/>
11256                                                                                 </get-case-from>
11257                                                                                 <lit-tag v="vbhaver.ifi"/>
11258                                                                                 <clip pos="2" side="tl" part="persona"/>
11259                                                                                 <clip pos="2" side="tl" part="nbr"/>
11260                                                                         </lu>
11261                                                                         <b/>
11262                                                                         <lu>
11263                                                                                 <clip pos="2" side="tl" part="lemh"/>
11264                                                                                 <clip pos="2" side="tl" part="a_verb"/>
11265                                                                                 <lit-tag v="pp.m.sg"/>
11266                                                                                 <clip pos="2" side="tl" part="lemq"/>
11267                                                                         </lu>
11268                                                                 </out>
11269                                                         </when>
11270                                                         <otherwise>
11271                                                                 <out>
11272                                                                         <lu>
11273                                                                                 <clip pos="2" side="tl" part="lemh"/>
11274                                                                                 <clip pos="2" side="tl" part="a_verb"/>
11275                                                                                 <clip pos="2" side="tl" part="temps"/>
11276                                                                                 <clip pos="2" side="tl" part="persona"/>
11277                                                                                 <clip pos="2" side="tl" part="nbr"/>
11278                                                                                 <clip pos="2" side="tl" part="lemq"/>
11279                                                                         </lu>
11280                                                                 </out>
11281                                                         </otherwise>
11282                                                 </choose>
11283                                         </otherwise>
11284                                 </choose>
11285                                 <out>
11286                                         <b pos="2"/>
11287                                         <lu>
11288                                                 <clip pos="3" side="tl" part="whole"/>
11289                                         </lu>
11290                                 </out>
11291                         </action>
11292                 </rule>
11293                 <rule>
11294                         <!--REGLA : nom pred-enc adjec -->
11295                         <pattern>
11296                                 <pattern-item n="nom"/>
11297                                 <pattern-item n="pred"/>
11298                                 <pattern-item n="prnenc"/>
11299                                 <pattern-item n="adjec"/>
11300                         </pattern>
11301                         <action>
11302                                 <call-macro n="f_concord2">
11303                                         <with-param pos="1"/>
11304                                         <with-param pos="4"/>
11305                                 </call-macro>
11306                                 <call-macro n="f_comparativa">
11307                                         <with-param pos="4"/>
11308                                 </call-macro>
11309                                 <out>
11310                                         <lu>
11311                                                 <clip pos="1" side="tl" part="whole"/>
11312                                         </lu>
11313                                         <b pos="1"/>
11314                                 </out>
11315                                 <choose>
11316                                         <when>
11317                                                 <test>
11318                                                         <or>
11319                                                                 <equal>
11320                                                                         <clip pos="2" side="sl" part="temps"/>
11321                                                                         <lit-tag v="inf"/>
11322                                                                 </equal>
11323                                                                 <equal>
11324                                                                         <clip pos="2" side="sl" part="temps"/>
11325                                                                         <lit-tag v="ger"/>
11326                                                                 </equal>
11327                                                                 <equal>
11328                                                                         <clip pos="2" side="sl" part="temps"/>
11329                                                                         <lit-tag v="imp"/>
11330                                                                 </equal>
11331                                                         </or>
11332                                                 </test>
11333                                                 <out>
11334                                                         <mlu>
11335                                                                 <lu>
11336                                                                         <clip pos="2" side="tl" part="lemh"/>
11337                                                                         <clip pos="2" side="tl" part="a_verb"/>
11338                                                                         <clip pos="2" side="tl" part="temps"/>
11339                                                                         <clip pos="2" side="tl" part="persona"/>
11340                                                                         <clip pos="2" side="tl" part="nbr"/>
11341                                                                 </lu>
11342                                                                 <lu>
11343                                                                         <clip pos="3" side="tl" part="lem"/>
11344                                                                         <clip pos="3" side="tl" part="a_prnenc"/>
11345                                                                         <clip pos="3" side="tl" part="persona"/>
11346                                                                         <clip pos="3" side="tl" part="gen"/>
11347                                                                         <clip pos="3" side="tl" part="nbr"/>
11348                                                                         <clip pos="2" side="tl" part="lemq"/>
11349                                                                 </lu>
11350                                                         </mlu>
11351                                                 </out>
11352                                         </when>
11353                                         <otherwise>
11354                                                 <out>
11355                                                         <lu>
11356                                                                 <clip pos="3" side="tl" part="lem"/>
11357                                                                 <lit-tag v="prn.pro"/>
11358                                                                 <clip pos="3" side="tl" part="tipoenc_pro"/>
11359                                                         </lu>
11360                                                         <b/>
11361                                                 </out>
11362                                                 <choose>
11363                                                         <when>
11364                                                                 <test>
11365                                                                         <or>
11366                                                                                 <equal>
11367                                                                                         <clip pos="2" side="sl" part="temps"/>
11368                                                                                         <lit-tag v="infps"/>
11369                                                                                 </equal>
11370                                                                                 <equal>
11371                                                                                         <clip pos="2" side="sl" part="temps"/>
11372                                                                                         <lit-tag v="fts"/>
11373                                                                                 </equal>
11374                                                                         </or>
11375                                                                 </test>
11376                                                                 <out>
11377                                                                         <lu>
11378                                                                                 <clip pos="2" side="tl" part="lemh"/>
11379                                                                                 <clip pos="2" side="tl" part="a_verb"/>
11380                                                                                 <lit-tag v="prs"/>
11381                                                                                 <clip pos="2" side="tl" part="persona"/>
11382                                                                                 <clip pos="2" side="tl" part="nbr"/>
11383                                                                                 <clip pos="2" side="tl" part="lemq"/>
11384                                                                         </lu>
11385                                                                 </out>
11386                                                         </when>
11387                                                         <otherwise>
11388                                                                 <choose>
11389                                                                         <when>
11390                                                                                 <test>
11391                                                                                         <equal>
11392                                                                                                 <clip pos="2" side="sl" part="temps"/>
11393                                                                                                 <lit-tag v="pmp"/>
11394                                                                                         </equal>
11395                                                                                 </test>
11396                                                                                 <out>
11397                                                                                         <lu>
11398                                                                                                 <lit v="haber"/>
11399                                                                                                 <lit-tag v="vbhaver.ifi"/>
11400                                                                                                 <clip pos="2" side="tl" part="persona"/>
11401                                                                                                 <clip pos="2" side="tl" part="nbr"/>
11402                                                                                         </lu>
11403                                                                                         <b/>
11404                                                                                         <lu>
11405                                                                                                 <clip pos="2" side="tl" part="lemh"/>
11406                                                                                                 <clip pos="2" side="tl" part="a_verb"/>
11407                                                                                                 <lit-tag v="pp.m.sg"/>
11408                                                                                                 <clip pos="2" side="tl" part="lemq"/>
11409                                                                                         </lu>
11410                                                                                 </out>
11411                                                                         </when>
11412                                                                         <otherwise>
11413                                                                                 <out>
11414                                                                                         <lu>
11415                                                                                                 <clip pos="2" side="tl" part="lemh"/>
11416                                                                                                 <clip pos="2" side="tl" part="a_verb"/>
11417                                                                                                 <clip pos="2" side="tl" part="temps"/>
11418                                                                                                 <clip pos="2" side="tl" part="persona"/>
11419                                                                                                 <clip pos="2" side="tl" part="nbr"/>
11420                                                                                                 <clip pos="2" side="tl" part="lemq"/>
11421                                                                                         </lu>
11422                                                                                 </out>
11423                                                                         </otherwise>
11424                                                                 </choose>
11425                                                         </otherwise>
11426                                                 </choose>
11427                                         </otherwise>
11428                                 </choose>
11429                                 <call-macro n="f_bcond">
11430                                         <with-param pos="2"/>
11431                                 </call-macro>
11432                                 <out>
11433                                         <b pos="3"/>
11434                                         <lu>
11435                                                 <clip pos="4" side="tl" part="whole"/>
11436                                         </lu>
11437                                 </out>
11438                         </action>
11439                 </rule>
11440                 <rule>
11441                         <!--REGLA : nom prnpro pred adjec -->
11442                         <pattern>
11443                                 <pattern-item n="nom"/>
11444                                 <pattern-item n="prnpro"/>
11445                                 <pattern-item n="pred"/>
11446                                 <pattern-item n="adjec"/>
11447                         </pattern>
11448                         <action>
11449                                 <call-macro n="f_concord2">
11450                                         <with-param pos="1"/>
11451                                         <with-param pos="4"/>
11452                                 </call-macro>
11453                                 <call-macro n="f_comparativa">
11454                                         <with-param pos="4"/>
11455                                 </call-macro>
11456                                 <out>
11457                                         <lu>
11458                                                 <clip pos="1" side="tl" part="whole"/>
11459                                         </lu>
11460                                         <b pos="1"/>
11461                                 </out>
11462                                 <choose>
11463                                         <when>
11464                                                 <test>
11465                                                         <or>
11466                                                                 <equal>
11467                                                                         <clip pos="3" side="sl" part="temps"/>
11468                                                                         <lit-tag v="inf"/>
11469                                                                 </equal>
11470                                                                 <equal>
11471                                                                         <clip pos="3" side="sl" part="temps"/>
11472                                                                         <lit-tag v="ger"/>
11473                                                                 </equal>
11474                                                                 <equal>
11475                                                                         <clip pos="3" side="sl" part="temps"/>
11476                                                                         <lit-tag v="imp"/>
11477                                                                 </equal>
11478                                                         </or>
11479                                                 </test>
11480                                                 <out>
11481                                                         <mlu>
11482                                                                 <lu>
11483                                                                         <get-case-from pos="2">
11484                                                                                 <clip pos="3" side="tl" part="lemh"/>
11485                                                                         </get-case-from>
11486                                                                         <clip pos="3" side="tl" part="a_verb"/>
11487                                                                         <clip pos="3" side="tl" part="temps"/>
11488                                                                         <clip pos="3" side="tl" part="persona"/>
11489                                                                         <clip pos="3" side="tl" part="nbr"/>
11490                                                                 </lu>
11491                                                                 <lu>
11492                                                                         <get-case-from pos="3">
11493                                                                                 <clip pos="2" side="tl" part="lem"/>
11494                                                                         </get-case-from>
11495                                                                         <lit-tag v="prn.enc"/>
11496                                                                         <clip pos="2" side="tl" part="tipoenc_pro"/>
11497                                                                         <clip pos="3" side="tl" part="lemq"/>
11498                                                                 </lu>
11499                                                         </mlu>
11500                                                 </out>
11501                                                 <call-macro n="f_bcond">
11502                                                         <with-param pos="2"/>
11503                                                 </call-macro>
11504                                         </when>
11505                                         <otherwise>
11506                                                 <out>
11507                                                         <lu>
11508                                                                 <get-case-from pos="2">
11509                                                                         <clip pos="2" side="tl" part="lem"/>
11510                                                                 </get-case-from>
11511                                                                 <lit-tag v="prn.pro"/>
11512                                                                 <clip pos="2" side="tl" part="tipoenc_pro"/>
11513                                                         </lu>
11514                                                         <b pos="2"/>
11515                                                 </out>
11516                                                 <choose>
11517                                                         <when>
11518                                                                 <test>
11519                                                                         <or>
11520                                                                                 <equal>
11521                                                                                         <clip pos="3" side="sl" part="temps"/>
11522                                                                                         <lit-tag v="infps"/>
11523                                                                                 </equal>
11524                                                                                 <equal>
11525                                                                                         <clip pos="3" side="sl" part="temps"/>
11526                                                                                         <lit-tag v="fts"/>
11527                                                                                 </equal>
11528                                                                         </or>
11529                                                                 </test>
11530                                                                 <out>
11531                                                                         <lu>
11532                                                                                 <clip pos="3" side="tl" part="lemh"/>
11533                                                                                 <clip pos="3" side="tl" part="a_verb"/>
11534                                                                                 <lit-tag v="prs"/>
11535                                                                                 <clip pos="3" side="tl" part="persona"/>
11536                                                                                 <clip pos="3" side="tl" part="nbr"/>
11537                                                                                 <clip pos="3" side="tl" part="lemq"/>
11538                                                                         </lu>
11539                                                                 </out>
11540                                                         </when>
11541                                                         <otherwise>
11542                                                                 <choose>
11543                                                                         <when>
11544                                                                                 <test>
11545                                                                                         <equal>
11546                                                                                                 <clip pos="3" side="sl" part="temps"/>
11547                                                                                                 <lit-tag v="pmp"/>
11548                                                                                         </equal>
11549                                                                                 </test>
11550                                                                                 <out>
11551                                                                                         <lu>
11552                                                                                                 <lit v="haber"/>
11553                                                                                                 <lit-tag v="vbhaver.ifi"/>
11554                                                                                                 <clip pos="3" side="tl" part="persona"/>
11555                                                                                                 <clip pos="3" side="tl" part="nbr"/>
11556                                                                                         </lu>
11557                                                                                         <b/>
11558                                                                                         <lu>
11559                                                                                                 <clip pos="3" side="tl" part="lemh"/>
11560                                                                                                 <clip pos="3" side="tl" part="a_verb"/>
11561                                                                                                 <lit-tag v="pp.m.sg"/>
11562                                                                                                 <clip pos="3" side="tl" part="lemq"/>
11563                                                                                         </lu>
11564                                                                                 </out>
11565                                                                         </when>
11566                                                                         <otherwise>
11567                                                                                 <out>
11568                                                                                         <lu>
11569                                                                                                 <clip pos="3" side="tl" part="lemh"/>
11570                                                                                                 <clip pos="3" side="tl" part="a_verb"/>
11571                                                                                                 <clip pos="3" side="tl" part="temps"/>
11572                                                                                                 <clip pos="3" side="tl" part="persona"/>
11573                                                                                                 <clip pos="3" side="tl" part="nbr"/>
11574                                                                                                 <clip pos="3" side="tl" part="lemq"/>
11575                                                                                         </lu>
11576                                                                                 </out>
11577                                                                         </otherwise>
11578                                                                 </choose>
11579                                                         </otherwise>
11580                                                 </choose>
11581                                         </otherwise>
11582                                 </choose>
11583                                 <out>
11584                                         <b pos="3"/>
11585                                         <lu>
11586                                                 <clip pos="4" side="tl" part="whole"/>
11587                                         </lu>
11588                                 </out>
11589                         </action>
11590                 </rule>
11591                 <rule>
11592                         <!--REGLA : det nom pred adj (sense enclítics)-->
11593                         <pattern>
11594                                 <pattern-item n="det"/>
11595                                 <pattern-item n="nom"/>
11596                                 <pattern-item n="pred"/>
11597                                 <pattern-item n="adjec"/>
11598                         </pattern>
11599                         <action>
11600                                 <call-macro n="f_concord3">
11601                                         <with-param pos="2"/>
11602                                         <with-param pos="4"/>
11603                                         <with-param pos="1"/>
11604                                 </call-macro>
11605                                 <call-macro n="f_comparativa">
11606                                         <with-param pos="4"/>
11607                                 </call-macro>
11608                                 <out>
11609                                         <lu>
11610                                                 <clip pos="1" side="tl" part="whole"/>
11611                                         </lu>
11612                                         <b pos="1"/>
11613                                         <lu>
11614                                                 <clip pos="2" side="tl" part="whole"/>
11615                                         </lu>
11616                                         <b pos="2"/>
11617                                 </out>
11618                                 <choose>
11619                                         <when>
11620                                                 <test>
11621                                                         <or>
11622                                                                 <equal>
11623                                                                         <clip pos="3" side="sl" part="temps"/>
11624                                                                         <lit-tag v="infps"/>
11625                                                                 </equal>
11626                                                                 <equal>
11627                                                                         <clip pos="3" side="sl" part="temps"/>
11628                                                                         <lit-tag v="fts"/>
11629                                                                 </equal>
11630                                                         </or>
11631                                                 </test>
11632                                                 <out>
11633                                                         <lu>
11634                                                                 <clip pos="3" side="tl" part="lemh"/>
11635                                                                 <clip pos="3" side="tl" part="a_verb"/>
11636                                                                 <lit-tag v="prs"/>
11637                                                                 <clip pos="3" side="tl" part="persona"/>
11638                                                                 <clip pos="3" side="tl" part="nbr"/>
11639                                                                 <clip pos="3" side="tl" part="lemq"/>
11640                                                         </lu>
11641                                                 </out>
11642                                         </when>
11643                                         <otherwise>
11644                                                 <choose>
11645                                                         <when>
11646                                                                 <test>
11647                                                                         <equal>
11648                                                                                 <clip pos="3" side="sl" part="temps"/>
11649                                                                                 <lit-tag v="pmp"/>
11650                                                                         </equal>
11651                                                                 </test>
11652                                                                 <out>
11653                                                                         <lu>
11654                                                                                 <get-case-from pos="3">
11655                                                                                         <lit v="haber"/>
11656                                                                                 </get-case-from>
11657                                                                                 <lit-tag v="vbhaver.ifi"/>
11658                                                                                 <clip pos="3" side="tl" part="persona"/>
11659                                                                                 <clip pos="3" side="tl" part="nbr"/>
11660                                                                         </lu>
11661                                                                         <b/>
11662                                                                         <lu>
11663                                                                                 <clip pos="3" side="tl" part="lemh"/>
11664                                                                                 <clip pos="3" side="tl" part="a_verb"/>
11665                                                                                 <lit-tag v="pp.m.sg"/>
11666                                                                                 <clip pos="3" side="tl" part="lemq"/>
11667                                                                         </lu>
11668                                                                 </out>
11669                                                         </when>
11670                                                         <otherwise>
11671                                                                 <out>
11672                                                                         <lu>
11673                                                                                 <clip pos="3" side="tl" part="lemh"/>
11674                                                                                 <clip pos="3" side="tl" part="a_verb"/>
11675                                                                                 <clip pos="3" side="tl" part="temps"/>
11676                                                                                 <clip pos="3" side="tl" part="persona"/>
11677                                                                                 <clip pos="3" side="tl" part="nbr"/>
11678                                                                                 <clip pos="3" side="tl" part="lemq"/>
11679                                                                         </lu>
11680                                                                 </out>
11681                                                         </otherwise>
11682                                                 </choose>
11683                                         </otherwise>
11684                                 </choose>
11685                                 <out>
11686                                         <b pos="3"/>
11687                                         <lu>
11688                                                 <clip pos="4" side="tl" part="whole"/>
11689                                         </lu>
11690                                 </out>
11691                         </action>
11692                 </rule>
11693                 <rule>
11694                         <!--REGLA : det nom pred-enc adjec -->
11695                         <pattern>
11696                                 <pattern-item n="det"/>
11697                                 <pattern-item n="nom"/>
11698                                 <pattern-item n="pred"/>
11699                                 <pattern-item n="prnenc"/>
11700                                 <pattern-item n="adjec"/>
11701                         </pattern>
11702                         <action>
11703                                 <call-macro n="f_concord3">
11704                                         <with-param pos="2"/>
11705                                         <with-param pos="5"/>
11706                                         <with-param pos="1"/>
11707                                 </call-macro>
11708                                 <call-macro n="f_comparativa">
11709                                         <with-param pos="5"/>
11710                                 </call-macro>
11711                                 <out>
11712                                         <lu>
11713                                                 <clip pos="1" side="tl" part="whole"/>
11714                                         </lu>
11715                                         <b pos="1"/>
11716                                         <lu>
11717                                                 <clip pos="2" side="tl" part="whole"/>
11718                                         </lu>
11719                                         <b pos="2"/>
11720                                 </out>
11721                                 <choose>
11722                                         <when>
11723                                                 <test>
11724                                                         <or>
11725                                                                 <equal>
11726                                                                         <clip pos="3" side="sl" part="temps"/>
11727                                                                         <lit-tag v="inf"/>
11728                                                                 </equal>
11729                                                                 <equal>
11730                                                                         <clip pos="3" side="sl" part="temps"/>
11731                                                                         <lit-tag v="ger"/>
11732                                                                 </equal>
11733                                                                 <equal>
11734                                                                         <clip pos="3" side="sl" part="temps"/>
11735                                                                         <lit-tag v="imp"/>
11736                                                                 </equal>
11737                                                         </or>
11738                                                 </test>
11739                                                 <out>
11740                                                         <mlu>
11741                                                                 <lu>
11742                                                                         <clip pos="3" side="tl" part="lemh"/>
11743                                                                         <clip pos="3" side="tl" part="a_verb"/>
11744                                                                         <clip pos="3" side="tl" part="temps"/>
11745                                                                         <clip pos="3" side="tl" part="persona"/>
11746                                                                         <clip pos="3" side="tl" part="nbr"/>
11747                                                                 </lu>
11748                                                                 <lu>
11749                                                                         <clip pos="4" side="tl" part="lem"/>
11750                                                                         <clip pos="4" side="tl" part="a_prnenc"/>
11751                                                                         <clip pos="4" side="tl" part="persona"/>
11752                                                                         <clip pos="4" side="tl" part="gen"/>
11753                                                                         <clip pos="4" side="tl" part="nbr"/>
11754                                                                         <clip pos="3" side="tl" part="lemq"/>
11755                                                                 </lu>
11756                                                         </mlu>
11757                                                 </out>
11758                                                 <call-macro n="f_bcond">
11759                                                         <with-param pos="3"/>
11760                                                 </call-macro>
11761                                         </when>
11762                                         <otherwise>
11763                                                 <out>
11764                                                         <lu>
11765                                                                 <clip pos="4" side="tl" part="lem"/>
11766                                                                 <lit-tag v="prn.pro"/>
11767                                                                 <clip pos="4" side="tl" part="tipoenc_pro"/>
11768                                                         </lu>
11769                                                         <b pos="3"/>
11770                                                 </out>
11771                                                 <choose>
11772                                                         <when>
11773                                                                 <test>
11774                                                                         <or>
11775                                                                                 <equal>
11776                                                                                         <clip pos="3" side="sl" part="temps"/>
11777                                                                                         <lit-tag v="infps"/>
11778                                                                                 </equal>
11779                                                                                 <equal>
11780                                                                                         <clip pos="3" side="sl" part="temps"/>
11781                                                                                         <lit-tag v="fts"/>
11782                                                                                 </equal>
11783                                                                         </or>
11784                                                                 </test>
11785                                                                 <out>
11786                                                                         <lu>
11787                                                                                 <clip pos="3" side="tl" part="lemh"/>
11788                                                                                 <clip pos="3" side="tl" part="a_verb"/>
11789                                                                                 <lit-tag v="prs"/>
11790                                                                                 <clip pos="3" side="tl" part="persona"/>
11791                                                                                 <clip pos="3" side="tl" part="nbr"/>
11792                                                                                 <clip pos="3" side="tl" part="lemq"/>
11793                                                                         </lu>
11794                                                                 </out>
11795                                                         </when>
11796                                                         <otherwise>
11797                                                                 <choose>
11798                                                                         <when>
11799                                                                                 <test>
11800                                                                                         <equal>
11801                                                                                                 <clip pos="3" side="sl" part="temps"/>
11802                                                                                                 <lit-tag v="pmp"/>
11803                                                                                         </equal>
11804                                                                                 </test>
11805                                                                                 <out>
11806                                                                                         <lu>
11807                                                                                                 <lit v="haber"/>
11808                                                                                                 <lit-tag v="vbhaver.ifi"/>
11809                                                                                                 <clip pos="3" side="tl" part="persona"/>
11810                                                                                                 <clip pos="3" side="tl" part="nbr"/>
11811                                                                                         </lu>
11812                                                                                         <b/>
11813                                                                                         <lu>
11814                                                                                                 <clip pos="3" side="tl" part="lemh"/>
11815                                                                                                 <clip pos="3" side="tl" part="a_verb"/>
11816                                                                                                 <lit-tag v="pp.m.sg"/>
11817                                                                                                 <clip pos="3" side="tl" part="lemq"/>
11818                                                                                         </lu>
11819                                                                                 </out>
11820                                                                         </when>
11821                                                                         <otherwise>
11822                                                                                 <out>
11823                                                                                         <lu>
11824                                                                                                 <clip pos="3" side="tl" part="lemh"/>
11825                                                                                                 <clip pos="3" side="tl" part="a_verb"/>
11826                                                                                                 <clip pos="3" side="tl" part="temps"/>
11827                                                                                                 <clip pos="3" side="tl" part="persona"/>
11828                                                                                                 <clip pos="3" side="tl" part="nbr"/>
11829                                                                                                 <clip pos="3" side="tl" part="lemq"/>
11830                                                                                         </lu>
11831                                                                                 </out>
11832                                                                         </otherwise>
11833                                                                 </choose>
11834                                                         </otherwise>
11835                                                 </choose>
11836                                         </otherwise>
11837                                 </choose>
11838                                 <out>
11839                                         <b pos="4"/>
11840                                         <lu>
11841                                                 <clip pos="5" side="tl" part="whole"/>
11842                                         </lu>
11843                                 </out>
11844                         </action>
11845                 </rule>
11846                 <rule>
11847                         <!--REGLA : det nom prnpro pred adjec -->
11848                         <pattern>
11849                                 <pattern-item n="det"/>
11850                                 <pattern-item n="nom"/>
11851                                 <pattern-item n="prnpro"/>
11852                                 <pattern-item n="pred"/>
11853                                 <pattern-item n="adjec"/>
11854                         </pattern>
11855                         <action>
11856                                 <call-macro n="f_concord3">
11857                                         <with-param pos="2"/>
11858                                         <with-param pos="5"/>
11859                                         <with-param pos="1"/>
11860                                 </call-macro>
11861                                 <call-macro n="f_comparativa">
11862                                         <with-param pos="5"/>
11863                                 </call-macro>
11864                                 <out>
11865                                         <lu>
11866                                                 <clip pos="1" side="tl" part="whole"/>
11867                                         </lu>
11868                                         <b pos="1"/>
11869                                         <lu>
11870                                                 <clip pos="2" side="tl" part="whole"/>
11871                                         </lu>
11872                                         <b pos="2"/>
11873                                 </out>
11874                                 <choose>
11875                                         <when>
11876                                                 <test>
11877                                                         <or>
11878                                                                 <equal>
11879                                                                         <clip pos="4" side="sl" part="temps"/>
11880                                                                         <lit-tag v="inf"/>
11881                                                                 </equal>
11882                                                                 <equal>
11883                                                                         <clip pos="4" side="sl" part="temps"/>
11884                                                                         <lit-tag v="ger"/>
11885                                                                 </equal>
11886                                                                 <equal>
11887                                                                         <clip pos="4" side="sl" part="temps"/>
11888                                                                         <lit-tag v="imp"/>
11889                                                                 </equal>
11890                                                         </or>
11891                                                 </test>
11892                                                 <out>
11893                                                         <mlu>
11894                                                                 <lu>
11895                                                                         <get-case-from pos="3">
11896                                                                                 <clip pos="4" side="tl" part="lemh"/>
11897                                                                         </get-case-from>
11898                                                                         <clip pos="4" side="tl" part="a_verb"/>
11899                                                                         <clip pos="4" side="tl" part="temps"/>
11900                                                                         <clip pos="4" side="tl" part="persona"/>
11901                                                                         <clip pos="4" side="tl" part="nbr"/>
11902                                                                 </lu>
11903                                                                 <lu>
11904                                                                         <get-case-from pos="4">
11905                                                                                 <clip pos="3" side="tl" part="lem"/>
11906                                                                         </get-case-from>
11907                                                                         <lit-tag v="prn.enc"/>
11908                                                                         <clip pos="3" side="tl" part="tipoenc_pro"/>
11909                                                                         <clip pos="4" side="tl" part="lemq"/>
11910                                                                 </lu>
11911                                                         </mlu>
11912                                                 </out>
11913                                                 <call-macro n="f_bcond">
11914                                                         <with-param pos="3"/>
11915                                                 </call-macro>
11916                                         </when>
11917                                         <otherwise>
11918                                                 <out>
11919                                                         <lu>
11920                                                                 <get-case-from pos="3">
11921                                                                         <clip pos="3" side="tl" part="lem"/>
11922                                                                 </get-case-from>
11923                                                                 <lit-tag v="prn.pro"/>
11924                                                                 <clip pos="3" side="tl" part="tipoenc_pro"/>
11925                                                         </lu>
11926                                                         <b pos="3"/>
11927                                                 </out>
11928                                                 <choose>
11929                                                         <when>
11930                                                                 <test>
11931                                                                         <or>
11932                                                                                 <equal>
11933                                                                                         <clip pos="4" side="sl" part="temps"/>
11934                                                                                         <lit-tag v="infps"/>
11935                                                                                 </equal>
11936                                                                                 <equal>
11937                                                                                         <clip pos="4" side="sl" part="temps"/>
11938                                                                                         <lit-tag v="fts"/>
11939                                                                                 </equal>
11940                                                                         </or>
11941                                                                 </test>
11942                                                                 <out>
11943                                                                         <lu>
11944                                                                                 <clip pos="4" side="tl" part="lemh"/>
11945                                                                                 <clip pos="4" side="tl" part="a_verb"/>
11946                                                                                 <lit-tag v="prs"/>
11947                                                                                 <clip pos="4" side="tl" part="persona"/>
11948                                                                                 <clip pos="4" side="tl" part="nbr"/>
11949                                                                                 <clip pos="4" side="tl" part="lemq"/>
11950                                                                         </lu>
11951                                                                 </out>
11952                                                         </when>
11953                                                         <otherwise>
11954                                                                 <choose>
11955                                                                         <when>
11956                                                                                 <test>
11957                                                                                         <equal>
11958                                                                                                 <clip pos="4" side="sl" part="temps"/>
11959                                                                                                 <lit-tag v="pmp"/>
11960                                                                                         </equal>
11961                                                                                 </test>
11962                                                                                 <out>
11963                                                                                         <lu>
11964                                                                                                 <lit v="haber"/>
11965                                                                                                 <lit-tag v="vbhaver.ifi"/>
11966                                                                                                 <clip pos="4" side="tl" part="persona"/>
11967                                                                                                 <clip pos="4" side="tl" part="nbr"/>
11968                                                                                         </lu>
11969                                                                                         <b/>
11970                                                                                         <lu>
11971                                                                                                 <clip pos="4" side="tl" part="lemh"/>
11972                                                                                                 <clip pos="4" side="tl" part="a_verb"/>
11973                                                                                                 <lit-tag v="pp.m.sg"/>
11974                                                                                                 <clip pos="4" side="tl" part="lemq"/>
11975                                                                                         </lu>
11976                                                                                 </out>
11977                                                                         </when>
11978                                                                         <otherwise>
11979                                                                                 <out>
11980                                                                                         <lu>
11981                                                                                                 <clip pos="4" side="tl" part="lemh"/>
11982                                                                                                 <clip pos="4" side="tl" part="a_verb"/>
11983                                                                                                 <clip pos="4" side="tl" part="temps"/>
11984                                                                                                 <clip pos="4" side="tl" part="persona"/>
11985                                                                                                 <clip pos="4" side="tl" part="nbr"/>
11986                                                                                                 <clip pos="4" side="tl" part="lemq"/>
11987                                                                                         </lu>
11988                                                                                 </out>
11989                                                                         </otherwise>
11990                                                                 </choose>
11991                                                         </otherwise>
11992                                                 </choose>
11993                                         </otherwise>
11994                                 </choose>
11995                                 <out>
11996                                         <b pos="4"/>
11997                                         <lu>
11998                                                 <clip pos="5" side="tl" part="whole"/>
11999                                         </lu>
12000                                 </out>
12001                         </action>
12002                 </rule>
12003                 <rule>
12004                         <!--REGLA 33: det nom pred adv adj (sense enclítics)-->
12005                         <pattern>
12006                                 <pattern-item n="det"/>
12007                                 <pattern-item n="nom"/>
12008                                 <pattern-item n="pred"/>
12009                                 <pattern-item n="adv"/>
12010                                 <pattern-item n="adjec"/>
12011                         </pattern>
12012                         <action>
12013                                 <call-macro n="f_concord3">
12014                                         <with-param pos="2"/>
12015                                         <with-param pos="5"/>
12016                                         <with-param pos="1"/>
12017                                 </call-macro>
12018                                 <call-macro n="f_comparativa">
12019                                         <with-param pos="4"/>
12020                                 </call-macro>
12021                                 <call-macro n="f_comparativa">
12022                                         <with-param pos="5"/>
12023                                 </call-macro>
12024                                 <call-macro n="f_lexicadv">
12025                                         <with-param pos="4"/>
12026                                         <with-param pos="5"/>
12027                                 </call-macro>
12028                                 <out>
12029                                         <lu>
12030                                                 <clip pos="1" side="tl" part="whole"/>
12031                                         </lu>
12032                                         <b pos="1"/>
12033                                         <lu>
12034                                                 <clip pos="2" side="tl" part="whole"/>
12035                                         </lu>
12036                                         <b pos="2"/>
12037                                 </out>
12038                                 <choose>
12039                                         <when>
12040                                                 <test>
12041                                                         <or>
12042                                                                 <equal>
12043                                                                         <clip pos="3" side="sl" part="temps"/>
12044                                                                         <lit-tag v="infps"/>
12045                                                                 </equal>
12046                                                                 <equal>
12047                                                                         <clip pos="3" side="sl" part="temps"/>
12048                                                                         <lit-tag v="fts"/>
12049                                                                 </equal>
12050                                                         </or>
12051                                                 </test>
12052                                                 <out>
12053                                                         <lu>
12054                                                                 <clip pos="3" side="tl" part="lemh"/>
12055                                                                 <clip pos="3" side="tl" part="a_verb"/>
12056                                                                 <lit-tag v="prs"/>
12057                                                                 <clip pos="3" side="tl" part="persona"/>
12058                                                                 <clip pos="3" side="tl" part="nbr"/>
12059                                                                 <clip pos="3" side="tl" part="lemq"/>
12060                                                         </lu>
12061                                                 </out>
12062                                         </when>
12063                                         <otherwise>
12064                                                 <choose>
12065                                                         <when>
12066                                                                 <test>
12067                                                                         <equal>
12068                                                                                 <clip pos="3" side="sl" part="temps"/>
12069                                                                                 <lit-tag v="pmp"/>
12070                                                                         </equal>
12071                                                                 </test>
12072                                                                 <out>
12073                                                                         <lu>
12074                                                                                 <get-case-from pos="3">
12075                                                                                         <lit v="haber"/>
12076                                                                                 </get-case-from>
12077                                                                                 <lit-tag v="vbhaver.ifi"/>
12078                                                                                 <clip pos="3" side="tl" part="persona"/>
12079                                                                                 <clip pos="3" side="tl" part="nbr"/>
12080                                                                         </lu>
12081                                                                         <b/>
12082                                                                         <lu>
12083                                                                                 <clip pos="3" side="tl" part="lemh"/>
12084                                                                                 <clip pos="3" side="tl" part="a_verb"/>
12085                                                                                 <lit-tag v="pp.m.sg"/>
12086                                                                                 <clip pos="3" side="tl" part="lemq"/>
12087                                                                         </lu>
12088                                                                 </out>
12089                                                         </when>
12090                                                         <otherwise>
12091                                                                 <out>
12092                                                                         <lu>
12093                                                                                 <clip pos="3" side="tl" part="lemh"/>
12094                                                                                 <clip pos="3" side="tl" part="a_verb"/>
12095                                                                                 <clip pos="3" side="tl" part="temps"/>
12096                                                                                 <clip pos="3" side="tl" part="persona"/>
12097                                                                                 <clip pos="3" side="tl" part="nbr"/>
12098                                                                                 <clip pos="3" side="tl" part="lemq"/>
12099                                                                         </lu>
12100                                                                 </out>
12101                                                         </otherwise>
12102                                                 </choose>
12103                                         </otherwise>
12104                                 </choose>
12105                                 <out>
12106                                         <b pos="3"/>
12107                                         <lu>
12108                                                 <clip pos="4" side="tl" part="whole"/>
12109                                         </lu>
12110                                         <b pos="4"/>
12111                                         <lu>
12112                                                 <clip pos="5" side="tl" part="whole"/>
12113                                         </lu>
12114                                 </out>
12115                         </action>
12116                 </rule>
12117                 <rule>
12118                         <!--REGLA 34: det nom pred-enc adv adjec -->
12119                         <pattern>
12120                                 <pattern-item n="det"/>
12121                                 <pattern-item n="nom"/>
12122                                 <pattern-item n="pred"/>
12123                                 <pattern-item n="prnenc"/>
12124                                 <pattern-item n="adv"/>
12125                                 <pattern-item n="adjec"/>
12126                         </pattern>
12127                         <action>
12128                                 <call-macro n="f_concord3">
12129                                         <with-param pos="2"/>
12130                                         <with-param pos="6"/>
12131                                         <with-param pos="1"/>
12132                                 </call-macro>
12133                                 <call-macro n="f_comparativa">
12134                                         <with-param pos="5"/>
12135                                 </call-macro>
12136                                 <call-macro n="f_comparativa">
12137                                         <with-param pos="6"/>
12138                                 </call-macro>
12139                                 <call-macro n="f_lexicadv">
12140                                         <with-param pos="5"/>
12141                                         <with-param pos="6"/>
12142                                 </call-macro>
12143                                 <out>
12144                                         <lu>
12145                                                 <clip pos="1" side="tl" part="whole"/>
12146                                         </lu>
12147                                         <b pos="1"/>
12148                                         <lu>
12149                                                 <clip pos="2" side="tl" part="whole"/>
12150                                         </lu>
12151                                         <b pos="2"/>
12152                                 </out>
12153                                 <choose>
12154                                         <when>
12155                                                 <test>
12156                                                         <or>
12157                                                                 <equal>
12158                                                                         <clip pos="3" side="sl" part="temps"/>
12159                                                                         <lit-tag v="inf"/>
12160                                                                 </equal>
12161                                                                 <equal>
12162                                                                         <clip pos="3" side="sl" part="temps"/>
12163                                                                         <lit-tag v="ger"/>
12164                                                                 </equal>
12165                                                                 <equal>
12166                                                                         <clip pos="3" side="sl" part="temps"/>
12167                                                                         <lit-tag v="imp"/>
12168                                                                 </equal>
12169                                                         </or>
12170                                                 </test>
12171                                                 <out>
12172                                                         <mlu>
12173                                                                 <lu>
12174                                                                         <clip pos="3" side="tl" part="lemh"/>
12175                                                                         <clip pos="3" side="tl" part="a_verb"/>
12176                                                                         <clip pos="3" side="tl" part="temps"/>
12177                                                                         <clip pos="3" side="tl" part="persona"/>
12178                                                                         <clip pos="3" side="tl" part="nbr"/>
12179                                                                 </lu>
12180                                                                 <lu>
12181                                                                         <clip pos="4" side="tl" part="lem"/>
12182                                                                         <clip pos="4" side="tl" part="a_prnenc"/>
12183                                                                         <clip pos="4" side="tl" part="persona"/>
12184                                                                         <clip pos="4" side="tl" part="gen"/>
12185                                                                         <clip pos="4" side="tl" part="nbr"/>
12186                                                                         <clip pos="3" side="tl" part="lemq"/>
12187                                                                 </lu>
12188                                                         </mlu>
12189                                                 </out>
12190                                                 <call-macro n="f_bcond">
12191                                                         <with-param pos="3"/>
12192                                                 </call-macro>
12193                                         </when>
12194                                         <otherwise>
12195                                                 <out>
12196                                                         <lu>
12197                                                                 <clip pos="4" side="tl" part="lem"/>
12198                                                                 <lit-tag v="prn.pro"/>
12199                                                                 <clip pos="4" side="tl" part="tipoenc_pro"/>
12200                                                         </lu>
12201                                                         <b pos="3"/>
12202                                                 </out>
12203                                                 <choose>
12204                                                         <when>
12205                                                                 <test>
12206                                                                         <or>
12207                                                                                 <equal>
12208                                                                                         <clip pos="3" side="sl" part="temps"/>
12209                                                                                         <lit-tag v="infps"/>
12210                                                                                 </equal>
12211                                                                                 <equal>
12212                                                                                         <clip pos="3" side="sl" part="temps"/>
12213                                                                                         <lit-tag v="fts"/>
12214                                                                                 </equal>
12215                                                                         </or>
12216                                                                 </test>
12217                                                                 <out>
12218                                                                         <lu>
12219                                                                                 <clip pos="3" side="tl" part="lemh"/>
12220                                                                                 <clip pos="3" side="tl" part="a_verb"/>
12221                                                                                 <lit-tag v="prs"/>
12222                                                                                 <clip pos="3" side="tl" part="persona"/>
12223                                                                                 <clip pos="3" side="tl" part="nbr"/>
12224                                                                                 <clip pos="3" side="tl" part="lemq"/>
12225                                                                         </lu>
12226                                                                 </out>
12227                                                         </when>
12228                                                         <otherwise>
12229                                                                 <choose>
12230                                                                         <when>
12231                                                                                 <test>
12232                                                                                         <equal>
12233                                                                                                 <clip pos="3" side="sl" part="temps"/>
12234                                                                                                 <lit-tag v="pmp"/>
12235                                                                                         </equal>
12236                                                                                 </test>
12237                                                                                 <out>
12238                                                                                         <lu>
12239                                                                                                 <lit v="haber"/>
12240                                                                                                 <lit-tag v="vbhaver.ifi"/>
12241                                                                                                 <clip pos="3" side="tl" part="persona"/>
12242                                                                                                 <clip pos="3" side="tl" part="nbr"/>
12243                                                                                         </lu>
12244                                                                                         <b/>
12245                                                                                         <lu>
12246                                                                                                 <clip pos="3" side="tl" part="lemh"/>
12247                                                                                                 <clip pos="3" side="tl" part="a_verb"/>
12248                                                                                                 <lit-tag v="pp.m.sg"/>
12249                                                                                                 <clip pos="3" side="tl" part="lemq"/>
12250                                                                                         </lu>
12251                                                                                 </out>
12252                                                                         </when>
12253                                                                         <otherwise>
12254                                                                                 <out>
12255                                                                                         <lu>
12256                                                                                                 <clip pos="3" side="tl" part="lemh"/>
12257                                                                                                 <clip pos="3" side="tl" part="a_verb"/>
12258                                                                                                 <clip pos="3" side="tl" part="temps"/>
12259                                                                                                 <clip pos="3" side="tl" part="persona"/>
12260                                                                                                 <clip pos="3" side="tl" part="nbr"/>
12261                                                                                                 <clip pos="3" side="tl" part="lemq"/>
12262                                                                                         </lu>
12263                                                                                 </out>
12264                                                                         </otherwise>
12265                                                                 </choose>
12266                                                         </otherwise>
12267                                                 </choose>
12268                                         </otherwise>
12269                                 </choose>
12270                                 <out>
12271                                         <b pos="4"/>
12272                                         <lu>
12273                                                 <clip pos="5" side="tl" part="whole"/>
12274                                         </lu>
12275                                         <b pos="5"/>
12276                                         <lu>
12277                                                 <clip pos="6" side="tl" part="whole"/>
12278                                         </lu>
12279                                 </out>
12280                         </action>
12281                 </rule>
12282                 <rule>
12283                         <!--REGLA 35: det nom prnpro pred adv adjec -->
12284                         <pattern>
12285                                 <pattern-item n="det"/>
12286                                 <pattern-item n="nom"/>
12287                                 <pattern-item n="prnpro"/>
12288                                 <pattern-item n="pred"/>
12289                                 <pattern-item n="adv"/>
12290                                 <pattern-item n="adjec"/>
12291                         </pattern>
12292                         <action>
12293                                 <call-macro n="f_concord3">
12294                                         <with-param pos="2"/>
12295                                         <with-param pos="6"/>
12296                                         <with-param pos="1"/>
12297                                 </call-macro>
12298                                 <call-macro n="f_comparativa">
12299                                         <with-param pos="5"/>
12300                                 </call-macro>
12301                                 <call-macro n="f_comparativa">
12302                                         <with-param pos="6"/>
12303                                 </call-macro>
12304                                 <call-macro n="f_lexicadv">
12305                                         <with-param pos="5"/>
12306                                         <with-param pos="6"/>
12307                                 </call-macro>
12308                                 <out>
12309                                         <lu>
12310                                                 <clip pos="1" side="tl" part="whole"/>
12311                                         </lu>
12312                                         <b pos="1"/>
12313                                         <lu>
12314                                                 <clip pos="2" side="tl" part="whole"/>
12315                                         </lu>
12316                                         <b pos="2"/>
12317                                 </out>
12318                                 <choose>
12319                                         <when>
12320                                                 <test>
12321                                                         <or>
12322                                                                 <equal>
12323                                                                         <clip pos="4" side="sl" part="temps"/>
12324                                                                         <lit-tag v="inf"/>
12325                                                                 </equal>
12326                                                                 <equal>
12327                                                                         <clip pos="4" side="sl" part="temps"/>
12328                                                                         <lit-tag v="ger"/>
12329                                                                 </equal>
12330                                                                 <equal>
12331                                                                         <clip pos="4" side="sl" part="temps"/>
12332                                                                         <lit-tag v="imp"/>
12333                                                                 </equal>
12334                                                         </or>
12335                                                 </test>
12336                                                 <out>
12337                                                         <mlu>
12338                                                                 <lu>
12339                                                                         <get-case-from pos="3">
12340                                                                                 <clip pos="4" side="tl" part="lemh"/>
12341                                                                         </get-case-from>
12342                                                                         <clip pos="4" side="tl" part="a_verb"/>
12343                                                                         <clip pos="4" side="tl" part="temps"/>
12344                                                                         <clip pos="4" side="tl" part="persona"/>
12345                                                                         <clip pos="4" side="tl" part="nbr"/>
12346                                                                 </lu>
12347                                                                 <lu>
12348                                                                         <get-case-from pos="4">
12349                                                                                 <clip pos="3" side="tl" part="lem"/>
12350                                                                         </get-case-from>
12351                                                                         <lit-tag v="prn.enc"/>
12352                                                                         <clip pos="3" side="tl" part="tipoenc_pro"/>
12353                                                                         <clip pos="4" side="tl" part="lemq"/>
12354                                                                 </lu>
12355                                                         </mlu>
12356                                                 </out>
12357                                                 <call-macro n="f_bcond">
12358                                                         <with-param pos="3"/>
12359                                                 </call-macro>
12360                                         </when>
12361                                         <otherwise>
12362                                                 <out>
12363                                                         <lu>
12364                                                                 <get-case-from pos="3">
12365                                                                         <clip pos="3" side="tl" part="lem"/>
12366                                                                 </get-case-from>
12367                                                                 <lit-tag v="prn.pro"/>
12368                                                                 <clip pos="3" side="tl" part="tipoenc_pro"/>
12369                                                         </lu>
12370                                                         <b pos="3"/>
12371                                                 </out>
12372                                                 <choose>
12373                                                         <when>
12374                                                                 <test>
12375                                                                         <or>
12376                                                                                 <equal>
12377                                                                                         <clip pos="4" side="sl" part="temps"/>
12378                                                                                         <lit-tag v="infps"/>
12379                                                                                 </equal>
12380                                                                                 <equal>
12381                                                                                         <clip pos="4" side="sl" part="temps"/>
12382                                                                                         <lit-tag v="fts"/>
12383                                                                                 </equal>
12384                                                                         </or>
12385                                                                 </test>
12386                                                                 <out>
12387                                                                         <lu>
12388                                                                                 <clip pos="4" side="tl" part="lemh"/>
12389                                                                                 <clip pos="4" side="tl" part="a_verb"/>
12390                                                                                 <lit-tag v="prs"/>
12391                                                                                 <clip pos="4" side="tl" part="persona"/>
12392                                                                                 <clip pos="4" side="tl" part="nbr"/>
12393                                                                                 <clip pos="4" side="tl" part="lemq"/>
12394                                                                         </lu>
12395                                                                 </out>
12396                                                         </when>
12397                                                         <otherwise>
12398                                                                 <choose>
12399                                                                         <when>
12400                                                                                 <test>
12401                                                                                         <equal>
12402                                                                                                 <clip pos="4" side="sl" part="temps"/>
12403                                                                                                 <lit-tag v="pmp"/>
12404                                                                                         </equal>
12405                                                                                 </test>
12406                                                                                 <out>
12407                                                                                         <lu>
12408                                                                                                 <lit v="haber"/>
12409                                                                                                 <lit-tag v="vbhaver.ifi"/>
12410                                                                                                 <clip pos="4" side="tl" part="persona"/>
12411                                                                                                 <clip pos="4" side="tl" part="nbr"/>
12412                                                                                         </lu>
12413                                                                                         <b/>
12414                                                                                         <lu>
12415                                                                                                 <clip pos="4" side="tl" part="lemh"/>
12416                                                                                                 <clip pos="4" side="tl" part="a_verb"/>
12417                                                                                                 <lit-tag v="pp.m.sg"/>
12418                                                                                                 <clip pos="4" side="tl" part="lemq"/>
12419                                                                                         </lu>
12420                                                                                 </out>
12421                                                                         </when>
12422                                                                         <otherwise>
12423                                                                                 <out>
12424                                                                                         <lu>
12425                                                                                                 <clip pos="4" side="tl" part="lemh"/>
12426                                                                                                 <clip pos="4" side="tl" part="a_verb"/>
12427                                                                                                 <clip pos="4" side="tl" part="temps"/>
12428                                                                                                 <clip pos="4" side="tl" part="persona"/>
12429                                                                                                 <clip pos="4" side="tl" part="nbr"/>
12430                                                                                                 <clip pos="4" side="tl" part="lemq"/>
12431                                                                                         </lu>
12432                                                                                 </out>
12433                                                                         </otherwise>
12434                                                                 </choose>
12435                                                         </otherwise>
12436                                                 </choose>
12437                                         </otherwise>
12438                                 </choose>
12439                                 <out>
12440                                         <b pos="4"/>
12441                                         <lu>
12442                                                 <clip pos="5" side="tl" part="whole"/>
12443                                         </lu>
12444                                         <b pos="5"/>
12445                                         <lu>
12446                                                 <clip pos="6" side="tl" part="whole"/>
12447                                         </lu>
12448                                 </out>
12449                         </action>
12450                 </rule>
12451                 <!-- REGLES DE NOM DE TEMPS -->
12452                 <rule>
12453                         <!--REGLA 43: no domingo -> el domingo -->
12454                         <pattern>
12455                                 <pattern-item n="em"/>
12456                                 <pattern-item n="det"/>
12457                                 <pattern-item n="nomtempo"/>
12458                         </pattern>
12459                         <action>
12460                                 <call-macro n="f_concord2">
12461                                         <with-param pos="3"/>
12462                                         <with-param pos="2"/>
12463                                 </call-macro>
12464                                 <call-macro n="f_bcond">
12465                                         <with-param pos="1"/>
12466                                 </call-macro>
12467                                 <out>
12468                                         <lu>
12469                                                 <get-case-from pos="1">
12470                                                         <clip pos="2" side="tl" part="lem"/>
12471                                                 </get-case-from>
12472                                                 <clip pos="2" side="tl" part="a_det"/>
12473                                                 <clip pos="2" side="tl" part="gen"/>
12474                                                 <clip pos="2" side="tl" part="nbr"/>
12475                                         </lu>
12476                                         <b pos="2"/>
12477                                         <lu>
12478                                                 <clip pos="3" side="tl" part="whole"/>
12479                                         </lu>
12480                                 </out>
12481                         </action>
12482                 </rule>
12483                 <rule>
12484                         <!--REGLA 44: na passada sexta-feira -> el pasado viernes -->
12485                         <pattern>
12486                                 <pattern-item n="em"/>
12487                                 <pattern-item n="det"/>
12488                                 <pattern-item n="adjec"/>
12489                                 <pattern-item n="nomtempo"/>
12490                         </pattern>
12491                         <action>
12492                                 <call-macro n="f_concord3">
12493                                         <with-param pos="4"/>
12494                                         <with-param pos="2"/>
12495                                         <with-param pos="3"/>
12496                                 </call-macro>
12497                                 <call-macro n="f_comparativa">
12498                                         <with-param pos="3"/>
12499                                 </call-macro>
12500                                 <call-macro n="f_lexicadj">
12501                                         <with-param pos="3"/>
12502                                         <with-param pos="4"/>
12503                                 </call-macro>
12504                                 <call-macro n="f_bcond">
12505                                         <with-param pos="1"/>
12506                                 </call-macro>
12507                                 <out>
12508                                         <lu>
12509                                                 <get-case-from pos="1">
12510                                                         <clip pos="2" side="tl" part="lem"/>
12511                                                 </get-case-from>
12512                                                 <clip pos="2" side="tl" part="a_det"/>
12513                                                 <clip pos="2" side="tl" part="gen"/>
12514                                                 <clip pos="2" side="tl" part="nbr"/>
12515                                         </lu>
12516                                         <b pos="2"/>
12517                                         <lu>
12518                                                 <clip pos="3" side="tl" part="whole"/>
12519                                         </lu>
12520                                         <b pos="3"/>
12521                                         <lu>
12522                                                 <clip pos="4" side="tl" part="whole"/>
12523                                         </lu>
12524                                 </out>
12525                         </action>
12526                 </rule>
12527                 <rule>
12528                         <!--REGLA 45: na sexta-feira passada -> el viernes pasado -->
12529                         <pattern>
12530                                 <pattern-item n="em"/>
12531                                 <pattern-item n="det"/>
12532                                 <pattern-item n="nomtempo"/>
12533                                 <pattern-item n="adjec"/>
12534                         </pattern>
12535                         <action>
12536                                 <call-macro n="f_concord3">
12537                                         <with-param pos="3"/>
12538                                         <with-param pos="2"/>
12539                                         <with-param pos="4"/>
12540                                 </call-macro>
12541                                 <call-macro n="f_comparativa">
12542                                         <with-param pos="4"/>
12543                                 </call-macro>
12544                                 <call-macro n="f_bcond">
12545                                         <with-param pos="1"/>
12546                                 </call-macro>
12547                                 <out>
12548                                         <lu>
12549                                                 <get-case-from pos="1">
12550                                                         <clip pos="2" side="tl" part="lem"/>
12551                                                 </get-case-from>
12552                                                 <clip pos="2" side="tl" part="a_det"/>
12553                                                 <clip pos="2" side="tl" part="gen"/>
12554                                                 <clip pos="2" side="tl" part="nbr"/>
12555                                         </lu>
12556                                         <b pos="2"/>
12557                                         <lu>
12558                                                 <clip pos="3" side="tl" part="whole"/>
12559                                         </lu>
12560                                         <b pos="3"/>
12561                                         <lu>
12562                                                 <clip pos="4" side="tl" part="whole"/>
12563                                         </lu>
12564                                 </out>
12565                         </action>
12566                 </rule>
12567                 <!-- há => hace (en els altres casos tradueix per "hay") -->
12568                 <rule>
12569                         <!--REGLA: há dias-> hace días-->
12570                         <pattern>
12571                                 <pattern-item n="ha"/>
12572                                 <pattern-item n="nomtempo"/>
12573                         </pattern>
12574                         <action>
12575                                 <call-macro n="f_concord1">
12576                                         <with-param pos="2"/>
12577                                 </call-macro>
12578                                 <out>
12579                                         <lu>
12580                                                 <get-case-from pos="1">
12581                                                         <lit v="hacer"/>
12582                                                 </get-case-from>
12583                                                 <clip pos="1" side="tl" part="a_verb"/>
12584                                                 <clip pos="1" side="tl" part="temps"/>
12585                                                 <clip pos="1" side="tl" part="persona"/>
12586                                                 <clip pos="1" side="tl" part="nbr"/>
12587                                         </lu>
12588                                         <b pos="1"/>
12589                                         <lu>
12590                                                 <clip pos="2" side="tl" part="whole"/>
12591                                         </lu>
12592                                 </out>
12593                         </action>
12594                 </rule>
12595                 <rule>
12596                         <!--REGLA: há três dias-> hace tres días-->
12597                         <pattern>
12598                                 <pattern-item n="ha"/>
12599                                 <pattern-item n="num"/>
12600                                 <pattern-item n="nomtempo"/>
12601                         </pattern>
12602                         <action>
12603                                 <call-macro n="f_concord1">
12604                                         <with-param pos="2"/>
12605                                 </call-macro>
12606                                 <out>
12607                                         <lu>
12608                                                 <get-case-from pos="1">
12609                                                         <lit v="hacer"/>
12610                                                 </get-case-from>
12611                                                 <clip pos="1" side="tl" part="a_verb"/>
12612                                                 <clip pos="1" side="tl" part="temps"/>
12613                                                 <clip pos="1" side="tl" part="persona"/>
12614                                                 <clip pos="1" side="tl" part="nbr"/>
12615                                         </lu>
12616                                         <b pos="1"/>
12617                                         <lu>
12618                                                 <clip pos="2" side="tl" part="whole"/>
12619                                         </lu>
12620                                         <b pos="2"/>
12621                                         <lu>
12622                                                 <clip pos="3" side="tl" part="whole"/>
12623                                         </lu>
12624                                 </out>
12625                         </action>
12626                 </rule>
12627                 <rule>
12628                         <!--REGLA: há vários dias-> hace varios días-->
12629                         <pattern>
12630                                 <pattern-item n="ha"/>
12631                                 <pattern-item n="det"/>
12632                                 <pattern-item n="nomtempo"/>
12633                         </pattern>
12634                         <action>
12635                                 <call-macro n="f_concord1">
12636                                         <with-param pos="2"/>
12637                                 </call-macro>
12638                                 <out>
12639                                         <lu>
12640                                                 <get-case-from pos="1">
12641                                                         <lit v="hacer"/>
12642                                                 </get-case-from>
12643                                                 <clip pos="1" side="tl" part="a_verb"/>
12644                                                 <clip pos="1" side="tl" part="temps"/>
12645                                                 <clip pos="1" side="tl" part="persona"/>
12646                                                 <clip pos="1" side="tl" part="nbr"/>
12647                                         </lu>
12648                                         <b pos="1"/>
12649                                         <lu>
12650                                                 <clip pos="2" side="tl" part="whole"/>
12651                                         </lu>
12652                                         <b pos="2"/>
12653                                         <lu>
12654                                                 <clip pos="3" side="tl" part="whole"/>
12655                                         </lu>
12656                                 </out>
12657                         </action>
12658                 </rule>
12659                 <rule>
12660                         <!--REGLA: há máis dias-> hace más días-->
12661                         <pattern>
12662                                 <pattern-item n="ha"/>
12663                                 <pattern-item n="adv"/>
12664                                 <pattern-item n="nomtempo"/>
12665                         </pattern>
12666                         <action>
12667                                 <call-macro n="f_concord1">
12668                                         <with-param pos="2"/>
12669                                 </call-macro>
12670                                 <out>
12671                                         <lu>
12672                                                 <get-case-from pos="1">
12673                                                         <lit v="hacer"/>
12674                                                 </get-case-from>
12675                                                 <clip pos="1" side="tl" part="a_verb"/>
12676                                                 <clip pos="1" side="tl" part="temps"/>
12677                                                 <clip pos="1" side="tl" part="persona"/>
12678                                                 <clip pos="1" side="tl" part="nbr"/>
12679                                         </lu>
12680                                         <b pos="1"/>
12681                                         <lu>
12682                                                 <clip pos="2" side="tl" part="whole"/>
12683                                         </lu>
12684                                         <b pos="2"/>
12685                                         <lu>
12686                                                 <clip pos="3" side="tl" part="whole"/>
12687                                         </lu>
12688                                 </out>
12689                         </action>
12690                 </rule>
12691                 <rule>
12692                         <!--REGLA: há máis de três dias-> hace más de tres días-->
12693                         <pattern>
12694                                 <pattern-item n="ha"/>
12695                                 <pattern-item n="adv"/>
12696                                 <pattern-item n="de"/>
12697                                 <pattern-item n="num"/>
12698                                 <pattern-item n="nomtempo"/>
12699                         </pattern>
12700                         <action>
12701                                 <call-macro n="f_concord1">
12702                                         <with-param pos="2"/>
12703                                 </call-macro>
12704                                 <out>
12705                                         <lu>
12706                                                 <get-case-from pos="1">
12707                                                         <lit v="hacer"/>
12708                                                 </get-case-from>
12709                                                 <clip pos="1" side="tl" part="a_verb"/>
12710                                                 <clip pos="1" side="tl" part="temps"/>
12711                                                 <clip pos="1" side="tl" part="persona"/>
12712                                                 <clip pos="1" side="tl" part="nbr"/>
12713                                         </lu>
12714                                         <b pos="1"/>
12715                                         <lu>
12716                                                 <clip pos="2" side="tl" part="whole"/>
12717                                         </lu>
12718                                         <b pos="2"/>
12719                                         <lu>
12720                                                 <clip pos="3" side="tl" part="whole"/>
12721                                         </lu>
12722                                         <b pos="3"/>
12723                                         <lu>
12724                                                 <clip pos="4" side="tl" part="whole"/>
12725                                         </lu>
12726                                         <b pos="4"/>
12727                                         <lu>
12728                                                 <clip pos="5" side="tl" part="whole"/>
12729                                         </lu>
12730                                 </out>
12731                         </action>
12732                 </rule>
12733                 <rule>
12734                         <!--REGLA: até há-> hasta hace-->
12735                         <pattern>
12736                                 <pattern-item n="ate"/>
12737                                 <pattern-item n="ha"/>
12738                         </pattern>
12739                         <action>
12740                                 <call-macro n="f_comparativa">
12741                                         <with-param pos="1"/>
12742                                 </call-macro>
12743                                 <out>
12744                                         <lu>
12745                                                 <clip pos="1" side="tl" part="whole"/>
12746                                         </lu>
12747                                         <b pos="1"/>
12748                                         <lu>
12749                                                 <lit v="hacer"/>
12750                                                 <clip pos="2" side="tl" part="a_verb"/>
12751                                                 <clip pos="2" side="tl" part="temps"/>
12752                                                 <clip pos="2" side="tl" part="persona"/>
12753                                                 <clip pos="2" side="tl" part="nbr"/>
12754                                         </lu>
12755                                 </out>
12756                         </action>
12757                 </rule>
12758                 <rule>
12759                         <!--REGLA: canta há...-> canta hace...-->
12760                         <pattern>
12761                                 <pattern-item n="verb"/>
12762                                 <pattern-item n="ha"/>
12763                         </pattern>
12764                         <action>
12765                                 <call-macro n="f_comparativa">
12766                                         <with-param pos="1"/>
12767                                 </call-macro>
12768                                 <choose>
12769                                         <when>
12770                                                 <test>
12771                                                         <or>
12772                                                                 <equal>
12773                                                                         <clip pos="1" side="sl" part="temps"/>
12774                                                                         <lit-tag v="infps"/>
12775                                                                 </equal>
12776                                                                 <equal>
12777                                                                         <clip pos="1" side="sl" part="temps"/>
12778                                                                         <lit-tag v="fts"/>
12779                                                                 </equal>
12780                                                         </or>
12781                                                 </test>
12782                                                 <out>
12783                                                         <lu>
12784                                                                 <clip pos="1" side="tl" part="lemh"/>
12785                                                                 <clip pos="1" side="tl" part="a_verb"/>
12786                                                                 <lit-tag v="prs"/>
12787                                                                 <clip pos="1" side="tl" part="persona"/>
12788                                                                 <clip pos="1" side="tl" part="nbr"/>
12789                                                                 <clip pos="1" side="tl" part="lemq"/>
12790                                                         </lu>
12791                                                 </out>
12792                                         </when>
12793                                         <otherwise>
12794                                                 <choose>
12795                                                         <when>
12796                                                                 <test>
12797                                                                         <equal>
12798                                                                                 <clip pos="1" side="sl" part="temps"/>
12799                                                                                 <lit-tag v="pmp"/>
12800                                                                         </equal>
12801                                                                 </test>
12802                                                                 <out>
12803                                                                         <lu>
12804                                                                                 <get-case-from pos="1">
12805                                                                                         <lit v="haber"/>
12806                                                                                 </get-case-from>
12807                                                                                 <lit-tag v="vbhaver.ifi"/>
12808                                                                                 <clip pos="1" side="tl" part="persona"/>
12809                                                                                 <clip pos="1" side="tl" part="nbr"/>
12810                                                                         </lu>
12811                                                                         <b/>
12812                                                                         <lu>
12813                                                                                 <clip pos="1" side="tl" part="lemh"/>
12814                                                                                 <clip pos="1" side="tl" part="a_verb"/>
12815                                                                                 <lit-tag v="pp.m.sg"/>
12816                                                                                 <clip pos="1" side="tl" part="lemq"/>
12817                                                                         </lu>
12818                                                                 </out>
12819                                                         </when>
12820                                                         <otherwise>
12821                                                                 <out>
12822                                                                         <lu>
12823                                                                                 <clip pos="1" side="tl" part="lemh"/>
12824                                                                                 <clip pos="1" side="tl" part="a_verb"/>
12825                                                                                 <clip pos="1" side="tl" part="temps"/>
12826                                                                                 <clip pos="1" side="tl" part="persona"/>
12827                                                                                 <clip pos="1" side="tl" part="gen"/>
12828                                                                                 <clip pos="1" side="tl" part="nbr"/>
12829                                                                                 <clip pos="1" side="tl" part="lemq"/>
12830                                                                         </lu>
12831                                                                 </out>
12832                                                         </otherwise>
12833                                                 </choose>
12834                                         </otherwise>
12835                                 </choose>
12836                                 <out>
12837                                         <b pos="1"/>
12838                                         <lu>
12839                                                 <lit v="hacer"/>
12840                                                 <clip pos="2" side="tl" part="a_verb"/>
12841                                                 <clip pos="2" side="tl" part="temps"/>
12842                                                 <clip pos="2" side="tl" part="persona"/>
12843                                                 <clip pos="2" side="tl" part="nbr"/>
12844                                         </lu>
12845                                 </out>
12846                         </action>
12847                 </rule>
12848                 <!-- ALTRES -->
12849                 <rule>
12850                         <!-- REGLA 46: reset variables-->
12851                         <pattern>
12852                                 <pattern-item n="sent"/>
12853                         </pattern>
12854                         <action>
12855                                 <let>
12856                                         <var n="comparativa"/>
12857                                         <lit v="false"/>
12858                                 </let>
12859                                 <let>
12860                                         <var n="numero"/>
12861                                         <lit-tag v="sg"/>
12862                                 </let>
12863                                 <let>
12864                                         <var n="genero"/>
12865                                         <lit-tag v="m"/>
12866                                 </let>
12867                                 <out>
12868                                         <lu>
12869                                                 <clip pos="1" side="tl" part="whole"/>
12870                                         </lu>
12871                                 </out>
12872                         </action>
12873                 </rule>
12874                 <rule>
12875                         <!-- REGLA 47: do que comparatiu > que -->
12876                         <pattern>
12877                                 <pattern-item n="de"/>
12878                                 <pattern-item n="detnt"/>
12879                                 <pattern-item n="querel"/>
12880                         </pattern>
12881                         <action>
12882                                 <choose>
12883                                         <when>
12884                                                 <test>
12885                                                         <equal>
12886                                                                 <var n="comparativa"/>
12887                                                                 <lit v="true"/>
12888                                                         </equal>
12889                                                 </test>
12890                                                 <out>
12891                                                         <lu>
12892                                                                 <clip pos="3" side="tl" part="whole"/>
12893                                                         </lu>
12894                                                 </out>
12895                                                 <call-macro n="f_bcond">
12896                                                         <with-param pos="2"/>
12897                                                 </call-macro>
12898                                         </when>
12899                                         <otherwise>
12900                                                 <out>
12901                                                         <lu>
12902                                                                 <clip pos="1" side="tl" part="whole"/>
12903                                                         </lu>
12904                                                         <b pos="1"/>
12905                                                         <lu>
12906                                                                 <clip pos="2" side="tl" part="whole"/>
12907                                                         </lu>
12908                                                         <b pos="2"/>
12909                                                         <lu>
12910                                                                 <clip pos="3" side="tl" part="whole"/>
12911                                                         </lu>
12912                                                 </out>
12913                                         </otherwise>
12914                                 </choose>
12915                         </action>
12916                 </rule>
12917                 <!--    REGLES AMB NUMERALS      -->
12918                 <rule>
12919                         <!--REGLA : de X% -> del X%-->
12920                         <pattern>
12921                                 <pattern-item n="de"/>
12922                                 <pattern-item n="percent"/>
12923                         </pattern>
12924                         <action>
12925                                 <out>
12926                                         <lu>
12927                                                 <clip pos="1" side="tl" part="whole"/>
12928                                         </lu>
12929                                         <b/>
12930                                         <lu>
12931                                                 <lit v="el"/>
12932                                                 <lit-tag v="det.def.m.sg"/>
12933                                         </lu>
12934                                         <b pos="1"/>
12935                                         <lu>
12936                                                 <clip pos="2" side="tl" part="whole"/>
12937                                         </lu>
12938                                 </out>
12939                         </action>
12940                 </rule>
12941                 <rule>
12942                         <!-- REGLA: num más/menos num -->
12943                         <pattern>
12944                                 <pattern-item n="num"/>
12945                                 <pattern-item n="mas_menos"/>
12946                                 <pattern-item n="num"/>
12947                         </pattern>
12948                         <action>
12949                                 <call-macro n="f_concord1">
12950                                         <with-param pos="1"/>
12951                                 </call-macro>
12952                                 <call-macro n="f_comparativa">
12953                                         <with-param pos="2"/>
12954                                 </call-macro>
12955                                 <call-macro n="f_concord1">
12956                                         <with-param pos="3"/>
12957                                 </call-macro>
12958                                 <out>
12959                                         <lu>
12960                                                 <clip pos="1" side="tl" part="lem"/>
12961                                                 <clip pos="1" side="tl" part="a_num"/>
12962                                                 <clip pos="1" side="tl" part="gen"/>
12963                                                 <clip pos="1" side="tl" part="nbr"/>
12964                                         </lu>
12965                                         <b pos="1"/>
12966                                         <lu>
12967                                                 <clip pos="2" side="tl" part="whole"/>
12968                                         </lu>
12969                                         <b pos="2"/>
12970                                         <lu>
12971                                                 <clip pos="3" side="tl" part="lem"/>
12972                                                 <clip pos="3" side="tl" part="a_num"/>
12973                                                 <clip pos="3" side="tl" part="gen"/>
12974                                                 <clip pos="3" side="tl" part="nbr"/>
12975                                         </lu>
12976                                 </out>
12977                         </action>
12978                 </rule>
12979                 <rule>
12980                         <!-- REGLA: mais/menos num -->
12981                         <pattern>
12982                                 <pattern-item n="mas_menos"/>
12983                                 <pattern-item n="num"/>
12984                         </pattern>
12985                         <action>
12986                                 <call-macro n="f_concord1">
12987                                         <with-param pos="2"/>
12988                                 </call-macro>
12989                                 <call-macro n="f_comparativa">
12990                                         <with-param pos="1"/>
12991                                 </call-macro>
12992                                 <out>
12993                                         <lu>
12994                                                 <get-case-from pos="1">
12995                                                         <clip pos="2" side="tl" part="lem"/>
12996                                                 </get-case-from>
12997                                                 <clip pos="2" side="tl" part="a_num"/>
12998                                                 <clip pos="2" side="tl" part="gen"/>
12999                                                 <clip pos="2" side="tl" part="nbr"/>
13000                                         </lu>
13001                                         <b pos="1"/>
13002                                         <lu>
13003                                                 <get-case-from pos="2">
13004                                                         <clip pos="1" side="tl" part="lem"/>
13005                                                 </get-case-from>
13006                                                 <clip pos="1" side="tl" part="a_adv"/>
13007                                         </lu>
13008                                 </out>
13009                         </action>
13010                 </rule>
13011                 <rule>
13012                         <!-- REGLA: mais/menos num t-nom-->
13013                         <pattern>
13014                                 <pattern-item n="mas_menos"/>
13015                                 <pattern-item n="num"/>
13016                                 <pattern-item n="tnom"/>
13017                         </pattern>
13018                         <action>
13019                                 <call-macro n="f_concord2">
13020                                         <with-param pos="3"/>
13021                                         <with-param pos="2"/>
13022                                 </call-macro>
13023                                 <call-macro n="f_comparativa">
13024                                         <with-param pos="1"/>
13025                                 </call-macro>
13026                                 <out>
13027                                         <lu>
13028                                                 <get-case-from pos="1">
13029                                                         <clip pos="2" side="tl" part="lem"/>
13030                                                 </get-case-from>
13031                                                 <clip pos="2" side="tl" part="a_num"/>
13032                                                 <clip pos="2" side="tl" part="gen"/>
13033                                                 <clip pos="2" side="tl" part="nbr"/>
13034                                         </lu>
13035                                         <b pos="1"/>
13036                                         <lu>
13037                                                 <clip pos="3" side="tl" part="lemh"/>
13038                                                 <clip pos="3" side="tl" part="a_tnom"/>
13039                                                 <clip pos="3" side="tl" part="gen"/>
13040                                                 <clip pos="3" side="tl" part="nbr"/>
13041                                                 <clip pos="3" side="tl" part="lemq"/>
13042                                         </lu>
13043                                         <b pos="2"/>
13044                                         <lu>
13045                                                 <get-case-from pos="3">
13046                                                         <clip pos="1" side="tl" part="lem"/>
13047                                                 </get-case-from>
13048                                                 <clip pos="1" side="tl" part="a_adv"/>
13049                                         </lu>
13050                                 </out>
13051                         </action>
13052                 </rule>
13053                 <rule>
13054                         <!-- REGLA: mais/menos num nom adj-->
13055                         <pattern>
13056                                 <pattern-item n="mas_menos"/>
13057                                 <pattern-item n="num"/>
13058                                 <pattern-item n="nom"/>
13059                                 <pattern-item n="adj"/>
13060                         </pattern>
13061                         <action>
13062                                 <call-macro n="f_comparativa">
13063                                         <with-param pos="1"/>
13064                                 </call-macro>
13065                                 <call-macro n="f_concord3">
13066                                         <with-param pos="3"/>
13067                                         <with-param pos="4"/>
13068                                         <with-param pos="2"/>
13069                                 </call-macro>
13070                                 <out>
13071                                         <lu>
13072                                                 <get-case-from pos="1">
13073                                                         <clip pos="2" side="tl" part="lem"/>
13074                                                 </get-case-from>
13075                                                 <clip pos="2" side="tl" part="a_num"/>
13076                                                 <clip pos="2" side="tl" part="gen"/>
13077                                                 <clip pos="2" side="tl" part="nbr"/>
13078                                         </lu>
13079                                         <b pos="1"/>
13080                                         <lu>
13081                                                 <clip pos="3" side="tl" part="whole"/>
13082                                         </lu>
13083                                         <b pos="2"/>
13084                                         <lu>
13085                                                 <clip pos="4" side="tl" part="whole"/>
13086                                         </lu>
13087                                         <b pos="3"/>
13088                                         <lu>
13089                                                 <get-case-from pos="4">
13090                                                         <clip pos="1" side="tl" part="lem"/>
13091                                                 </get-case-from>
13092                                                 <clip pos="1" side="tl" part="a_adv"/>
13093                                         </lu>
13094                                 </out>
13095                         </action>
13096                 </rule>
13097                 <rule>
13098                         <!-- REGLA: mais/menos num adj nom-->
13099                         <pattern>
13100                                 <pattern-item n="mas_menos"/>
13101                                 <pattern-item n="num"/>
13102                                 <pattern-item n="adj"/>
13103                                 <pattern-item n="nom"/>
13104                         </pattern>
13105                         <action>
13106                                 <call-macro n="f_concord3">
13107                                         <with-param pos="4"/>
13108                                         <with-param pos="3"/>
13109                                         <with-param pos="2"/>
13110                                 </call-macro>
13111                                 <call-macro n="f_comparativa">
13112                                         <with-param pos="1"/>
13113                                 </call-macro>
13114                                 <call-macro n="f_lexicadj">
13115                                         <with-param pos="3"/>
13116                                         <with-param pos="4"/>
13117                                 </call-macro>
13118                                 <out>
13119                                         <lu>
13120                                                 <get-case-from pos="1">
13121                                                         <clip pos="2" side="tl" part="lem"/>
13122                                                 </get-case-from>
13123                                                 <clip pos="2" side="tl" part="a_num"/>
13124                                                 <clip pos="2" side="tl" part="gen"/>
13125                                                 <clip pos="2" side="tl" part="nbr"/>
13126                                         </lu>
13127                                         <b pos="1"/>
13128                                         <lu>
13129                                                 <clip pos="3" side="tl" part="whole"/>
13130                                         </lu>
13131                                         <b pos="2"/>
13132                                         <lu>
13133                                                 <clip pos="4" side="tl" part="whole"/>
13134                                         </lu>
13135                                         <b pos="3"/>
13136                                         <lu>
13137                                                 <get-case-from pos="4">
13138                                                         <clip pos="1" side="tl" part="lem"/>
13139                                                 </get-case-from>
13140                                                 <clip pos="1" side="tl" part="a_adv"/>
13141                                         </lu>
13142                                 </out>
13143                         </action>
13144                 </rule>
13145                 <rule>
13146                         <!-- REGLA: mais/menos num nom adv adj-->
13147                         <pattern>
13148                                 <pattern-item n="mas_menos"/>
13149                                 <pattern-item n="num"/>
13150                                 <pattern-item n="nom"/>
13151                                 <pattern-item n="adv"/>
13152                                 <pattern-item n="adj"/>
13153                         </pattern>
13154                         <action>
13155                                 <call-macro n="f_concord3">
13156                                         <with-param pos="3"/>
13157                                         <with-param pos="2"/>
13158                                         <with-param pos="5"/>
13159                                 </call-macro>
13160                                 <call-macro n="f_comparativa">
13161                                         <with-param pos="1"/>
13162                                 </call-macro>
13163                                 <call-macro n="f_comparativa">
13164                                         <with-param pos="4"/>
13165                                 </call-macro>
13166                                 <out>
13167                                         <lu>
13168                                                 <get-case-from pos="1">
13169                                                         <clip pos="2" side="tl" part="lem"/>
13170                                                 </get-case-from>
13171                                                 <clip pos="2" side="tl" part="a_num"/>
13172                                                 <clip pos="2" side="tl" part="gen"/>
13173                                                 <clip pos="2" side="tl" part="nbr"/>
13174                                         </lu>
13175                                         <b pos="1"/>
13176                                         <lu>
13177                                                 <clip pos="3" side="tl" part="whole"/>
13178                                         </lu>
13179                                         <b pos="2"/>
13180                                         <lu>
13181                                                 <clip pos="4" side="tl" part="whole"/>
13182                                         </lu>
13183                                         <b pos="3"/>
13184                                         <lu>
13185                                                 <clip pos="5" side="tl" part="whole"/>
13186                                         </lu>
13187                                         <b pos="4"/>
13188                                         <lu>
13189                                                 <get-case-from pos="5">
13190                                                         <clip pos="1" side="tl" part="lem"/>
13191                                                 </get-case-from>
13192                                                 <clip pos="1" side="tl" part="a_adv"/>
13193                                         </lu>
13194                                 </out>
13195                         </action>
13196                 </rule>
13197                 <!-- el milió de regles per "gostar"     -->
13198                 <rule>
13199                         <!-- REGLA: gostar de NUMERAL-->
13200                         <pattern>
13201                                 <pattern-item n="gostar"/>
13202                                 <pattern-item n="de"/>
13203                                 <pattern-item n="num"/>
13204                         </pattern>
13205                         <action>
13206                                 <call-macro n="f_concord1">
13207                                         <with-param pos="3"/>
13208                                 </call-macro>
13209                                 <choose>
13210                                         <when>
13211                                                 <test>
13212                                                         <or>
13213                                                                 <equal>
13214                                                                         <clip pos="1" side="sl" part="temps"/>
13215                                                                         <lit-tag v="imp"/>
13216                                                                 </equal>
13217                                                                 <equal>
13218                                                                         <clip pos="1" side="sl" part="temps"/>
13219                                                                         <lit-tag v="ger"/>
13220                                                                 </equal>
13221                                                                 <equal>
13222                                                                         <clip pos="1" side="sl" part="temps"/>
13223                                                                         <lit-tag v="inf"/>
13224                                                                 </equal>
13225                                                                 <equal>
13226                                                                         <clip pos="1" side="sl" part="temps"/>
13227                                                                         <lit-tag v="pmp"/>
13228                                                                 </equal>
13229                                                         </or>
13230                                                 </test>
13231                                                 <call-macro n="gostarenc">
13232                                                         <with-param pos="1"/>
13233                                                         <with-param pos="3"/>
13234                                                 </call-macro>
13235                                                 <out>
13236                                                         <b pos="1"/>
13237                                                 </out>
13238                                                 <call-macro n="f_bcond">
13239                                                         <with-param pos="2"/>
13240                                                 </call-macro>
13241                                         </when>
13242                                         <otherwise>
13243                                                 <call-macro n="prn_gostar">
13244                                                         <with-param pos="1"/>
13245                                                 </call-macro>
13246                                                 <out>
13247                                                         <b pos="1"/>
13248                                                 </out>
13249                                                 <choose>
13250                                                         <when>
13251                                                                 <test>
13252                                                                         <equal>
13253                                                                                 <clip pos="3" side="sl" part="nbr"/>
13254                                                                                 <lit-tag v="sp"/>
13255                                                                         </equal>
13256                                                                 </test>
13257                                                                 <out>
13258                                                                         <lu>
13259                                                                                 <get-case-from pos="2">
13260                                                                                         <clip pos="1" side="tl" part="lemh"/>
13261                                                                                 </get-case-from>
13262                                                                                 <clip pos="1" side="tl" part="a_verb"/>
13263                                                                                 <clip pos="1" side="tl" part="temps"/>
13264                                                                                 <lit-tag v="p3"/>
13265                                                                                 <clip pos="1" side="tl" part="gen"/>
13266                                                                                 <lit-tag v="pl"/>
13267                                                                         </lu>
13268                                                                 </out>
13269                                                         </when>
13270                                                         <otherwise>
13271                                                                 <out>
13272                                                                         <lu>
13273                                                                                 <get-case-from pos="2">
13274                                                                                         <clip pos="1" side="tl" part="lemh"/>
13275                                                                                 </get-case-from>
13276                                                                                 <clip pos="1" side="tl" part="a_verb"/>
13277                                                                                 <clip pos="1" side="tl" part="temps"/>
13278                                                                                 <lit-tag v="p3"/>
13279                                                                                 <clip pos="1" side="tl" part="gen"/>
13280                                                                                 <clip pos="3" side="tl" part="nbr"/>
13281                                                                         </lu>
13282                                                                         <b pos="2"/>
13283                                                                 </out>
13284                                                         </otherwise>
13285                                                 </choose>
13286                                         </otherwise>
13287                                 </choose>
13288                                 <out>
13289                                         <lu>
13290                                                 <clip pos="3" side="tl" part="whole"/>
13291                                         </lu>
13292                                 </out>
13293                         </action>
13294                 </rule>
13295                 <rule>
13296                         <!-- REGLA 8: gostar de T-NOM -->
13297                         <pattern>
13298                                 <pattern-item n="gostar"/>
13299                                 <pattern-item n="de"/>
13300                                 <pattern-item n="tnom"/>
13301                         </pattern>
13302                         <action>
13303                                 <call-macro n="f_concord1">
13304                                         <with-param pos="3"/>
13305                                 </call-macro>
13306                                 <choose>
13307                                         <when>
13308                                                 <test>
13309                                                         <or>
13310                                                                 <equal>
13311                                                                         <clip pos="1" side="sl" part="temps"/>
13312                                                                         <lit-tag v="imp"/>
13313                                                                 </equal>
13314                                                                 <equal>
13315                                                                         <clip pos="1" side="sl" part="temps"/>
13316                                                                         <lit-tag v="ger"/>
13317                                                                 </equal>
13318                                                                 <equal>
13319                                                                         <clip pos="1" side="sl" part="temps"/>
13320                                                                         <lit-tag v="inf"/>
13321                                                                 </equal>
13322                                                                 <equal>
13323                                                                         <clip pos="1" side="sl" part="temps"/>
13324                                                                         <lit-tag v="pmp"/>
13325                                                                 </equal>
13326                                                         </or>
13327                                                 </test>
13328                                                 <call-macro n="gostarenc">
13329                                                         <with-param pos="1"/>
13330                                                         <with-param pos="3"/>
13331                                                 </call-macro>
13332                                                 <out>
13333                                                         <b pos="1"/>
13334                                                 </out>
13335                                                 <call-macro n="f_bcond">
13336                                                         <with-param pos="2"/>
13337                                                 </call-macro>
13338                                         </when>
13339                                         <otherwise>
13340                                                 <call-macro n="prn_gostar">
13341                                                         <with-param pos="1"/>
13342                                                 </call-macro>
13343                                                 <out>
13344                                                         <b pos="1"/>
13345                                                         <lu>
13346                                                                 <get-case-from pos="2">
13347                                                                         <clip pos="1" side="tl" part="lemh"/>
13348                                                                 </get-case-from>
13349                                                                 <clip pos="1" side="tl" part="a_verb"/>
13350                                                                 <clip pos="1" side="tl" part="temps"/>
13351                                                                 <lit-tag v="p3"/>
13352                                                                 <clip pos="1" side="tl" part="gen"/>
13353                                                                 <clip pos="3" side="tl" part="nbr"/>
13354                                                         </lu>
13355                                                         <b pos="2"/>
13356                                                 </out>
13357                                         </otherwise>
13358                                 </choose>
13359                                 <out>
13360                                         <lu>
13361                                                 <clip pos="3" side="tl" part="lemh"/>
13362                                                 <clip pos="3" side="tl" part="a_tnom"/>
13363                                                 <clip pos="3" side="tl" part="gen"/>
13364                                                 <clip pos="3" side="tl" part="nbr"/>
13365                                                 <clip pos="3" side="tl" part="lemq"/>
13366                                         </lu>
13367                                 </out>
13368                         </action>
13369                 </rule>
13370                 <rule>
13371                         <!-- REGLA 10: gostar de PRONOM -->
13372                         <pattern>
13373                                 <pattern-item n="gostar"/>
13374                                 <pattern-item n="de"/>
13375                                 <pattern-item n="prn"/>
13376                         </pattern>
13377                         <action>
13378                                 <call-macro n="f_infps">
13379                                         <with-param pos="1"/>
13380                                 </call-macro>
13381                                 <choose>
13382                                         <when>
13383                                                 <test>
13384                                                         <equal>
13385                                                                 <clip pos="3" side="tl" part="gen"/>
13386                                                                 <lit-tag v="GD"/>
13387                                                         </equal>
13388                                                 </test>
13389                                                 <let>
13390                                                         <clip pos="3" side="tl" part="gen"/>
13391                                                         <lit-tag v="m"/>
13392                                                 </let>
13393                                         </when>
13394                                         <when>
13395                                                 <test>
13396                                                         <equal>
13397                                                                 <clip pos="3" side="tl" part="nbr"/>
13398                                                                 <lit-tag v="ND"/>
13399                                                         </equal>
13400                                                 </test>
13401                                                 <let>
13402                                                         <clip pos="3" side="tl" part="nbr"/>
13403                                                         <lit-tag v="sg"/>
13404                                                 </let>
13405                                         </when>
13406                                 </choose>
13407                                 <call-macro n="prn_gostar">
13408                                         <with-param pos="1"/>
13409                                 </call-macro>
13410                                 <choose>
13411                                         <when>
13412                                                 <test>
13413                                                         <or>
13414                                                                 <equal>
13415                                                                         <clip pos="3" side="sl" part="persona"/>
13416                                                                         <lit-tag v="p1"/>
13417                                                                 </equal>
13418                                                                 <equal>
13419                                                                         <clip pos="3" side="sl" part="persona"/>
13420                                                                         <lit-tag v="p2"/>
13421                                                                 </equal>
13422                                                                 <equal>
13423                                                                         <clip pos="3" side="sl" part="lem"/>
13424                                                                         <lit v="ele"/>
13425                                                                 </equal>
13426                                                         </or>
13427                                                 </test>
13428                                                 <out>
13429                                                         <b pos="1"/>
13430                                                         <lu>
13431                                                                 <get-case-from pos="2">
13432                                                                         <clip pos="1" side="tl" part="lemh"/>
13433                                                                 </get-case-from>
13434                                                                 <clip pos="1" side="tl" part="a_verb"/>
13435                                                                 <clip pos="1" side="tl" part="temps"/>
13436                                                                 <clip pos="3" side="tl" part="persona"/>
13437                                                                 <clip pos="1" side="tl" part="gen"/>
13438                                                                 <clip pos="3" side="tl" part="nbr"/>
13439                                                         </lu>
13440                                                 </out>
13441                                                 <call-macro n="f_bcond">
13442                                                         <with-param pos="2"/>
13443                                                 </call-macro>
13444                                         </when>
13445                                         <otherwise>
13446                                                 <choose>
13447                                                         <when>
13448                                                                 <test>
13449                                                                         <equal>
13450                                                                                 <clip pos="3" side="sl" part="nbr"/>
13451                                                                                 <lit-tag v="pl"/>
13452                                                                         </equal>
13453                                                                 </test>
13454                                                                 <out>
13455                                                                         <b pos="1"/>
13456                                                                         <lu>
13457                                                                                 <get-case-from pos="2">
13458                                                                                         <clip pos="1" side="tl" part="lemh"/>
13459                                                                                 </get-case-from>
13460                                                                                 <clip pos="1" side="tl" part="a_verb"/>
13461                                                                                 <clip pos="1" side="tl" part="temps"/>
13462                                                                                 <lit-tag v="p3"/>
13463                                                                                 <clip pos="1" side="tl" part="gen"/>
13464                                                                                 <lit-tag v="pl"/>
13465                                                                         </lu>
13466                                                                 </out>
13467                                                         </when>
13468                                                         <otherwise>
13469                                                                 <out>
13470                                                                         <b pos="1"/>
13471                                                                         <lu>
13472                                                                                 <get-case-from pos="2">
13473                                                                                         <clip pos="1" side="tl" part="lemh"/>
13474                                                                                 </get-case-from>
13475                                                                                 <clip pos="1" side="tl" part="a_verb"/>
13476                                                                                 <clip pos="1" side="tl" part="temps"/>
13477                                                                                 <lit-tag v="p3"/>
13478                                                                                 <clip pos="1" side="tl" part="gen"/>
13479                                                                                 <lit-tag v="sg"/>
13480                                                                         </lu>
13481                                                                 </out>
13482                                                         </otherwise>
13483                                                 </choose>
13484                                                 <out>
13485                                                         <b pos="2"/>
13486                                                         <lu>
13487                                                                 <clip pos="3" side="tl" part="whole"/>
13488                                                         </lu>
13489                                                 </out>
13490                                         </otherwise>
13491                                 </choose>
13492                         </action>
13493                 </rule>
13494                 <rule>
13495                         <!-- REGLA 11: gostar de DETERMINANT T-NOM -->
13496                         <pattern>
13497                                 <pattern-item n="gostar"/>
13498                                 <pattern-item n="de"/>
13499                                 <pattern-item n="det"/>
13500                                 <pattern-item n="tnom"/>
13501                         </pattern>
13502                         <action>
13503                                 <call-macro n="f_concord2">
13504                                         <with-param pos="4"/>
13505                                         <with-param pos="3"/>
13506                                 </call-macro>
13507                                 <choose>
13508                                         <when>
13509                                                 <test>
13510                                                         <or>
13511                                                                 <equal>
13512                                                                         <clip pos="1" side="sl" part="temps"/>
13513                                                                         <lit-tag v="imp"/>
13514                                                                 </equal>
13515                                                                 <equal>
13516                                                                         <clip pos="1" side="sl" part="temps"/>
13517                                                                         <lit-tag v="ger"/>
13518                                                                 </equal>
13519                                                                 <equal>
13520                                                                         <clip pos="1" side="sl" part="temps"/>
13521                                                                         <lit-tag v="inf"/>
13522                                                                 </equal>
13523                                                                 <equal>
13524                                                                         <clip pos="1" side="sl" part="temps"/>
13525                                                                         <lit-tag v="pmp"/>
13526                                                                 </equal>
13527                                                         </or>
13528                                                 </test>
13529                                                 <call-macro n="gostarenc">
13530                                                         <with-param pos="1"/>
13531                                                         <with-param pos="3"/>
13532                                                 </call-macro>
13533                                                 <out>
13534                                                         <b pos="1"/>
13535                                                 </out>
13536                                                 <call-macro n="f_bcond">
13537                                                         <with-param pos="2"/>
13538                                                 </call-macro>
13539                                         </when>
13540                                         <otherwise>
13541                                                 <call-macro n="f_infps">
13542                                                         <with-param pos="1"/>
13543                                                 </call-macro>
13544                                                 <call-macro n="prn_gostar">
13545                                                         <with-param pos="1"/>
13546                                                 </call-macro>
13547                                                 <out>
13548                                                         <b pos="1"/>
13549                                                         <lu>
13550                                                                 <get-case-from pos="2">
13551                                                                         <clip pos="1" side="tl" part="lemh"/>
13552                                                                 </get-case-from>
13553                                                                 <clip pos="1" side="tl" part="a_verb"/>
13554                                                                 <clip pos="1" side="tl" part="temps"/>
13555                                                                 <lit-tag v="p3"/>
13556                                                                 <clip pos="1" side="tl" part="gen"/>
13557                                                                 <clip pos="4" side="tl" part="nbr"/>
13558                                                         </lu>
13559                                                         <b pos="2"/>
13560                                                 </out>
13561                                         </otherwise>
13562                                 </choose>
13563                                 <out>
13564                                         <lu>
13565                                                 <clip pos="3" side="tl" part="whole"/>
13566                                         </lu>
13567                                         <b pos="3"/>
13568                                         <lu>
13569                                                 <clip pos="4" side="tl" part="lemh"/>
13570                                                 <clip pos="4" side="tl" part="a_tnom"/>
13571                                                 <clip pos="4" side="tl" part="gen"/>
13572                                                 <clip pos="4" side="tl" part="nbr"/>
13573                                                 <clip pos="4" side="tl" part="lemq"/>
13574                                         </lu>
13575                                 </out>
13576                         </action>
13577                 </rule>
13578                 <rule>
13579                         <!-- REGLA 12: gostar de NOM ADJECTIU-->
13580                         <pattern>
13581                                 <pattern-item n="gostar"/>
13582                                 <pattern-item n="de"/>
13583                                 <pattern-item n="nom"/>
13584                                 <pattern-item n="adjec"/>
13585                         </pattern>
13586                         <action>
13587                                 <call-macro n="f_infps">
13588                                         <with-param pos="1"/>
13589                                 </call-macro>
13590                                 <call-macro n="f_concord2">
13591                                         <with-param pos="3"/>
13592                                         <with-param pos="4"/>
13593                                 </call-macro>
13594                                 <call-macro n="f_comparativa">
13595                                         <with-param pos="4"/>
13596                                 </call-macro>
13597                                 <choose>
13598                                         <when>
13599                                                 <test>
13600                                                         <or>
13601                                                                 <equal>
13602                                                                         <clip pos="1" side="sl" part="temps"/>
13603                                                                         <lit-tag v="imp"/>
13604                                                                 </equal>
13605                                                                 <equal>
13606                                                                         <clip pos="1" side="sl" part="temps"/>
13607                                                                         <lit-tag v="ger"/>
13608                                                                 </equal>
13609                                                                 <equal>
13610                                                                         <clip pos="1" side="sl" part="temps"/>
13611                                                                         <lit-tag v="inf"/>
13612                                                                 </equal>
13613                                                                 <equal>
13614                                                                         <clip pos="1" side="sl" part="temps"/>
13615                                                                         <lit-tag v="pmp"/>
13616                                                                 </equal>
13617                                                         </or>
13618                                                 </test>
13619                                                 <call-macro n="gostarenc">
13620                                                         <with-param pos="1"/>
13621                                                         <with-param pos="3"/>
13622                                                 </call-macro>
13623                                                 <out>
13624                                                         <b pos="1"/>
13625                                                 </out>
13626                                                 <call-macro n="f_bcond">
13627                                                         <with-param pos="2"/>
13628                                                 </call-macro>
13629                                         </when>
13630                                         <otherwise>
13631                                                 <call-macro n="prn_gostar">
13632                                                         <with-param pos="1"/>
13633                                                 </call-macro>
13634                                                 <out>
13635                                                         <b pos="1"/>
13636                                                         <lu>
13637                                                                 <get-case-from pos="2">
13638                                                                         <clip pos="1" side="tl" part="lemh"/>
13639                                                                 </get-case-from>
13640                                                                 <clip pos="1" side="tl" part="a_verb"/>
13641                                                                 <clip pos="1" side="tl" part="temps"/>
13642                                                                 <lit-tag v="p3"/>
13643                                                                 <clip pos="1" side="tl" part="gen"/>
13644                                                                 <clip pos="3" side="tl" part="nbr"/>
13645                                                         </lu>
13646                                                         <b pos="2"/>
13647                                                 </out>
13648                                         </otherwise>
13649                                 </choose>
13650                                 <out>
13651                                         <lu>
13652                                                 <clip pos="3" side="tl" part="whole"/>
13653                                         </lu>
13654                                         <b pos="3"/>
13655                                         <lu>
13656                                                 <clip pos="4" side="tl" part="lemh"/>
13657                                                 <clip pos="4" side="tl" part="a_adjec"/>
13658                                                 <clip pos="4" side="tl" part="gen"/>
13659                                                 <clip pos="4" side="tl" part="nbr"/>
13660                                                 <clip pos="4" side="tl" part="lemq"/>
13661                                         </lu>
13662                                 </out>
13663                         </action>
13664                 </rule>
13665                 <rule>
13666                         <!-- REGLA 13: gostar de ADJECTIU NOM -->
13667                         <pattern>
13668                                 <pattern-item n="gostar"/>
13669                                 <pattern-item n="de"/>
13670                                 <pattern-item n="adj"/>
13671                                 <pattern-item n="nom"/>
13672                         </pattern>
13673                         <action>
13674                                 <call-macro n="f_infps">
13675                                         <with-param pos="1"/>
13676                                 </call-macro>
13677                                 <call-macro n="f_concord2">
13678                                         <with-param pos="4"/>
13679                                         <with-param pos="3"/>
13680                                 </call-macro>
13681                                 <call-macro n="f_comparativa">
13682                                         <with-param pos="3"/>
13683                                 </call-macro>
13684                                 <choose>
13685                                         <when>
13686                                                 <test>
13687                                                         <or>
13688                                                                 <equal>
13689                                                                         <clip pos="1" side="sl" part="temps"/>
13690                                                                         <lit-tag v="imp"/>
13691                                                                 </equal>
13692                                                                 <equal>
13693                                                                         <clip pos="1" side="sl" part="temps"/>
13694                                                                         <lit-tag v="ger"/>
13695                                                                 </equal>
13696                                                                 <equal>
13697                                                                         <clip pos="1" side="sl" part="temps"/>
13698                                                                         <lit-tag v="inf"/>
13699                                                                 </equal>
13700                                                                 <equal>
13701                                                                         <clip pos="1" side="sl" part="temps"/>
13702                                                                         <lit-tag v="pmp"/>
13703                                                                 </equal>
13704                                                         </or>
13705                                                 </test>
13706                                                 <call-macro n="gostarenc">
13707                                                         <with-param pos="1"/>
13708                                                         <with-param pos="4"/>
13709                                                 </call-macro>
13710                                                 <out>
13711                                                         <b pos="1"/>
13712                                                 </out>
13713                                                 <call-macro n="f_bcond">
13714                                                         <with-param pos="2"/>
13715                                                 </call-macro>
13716                                         </when>
13717                                         <otherwise>
13718                                                 <call-macro n="prn_gostar">
13719                                                         <with-param pos="1"/>
13720                                                 </call-macro>
13721                                                 <out>
13722                                                         <b pos="1"/>
13723                                                         <lu>
13724                                                                 <get-case-from pos="2">
13725                                                                         <clip pos="1" side="tl" part="lemh"/>
13726                                                                 </get-case-from>
13727                                                                 <clip pos="1" side="tl" part="a_verb"/>
13728                                                                 <clip pos="1" side="tl" part="temps"/>
13729                                                                 <lit-tag v="p3"/>
13730                                                                 <clip pos="1" side="tl" part="gen"/>
13731                                                                 <clip pos="4" side="tl" part="nbr"/>
13732                                                         </lu>
13733                                                         <b pos="2"/>
13734                                                 </out>
13735                                         </otherwise>
13736                                 </choose>
13737                                 <out>
13738                                         <lu>
13739                                                 <clip pos="3" side="tl" part="whole"/>
13740                                         </lu>
13741                                         <b pos="3"/>
13742                                         <lu>
13743                                                 <clip pos="4" side="tl" part="whole"/>
13744                                         </lu>
13745                                 </out>
13746                         </action>
13747                 </rule>
13748                 <rule>
13749                         <!-- REGLA 14: gostar de DET NOM ADJECTIU-->
13750                         <pattern>
13751                                 <pattern-item n="gostar"/>
13752                                 <pattern-item n="de"/>
13753                                 <pattern-item n="det"/>
13754                                 <pattern-item n="nom"/>
13755                                 <pattern-item n="adjec"/>
13756                         </pattern>
13757                         <action>
13758                                 <call-macro n="f_infps">
13759                                         <with-param pos="1"/>
13760                                 </call-macro>
13761                                 <call-macro n="f_concord3">
13762                                         <with-param pos="4"/>
13763                                         <with-param pos="5"/>
13764                                         <with-param pos="3"/>
13765                                 </call-macro>
13766                                 <call-macro n="f_comparativa">
13767                                         <with-param pos="5"/>
13768                                 </call-macro>
13769                                 <choose>
13770                                         <when>
13771                                                 <test>
13772                                                         <or>
13773                                                                 <equal>
13774                                                                         <clip pos="1" side="sl" part="temps"/>
13775                                                                         <lit-tag v="imp"/>
13776                                                                 </equal>
13777                                                                 <equal>
13778                                                                         <clip pos="1" side="sl" part="temps"/>
13779                                                                         <lit-tag v="ger"/>
13780                                                                 </equal>
13781                                                                 <equal>
13782                                                                         <clip pos="1" side="sl" part="temps"/>
13783                                                                         <lit-tag v="inf"/>
13784                                                                 </equal>
13785                                                                 <equal>
13786                                                                         <clip pos="1" side="sl" part="temps"/>
13787                                                                         <lit-tag v="pmp"/>
13788                                                                 </equal>
13789                                                         </or>
13790                                                 </test>
13791                                                 <call-macro n="gostarenc">
13792                                                         <with-param pos="1"/>
13793                                                         <with-param pos="3"/>
13794                                                 </call-macro>
13795                                                 <out>
13796                                                         <b pos="1"/>
13797                                                 </out>
13798                                                 <call-macro n="f_bcond">
13799                                                         <with-param pos="2"/>
13800                                                 </call-macro>
13801                                         </when>
13802                                         <otherwise>
13803                                                 <call-macro n="prn_gostar">
13804                                                         <with-param pos="1"/>
13805                                                 </call-macro>
13806                                                 <out>
13807                                                         <b pos="1"/>
13808                                                         <lu>
13809                                                                 <get-case-from pos="2">
13810                                                                         <clip pos="1" side="tl" part="lemh"/>
13811                                                                 </get-case-from>
13812                                                                 <clip pos="1" side="tl" part="a_verb"/>
13813                                                                 <clip pos="1" side="tl" part="temps"/>
13814                                                                 <lit-tag v="p3"/>
13815                                                                 <clip pos="1" side="tl" part="gen"/>
13816                                                                 <clip pos="4" side="tl" part="nbr"/>
13817                                                         </lu>
13818                                                         <b pos="2"/>
13819                                                 </out>
13820                                         </otherwise>
13821                                 </choose>
13822                                 <out>
13823                                         <lu>
13824                                                 <clip pos="3" side="tl" part="whole"/>
13825                                         </lu>
13826                                         <b pos="3"/>
13827                                         <lu>
13828                                                 <clip pos="4" side="tl" part="whole"/>
13829                                         </lu>
13830                                         <b pos="4"/>
13831                                         <lu>
13832                                                 <clip pos="5" side="tl" part="lemh"/>
13833                                                 <clip pos="5" side="tl" part="a_adjec"/>
13834                                                 <clip pos="5" side="tl" part="gen"/>
13835                                                 <clip pos="5" side="tl" part="nbr"/>
13836                                                 <clip pos="5" side="tl" part="lemq"/>
13837                                         </lu>
13838                                 </out>
13839                         </action>
13840                 </rule>
13841                 <rule>
13842                         <!-- REGLA 15: gostar de DET ADJECTIU NOM-->
13843                         <pattern>
13844                                 <pattern-item n="gostar"/>
13845                                 <pattern-item n="de"/>
13846                                 <pattern-item n="det"/>
13847                                 <pattern-item n="adjec"/>
13848                                 <pattern-item n="nom"/>
13849                         </pattern>
13850                         <action>
13851                                 <call-macro n="f_infps">
13852                                         <with-param pos="1"/>
13853                                 </call-macro>
13854                                 <call-macro n="f_concord3">
13855                                         <with-param pos="5"/>
13856                                         <with-param pos="4"/>
13857                                         <with-param pos="3"/>
13858                                 </call-macro>
13859                                 <call-macro n="f_comparativa">
13860                                         <with-param pos="4"/>
13861                                 </call-macro>
13862                                 <choose>
13863                                         <when>
13864                                                 <test>
13865                                                         <or>
13866                                                                 <equal>
13867                                                                         <clip pos="1" side="sl" part="temps"/>
13868                                                                         <lit-tag v="imp"/>
13869                                                                 </equal>
13870                                                                 <equal>
13871                                                                         <clip pos="1" side="sl" part="temps"/>
13872                                                                         <lit-tag v="ger"/>
13873                                                                 </equal>
13874                                                                 <equal>
13875                                                                         <clip pos="1" side="sl" part="temps"/>
13876                                                                         <lit-tag v="inf"/>
13877                                                                 </equal>
13878                                                                 <equal>
13879                                                                         <clip pos="1" side="sl" part="temps"/>
13880                                                                         <lit-tag v="pmp"/>
13881                                                                 </equal>
13882                                                         </or>
13883                                                 </test>
13884                                                 <call-macro n="gostarenc">
13885                                                         <with-param pos="1"/>
13886                                                         <with-param pos="5"/>
13887                                                 </call-macro>
13888                                                 <out>
13889                                                         <b pos="1"/>
13890                                                 </out>
13891                                                 <call-macro n="f_bcond">
13892                                                         <with-param pos="2"/>
13893                                                 </call-macro>
13894                                         </when>
13895                                         <otherwise>
13896                                                 <call-macro n="prn_gostar">
13897                                                         <with-param pos="1"/>
13898                                                 </call-macro>
13899                                                 <out>
13900                                                         <b pos="1"/>
13901                                                         <lu>
13902                                                                 <get-case-from pos="2">
13903                                                                         <clip pos="1" side="tl" part="lemh"/>
13904                                                                 </get-case-from>
13905                                                                 <clip pos="1" side="tl" part="a_verb"/>
13906                                                                 <clip pos="1" side="tl" part="temps"/>
13907                                                                 <lit-tag v="p3"/>
13908                                                                 <clip pos="1" side="tl" part="gen"/>
13909                                                                 <clip pos="5" side="tl" part="nbr"/>
13910                                                         </lu>
13911                                                         <b pos="2"/>
13912                                                 </out>
13913                                         </otherwise>
13914                                 </choose>
13915                                 <out>
13916                                         <lu>
13917                                                 <clip pos="3" side="tl" part="whole"/>
13918                                         </lu>
13919                                         <b pos="3"/>
13920                                         <lu>
13921                                                 <clip pos="4" side="tl" part="lemh"/>
13922                                                 <clip pos="4" side="tl" part="a_adjec"/>
13923                                                 <clip pos="4" side="tl" part="gen"/>
13924                                                 <clip pos="4" side="tl" part="nbr"/>
13925                                                 <clip pos="4" side="tl" part="lemq"/>
13926                                         </lu>
13927                                         <b pos="4"/>
13928                                         <lu>
13929                                                 <clip pos="5" side="tl" part="whole"/>
13930                                         </lu>
13931                                 </out>
13932                         </action>
13933                 </rule>
13934                 <rule>
13935                         <!-- REGLA 16: gostar de PREDET DET T-NOM-->
13936                         <pattern>
13937                                 <pattern-item n="gostar"/>
13938                                 <pattern-item n="de"/>
13939                                 <pattern-item n="predet"/>
13940                                 <pattern-item n="det"/>
13941                                 <pattern-item n="tnom"/>
13942                         </pattern>
13943                         <action>
13944                                 <call-macro n="f_infps">
13945                                         <with-param pos="1"/>
13946                                 </call-macro>
13947                                 <call-macro n="f_concord3">
13948                                         <with-param pos="5"/>
13949                                         <with-param pos="4"/>
13950                                         <with-param pos="3"/>
13951                                 </call-macro>
13952                                 <choose>
13953                                         <when>
13954                                                 <test>
13955                                                         <or>
13956                                                                 <equal>
13957                                                                         <clip pos="1" side="sl" part="temps"/>
13958                                                                         <lit-tag v="imp"/>
13959                                                                 </equal>
13960                                                                 <equal>
13961                                                                         <clip pos="1" side="sl" part="temps"/>
13962                                                                         <lit-tag v="ger"/>
13963                                                                 </equal>
13964                                                                 <equal>
13965                                                                         <clip pos="1" side="sl" part="temps"/>
13966                                                                         <lit-tag v="inf"/>
13967                                                                 </equal>
13968                                                                 <equal>
13969                                                                         <clip pos="1" side="sl" part="temps"/>
13970                                                                         <lit-tag v="pmp"/>
13971                                                                 </equal>
13972                                                         </or>
13973                                                 </test>
13974                                                 <call-macro n="gostarenc">
13975                                                         <with-param pos="1"/>
13976                                                         <with-param pos="5"/>
13977                                                 </call-macro>
13978                                                 <out>
13979                                                         <b pos="1"/>
13980                                                 </out>
13981                                                 <call-macro n="f_bcond">
13982                                                         <with-param pos="2"/>
13983                                                 </call-macro>
13984                                         </when>
13985                                         <otherwise>
13986                                                 <call-macro n="prn_gostar">
13987                                                         <with-param pos="1"/>
13988                                                 </call-macro>
13989                                                 <out>
13990                                                         <b pos="1"/>
13991                                                         <lu>
13992                                                                 <get-case-from pos="2">
13993                                                                         <clip pos="1" side="tl" part="lemh"/>
13994                                                                 </get-case-from>
13995                                                                 <clip pos="1" side="tl" part="a_verb"/>
13996                                                                 <clip pos="1" side="tl" part="temps"/>
13997                                                                 <lit-tag v="p3"/>
13998                                                                 <clip pos="1" side="tl" part="gen"/>
13999                                                                 <clip pos="5" side="tl" part="nbr"/>
14000                                                         </lu>
14001                                                         <b pos="2"/>
14002                                                 </out>
14003                                         </otherwise>
14004                                 </choose>
14005                                 <out>
14006                                         <lu>
14007                                                 <clip pos="3" side="tl" part="whole"/>
14008                                         </lu>
14009                                         <b pos="3"/>
14010                                         <lu>
14011                                                 <clip pos="4" side="tl" part="whole"/>
14012                                         </lu>
14013                                         <b pos="4"/>
14014                                         <lu>
14015                                                 <clip pos="5" side="tl" part="lemh"/>
14016                                                 <clip pos="5" side="tl" part="a_tnom"/>
14017                                                 <clip pos="5" side="tl" part="gen"/>
14018                                                 <clip pos="5" side="tl" part="nbr"/>
14019                                                 <clip pos="5" side="tl" part="lemq"/>
14020                                         </lu>
14021                                 </out>
14022                         </action>
14023                 </rule>
14024                 <rule>
14025                         <!-- REGLA 17: gostar de PREDET DET NOM ADJECTIU-->
14026                         <pattern>
14027                                 <pattern-item n="gostar"/>
14028                                 <pattern-item n="de"/>
14029                                 <pattern-item n="predet"/>
14030                                 <pattern-item n="det"/>
14031                                 <pattern-item n="nom"/>
14032                                 <pattern-item n="adjec"/>
14033                         </pattern>
14034                         <action>
14035                                 <call-macro n="f_infps">
14036                                         <with-param pos="1"/>
14037                                 </call-macro>
14038                                 <call-macro n="f_concord4">
14039                                         <with-param pos="5"/>
14040                                         <with-param pos="6"/>
14041                                         <with-param pos="4"/>
14042                                         <with-param pos="3"/>
14043                                 </call-macro>
14044                                 <call-macro n="f_comparativa">
14045                                         <with-param pos="6"/>
14046                                 </call-macro>
14047                                 <choose>
14048                                         <when>
14049                                                 <test>
14050                                                         <or>
14051                                                                 <equal>
14052                                                                         <clip pos="1" side="sl" part="temps"/>
14053                                                                         <lit-tag v="imp"/>
14054                                                                 </equal>
14055                                                                 <equal>
14056                                                                         <clip pos="1" side="sl" part="temps"/>
14057                                                                         <lit-tag v="ger"/>
14058                                                                 </equal>
14059                                                                 <equal>
14060                                                                         <clip pos="1" side="sl" part="temps"/>
14061                                                                         <lit-tag v="inf"/>
14062                                                                 </equal>
14063                                                                 <equal>
14064                                                                         <clip pos="1" side="sl" part="temps"/>
14065                                                                         <lit-tag v="pmp"/>
14066                                                                 </equal>
14067                                                         </or>
14068                                                 </test>
14069                                                 <call-macro n="gostarenc">
14070                                                         <with-param pos="1"/>
14071                                                         <with-param pos="5"/>
14072                                                 </call-macro>
14073                                                 <out>
14074                                                         <b pos="1"/>
14075                                                 </out>
14076                                                 <call-macro n="f_bcond">
14077                                                         <with-param pos="2"/>
14078                                                 </call-macro>
14079                                         </when>
14080                                         <otherwise>
14081                                                 <call-macro n="prn_gostar">
14082                                                         <with-param pos="1"/>
14083                                                 </call-macro>
14084                                                 <out>
14085                                                         <b pos="1"/>
14086                                                         <lu>
14087                                                                 <get-case-from pos="2">
14088                                                                         <clip pos="1" side="tl" part="lemh"/>
14089                                                                 </get-case-from>
14090                                                                 <clip pos="1" side="tl" part="a_verb"/>
14091                                                                 <clip pos="1" side="tl" part="temps"/>
14092                                                                 <lit-tag v="p3"/>
14093                                                                 <clip pos="1" side="tl" part="gen"/>
14094                                                                 <clip pos="5" side="tl" part="nbr"/>
14095                                                         </lu>
14096                                                         <b pos="2"/>
14097                                                 </out>
14098                                         </otherwise>
14099                                 </choose>
14100                                 <out>
14101                                         <lu>
14102                                                 <clip pos="3" side="tl" part="whole"/>
14103                                         </lu>
14104                                         <b pos="3"/>
14105                                         <lu>
14106                                                 <clip pos="4" side="tl" part="whole"/>
14107                                         </lu>
14108                                         <b pos="4"/>
14109                                         <lu>
14110                                                 <clip pos="5" side="tl" part="whole"/>
14111                                         </lu>
14112                                         <b pos="5"/>
14113                                         <lu>
14114                                                 <clip pos="6" side="tl" part="lemh"/>
14115                                                 <clip pos="6" side="tl" part="a_adjec"/>
14116                                                 <clip pos="6" side="tl" part="gen"/>
14117                                                 <clip pos="6" side="tl" part="nbr"/>
14118                                                 <clip pos="6" side="tl" part="lemq"/>
14119                                         </lu>
14120                                 </out>
14121                         </action>
14122                 </rule>
14123                 <rule>
14124                         <!-- REGLA 18: gostar de PREDETERMINANT T-NOM -->
14125                         <pattern>
14126                                 <pattern-item n="gostar"/>
14127                                 <pattern-item n="de"/>
14128                                 <pattern-item n="predet"/>
14129                                 <pattern-item n="tnom"/>
14130                         </pattern>
14131                         <action>
14132                                 <call-macro n="f_infps">
14133                                         <with-param pos="1"/>
14134                                 </call-macro>
14135                                 <call-macro n="f_concord2">
14136                                         <with-param pos="4"/>
14137                                         <with-param pos="3"/>
14138                                 </call-macro>
14139                                 <choose>
14140                                         <when>
14141                                                 <test>
14142                                                         <or>
14143                                                                 <equal>
14144                                                                         <clip pos="1" side="sl" part="temps"/>
14145                                                                         <lit-tag v="imp"/>
14146                                                                 </equal>
14147                                                                 <equal>
14148                                                                         <clip pos="1" side="sl" part="temps"/>
14149                                                                         <lit-tag v="ger"/>
14150                                                                 </equal>
14151                                                                 <equal>
14152                                                                         <clip pos="1" side="sl" part="temps"/>
14153                                                                         <lit-tag v="inf"/>
14154                                                                 </equal>
14155                                                                 <equal>
14156                                                                         <clip pos="1" side="sl" part="temps"/>
14157                                                                         <lit-tag v="pmp"/>
14158                                                                 </equal>
14159                                                         </or>
14160                                                 </test>
14161                                                 <call-macro n="gostarenc">
14162                                                         <with-param pos="1"/>
14163                                                         <with-param pos="4"/>
14164                                                 </call-macro>
14165                                                 <out>
14166                                                         <b pos="1"/>
14167                                                 </out>
14168                                                 <call-macro n="f_bcond">
14169                                                         <with-param pos="2"/>
14170                                                 </call-macro>
14171                                         </when>
14172                                         <otherwise>
14173                                                 <call-macro n="prn_gostar">
14174                                                         <with-param pos="1"/>
14175                                                 </call-macro>
14176                                                 <out>
14177                                                         <b pos="1"/>
14178                                                         <lu>
14179                                                                 <get-case-from pos="2">
14180                                                                         <clip pos="1" side="tl" part="lemh"/>
14181                                                                 </get-case-from>
14182                                                                 <clip pos="1" side="tl" part="a_verb"/>
14183                                                                 <clip pos="1" side="tl" part="temps"/>
14184                                                                 <lit-tag v="p3"/>
14185                                                                 <clip pos="1" side="tl" part="gen"/>
14186                                                                 <clip pos="4" side="tl" part="nbr"/>
14187                                                         </lu>
14188                                                         <b pos="2"/>
14189                                                 </out>
14190                                         </otherwise>
14191                                 </choose>
14192                                 <out>
14193                                         <lu>
14194                                                 <clip pos="3" side="tl" part="whole"/>
14195                                         </lu>
14196                                         <b pos="3"/>
14197                                         <lu>
14198                                                 <clip pos="4" side="tl" part="lemh"/>
14199                                                 <clip pos="4" side="tl" part="a_tnom"/>
14200                                                 <clip pos="4" side="tl" part="gen"/>
14201                                                 <clip pos="4" side="tl" part="nbr"/>
14202                                                 <clip pos="4" side="tl" part="lemq"/>
14203                                         </lu>
14204                                 </out>
14205                         </action>
14206                 </rule>
14207                 <rule>
14208                         <!-- REGLA 19: gostar de PREDETERMINANT NOM ADJECTIU -->
14209                         <pattern>
14210                                 <pattern-item n="gostar"/>
14211                                 <pattern-item n="de"/>
14212                                 <pattern-item n="predet"/>
14213                                 <pattern-item n="nom"/>
14214                                 <pattern-item n="adjec"/>
14215                         </pattern>
14216                         <action>
14217                                 <call-macro n="f_infps">
14218                                         <with-param pos="1"/>
14219                                 </call-macro>
14220                                 <call-macro n="f_concord3">
14221                                         <with-param pos="4"/>
14222                                         <with-param pos="5"/>
14223                                         <with-param pos="3"/>
14224                                 </call-macro>
14225                                 <choose>
14226                                         <when>
14227                                                 <test>
14228                                                         <or>
14229                                                                 <equal>
14230                                                                         <clip pos="1" side="sl" part="temps"/>
14231                                                                         <lit-tag v="imp"/>
14232                                                                 </equal>
14233                                                                 <equal>
14234                                                                         <clip pos="1" side="sl" part="temps"/>
14235                                                                         <lit-tag v="ger"/>
14236                                                                 </equal>
14237                                                                 <equal>
14238                                                                         <clip pos="1" side="sl" part="temps"/>
14239                                                                         <lit-tag v="inf"/>
14240                                                                 </equal>
14241                                                                 <equal>
14242                                                                         <clip pos="1" side="sl" part="temps"/>
14243                                                                         <lit-tag v="pmp"/>
14244                                                                 </equal>
14245                                                         </or>
14246                                                 </test>
14247                                                 <call-macro n="gostarenc">
14248                                                         <with-param pos="1"/>
14249                                                         <with-param pos="4"/>
14250                                                 </call-macro>
14251                                                 <out>
14252                                                         <b pos="1"/>
14253                                                 </out>
14254                                                 <call-macro n="f_bcond">
14255                                                         <with-param pos="2"/>
14256                                                 </call-macro>
14257                                         </when>
14258                                         <otherwise>
14259                                                 <call-macro n="prn_gostar">
14260                                                         <with-param pos="1"/>
14261                                                 </call-macro>
14262                                                 <out>
14263                                                         <b pos="1"/>
14264                                                         <lu>
14265                                                                 <get-case-from pos="2">
14266                                                                         <clip pos="1" side="tl" part="lemh"/>
14267                                                                 </get-case-from>
14268                                                                 <clip pos="1" side="tl" part="a_verb"/>
14269                                                                 <clip pos="1" side="tl" part="temps"/>
14270                                                                 <lit-tag v="p3"/>
14271                                                                 <clip pos="1" side="tl" part="gen"/>
14272                                                                 <clip pos="4" side="tl" part="nbr"/>
14273                                                         </lu>
14274                                                         <b pos="2"/>
14275                                                 </out>
14276                                         </otherwise>
14277                                 </choose>
14278                                 <out>
14279                                         <lu>
14280                                                 <clip pos="3" side="tl" part="whole"/>
14281                                         </lu>
14282                                         <b pos="3"/>
14283                                         <lu>
14284                                                 <clip pos="4" side="tl" part="whole"/>
14285                                         </lu>
14286                                         <b pos="4"/>
14287                                         <lu>
14288                                                 <clip pos="5" side="tl" part="lemh"/>
14289                                                 <clip pos="5" side="tl" part="a_adjec"/>
14290                                                 <clip pos="5" side="tl" part="gen"/>
14291                                                 <clip pos="5" side="tl" part="nbr"/>
14292                                                 <clip pos="5" side="tl" part="lemq"/>
14293                                         </lu>
14294                                 </out>
14295                         </action>
14296                 </rule>
14297                 <rule>
14298                         <!-- REGLA 20: gostar de PREDETERMINANT ADJECTIU NOM -->
14299                         <pattern>
14300                                 <pattern-item n="gostar"/>
14301                                 <pattern-item n="de"/>
14302                                 <pattern-item n="predet"/>
14303                                 <pattern-item n="adjec"/>
14304                                 <pattern-item n="nom"/>
14305                         </pattern>
14306                         <action>
14307                                 <call-macro n="f_infps">
14308                                         <with-param pos="1"/>
14309                                 </call-macro>
14310                                 <call-macro n="f_concord3">
14311                                         <with-param pos="5"/>
14312                                         <with-param pos="4"/>
14313                                         <with-param pos="3"/>
14314                                 </call-macro>
14315                                 <choose>
14316                                         <when>
14317                                                 <test>
14318                                                         <or>
14319                                                                 <equal>
14320                                                                         <clip pos="1" side="sl" part="temps"/>
14321                                                                         <lit-tag v="imp"/>
14322                                                                 </equal>
14323                                                                 <equal>
14324                                                                         <clip pos="1" side="sl" part="temps"/>
14325                                                                         <lit-tag v="ger"/>
14326                                                                 </equal>
14327                                                                 <equal>
14328                                                                         <clip pos="1" side="sl" part="temps"/>
14329                                                                         <lit-tag v="inf"/>
14330                                                                 </equal>
14331                                                                 <equal>
14332                                                                         <clip pos="1" side="sl" part="temps"/>
14333                                                                         <lit-tag v="pmp"/>
14334                                                                 </equal>
14335                                                         </or>
14336                                                 </test>
14337                                                 <call-macro n="gostarenc">
14338                                                         <with-param pos="1"/>
14339                                                         <with-param pos="5"/>
14340                                                 </call-macro>
14341                                                 <out>
14342                                                         <b pos="1"/>
14343                                                 </out>
14344                                                 <call-macro n="f_bcond">
14345                                                         <with-param pos="2"/>
14346                                                 </call-macro>
14347                                         </when>
14348                                         <otherwise>
14349                                                 <call-macro n="prn_gostar">
14350                                                         <with-param pos="1"/>
14351                                                 </call-macro>
14352                                                 <out>
14353                                                         <b pos="1"/>
14354                                                         <lu>
14355                                                                 <get-case-from pos="2">
14356                                                                         <clip pos="1" side="tl" part="lemh"/>
14357                                                                 </get-case-from>
14358                                                                 <clip pos="1" side="tl" part="a_verb"/>
14359                                                                 <clip pos="1" side="tl" part="temps"/>
14360                                                                 <lit-tag v="p3"/>
14361                                                                 <clip pos="1" side="tl" part="gen"/>
14362                                                                 <clip pos="5" side="tl" part="nbr"/>
14363                                                         </lu>
14364                                                         <b pos="2"/>
14365                                                 </out>
14366                                         </otherwise>
14367                                 </choose>
14368                                 <out>
14369                                         <lu>
14370                                                 <clip pos="3" side="tl" part="whole"/>
14371                                         </lu>
14372                                         <b pos="3"/>
14373                                         <lu>
14374                                                 <clip pos="4" side="tl" part="lemh"/>
14375                                                 <clip pos="4" side="tl" part="a_adjec"/>
14376                                                 <clip pos="4" side="tl" part="gen"/>
14377                                                 <clip pos="4" side="tl" part="nbr"/>
14378                                                 <clip pos="4" side="tl" part="lemq"/>
14379                                         </lu>
14380                                         <b pos="4"/>
14381                                         <lu>
14382                                                 <clip pos="5" side="tl" part="whole"/>
14383                                         </lu>
14384                                 </out>
14385                         </action>
14386                 </rule>
14387                 <rule>
14388                         <!-- REGLA 24: gostar de NOM ADVERBI ADJECTIU-->
14389                         <pattern>
14390                                 <pattern-item n="gostar"/>
14391                                 <pattern-item n="de"/>
14392                                 <pattern-item n="nom"/>
14393                                 <pattern-item n="adv"/>
14394                                 <pattern-item n="adjec"/>
14395                         </pattern>
14396                         <action>
14397                                 <call-macro n="f_infps">
14398                                         <with-param pos="1"/>
14399                                 </call-macro>
14400                                 <call-macro n="f_concord2">
14401                                         <with-param pos="3"/>
14402                                         <with-param pos="5"/>
14403                                 </call-macro>
14404                                 <call-macro n="f_comparativa">
14405                                         <with-param pos="4"/>
14406                                 </call-macro>
14407                                 <call-macro n="f_comparativa">
14408                                         <with-param pos="5"/>
14409                                 </call-macro>
14410                                 <choose>
14411                                         <when>
14412                                                 <test>
14413                                                         <or>
14414                                                                 <equal>
14415                                                                         <clip pos="1" side="sl" part="temps"/>
14416                                                                         <lit-tag v="imp"/>
14417                                                                 </equal>
14418                                                                 <equal>
14419                                                                         <clip pos="1" side="sl" part="temps"/>
14420                                                                         <lit-tag v="ger"/>
14421                                                                 </equal>
14422                                                                 <equal>
14423                                                                         <clip pos="1" side="sl" part="temps"/>
14424                                                                         <lit-tag v="inf"/>
14425                                                                 </equal>
14426                                                                 <equal>
14427                                                                         <clip pos="1" side="sl" part="temps"/>
14428                                                                         <lit-tag v="pmp"/>
14429                                                                 </equal>
14430                                                         </or>
14431                                                 </test>
14432                                                 <call-macro n="gostarenc">
14433                                                         <with-param pos="1"/>
14434                                                         <with-param pos="3"/>
14435                                                 </call-macro>
14436                                                 <out>
14437                                                         <b pos="1"/>
14438                                                 </out>
14439                                                 <call-macro n="f_bcond">
14440                                                         <with-param pos="2"/>
14441                                                 </call-macro>
14442                                         </when>
14443                                         <otherwise>
14444                                                 <call-macro n="prn_gostar">
14445                                                         <with-param pos="1"/>
14446                                                 </call-macro>
14447                                                 <out>
14448                                                         <b pos="1"/>
14449                                                         <lu>
14450                                                                 <get-case-from pos="2">
14451                                                                         <clip pos="1" side="tl" part="lemh"/>
14452                                                                 </get-case-from>
14453                                                                 <clip pos="1" side="tl" part="a_verb"/>
14454                                                                 <clip pos="1" side="tl" part="temps"/>
14455                                                                 <lit-tag v="p3"/>
14456                                                                 <clip pos="1" side="tl" part="gen"/>
14457                                                                 <clip pos="3" side="tl" part="nbr"/>
14458                                                         </lu>
14459                                                         <b pos="2"/>
14460                                                 </out>
14461                                         </otherwise>
14462                                 </choose>
14463                                 <out>
14464                                         <lu>
14465                                                 <clip pos="3" side="tl" part="whole"/>
14466                                         </lu>
14467                                         <b pos="3"/>
14468                                         <lu>
14469                                                 <clip pos="4" side="tl" part="whole"/>
14470                                         </lu>
14471                                         <b pos="4"/>
14472                                         <lu>
14473                                                 <clip pos="5" side="tl" part="lemh"/>
14474                                                 <clip pos="5" side="tl" part="a_adjec"/>
14475                                                 <clip pos="5" side="tl" part="gen"/>
14476                                                 <clip pos="5" side="tl" part="nbr"/>
14477                                                 <clip pos="5" side="tl" part="lemq"/>
14478                                         </lu>
14479                                 </out>
14480                         </action>
14481                 </rule>
14482                 <rule>
14483                         <!-- REGLA 25: gostar de DET NOM ADVERBI ADJECTIU -->
14484                         <pattern>
14485                                 <pattern-item n="gostar"/>
14486                                 <pattern-item n="de"/>
14487                                 <pattern-item n="det"/>
14488                                 <pattern-item n="nom"/>
14489                                 <pattern-item n="adv"/>
14490                                 <pattern-item n="adjec"/>
14491                         </pattern>
14492                         <action>
14493                                 <call-macro n="f_infps">
14494                                         <with-param pos="1"/>
14495                                 </call-macro>
14496                                 <call-macro n="f_concord3">
14497                                         <with-param pos="4"/>
14498                                         <with-param pos="3"/>
14499                                         <with-param pos="6"/>
14500                                 </call-macro>
14501                                 <call-macro n="f_comparativa">
14502                                         <with-param pos="5"/>
14503                                 </call-macro>
14504                                 <call-macro n="f_comparativa">
14505                                         <with-param pos="6"/>
14506                                 </call-macro>
14507                                 <choose>
14508                                         <when>
14509                                                 <test>
14510                                                         <or>
14511                                                                 <equal>
14512                                                                         <clip pos="1" side="sl" part="temps"/>
14513                                                                         <lit-tag v="imp"/>
14514                                                                 </equal>
14515                                                                 <equal>
14516                                                                         <clip pos="1" side="sl" part="temps"/>
14517                                                                         <lit-tag v="ger"/>
14518                                                                 </equal>
14519                                                                 <equal>
14520                                                                         <clip pos="1" side="sl" part="temps"/>
14521                                                                         <lit-tag v="inf"/>
14522                                                                 </equal>
14523                                                                 <equal>
14524                                                                         <clip pos="1" side="sl" part="temps"/>
14525                                                                         <lit-tag v="pmp"/>
14526                                                                 </equal>
14527                                                         </or>
14528                                                 </test>
14529                                                 <call-macro n="gostarenc">
14530                                                         <with-param pos="1"/>
14531                                                         <with-param pos="4"/>
14532                                                 </call-macro>
14533                                                 <out>
14534                                                         <b pos="1"/>
14535                                                 </out>
14536                                                 <call-macro n="f_bcond">
14537                                                         <with-param pos="2"/>
14538                                                 </call-macro>
14539                                         </when>
14540                                         <otherwise>
14541                                                 <call-macro n="prn_gostar">
14542                                                         <with-param pos="1"/>
14543                                                 </call-macro>
14544                                                 <out>
14545                                                         <b pos="1"/>
14546                                                         <lu>
14547                                                                 <get-case-from pos="2">
14548                                                                         <clip pos="1" side="tl" part="lemh"/>
14549                                                                 </get-case-from>
14550                                                                 <clip pos="1" side="tl" part="a_verb"/>
14551                                                                 <clip pos="1" side="tl" part="temps"/>
14552                                                                 <lit-tag v="p3"/>
14553                                                                 <clip pos="1" side="tl" part="gen"/>
14554                                                                 <clip pos="4" side="tl" part="nbr"/>
14555                                                         </lu>
14556                                                         <b pos="2"/>
14557                                                 </out>
14558                                         </otherwise>
14559                                 </choose>
14560                                 <out>
14561                                         <lu>
14562                                                 <clip pos="3" side="tl" part="whole"/>
14563                                         </lu>
14564                                         <b pos="3"/>
14565                                         <lu>
14566                                                 <clip pos="4" side="tl" part="whole"/>
14567                                         </lu>
14568                                         <b pos="4"/>
14569                                         <lu>
14570                                                 <clip pos="5" side="tl" part="whole"/>
14571                                         </lu>
14572                                         <b pos="5"/>
14573                                         <lu>
14574                                                 <clip pos="6" side="tl" part="lemh"/>
14575                                                 <clip pos="6" side="tl" part="a_adjec"/>
14576                                                 <clip pos="6" side="tl" part="gen"/>
14577                                                 <clip pos="6" side="tl" part="nbr"/>
14578                                                 <clip pos="6" side="tl" part="lemq"/>
14579                                         </lu>
14580                                 </out>
14581                         </action>
14582                 </rule>
14583                 <rule>
14584                         <!-- REGLA 26: gostar de DET ADVERBI T-NOM-->
14585                         <pattern>
14586                                 <pattern-item n="gostar"/>
14587                                 <pattern-item n="de"/>
14588                                 <pattern-item n="det"/>
14589                                 <pattern-item n="adv"/>
14590                                 <pattern-item n="tnom"/>
14591                         </pattern>
14592                         <action>
14593                                 <call-macro n="f_infps">
14594                                         <with-param pos="1"/>
14595                                 </call-macro>
14596                                 <call-macro n="f_concord2">
14597                                         <with-param pos="5"/>
14598                                         <with-param pos="3"/>
14599                                 </call-macro>
14600                                 <call-macro n="f_comparativa">
14601                                         <with-param pos="4"/>
14602                                 </call-macro>
14603                                 <choose>
14604                                         <when>
14605                                                 <test>
14606                                                         <or>
14607                                                                 <equal>
14608                                                                         <clip pos="1" side="sl" part="temps"/>
14609                                                                         <lit-tag v="imp"/>
14610                                                                 </equal>
14611                                                                 <equal>
14612                                                                         <clip pos="1" side="sl" part="temps"/>
14613                                                                         <lit-tag v="ger"/>
14614                                                                 </equal>
14615                                                                 <equal>
14616                                                                         <clip pos="1" side="sl" part="temps"/>
14617                                                                         <lit-tag v="inf"/>
14618                                                                 </equal>
14619                                                                 <equal>
14620                                                                         <clip pos="1" side="sl" part="temps"/>
14621                                                                         <lit-tag v="pmp"/>
14622                                                                 </equal>
14623                                                         </or>
14624                                                 </test>
14625                                                 <call-macro n="gostarenc">
14626                                                         <with-param pos="1"/>
14627                                                         <with-param pos="5"/>
14628                                                 </call-macro>
14629                                                 <out>
14630                                                         <b pos="1"/>
14631                                                 </out>
14632                                                 <call-macro n="f_bcond">
14633                                                         <with-param pos="2"/>
14634                                                 </call-macro>
14635                                         </when>
14636                                         <otherwise>
14637                                                 <call-macro n="prn_gostar">
14638                                                         <with-param pos="1"/>
14639                                                 </call-macro>
14640                                                 <out>
14641                                                         <b pos="1"/>
14642                                                         <lu>
14643                                                                 <get-case-from pos="2">
14644                                                                         <clip pos="1" side="tl" part="lemh"/>
14645                                                                 </get-case-from>
14646                                                                 <clip pos="1" side="tl" part="a_verb"/>
14647                                                                 <clip pos="1" side="tl" part="temps"/>
14648                                                                 <lit-tag v="p3"/>
14649                                                                 <clip pos="1" side="tl" part="gen"/>
14650                                                                 <clip pos="5" side="tl" part="nbr"/>
14651                                                         </lu>
14652                                                         <b pos="2"/>
14653                                                 </out>
14654                                         </otherwise>
14655                                 </choose>
14656                                 <out>
14657                                         <lu>
14658                                                 <clip pos="3" side="tl" part="whole"/>
14659                                         </lu>
14660                                         <b pos="3"/>
14661                                         <lu>
14662                                                 <clip pos="4" side="tl" part="whole"/>
14663                                         </lu>
14664                                         <b pos="4"/>
14665                                         <lu>
14666                                                 <clip pos="5" side="tl" part="lemh"/>
14667                                                 <clip pos="5" side="tl" part="a_tnom"/>
14668                                                 <clip pos="5" side="tl" part="gen"/>
14669                                                 <clip pos="5" side="tl" part="nbr"/>
14670                                                 <clip pos="5" side="tl" part="lemq"/>
14671                                         </lu>
14672                                 </out>
14673                         </action>
14674                 </rule>
14675                 <rule>
14676                         <!-- REGLA 27: gostar de NUMERAL T-NOM -->
14677                         <pattern>
14678                                 <pattern-item n="gostar"/>
14679                                 <pattern-item n="de"/>
14680                                 <pattern-item n="num"/>
14681                                 <pattern-item n="tnom"/>
14682                         </pattern>
14683                         <action>
14684                                 <call-macro n="f_infps">
14685                                         <with-param pos="1"/>
14686                                 </call-macro>
14687                                 <call-macro n="f_concord2">
14688                                         <with-param pos="4"/>
14689                                         <with-param pos="3"/>
14690                                 </call-macro>
14691                                 <choose>
14692                                         <when>
14693                                                 <test>
14694                                                         <or>
14695                                                                 <equal>
14696                                                                         <clip pos="1" side="sl" part="temps"/>
14697                                                                         <lit-tag v="imp"/>
14698                                                                 </equal>
14699                                                                 <equal>
14700                                                                         <clip pos="1" side="sl" part="temps"/>
14701                                                                         <lit-tag v="ger"/>
14702                                                                 </equal>
14703                                                                 <equal>
14704                                                                         <clip pos="1" side="sl" part="temps"/>
14705                                                                         <lit-tag v="inf"/>
14706                                                                 </equal>
14707                                                                 <equal>
14708                                                                         <clip pos="1" side="sl" part="temps"/>
14709                                                                         <lit-tag v="pmp"/>
14710                                                                 </equal>
14711                                                         </or>
14712                                                 </test>
14713                                                 <call-macro n="gostarenc">
14714                                                         <with-param pos="1"/>
14715                                                         <with-param pos="4"/>
14716                                                 </call-macro>
14717                                                 <out>
14718                                                         <b pos="1"/>
14719                                                 </out>
14720                                                 <call-macro n="f_bcond">
14721                                                         <with-param pos="2"/>
14722                                                 </call-macro>
14723                                         </when>
14724                                         <otherwise>
14725                                                 <call-macro n="prn_gostar">
14726                                                         <with-param pos="1"/>
14727                                                 </call-macro>
14728                                                 <out>
14729                                                         <b pos="1"/>
14730                                                         <lu>
14731                                                                 <get-case-from pos="2">
14732                                                                         <clip pos="1" side="tl" part="lemh"/>
14733                                                                 </get-case-from>
14734                                                                 <clip pos="1" side="tl" part="a_verb"/>
14735                                                                 <clip pos="1" side="tl" part="temps"/>
14736                                                                 <lit-tag v="p3"/>
14737                                                                 <clip pos="1" side="tl" part="gen"/>
14738                                                                 <clip pos="4" side="tl" part="nbr"/>
14739                                                         </lu>
14740                                                         <b pos="2"/>
14741                                                 </out>
14742                                         </otherwise>
14743                                 </choose>
14744                                 <out>
14745                                         <lu>
14746                                                 <clip pos="3" side="tl" part="whole"/>
14747                                         </lu>
14748                                         <b pos="3"/>
14749                                         <lu>
14750                                                 <clip pos="4" side="tl" part="lemh"/>
14751                                                 <clip pos="4" side="tl" part="a_tnom"/>
14752                                                 <clip pos="4" side="tl" part="gen"/>
14753                                                 <clip pos="4" side="tl" part="nbr"/>
14754                                                 <clip pos="4" side="tl" part="lemq"/>
14755                                         </lu>
14756                                 </out>
14757                         </action>
14758                 </rule>
14759                 <rule>
14760                         <!-- REGLA 29: gostar de NUMERAL NOM ADJECTIU -->
14761                         <pattern>
14762                                 <pattern-item n="gostar"/>
14763                                 <pattern-item n="de"/>
14764                                 <pattern-item n="num"/>
14765                                 <pattern-item n="nom"/>
14766                                 <pattern-item n="adjec"/>
14767                         </pattern>
14768                         <action>
14769                                 <call-macro n="f_infps">
14770                                         <with-param pos="1"/>
14771                                 </call-macro>
14772                                 <call-macro n="f_concord3">
14773                                         <with-param pos="4"/>
14774                                         <with-param pos="3"/>
14775                                         <with-param pos="5"/>
14776                                 </call-macro>
14777                                 <call-macro n="f_comparativa">
14778                                         <with-param pos="5"/>
14779                                 </call-macro>
14780                                 <choose>
14781                                         <when>
14782                                                 <test>
14783                                                         <or>
14784                                                                 <equal>
14785                                                                         <clip pos="1" side="sl" part="temps"/>
14786                                                                         <lit-tag v="imp"/>
14787                                                                 </equal>
14788                                                                 <equal>
14789                                                                         <clip pos="1" side="sl" part="temps"/>
14790                                                                         <lit-tag v="ger"/>
14791                                                                 </equal>
14792                                                                 <equal>
14793                                                                         <clip pos="1" side="sl" part="temps"/>
14794                                                                         <lit-tag v="inf"/>
14795                                                                 </equal>
14796                                                                 <equal>
14797                                                                         <clip pos="1" side="sl" part="temps"/>
14798                                                                         <lit-tag v="pmp"/>
14799                                                                 </equal>
14800                                                         </or>
14801                                                 </test>
14802                                                 <call-macro n="gostarenc">
14803                                                         <with-param pos="1"/>
14804                                                         <with-param pos="3"/>
14805                                                 </call-macro>
14806                                                 <out>
14807                                                         <b pos="1"/>
14808                                                 </out>
14809                                                 <call-macro n="f_bcond">
14810                                                         <with-param pos="2"/>
14811                                                 </call-macro>
14812                                         </when>
14813                                         <otherwise>
14814                                                 <call-macro n="prn_gostar">
14815                                                         <with-param pos="1"/>
14816                                                 </call-macro>
14817                                                 <out>
14818                                                         <b pos="1"/>
14819                                                         <lu>
14820                                                                 <get-case-from pos="2">
14821                                                                         <clip pos="1" side="tl" part="lemh"/>
14822                                                                 </get-case-from>
14823                                                                 <clip pos="1" side="tl" part="a_verb"/>
14824                                                                 <clip pos="1" side="tl" part="temps"/>
14825                                                                 <lit-tag v="p3"/>
14826                                                                 <clip pos="1" side="tl" part="gen"/>
14827                                                                 <clip pos="4" side="tl" part="nbr"/>
14828                                                         </lu>
14829                                                         <b pos="2"/>
14830                                                 </out>
14831                                         </otherwise>
14832                                 </choose>
14833                                 <out>
14834                                         <lu>
14835                                                 <clip pos="3" side="tl" part="lem"/>
14836                                                 <clip pos="3" side="tl" part="a_num"/>
14837                                                 <clip pos="3" side="tl" part="gen"/>
14838                                                 <clip pos="3" side="tl" part="nbr"/>
14839                                         </lu>
14840                                         <b pos="3"/>
14841                                         <lu>
14842                                                 <clip pos="4" side="tl" part="lem"/>
14843                                                 <clip pos="4" side="tl" part="a_nom"/>
14844                                                 <clip pos="4" side="tl" part="gen"/>
14845                                                 <clip pos="4" side="tl" part="nbr"/>
14846                                         </lu>
14847                                         <b pos="4"/>
14848                                         <lu>
14849                                                 <clip pos="5" side="tl" part="lem"/>
14850                                                 <clip pos="5" side="tl" part="a_adjec"/>
14851                                                 <clip pos="5" side="tl" part="gen"/>
14852                                                 <clip pos="5" side="tl" part="nbr"/>
14853                                         </lu>
14854                                 </out>
14855                         </action>
14856                 </rule>
14857                 <rule>
14858                         <!-- REGLA 30: gostar de NUMERAL ADJECTIU NOM -->
14859                         <pattern>
14860                                 <pattern-item n="gostar"/>
14861                                 <pattern-item n="de"/>
14862                                 <pattern-item n="num"/>
14863                                 <pattern-item n="adjec"/>
14864                                 <pattern-item n="nom"/>
14865                         </pattern>
14866                         <action>
14867                                 <call-macro n="f_infps">
14868                                         <with-param pos="1"/>
14869                                 </call-macro>
14870                                 <call-macro n="f_concord3">
14871                                         <with-param pos="5"/>
14872                                         <with-param pos="4"/>
14873                                         <with-param pos="3"/>
14874                                 </call-macro>
14875                                 <call-macro n="f_comparativa">
14876                                         <with-param pos="4"/>
14877                                 </call-macro>
14878                                 <choose>
14879                                         <when>
14880                                                 <test>
14881                                                         <or>
14882                                                                 <equal>
14883                                                                         <clip pos="1" side="sl" part="temps"/>
14884                                                                         <lit-tag v="imp"/>
14885                                                                 </equal>
14886                                                                 <equal>
14887                                                                         <clip pos="1" side="sl" part="temps"/>
14888                                                                         <lit-tag v="ger"/>
14889                                                                 </equal>
14890                                                                 <equal>
14891                                                                         <clip pos="1" side="sl" part="temps"/>
14892                                                                         <lit-tag v="inf"/>
14893                                                                 </equal>
14894                                                                 <equal>
14895                                                                         <clip pos="1" side="sl" part="temps"/>
14896                                                                         <lit-tag v="pmp"/>
14897                                                                 </equal>
14898                                                         </or>
14899                                                 </test>
14900                                                 <call-macro n="gostarenc">
14901                                                         <with-param pos="1"/>
14902                                                         <with-param pos="5"/>
14903                                                 </call-macro>
14904                                                 <out>
14905                                                         <b pos="1"/>
14906                                                 </out>
14907                                                 <call-macro n="f_bcond">
14908                                                         <with-param pos="2"/>
14909                                                 </call-macro>
14910                                         </when>
14911                                         <otherwise>
14912                                                 <call-macro n="prn_gostar">
14913                                                         <with-param pos="1"/>
14914                                                 </call-macro>
14915                                                 <out>
14916                                                         <b pos="1"/>
14917                                                         <lu>
14918                                                                 <get-case-from pos="2">
14919                                                                         <clip pos="1" side="tl" part="lemh"/>
14920                                                                 </get-case-from>
14921                                                                 <clip pos="1" side="tl" part="a_verb"/>
14922                                                                 <clip pos="1" side="tl" part="temps"/>
14923                                                                 <lit-tag v="p3"/>
14924                                                                 <clip pos="1" side="tl" part="gen"/>
14925                                                                 <clip pos="4" side="tl" part="nbr"/>
14926                                                         </lu>
14927                                                         <b pos="2"/>
14928                                                 </out>
14929                                         </otherwise>
14930                                 </choose>
14931                                 <out>
14932                                         <lu>
14933                                                 <clip pos="3" side="tl" part="whole"/>
14934                                         </lu>
14935                                         <b pos="3"/>
14936                                         <lu>
14937                                                 <clip pos="4" side="tl" part="lemh"/>
14938                                                 <clip pos="4" side="tl" part="a_adjec"/>
14939                                                 <clip pos="4" side="tl" part="gen"/>
14940                                                 <clip pos="4" side="tl" part="nbr"/>
14941                                                 <clip pos="4" side="tl" part="lemq"/>
14942                                         </lu>
14943                                         <b pos="4"/>
14944                                         <lu>
14945                                                 <clip pos="5" side="tl" part="whole"/>
14946                                         </lu>
14947                                 </out>
14948                         </action>
14949                 </rule>
14950                 <rule>
14951                         <!-- REGLA 31: gostar de DET NUMERAL T-NOM -->
14952                         <pattern>
14953                                 <pattern-item n="gostar"/>
14954                                 <pattern-item n="de"/>
14955                                 <pattern-item n="det"/>
14956                                 <pattern-item n="num"/>
14957                                 <pattern-item n="tnom"/>
14958                         </pattern>
14959                         <action>
14960                                 <call-macro n="f_infps">
14961                                         <with-param pos="1"/>
14962                                 </call-macro>
14963                                 <call-macro n="f_concord3">
14964                                         <with-param pos="5"/>
14965                                         <with-param pos="4"/>
14966                                         <with-param pos="3"/>
14967                                 </call-macro>
14968                                 <choose>
14969                                         <when>
14970                                                 <test>
14971                                                         <or>
14972                                                                 <equal>
14973                                                                         <clip pos="1" side="sl" part="temps"/>
14974                                                                         <lit-tag v="imp"/>
14975                                                                 </equal>
14976                                                                 <equal>
14977                                                                         <clip pos="1" side="sl" part="temps"/>
14978                                                                         <lit-tag v="ger"/>
14979                                                                 </equal>
14980                                                                 <equal>
14981                                                                         <clip pos="1" side="sl" part="temps"/>
14982                                                                         <lit-tag v="inf"/>
14983                                                                 </equal>
14984                                                                 <equal>
14985                                                                         <clip pos="1" side="sl" part="temps"/>
14986                                                                         <lit-tag v="pmp"/>
14987                                                                 </equal>
14988                                                         </or>
14989                                                 </test>
14990                                                 <call-macro n="gostarenc">
14991                                                         <with-param pos="1"/>
14992                                                         <with-param pos="5"/>
14993                                                 </call-macro>
14994                                                 <out>
14995                                                         <b pos="1"/>
14996                                                 </out>
14997                                                 <call-macro n="f_bcond">
14998                                                         <with-param pos="2"/>
14999                                                 </call-macro>
15000                                         </when>
15001                                         <otherwise>
15002                                                 <call-macro n="prn_gostar">
15003                                                         <with-param pos="1"/>
15004                                                 </call-macro>
15005                                                 <out>
15006                                                         <b pos="1"/>
15007                                                         <lu>
15008                                                                 <get-case-from pos="2">
15009                                                                         <clip pos="1" side="tl" part="lemh"/>
15010                                                                 </get-case-from>
15011                                                                 <clip pos="1" side="tl" part="a_verb"/>
15012                                                                 <clip pos="1" side="tl" part="temps"/>
15013                                                                 <lit-tag v="p3"/>
15014                                                                 <clip pos="1" side="tl" part="gen"/>
15015                                                                 <clip pos="5" side="tl" part="nbr"/>
15016                                                         </lu>
15017                                                         <b pos="2"/>
15018                                                 </out>
15019                                         </otherwise>
15020                                 </choose>
15021                                 <out>
15022                                         <lu>
15023                                                 <clip pos="3" side="tl" part="whole"/>
15024                                         </lu>
15025                                         <b pos="3"/>
15026                                         <lu>
15027                                                 <clip pos="4" side="tl" part="whole"/>
15028                                         </lu>
15029                                         <b pos="4"/>
15030                                         <lu>
15031                                                 <clip pos="5" side="tl" part="lemh"/>
15032                                                 <clip pos="5" side="tl" part="a_tnom"/>
15033                                                 <clip pos="5" side="tl" part="gen"/>
15034                                                 <clip pos="5" side="tl" part="nbr"/>
15035                                                 <clip pos="5" side="tl" part="lemq"/>
15036                                         </lu>
15037                                 </out>
15038                         </action>
15039                 </rule>
15040                 <rule>
15041                         <!-- REGLA 8: gostar de NP-->
15042                         <pattern>
15043                                 <pattern-item n="gostar"/>
15044                                 <pattern-item n="de"/>
15045                                 <pattern-item n="np"/>
15046                         </pattern>
15047                         <action>
15048                                 <call-macro n="f_infps">
15049                                         <with-param pos="1"/>
15050                                 </call-macro>
15051                                 <choose>
15052                                         <when>
15053                                                 <test>
15054                                                         <or>
15055                                                                 <equal>
15056                                                                         <clip pos="1" side="sl" part="temps"/>
15057                                                                         <lit-tag v="imp"/>
15058                                                                 </equal>
15059                                                                 <equal>
15060                                                                         <clip pos="1" side="sl" part="temps"/>
15061                                                                         <lit-tag v="ger"/>
15062                                                                 </equal>
15063                                                                 <equal>
15064                                                                         <clip pos="1" side="sl" part="temps"/>
15065                                                                         <lit-tag v="inf"/>
15066                                                                 </equal>
15067                                                                 <equal>
15068                                                                         <clip pos="1" side="sl" part="temps"/>
15069                                                                         <lit-tag v="pmp"/>
15070                                                                 </equal>
15071                                                         </or>
15072                                                 </test>
15073                                                 <call-macro n="gostarenc">
15074                                                         <with-param pos="1"/>
15075                                                         <with-param pos="3"/>
15076                                                 </call-macro>
15077                                                 <out>
15078                                                         <b pos="1"/>
15079                                                 </out>
15080                                                 <call-macro n="f_bcond">
15081                                                         <with-param pos="2"/>
15082                                                 </call-macro>
15083                                         </when>
15084                                         <otherwise>
15085                                                 <call-macro n="prn_gostar">
15086                                                         <with-param pos="1"/>
15087                                                 </call-macro>
15088                                                 <out>
15089                                                         <b pos="1"/>
15090                                                         <lu>
15091                                                                 <get-case-from pos="2">
15092                                                                         <clip pos="1" side="tl" part="lemh"/>
15093                                                                 </get-case-from>
15094                                                                 <clip pos="1" side="tl" part="a_verb"/>
15095                                                                 <clip pos="1" side="tl" part="temps"/>
15096                                                                 <lit-tag v="p3"/>
15097                                                                 <clip pos="1" side="tl" part="gen"/>
15098                                                                 <lit-tag v="sg"/>
15099                                                         </lu>
15100                                                         <b pos="2"/>
15101                                                 </out>
15102                                         </otherwise>
15103                                 </choose>
15104                                 <out>
15105                                         <lu>
15106                                                 <clip pos="3" side="tl" part="whole"/>
15107                                         </lu>
15108                                 </out>
15109                         </action>
15110                 </rule>
15111                 <rule>
15112                         <!-- REGLA 11: gostar de DETERMINANT NP -->
15113                         <pattern>
15114                                 <pattern-item n="gostar"/>
15115                                 <pattern-item n="de"/>
15116                                 <pattern-item n="det"/>
15117                                 <pattern-item n="np"/>
15118                         </pattern>
15119                         <action>
15120                                 <call-macro n="f_infps">
15121                                         <with-param pos="1"/>
15122                                 </call-macro>
15123                                 <choose>
15124                                         <when>
15125                                                 <test>
15126                                                         <or>
15127                                                                 <equal>
15128                                                                         <clip pos="1" side="sl" part="temps"/>
15129                                                                         <lit-tag v="imp"/>
15130                                                                 </equal>
15131                                                                 <equal>
15132                                                                         <clip pos="1" side="sl" part="temps"/>
15133                                                                         <lit-tag v="ger"/>
15134                                                                 </equal>
15135                                                                 <equal>
15136                                                                         <clip pos="1" side="sl" part="temps"/>
15137                                                                         <lit-tag v="inf"/>
15138                                                                 </equal>
15139                                                                 <equal>
15140                                                                         <clip pos="1" side="sl" part="temps"/>
15141                                                                         <lit-tag v="pmp"/>
15142                                                                 </equal>
15143                                                         </or>
15144                                                 </test>
15145                                                 <call-macro n="gostarenc">
15146                                                         <with-param pos="1"/>
15147                                                         <with-param pos="4"/>
15148                                                 </call-macro>
15149                                                 <out>
15150                                                         <b pos="1"/>
15151                                                 </out>
15152                                                 <call-macro n="f_bcond">
15153                                                         <with-param pos="2"/>
15154                                                 </call-macro>
15155                                         </when>
15156                                         <otherwise>
15157                                                 <call-macro n="prn_gostar">
15158                                                         <with-param pos="1"/>
15159                                                 </call-macro>
15160                                                 <out>
15161                                                         <b pos="1"/>
15162                                                         <lu>
15163                                                                 <get-case-from pos="2">
15164                                                                         <clip pos="1" side="tl" part="lemh"/>
15165                                                                 </get-case-from>
15166                                                                 <clip pos="1" side="tl" part="a_verb"/>
15167                                                                 <clip pos="1" side="tl" part="temps"/>
15168                                                                 <lit-tag v="p3"/>
15169                                                                 <clip pos="1" side="tl" part="gen"/>
15170                                                                 <lit-tag v="sg"/>
15171                                                         </lu>
15172                                                         <b pos="2"/>
15173                                                 </out>
15174                                         </otherwise>
15175                                 </choose>
15176                                 <out>
15177                                         <lu>
15178                                                 <clip pos="4" side="tl" part="whole"/>
15179                                         </lu>
15180                                 </out>
15181                                 <call-macro n="f_bcond">
15182                                         <with-param pos="3"/>
15183                                 </call-macro>
15184                         </action>
15185                 </rule>
15186                 <rule>
15187                         <!-- REGLA 8: gostar de inf-->
15188                         <pattern>
15189                                 <pattern-item n="gostar"/>
15190                                 <pattern-item n="de"/>
15191                                 <pattern-item n="inf"/>
15192                         </pattern>
15193                         <action>
15194                                 <call-macro n="f_infps">
15195                                         <with-param pos="1"/>
15196                                 </call-macro>
15197                                 <choose>
15198                                         <when>
15199                                                 <test>
15200                                                         <or>
15201                                                                 <equal>
15202                                                                         <clip pos="1" side="sl" part="temps"/>
15203                                                                         <lit-tag v="imp"/>
15204                                                                 </equal>
15205                                                                 <equal>
15206                                                                         <clip pos="1" side="sl" part="temps"/>
15207                                                                         <lit-tag v="ger"/>
15208                                                                 </equal>
15209                                                                 <equal>
15210                                                                         <clip pos="1" side="sl" part="temps"/>
15211                                                                         <lit-tag v="inf"/>
15212                                                                 </equal>
15213                                                                 <equal>
15214                                                                         <clip pos="1" side="sl" part="temps"/>
15215                                                                         <lit-tag v="pmp"/>
15216                                                                 </equal>
15217                                                         </or>
15218                                                 </test>
15219                                                 <call-macro n="gostarenc">
15220                                                         <with-param pos="1"/>
15221                                                         <with-param pos="3"/>
15222                                                 </call-macro>
15223                                                 <out>
15224                                                         <b pos="1"/>
15225                                                 </out>
15226                                                 <call-macro n="f_bcond">
15227                                                         <with-param pos="2"/>
15228                                                 </call-macro>
15229                                         </when>
15230                                         <otherwise>
15231                                                 <call-macro n="prn_gostar">
15232                                                         <with-param pos="1"/>
15233                                                 </call-macro>
15234                                                 <out>
15235                                                         <b pos="1"/>
15236                                                         <lu>
15237                                                                 <get-case-from pos="2">
15238                                                                         <clip pos="1" side="tl" part="lemh"/>
15239                                                                 </get-case-from>
15240                                                                 <clip pos="1" side="tl" part="a_verb"/>
15241                                                                 <clip pos="1" side="tl" part="temps"/>
15242                                                                 <lit-tag v="p3"/>
15243                                                                 <clip pos="1" side="tl" part="gen"/>
15244                                                                 <lit-tag v="sg"/>
15245                                                         </lu>
15246                                                         <b pos="2"/>
15247                                                 </out>
15248                                         </otherwise>
15249                                 </choose>
15250                                 <out>
15251                                         <lu>
15252                                                 <clip pos="3" side="tl" part="lemh"/>
15253                                                 <clip pos="3" side="tl" part="a_verb"/>
15254                                                 <clip pos="3" side="tl" part="temps"/>
15255                                                 <clip pos="3" side="tl" part="persona"/>
15256                                                 <clip pos="3" side="tl" part="gen"/>
15257                                                 <clip pos="3" side="tl" part="nbr"/>
15258                                                 <clip pos="3" side="tl" part="lemq"/>
15259                                         </lu>
15260                                 </out>
15261                         </action>
15262                 </rule>
15263                 <rule>
15264                         <!-- REGLA 6: haver gostado de NUMERAL-->
15265                         <pattern>
15266                                 <pattern-item n="vbhaver"/>
15267                                 <pattern-item n="gostarpp"/>
15268                                 <pattern-item n="de"/>
15269                                 <pattern-item n="num"/>
15270                         </pattern>
15271                         <action>
15272                                 <call-macro n="f_concord1">
15273                                         <with-param pos="4"/>
15274                                 </call-macro>
15275                                 <call-macro n="prn_gostar">
15276                                         <with-param pos="1"/>
15277                                 </call-macro>
15278                                 <out>
15279                                         <b pos="1"/>
15280                                         <lu>
15281                                                 <get-case-from pos="2">
15282                                                         <clip pos="1" side="tl" part="lemh"/>
15283                                                 </get-case-from>
15284                                                 <clip pos="1" side="tl" part="a_verb"/>
15285                                                 <clip pos="1" side="tl" part="temps"/>
15286                                                 <lit-tag v="p3"/>
15287                                                 <clip pos="1" side="tl" part="gen"/>
15288                                                 <clip pos="4" side="tl" part="nbr"/>
15289                                         </lu>
15290                                         <b pos="2"/>
15291                                         <lu>
15292                                                 <clip pos="2" side="tl" part="whole"/>
15293                                         </lu>
15294                                         <b pos="3"/>
15295                                         <lu>
15296                                                 <clip pos="4" side="tl" part="whole"/>
15297                                         </lu>
15298                                 </out>
15299                         </action>
15300                 </rule>
15301                 <rule>
15302                         <!-- REGLA 8: haver gostado de T-NOM -->
15303                         <pattern>
15304                                 <pattern-item n="vbhaver"/>
15305                                 <pattern-item n="gostarpp"/>
15306                                 <pattern-item n="de"/>
15307                                 <pattern-item n="tnom"/>
15308                         </pattern>
15309                         <action>
15310                                 <call-macro n="f_concord1">
15311                                         <with-param pos="4"/>
15312                                 </call-macro>
15313                                 <call-macro n="prn_gostar">
15314                                         <with-param pos="1"/>
15315                                 </call-macro>
15316                                 <out>
15317                                         <b pos="1"/>
15318                                         <lu>
15319                                                 <get-case-from pos="2">
15320                                                         <clip pos="1" side="tl" part="lemh"/>
15321                                                 </get-case-from>
15322                                                 <clip pos="1" side="tl" part="a_verb"/>
15323                                                 <clip pos="1" side="tl" part="temps"/>
15324                                                 <lit-tag v="p3"/>
15325                                                 <clip pos="1" side="tl" part="gen"/>
15326                                                 <clip pos="4" side="tl" part="nbr"/>
15327                                         </lu>
15328                                         <b pos="2"/>
15329                                         <lu>
15330                                                 <clip pos="2" side="tl" part="whole"/>
15331                                         </lu>
15332                                         <b pos="3"/>
15333                                         <lu>
15334                                                 <clip pos="4" side="tl" part="lemh"/>
15335                                                 <clip pos="4" side="tl" part="a_tnom"/>
15336                                                 <clip pos="4" side="tl" part="gen"/>
15337                                                 <clip pos="4" side="tl" part="nbr"/>
15338                                                 <clip pos="4" side="tl" part="lemq"/>
15339                                         </lu>
15340                                 </out>
15341                         </action>
15342                 </rule>
15343                 <rule>
15344                         <!-- REGLA 10: haver gostado de PRONOM -->
15345                         <!--Special case, macro f_concord1 is not applicable because gender and number cannot be taken from previous rules -->
15346                         <pattern>
15347                                 <pattern-item n="vbhaver"/>
15348                                 <pattern-item n="gostarpp"/>
15349                                 <pattern-item n="de"/>
15350                                 <pattern-item n="prn"/>
15351                         </pattern>
15352                         <action>
15353                                 <choose>
15354                                         <when>
15355                                                 <test>
15356                                                         <equal>
15357                                                                 <clip pos="4" side="tl" part="gen"/>
15358                                                                 <lit-tag v="GD"/>
15359                                                         </equal>
15360                                                 </test>
15361                                                 <let>
15362                                                         <clip pos="4" side="tl" part="gen"/>
15363                                                         <lit-tag v="m"/>
15364                                                 </let>
15365                                         </when>
15366                                         <when>
15367                                                 <test>
15368                                                         <equal>
15369                                                                 <clip pos="4" side="tl" part="nbr"/>
15370                                                                 <lit-tag v="ND"/>
15371                                                         </equal>
15372                                                 </test>
15373                                                 <let>
15374                                                         <clip pos="4" side="tl" part="nbr"/>
15375                                                         <lit-tag v="sg"/>
15376                                                 </let>
15377                                         </when>
15378                                 </choose>
15379                                 <call-macro n="prn_gostar">
15380                                         <with-param pos="1"/>
15381                                 </call-macro>
15382                                 <out>
15383                                         <b pos="1"/>
15384                                         <lu>
15385                                                 <get-case-from pos="2">
15386                                                         <clip pos="1" side="tl" part="lemh"/>
15387                                                 </get-case-from>
15388                                                 <clip pos="1" side="tl" part="a_verb"/>
15389                                                 <clip pos="1" side="tl" part="temps"/>
15390                                                 <lit-tag v="p3"/>
15391                                                 <clip pos="1" side="tl" part="gen"/>
15392                                                 <clip pos="4" side="tl" part="nbr"/>
15393                                         </lu>
15394                                         <b pos="2"/>
15395                                         <lu>
15396                                                 <clip pos="2" side="tl" part="whole"/>
15397                                         </lu>
15398                                         <b pos="3"/>
15399                                         <lu>
15400                                                 <clip pos="4" side="tl" part="whole"/>
15401                                         </lu>
15402                                 </out>
15403                         </action>
15404                 </rule>
15405                 <rule>
15406                         <!-- REGLA 11: haver gostado de DETERMINANT T-NOM -->
15407                         <pattern>
15408                                 <pattern-item n="vbhaver"/>
15409                                 <pattern-item n="gostarpp"/>
15410                                 <pattern-item n="de"/>
15411                                 <pattern-item n="det"/>
15412                                 <pattern-item n="tnom"/>
15413                         </pattern>
15414                         <action>
15415                                 <call-macro n="f_concord2">
15416                                         <with-param pos="5"/>
15417                                         <with-param pos="4"/>
15418                                 </call-macro>
15419                                 <call-macro n="prn_gostar">
15420                                         <with-param pos="1"/>
15421                                 </call-macro>
15422                                 <out>
15423                                         <b pos="1"/>
15424                                         <lu>
15425                                                 <get-case-from pos="2">
15426                                                         <clip pos="1" side="tl" part="lemh"/>
15427                                                 </get-case-from>
15428                                                 <clip pos="1" side="tl" part="a_verb"/>
15429                                                 <clip pos="1" side="tl" part="temps"/>
15430                                                 <lit-tag v="p3"/>
15431                                                 <clip pos="1" side="tl" part="gen"/>
15432                                                 <clip pos="5" side="tl" part="nbr"/>
15433                                         </lu>
15434                                         <b pos="2"/>
15435                                         <lu>
15436                                                 <clip pos="2" side="tl" part="whole"/>
15437                                         </lu>
15438                                         <b pos="3"/>
15439                                         <lu>
15440                                                 <clip pos="4" side="tl" part="whole"/>
15441                                         </lu>
15442                                         <b pos="4"/>
15443                                         <lu>
15444                                                 <clip pos="5" side="tl" part="lemh"/>
15445                                                 <clip pos="5" side="tl" part="a_tnom"/>
15446                                                 <clip pos="5" side="tl" part="gen"/>
15447                                                 <clip pos="5" side="tl" part="nbr"/>
15448                                                 <clip pos="5" side="tl" part="lemq"/>
15449                                         </lu>
15450                                 </out>
15451                         </action>
15452                 </rule>
15453                 <rule>
15454                         <!-- REGLA 12: haver gostado de NOM ADJECTIU-->
15455                         <pattern>
15456                                 <pattern-item n="vbhaver"/>
15457                                 <pattern-item n="gostarpp"/>
15458                                 <pattern-item n="de"/>
15459                                 <pattern-item n="nom"/>
15460                                 <pattern-item n="adjec"/>
15461                         </pattern>
15462                         <action>
15463                                 <call-macro n="f_concord2">
15464                                         <with-param pos="4"/>
15465                                         <with-param pos="5"/>
15466                                 </call-macro>
15467                                 <call-macro n="f_comparativa">
15468                                         <with-param pos="5"/>
15469                                 </call-macro>
15470                                 <call-macro n="prn_gostar">
15471                                         <with-param pos="1"/>
15472                                 </call-macro>
15473                                 <out>
15474                                         <b pos="1"/>
15475                                         <lu>
15476                                                 <get-case-from pos="2">
15477                                                         <clip pos="1" side="tl" part="lemh"/>
15478                                                 </get-case-from>
15479                                                 <clip pos="1" side="tl" part="a_verb"/>
15480                                                 <clip pos="1" side="tl" part="temps"/>
15481                                                 <lit-tag v="p3"/>
15482                                                 <clip pos="1" side="tl" part="gen"/>
15483                                                 <clip pos="4" side="tl" part="nbr"/>
15484                                         </lu>
15485                                         <b pos="2"/>
15486                                         <lu>
15487                                                 <clip pos="2" side="tl" part="whole"/>
15488                                         </lu>
15489                                         <b pos="3"/>
15490                                         <lu>
15491                                                 <clip pos="4" side="tl" part="whole"/>
15492                                         </lu>
15493                                         <b pos="4"/>
15494                                         <lu>
15495                                                 <clip pos="5" side="tl" part="lemh"/>
15496                                                 <clip pos="5" side="tl" part="a_adjec"/>
15497                                                 <clip pos="5" side="tl" part="gen"/>
15498                                                 <clip pos="5" side="tl" part="nbr"/>
15499                                                 <clip pos="5" side="tl" part="lemq"/>
15500                                         </lu>
15501                                 </out>
15502                         </action>
15503                 </rule>
15504                 <rule>
15505                         <!-- REGLA 13: haver gostado de ADJECTIU NOM -->
15506                         <pattern>
15507                                 <pattern-item n="vbhaver"/>
15508                                 <pattern-item n="gostarpp"/>
15509                                 <pattern-item n="de"/>
15510                                 <pattern-item n="adj"/>
15511                                 <pattern-item n="nom"/>
15512                         </pattern>
15513                         <action>
15514                                 <call-macro n="f_concord2">
15515                                         <with-param pos="5"/>
15516                                         <with-param pos="4"/>
15517                                 </call-macro>
15518                                 <call-macro n="f_comparativa">
15519                                         <with-param pos="4"/>
15520                                 </call-macro>
15521                                 <call-macro n="prn_gostar">
15522                                         <with-param pos="1"/>
15523                                 </call-macro>
15524                                 <out>
15525                                         <b pos="1"/>
15526                                         <lu>
15527                                                 <get-case-from pos="2">
15528                                                         <clip pos="1" side="tl" part="lemh"/>
15529                                                 </get-case-from>
15530                                                 <clip pos="1" side="tl" part="a_verb"/>
15531                                                 <clip pos="1" side="tl" part="temps"/>
15532                                                 <lit-tag v="p3"/>
15533                                                 <clip pos="1" side="tl" part="gen"/>
15534                                                 <clip pos="5" side="tl" part="nbr"/>
15535                                         </lu>
15536                                         <b pos="2"/>
15537                                         <lu>
15538                                                 <clip pos="2" side="tl" part="whole"/>
15539                                         </lu>
15540                                         <b pos="3"/>
15541                                         <lu>
15542                                                 <clip pos="4" side="tl" part="whole"/>
15543                                         </lu>
15544                                         <b pos="4"/>
15545                                         <lu>
15546                                                 <clip pos="5" side="tl" part="whole"/>
15547                                         </lu>
15548                                 </out>
15549                         </action>
15550                 </rule>
15551                 <rule>
15552                         <!-- REGLA 14: haver gostado de DET NOM ADJECTIU-->
15553                         <pattern>
15554                                 <pattern-item n="vbhaver"/>
15555                                 <pattern-item n="gostarpp"/>
15556                                 <pattern-item n="de"/>
15557                                 <pattern-item n="det"/>
15558                                 <pattern-item n="nom"/>
15559                                 <pattern-item n="adjec"/>
15560                         </pattern>
15561                         <action>
15562                                 <call-macro n="f_concord3">
15563                                         <with-param pos="5"/>
15564                                         <with-param pos="6"/>
15565                                         <with-param pos="4"/>
15566                                 </call-macro>
15567                                 <call-macro n="f_comparativa">
15568                                         <with-param pos="6"/>
15569                                 </call-macro>
15570                                 <call-macro n="prn_gostar">
15571                                         <with-param pos="1"/>
15572                                 </call-macro>
15573                                 <out>
15574                                         <b pos="1"/>
15575                                         <lu>
15576                                                 <get-case-from pos="2">
15577                                                         <clip pos="1" side="tl" part="lemh"/>
15578                                                 </get-case-from>
15579                                                 <clip pos="1" side="tl" part="a_verb"/>
15580                                                 <clip pos="1" side="tl" part="temps"/>
15581                                                 <lit-tag v="p3"/>
15582                                                 <clip pos="1" side="tl" part="gen"/>
15583                                                 <clip pos="5" side="tl" part="nbr"/>
15584                                         </lu>
15585                                         <b pos="2"/>
15586                                         <lu>
15587                                                 <clip pos="2" side="tl" part="whole"/>
15588                                         </lu>
15589                                         <b pos="3"/>
15590                                         <lu>
15591                                                 <clip pos="4" side="tl" part="whole"/>
15592                                         </lu>
15593                                         <b pos="4"/>
15594                                         <lu>
15595                                                 <clip pos="5" side="tl" part="whole"/>
15596                                         </lu>
15597                                         <b pos="5"/>
15598                                         <lu>
15599                                                 <clip pos="6" side="tl" part="lemh"/>
15600                                                 <clip pos="6" side="tl" part="a_adjec"/>
15601                                                 <clip pos="6" side="tl" part="gen"/>
15602                                                 <clip pos="6" side="tl" part="nbr"/>
15603                                                 <clip pos="6" side="tl" part="lemq"/>
15604                                         </lu>
15605                                 </out>
15606                         </action>
15607                 </rule>
15608                 <rule>
15609                         <!-- REGLA 15: haver gostado de DET ADJECTIU NOM-->
15610                         <pattern>
15611                                 <pattern-item n="vbhaver"/>
15612                                 <pattern-item n="gostarpp"/>
15613                                 <pattern-item n="de"/>
15614                                 <pattern-item n="det"/>
15615                                 <pattern-item n="adjec"/>
15616                                 <pattern-item n="nom"/>
15617                         </pattern>
15618                         <action>
15619                                 <call-macro n="f_concord3">
15620                                         <with-param pos="6"/>
15621                                         <with-param pos="5"/>
15622                                         <with-param pos="4"/>
15623                                 </call-macro>
15624                                 <call-macro n="f_comparativa">
15625                                         <with-param pos="5"/>
15626                                 </call-macro>
15627                                 <call-macro n="prn_gostar">
15628                                         <with-param pos="1"/>
15629                                 </call-macro>
15630                                 <out>
15631                                         <b pos="1"/>
15632                                         <lu>
15633                                                 <get-case-from pos="2">
15634                                                         <clip pos="1" side="tl" part="lemh"/>
15635                                                 </get-case-from>
15636                                                 <clip pos="1" side="tl" part="a_verb"/>
15637                                                 <clip pos="1" side="tl" part="temps"/>
15638                                                 <lit-tag v="p3"/>
15639                                                 <clip pos="1" side="tl" part="gen"/>
15640                                                 <clip pos="6" side="tl" part="nbr"/>
15641                                         </lu>
15642                                         <b pos="2"/>
15643                                         <lu>
15644                                                 <clip pos="2" side="tl" part="whole"/>
15645                                         </lu>
15646                                         <b pos="3"/>
15647                                         <lu>
15648                                                 <clip pos="4" side="tl" part="whole"/>
15649                                         </lu>
15650                                         <b pos="4"/>
15651                                         <lu>
15652                                                 <clip pos="5" side="tl" part="lemh"/>
15653                                                 <clip pos="5" side="tl" part="a_adjec"/>
15654                                                 <clip pos="5" side="tl" part="gen"/>
15655                                                 <clip pos="5" side="tl" part="nbr"/>
15656                                                 <clip pos="5" side="tl" part="lemq"/>
15657                                         </lu>
15658                                         <b pos="5"/>
15659                                         <lu>
15660                                                 <clip pos="6" side="tl" part="whole"/>
15661                                         </lu>
15662                                 </out>
15663                         </action>
15664                 </rule>
15665                 <rule>
15666                         <!-- REGLA 16: haver gostado de PREDET DET T-NOM-->
15667                         <pattern>
15668                                 <pattern-item n="vbhaver"/>
15669                                 <pattern-item n="gostarpp"/>
15670                                 <pattern-item n="de"/>
15671                                 <pattern-item n="predet"/>
15672                                 <pattern-item n="det"/>
15673                                 <pattern-item n="tnom"/>
15674                         </pattern>
15675                         <action>
15676                                 <call-macro n="f_concord3">
15677                                         <with-param pos="6"/>
15678                                         <with-param pos="5"/>
15679                                         <with-param pos="4"/>
15680                                 </call-macro>
15681                                 <call-macro n="prn_gostar">
15682                                         <with-param pos="1"/>
15683                                 </call-macro>
15684                                 <out>
15685                                         <b pos="1"/>
15686                                         <lu>
15687                                                 <get-case-from pos="2">
15688                                                         <clip pos="1" side="tl" part="lemh"/>
15689                                                 </get-case-from>
15690                                                 <clip pos="1" side="tl" part="a_verb"/>
15691                                                 <clip pos="1" side="tl" part="temps"/>
15692                                                 <lit-tag v="p3"/>
15693                                                 <clip pos="1" side="tl" part="gen"/>
15694                                                 <clip pos="6" side="tl" part="nbr"/>
15695                                         </lu>
15696                                         <b pos="2"/>
15697                                         <lu>
15698                                                 <clip pos="2" side="tl" part="whole"/>
15699                                         </lu>
15700                                         <b pos="3"/>
15701                                         <lu>
15702                                                 <clip pos="4" side="tl" part="whole"/>
15703                                         </lu>
15704                                         <b pos="4"/>
15705                                         <lu>
15706                                                 <clip pos="5" side="tl" part="whole"/>
15707                                         </lu>
15708                                         <b pos="5"/>
15709                                         <lu>
15710                                                 <clip pos="6" side="tl" part="lemh"/>
15711                                                 <clip pos="6" side="tl" part="a_tnom"/>
15712                                                 <clip pos="6" side="tl" part="gen"/>
15713                                                 <clip pos="6" side="tl" part="nbr"/>
15714                                                 <clip pos="6" side="tl" part="lemq"/>
15715                                         </lu>
15716                                 </out>
15717                         </action>
15718                 </rule>
15719                 <rule>
15720                         <!-- REGLA 17: haver gostado de PREDET DET NOM ADJECTIU-->
15721                         <pattern>
15722                                 <pattern-item n="vbhaver"/>
15723                                 <pattern-item n="gostarpp"/>
15724                                 <pattern-item n="de"/>
15725                                 <pattern-item n="predet"/>
15726                                 <pattern-item n="det"/>
15727                                 <pattern-item n="nom"/>
15728                                 <pattern-item n="adjec"/>
15729                         </pattern>
15730                         <action>
15731                                 <call-macro n="f_concord4">
15732                                         <with-param pos="6"/>
15733                                         <with-param pos="7"/>
15734                                         <with-param pos="5"/>
15735                                         <with-param pos="4"/>
15736                                 </call-macro>
15737                                 <call-macro n="f_comparativa">
15738                                         <with-param pos="7"/>
15739                                 </call-macro>
15740                                 <call-macro n="prn_gostar">
15741                                         <with-param pos="1"/>
15742                                 </call-macro>
15743                                 <out>
15744                                         <b pos="1"/>
15745                                         <lu>
15746                                                 <get-case-from pos="2">
15747                                                         <clip pos="1" side="tl" part="lemh"/>
15748                                                 </get-case-from>
15749                                                 <clip pos="1" side="tl" part="a_verb"/>
15750                                                 <clip pos="1" side="tl" part="temps"/>
15751                                                 <lit-tag v="p3"/>
15752                                                 <clip pos="1" side="tl" part="gen"/>
15753                                                 <clip pos="6" side="tl" part="nbr"/>
15754                                         </lu>
15755                                         <b pos="2"/>
15756                                         <lu>
15757                                                 <clip pos="2" side="tl" part="whole"/>
15758                                         </lu>
15759                                         <b pos="3"/>
15760                                         <lu>
15761                                                 <clip pos="4" side="tl" part="whole"/>
15762                                         </lu>
15763                                         <b pos="4"/>
15764                                         <lu>
15765                                                 <clip pos="5" side="tl" part="whole"/>
15766                                         </lu>
15767                                         <b pos="5"/>
15768                                         <lu>
15769                                                 <clip pos="6" side="tl" part="whole"/>
15770                                         </lu>
15771                                         <b pos="6"/>
15772                                         <lu>
15773                                                 <clip pos="7" side="tl" part="lemh"/>
15774                                                 <clip pos="7" side="tl" part="a_adjec"/>
15775                                                 <clip pos="7" side="tl" part="gen"/>
15776                                                 <clip pos="7" side="tl" part="nbr"/>
15777                                                 <clip pos="7" side="tl" part="lemq"/>
15778                                         </lu>
15779                                 </out>
15780                         </action>
15781                 </rule>
15782                 <rule>
15783                         <!-- REGLA 18: haver gostado de PREDETERMINANT T-NOM -->
15784                         <pattern>
15785                                 <pattern-item n="vbhaver"/>
15786                                 <pattern-item n="gostarpp"/>
15787                                 <pattern-item n="de"/>
15788                                 <pattern-item n="predet"/>
15789                                 <pattern-item n="tnom"/>
15790                         </pattern>
15791                         <action>
15792                                 <call-macro n="f_concord2">
15793                                         <with-param pos="5"/>
15794                                         <with-param pos="4"/>
15795                                 </call-macro>
15796                                 <call-macro n="prn_gostar">
15797                                         <with-param pos="1"/>
15798                                 </call-macro>
15799                                 <out>
15800                                         <b pos="1"/>
15801                                         <lu>
15802                                                 <get-case-from pos="2">
15803                                                         <clip pos="1" side="tl" part="lemh"/>
15804                                                 </get-case-from>
15805                                                 <clip pos="1" side="tl" part="a_verb"/>
15806                                                 <clip pos="1" side="tl" part="temps"/>
15807                                                 <lit-tag v="p3"/>
15808                                                 <clip pos="1" side="tl" part="gen"/>
15809                                                 <clip pos="5" side="tl" part="nbr"/>
15810                                         </lu>
15811                                         <b pos="2"/>
15812                                         <lu>
15813                                                 <clip pos="2" side="tl" part="whole"/>
15814                                         </lu>
15815                                         <b pos="3"/>
15816                                         <lu>
15817                                                 <clip pos="4" side="tl" part="whole"/>
15818                                         </lu>
15819                                         <b pos="4"/>
15820                                         <lu>
15821                                                 <clip pos="5" side="tl" part="lemh"/>
15822                                                 <clip pos="5" side="tl" part="a_tnom"/>
15823                                                 <clip pos="5" side="tl" part="gen"/>
15824                                                 <clip pos="5" side="tl" part="nbr"/>
15825                                                 <clip pos="5" side="tl" part="lemq"/>
15826                                         </lu>
15827                                 </out>
15828                         </action>
15829                 </rule>
15830                 <rule>
15831                         <!-- REGLA 19: haver gostado de PREDETERMINANT NOM ADJECTIU -->
15832                         <pattern>
15833                                 <pattern-item n="vbhaver"/>
15834                                 <pattern-item n="gostarpp"/>
15835                                 <pattern-item n="de"/>
15836                                 <pattern-item n="predet"/>
15837                                 <pattern-item n="nom"/>
15838                                 <pattern-item n="adjec"/>
15839                         </pattern>
15840                         <action>
15841                                 <call-macro n="f_concord3">
15842                                         <with-param pos="5"/>
15843                                         <with-param pos="6"/>
15844                                         <with-param pos="4"/>
15845                                 </call-macro>
15846                                 <call-macro n="prn_gostar">
15847                                         <with-param pos="1"/>
15848                                 </call-macro>
15849                                 <out>
15850                                         <b pos="1"/>
15851                                         <lu>
15852                                                 <get-case-from pos="2">
15853                                                         <clip pos="1" side="tl" part="lemh"/>
15854                                                 </get-case-from>
15855                                                 <clip pos="1" side="tl" part="a_verb"/>
15856                                                 <clip pos="1" side="tl" part="temps"/>
15857                                                 <lit-tag v="p3"/>
15858                                                 <clip pos="1" side="tl" part="gen"/>
15859                                                 <clip pos="5" side="tl" part="nbr"/>
15860                                         </lu>
15861                                         <b pos="2"/>
15862                                         <lu>
15863                                                 <clip pos="2" side="tl" part="whole"/>
15864                                         </lu>
15865                                         <b pos="3"/>
15866                                         <lu>
15867                                                 <clip pos="4" side="tl" part="whole"/>
15868                                         </lu>
15869                                         <b pos="4"/>
15870                                         <lu>
15871                                                 <clip pos="5" side="tl" part="whole"/>
15872                                         </lu>
15873                                         <b pos="5"/>
15874                                         <lu>
15875                                                 <clip pos="6" side="tl" part="lemh"/>
15876                                                 <clip pos="6" side="tl" part="a_adjec"/>
15877                                                 <clip pos="6" side="tl" part="gen"/>
15878                                                 <clip pos="6" side="tl" part="nbr"/>
15879                                                 <clip pos="6" side="tl" part="lemq"/>
15880                                         </lu>
15881                                 </out>
15882                         </action>
15883                 </rule>
15884                 <rule>
15885                         <!-- REGLA 20: haver gostado de PREDETERMINANT ADJECTIU NOM -->
15886                         <pattern>
15887                                 <pattern-item n="vbhaver"/>
15888                                 <pattern-item n="gostarpp"/>
15889                                 <pattern-item n="de"/>
15890                                 <pattern-item n="predet"/>
15891                                 <pattern-item n="adjec"/>
15892                                 <pattern-item n="nom"/>
15893                         </pattern>
15894                         <action>
15895                                 <call-macro n="f_concord3">
15896                                         <with-param pos="6"/>
15897                                         <with-param pos="5"/>
15898                                         <with-param pos="4"/>
15899                                 </call-macro>
15900                                 <call-macro n="prn_gostar">
15901                                         <with-param pos="1"/>
15902                                 </call-macro>
15903                                 <out>
15904                                         <b pos="1"/>
15905                                         <lu>
15906                                                 <get-case-from pos="2">
15907                                                         <clip pos="1" side="tl" part="lemh"/>
15908                                                 </get-case-from>
15909                                                 <clip pos="1" side="tl" part="a_verb"/>
15910                                                 <clip pos="1" side="tl" part="temps"/>
15911                                                 <lit-tag v="p3"/>
15912                                                 <clip pos="1" side="tl" part="gen"/>
15913                                                 <clip pos="6" side="tl" part="nbr"/>
15914                                         </lu>
15915                                         <b pos="2"/>
15916                                         <lu>
15917                                                 <clip pos="2" side="tl" part="whole"/>
15918                                         </lu>
15919                                         <b pos="3"/>
15920                                         <lu>
15921                                                 <clip pos="4" side="tl" part="whole"/>
15922                                         </lu>
15923                                         <b pos="4"/>
15924                                         <lu>
15925                                                 <clip pos="5" side="tl" part="lemh"/>
15926                                                 <clip pos="5" side="tl" part="a_adjec"/>
15927                                                 <clip pos="5" side="tl" part="gen"/>
15928                                                 <clip pos="5" side="tl" part="nbr"/>
15929                                                 <clip pos="5" side="tl" part="lemq"/>
15930                                         </lu>
15931                                         <b pos="5"/>
15932                                         <lu>
15933                                                 <clip pos="6" side="tl" part="whole"/>
15934                                         </lu>
15935                                 </out>
15936                         </action>
15937                 </rule>
15938                 <rule>
15939                         <!-- REGLA 24: haver gostado de NOM ADVERBI ADJECTIU-->
15940                         <pattern>
15941                                 <pattern-item n="vbhaver"/>
15942                                 <pattern-item n="gostarpp"/>
15943                                 <pattern-item n="de"/>
15944                                 <pattern-item n="nom"/>
15945                                 <pattern-item n="adv"/>
15946                                 <pattern-item n="adjec"/>
15947                         </pattern>
15948                         <action>
15949                                 <call-macro n="f_concord2">
15950                                         <with-param pos="4"/>
15951                                         <with-param pos="6"/>
15952                                 </call-macro>
15953                                 <call-macro n="f_comparativa">
15954                                         <with-param pos="5"/>
15955                                 </call-macro>
15956                                 <call-macro n="f_comparativa">
15957                                         <with-param pos="6"/>
15958                                 </call-macro>
15959                                 <call-macro n="prn_gostar">
15960                                         <with-param pos="1"/>
15961                                 </call-macro>
15962                                 <out>
15963                                         <b pos="1"/>
15964                                         <lu>
15965                                                 <get-case-from pos="2">
15966                                                         <clip pos="1" side="tl" part="lemh"/>
15967                                                 </get-case-from>
15968                                                 <clip pos="1" side="tl" part="a_verb"/>
15969                                                 <clip pos="1" side="tl" part="temps"/>
15970                                                 <lit-tag v="p3"/>
15971                                                 <clip pos="1" side="tl" part="gen"/>
15972                                                 <clip pos="4" side="tl" part="nbr"/>
15973                                         </lu>
15974                                         <b pos="2"/>
15975                                         <lu>
15976                                                 <clip pos="2" side="tl" part="whole"/>
15977                                         </lu>
15978                                         <b pos="3"/>
15979                                         <lu>
15980                                                 <clip pos="4" side="tl" part="whole"/>
15981                                         </lu>
15982                                         <b pos="4"/>
15983                                         <lu>
15984                                                 <clip pos="5" side="tl" part="whole"/>
15985                                         </lu>
15986                                         <b pos="5"/>
15987                                         <lu>
15988                                                 <clip pos="6" side="tl" part="lemh"/>
15989                                                 <clip pos="6" side="tl" part="a_adjec"/>
15990                                                 <clip pos="6" side="tl" part="gen"/>
15991                                                 <clip pos="6" side="tl" part="nbr"/>
15992                                                 <clip pos="6" side="tl" part="lemq"/>
15993                                         </lu>
15994                                 </out>
15995                         </action>
15996                 </rule>
15997                 <rule>
15998                         <!-- REGLA 25: haver gostado de DET NOM ADVERBI ADJECTIU -->
15999                         <pattern>
16000                                 <pattern-item n="vbhaver"/>
16001                                 <pattern-item n="gostarpp"/>
16002                                 <pattern-item n="de"/>
16003                                 <pattern-item n="det"/>
16004                                 <pattern-item n="nom"/>
16005                                 <pattern-item n="adv"/>
16006                                 <pattern-item n="adjec"/>
16007                         </pattern>
16008                         <action>
16009                                 <call-macro n="f_concord3">
16010                                         <with-param pos="5"/>
16011                                         <with-param pos="4"/>
16012                                         <with-param pos="7"/>
16013                                 </call-macro>
16014                                 <call-macro n="f_comparativa">
16015                                         <with-param pos="6"/>
16016                                 </call-macro>
16017                                 <call-macro n="f_comparativa">
16018                                         <with-param pos="7"/>
16019                                 </call-macro>
16020                                 <call-macro n="prn_gostar">
16021                                         <with-param pos="1"/>
16022                                 </call-macro>
16023                                 <out>
16024                                         <b pos="1"/>
16025                                         <lu>
16026                                                 <get-case-from pos="2">
16027                                                         <clip pos="1" side="tl" part="lemh"/>
16028                                                 </get-case-from>
16029                                                 <clip pos="1" side="tl" part="a_verb"/>
16030                                                 <clip pos="1" side="tl" part="temps"/>
16031                                                 <lit-tag v="p3"/>
16032                                                 <clip pos="1" side="tl" part="gen"/>
16033                                                 <clip pos="5" side="tl" part="nbr"/>
16034                                         </lu>
16035                                         <b pos="2"/>
16036                                         <lu>
16037                                                 <clip pos="2" side="tl" part="whole"/>
16038                                         </lu>
16039                                         <b pos="3"/>
16040                                         <lu>
16041                                                 <clip pos="4" side="tl" part="whole"/>
16042                                         </lu>
16043                                         <b pos="4"/>
16044                                         <lu>
16045                                                 <clip pos="5" side="tl" part="whole"/>
16046                                         </lu>
16047                                         <b pos="5"/>
16048                                         <lu>
16049                                                 <clip pos="6" side="tl" part="whole"/>
16050                                         </lu>
16051                                         <b pos="6"/>
16052                                         <lu>
16053                                                 <clip pos="7" side="tl" part="lemh"/>
16054                                                 <clip pos="7" side="tl" part="a_adjec"/>
16055                                                 <clip pos="7" side="tl" part="gen"/>
16056                                                 <clip pos="7" side="tl" part="nbr"/>
16057                                                 <clip pos="7" side="tl" part="lemq"/>
16058                                         </lu>
16059                                 </out>
16060                         </action>
16061                 </rule>
16062                 <rule>
16063                         <!-- REGLA 26: haver gostado de DET ADVERBI T-NOM-->
16064                         <pattern>
16065                                 <pattern-item n="vbhaver"/>
16066                                 <pattern-item n="gostarpp"/>
16067                                 <pattern-item n="de"/>
16068                                 <pattern-item n="det"/>
16069                                 <pattern-item n="adv"/>
16070                                 <pattern-item n="tnom"/>
16071                         </pattern>
16072                         <action>
16073                                 <call-macro n="f_concord2">
16074                                         <with-param pos="6"/>
16075                                         <with-param pos="4"/>
16076                                 </call-macro>
16077                                 <call-macro n="f_comparativa">
16078                                         <with-param pos="5"/>
16079                                 </call-macro>
16080                                 <call-macro n="prn_gostar">
16081                                         <with-param pos="1"/>
16082                                 </call-macro>
16083                                 <out>
16084                                         <b pos="1"/>
16085                                         <lu>
16086                                                 <get-case-from pos="2">
16087                                                         <clip pos="1" side="tl" part="lemh"/>
16088                                                 </get-case-from>
16089                                                 <clip pos="1" side="tl" part="a_verb"/>
16090                                                 <clip pos="1" side="tl" part="temps"/>
16091                                                 <lit-tag v="p3"/>
16092                                                 <clip pos="1" side="tl" part="gen"/>
16093                                                 <clip pos="6" side="tl" part="nbr"/>
16094                                         </lu>
16095                                         <b pos="2"/>
16096                                         <lu>
16097                                                 <clip pos="2" side="tl" part="whole"/>
16098                                         </lu>
16099                                         <b pos="3"/>
16100                                         <lu>
16101                                                 <clip pos="4" side="tl" part="whole"/>
16102                                         </lu>
16103                                         <b pos="4"/>
16104                                         <lu>
16105                                                 <clip pos="5" side="tl" part="whole"/>
16106                                         </lu>
16107                                         <b pos="5"/>
16108                                         <lu>
16109                                                 <clip pos="6" side="tl" part="lemh"/>
16110                                                 <clip pos="6" side="tl" part="a_tnom"/>
16111                                                 <clip pos="6" side="tl" part="gen"/>
16112                                                 <clip pos="6" side="tl" part="nbr"/>
16113                                                 <clip pos="6" side="tl" part="lemq"/>
16114                                         </lu>
16115                                 </out>
16116                         </action>
16117                 </rule>
16118                 <rule>
16119                         <!-- REGLA 27: haver gostado de NUMERAL T-NOM -->
16120                         <pattern>
16121                                 <pattern-item n="vbhaver"/>
16122                                 <pattern-item n="gostarpp"/>
16123                                 <pattern-item n="de"/>
16124                                 <pattern-item n="num"/>
16125                                 <pattern-item n="tnom"/>
16126                         </pattern>
16127                         <action>
16128                                 <call-macro n="f_concord2">
16129                                         <with-param pos="5"/>
16130                                         <with-param pos="4"/>
16131                                 </call-macro>
16132                                 <call-macro n="prn_gostar">
16133                                         <with-param pos="1"/>
16134                                 </call-macro>
16135                                 <out>
16136                                         <b pos="1"/>
16137                                         <lu>
16138                                                 <get-case-from pos="2">
16139                                                         <clip pos="1" side="tl" part="lemh"/>
16140                                                 </get-case-from>
16141                                                 <clip pos="1" side="tl" part="a_verb"/>
16142                                                 <clip pos="1" side="tl" part="temps"/>
16143                                                 <lit-tag v="p3"/>
16144                                                 <clip pos="1" side="tl" part="gen"/>
16145                                                 <clip pos="5" side="tl" part="nbr"/>
16146                                         </lu>
16147                                         <b pos="2"/>
16148                                         <lu>
16149                                                 <clip pos="2" side="tl" part="whole"/>
16150                                         </lu>
16151                                         <b pos="3"/>
16152                                         <lu>
16153                                                 <clip pos="4" side="tl" part="whole"/>
16154                                         </lu>
16155                                         <b pos="4"/>
16156                                         <lu>
16157                                                 <clip pos="5" side="tl" part="lemh"/>
16158                                                 <clip pos="5" side="tl" part="a_tnom"/>
16159                                                 <clip pos="5" side="tl" part="gen"/>
16160                                                 <clip pos="5" side="tl" part="nbr"/>
16161                                                 <clip pos="5" side="tl" part="lemq"/>
16162                                         </lu>
16163                                 </out>
16164                         </action>
16165                 </rule>
16166                 <rule>
16167                         <!-- REGLA 29: haver gostado de NUMERAL NOM ADJECTIU -->
16168                         <pattern>
16169                                 <pattern-item n="vbhaver"/>
16170                                 <pattern-item n="gostarpp"/>
16171                                 <pattern-item n="de"/>
16172                                 <pattern-item n="num"/>
16173                                 <pattern-item n="nom"/>
16174                                 <pattern-item n="adjec"/>
16175                         </pattern>
16176                         <action>
16177                                 <call-macro n="f_concord3">
16178                                         <with-param pos="5"/>
16179                                         <with-param pos="4"/>
16180                                         <with-param pos="6"/>
16181                                 </call-macro>
16182                                 <call-macro n="f_comparativa">
16183                                         <with-param pos="6"/>
16184                                 </call-macro>
16185                                 <call-macro n="prn_gostar">
16186                                         <with-param pos="1"/>
16187                                 </call-macro>
16188                                 <out>
16189                                         <b pos="1"/>
16190                                         <lu>
16191                                                 <get-case-from pos="2">
16192                                                         <clip pos="1" side="tl" part="lemh"/>
16193                                                 </get-case-from>
16194                                                 <clip pos="1" side="tl" part="a_verb"/>
16195                                                 <clip pos="1" side="tl" part="temps"/>
16196                                                 <lit-tag v="p3"/>
16197                                                 <clip pos="1" side="tl" part="gen"/>
16198                                                 <clip pos="5" side="tl" part="nbr"/>
16199                                         </lu>
16200                                         <b pos="2"/>
16201                                         <lu>
16202                                                 <clip pos="2" side="tl" part="whole"/>
16203                                         </lu>
16204                                         <b pos="3"/>
16205                                         <lu>
16206                                                 <clip pos="4" side="tl" part="lem"/>
16207                                                 <clip pos="4" side="tl" part="a_num"/>
16208                                                 <clip pos="4" side="tl" part="gen"/>
16209                                                 <clip pos="4" side="tl" part="nbr"/>
16210                                         </lu>
16211                                         <b pos="4"/>
16212                                         <lu>
16213                                                 <clip pos="5" side="tl" part="lem"/>
16214                                                 <clip pos="5" side="tl" part="a_nom"/>
16215                                                 <clip pos="5" side="tl" part="gen"/>
16216                                                 <clip pos="5" side="tl" part="nbr"/>
16217                                         </lu>
16218                                         <b pos="5"/>
16219                                         <lu>
16220                                                 <clip pos="6" side="tl" part="lem"/>
16221                                                 <clip pos="6" side="tl" part="a_adjec"/>
16222                                                 <clip pos="6" side="tl" part="gen"/>
16223                                                 <clip pos="6" side="tl" part="nbr"/>
16224                                         </lu>
16225                                 </out>
16226                         </action>
16227                 </rule>
16228                 <rule>
16229                         <!-- REGLA 30: haver gostado de NUMERAL ADJECTIU NOM -->
16230                         <pattern>
16231                                 <pattern-item n="vbhaver"/>
16232                                 <pattern-item n="gostarpp"/>
16233                                 <pattern-item n="de"/>
16234                                 <pattern-item n="num"/>
16235                                 <pattern-item n="adjec"/>
16236                                 <pattern-item n="nom"/>
16237                         </pattern>
16238                         <action>
16239                                 <call-macro n="f_concord3">
16240                                         <with-param pos="6"/>
16241                                         <with-param pos="5"/>
16242                                         <with-param pos="4"/>
16243                                 </call-macro>
16244                                 <call-macro n="f_comparativa">
16245                                         <with-param pos="5"/>
16246                                 </call-macro>
16247                                 <call-macro n="prn_gostar">
16248                                         <with-param pos="1"/>
16249                                 </call-macro>
16250                                 <out>
16251                                         <b pos="1"/>
16252                                         <lu>
16253                                                 <get-case-from pos="2">
16254                                                         <clip pos="1" side="tl" part="lemh"/>
16255                                                 </get-case-from>
16256                                                 <clip pos="1" side="tl" part="a_verb"/>
16257                                                 <clip pos="1" side="tl" part="temps"/>
16258                                                 <lit-tag v="p3"/>
16259                                                 <clip pos="1" side="tl" part="gen"/>
16260                                                 <clip pos="5" side="tl" part="nbr"/>
16261                                         </lu>
16262                                         <b pos="2"/>
16263                                         <lu>
16264                                                 <clip pos="2" side="tl" part="whole"/>
16265                                         </lu>
16266                                         <b pos="3"/>
16267                                         <lu>
16268                                                 <clip pos="4" side="tl" part="whole"/>
16269                                         </lu>
16270                                         <b pos="4"/>
16271                                         <lu>
16272                                                 <clip pos="5" side="tl" part="lemh"/>
16273                                                 <clip pos="5" side="tl" part="a_adjec"/>
16274                                                 <clip pos="5" side="tl" part="gen"/>
16275                                                 <clip pos="5" side="tl" part="nbr"/>
16276                                                 <clip pos="5" side="tl" part="lemq"/>
16277                                         </lu>
16278                                         <b pos="5"/>
16279                                         <lu>
16280                                                 <clip pos="6" side="tl" part="whole"/>
16281                                         </lu>
16282                                 </out>
16283                         </action>
16284                 </rule>
16285                 <rule>
16286                         <!-- REGLA 31: haver gostado de DET NUMERAL T-NOM -->
16287                         <pattern>
16288                                 <pattern-item n="vbhaver"/>
16289                                 <pattern-item n="gostarpp"/>
16290                                 <pattern-item n="de"/>
16291                                 <pattern-item n="det"/>
16292                                 <pattern-item n="num"/>
16293                                 <pattern-item n="tnom"/>
16294                         </pattern>
16295                         <action>
16296                                 <call-macro n="f_concord3">
16297                                         <with-param pos="6"/>
16298                                         <with-param pos="5"/>
16299                                         <with-param pos="4"/>
16300                                 </call-macro>
16301                                 <call-macro n="prn_gostar">
16302                                         <with-param pos="1"/>
16303                                 </call-macro>
16304                                 <out>
16305                                         <b pos="1"/>
16306                                         <lu>
16307                                                 <get-case-from pos="2">
16308                                                         <clip pos="1" side="tl" part="lemh"/>
16309                                                 </get-case-from>
16310                                                 <clip pos="1" side="tl" part="a_verb"/>
16311                                                 <clip pos="1" side="tl" part="temps"/>
16312                                                 <lit-tag v="p3"/>
16313                                                 <clip pos="1" side="tl" part="gen"/>
16314                                                 <clip pos="6" side="tl" part="nbr"/>
16315                                         </lu>
16316                                         <b pos="2"/>
16317                                         <lu>
16318                                                 <clip pos="2" side="tl" part="whole"/>
16319                                         </lu>
16320                                         <b pos="3"/>
16321                                         <lu>
16322                                                 <clip pos="4" side="tl" part="whole"/>
16323                                         </lu>
16324                                         <b pos="4"/>
16325                                         <lu>
16326                                                 <clip pos="5" side="tl" part="whole"/>
16327                                         </lu>
16328                                         <b pos="5"/>
16329                                         <lu>
16330                                                 <clip pos="6" side="tl" part="lemh"/>
16331                                                 <clip pos="6" side="tl" part="a_tnom"/>
16332                                                 <clip pos="6" side="tl" part="gen"/>
16333                                                 <clip pos="6" side="tl" part="nbr"/>
16334                                                 <clip pos="6" side="tl" part="lemq"/>
16335                                         </lu>
16336                                 </out>
16337                         </action>
16338                 </rule>
16339                 <rule>
16340                         <!-- REGLA 31: haver gostado de np -->
16341                         <pattern>
16342                                 <pattern-item n="vbhaver"/>
16343                                 <pattern-item n="gostarpp"/>
16344                                 <pattern-item n="de"/>
16345                                 <pattern-item n="np"/>
16346                         </pattern>
16347                         <action>
16348                                 <call-macro n="prn_gostar">
16349                                         <with-param pos="1"/>
16350                                 </call-macro>
16351                                 <out>
16352                                         <b pos="1"/>
16353                                         <lu>
16354                                                 <get-case-from pos="2">
16355                                                         <clip pos="1" side="tl" part="lemh"/>
16356                                                 </get-case-from>
16357                                                 <clip pos="1" side="tl" part="a_verb"/>
16358                                                 <clip pos="1" side="tl" part="temps"/>
16359                                                 <lit-tag v="p3"/>
16360                                                 <clip pos="1" side="tl" part="gen"/>
16361                                                 <lit-tag v="sg"/>
16362                                         </lu>
16363                                         <b pos="2"/>
16364                                         <lu>
16365                                                 <clip pos="2" side="tl" part="whole"/>
16366                                         </lu>
16367                                         <b pos="3"/>
16368                                         <lu>
16369                                                 <clip pos="4" side="tl" part="whole"/>
16370                                         </lu>
16371                                 </out>
16372                         </action>
16373                 </rule>
16374                 <rule>
16375                         <!-- REGLA 31: haver gostado de DET np -->
16376                         <pattern>
16377                                 <pattern-item n="vbhaver"/>
16378                                 <pattern-item n="gostarpp"/>
16379                                 <pattern-item n="de"/>
16380                                 <pattern-item n="det"/>
16381                                 <pattern-item n="np"/>
16382                         </pattern>
16383                         <action>
16384                                 <call-macro n="prn_gostar">
16385                                         <with-param pos="1"/>
16386                                 </call-macro>
16387                                 <out>
16388                                         <b pos="1"/>
16389                                         <lu>
16390                                                 <get-case-from pos="2">
16391                                                         <clip pos="1" side="tl" part="lemh"/>
16392                                                 </get-case-from>
16393                                                 <clip pos="1" side="tl" part="a_verb"/>
16394                                                 <clip pos="1" side="tl" part="temps"/>
16395                                                 <lit-tag v="p3"/>
16396                                                 <clip pos="1" side="tl" part="gen"/>
16397                                                 <lit-tag v="sg"/>
16398                                         </lu>
16399                                         <b pos="2"/>
16400                                         <lu>
16401                                                 <clip pos="2" side="tl" part="whole"/>
16402                                         </lu>
16403                                         <b pos="3"/>
16404                                         <lu>
16405                                                 <clip pos="5" side="tl" part="whole"/>
16406                                         </lu>
16407                                 </out>
16408                                 <call-macro n="f_bcond">
16409                                         <with-param pos="4"/>
16410                                 </call-macro>
16411                         </action>
16412                 </rule>
16413                 <rule>
16414                         <!-- REGLA 31: haver gostado de inf-->
16415                         <pattern>
16416                                 <pattern-item n="vbhaver"/>
16417                                 <pattern-item n="gostarpp"/>
16418                                 <pattern-item n="de"/>
16419                                 <pattern-item n="inf"/>
16420                         </pattern>
16421                         <action>
16422                                 <call-macro n="prn_gostar">
16423                                         <with-param pos="1"/>
16424                                 </call-macro>
16425                                 <out>
16426                                         <b pos="1"/>
16427                                         <lu>
16428                                                 <get-case-from pos="2">
16429                                                         <clip pos="1" side="tl" part="lemh"/>
16430                                                 </get-case-from>
16431                                                 <clip pos="1" side="tl" part="a_verb"/>
16432                                                 <clip pos="1" side="tl" part="temps"/>
16433                                                 <lit-tag v="p3"/>
16434                                                 <clip pos="1" side="tl" part="gen"/>
16435                                                 <lit-tag v="sg"/>
16436                                         </lu>
16437                                         <b pos="2"/>
16438                                         <lu>
16439                                                 <clip pos="2" side="tl" part="whole"/>
16440                                         </lu>
16441                                         <b pos="3"/>
16442                                         <lu>
16443                                                 <clip pos="4" side="tl" part="lemh"/>
16444                                                 <clip pos="4" side="tl" part="a_verb"/>
16445                                                 <clip pos="4" side="tl" part="temps"/>
16446                                                 <clip pos="4" side="tl" part="persona"/>
16447                                                 <clip pos="4" side="tl" part="nbr"/>
16448                                                 <clip pos="4" side="tl" part="lemq"/>
16449                                         </lu>
16450                                 </out>
16451                         </action>
16452                 </rule>
16453                 <!--
16454         
16455         <rule> <!-#-ter de -> tener que-#->
16456                 <pattern>
16457                         <pattern-item n="ter"/>
16458                         <pattern-item n="de"/>
16459                 </pattern>
16460                 <action>
16461                         <choose>
16462                                 <when>
16463                                         <test>
16464                                                 <or>
16465                                                         <equal>
16466                                                                 <clip pos="1" side="sl" part="temps"/>
16467                                                                 <lit-tag v="infps"/>
16468                                                         </equal>
16469                                                         <equal>
16470                                                                 <clip pos="1" side="sl" part="temps"/>
16471                                                                 <lit-tag v="fts"/>
16472                                                         </equal>
16473                                                 </or>
16474                                         </test>
16475                                         <out>
16476                                                 <lu>
16477                                                         <clip pos="1" side="tl" part="lemh"/>
16478                                                         <clip pos="1" side="tl" part="a_verb"/>
16479                                                         <lit-tag v="prs"/>
16480                                                         <clip pos="1" side="tl" part="persona"/>
16481                                                         <clip pos="1" side="tl" part="nbr"/>
16482                                                         <clip pos="1" side="tl" part="lemq"/>    
16483                                                 </lu>
16484                                         </out>
16485                                 </when>
16486                                 <otherwise>
16487                                         <choose>
16488                                                 <when>
16489                                                         <test>
16490                                                                 <equal>
16491                                                                         <clip pos="1" side="sl" part="temps"/>
16492                                                                         <lit-tag v="pmp"/>
16493                                                                 </equal>
16494                                                         </test>
16495                                                         <out>
16496                                                                 <lu>
16497                                                                         <get-case-from pos="1" >
16498                                                                                 <lit v="haber"/>
16499                                                                         </get-case-from>
16500                                                                         <lit-tag v="vbhaver.ifi"/>
16501                                                                         <clip pos="1" side="tl" part="persona"/>
16502                                                                         <clip pos="1" side="tl" part="nbr"/>
16503                                                                 </lu>
16504                                                                 <b pos="1"/>
16505                                                                 <lu>
16506                                                                         <clip pos="1" side="tl" part="lemh"/>
16507                                                                         <clip pos="1" side="tl" part="a_verb"/>
16508                                                                         <lit-tag v="pp.m.sg"/>
16509                                                                         <clip pos="1" side="tl" part="lemq"/>   
16510                                                                 </lu>
16511                                                         </out>
16512                                                 </when>
16513                                                 <otherwise>
16514                                                         <out>
16515                                                                 <lu>
16516                                                                         <clip pos="1" side="tl" part="lemh"/>
16517                                                                         <clip pos="1" side="tl" part="a_verb"/>
16518                                                                         <clip pos="1" side="tl" part="temps"/>
16519                                                                         <clip pos="1" side="tl" part="persona"/>
16520                                                                         <clip pos="1" side="tl" part="gen"/>
16521                                                                         <clip pos="1" side="tl" part="nbr"/>
16522                                                                         <clip pos="1" side="tl" part="lemq"/>    
16523                                                                 </lu>
16524                                                         </out>  
16525                                                 </otherwise>
16526                                         </choose>
16527                                 </otherwise>
16528                         </choose>
16529                         <out>
16530                                 <b pos="1"/>
16531                                 <lu>
16532                                         <lit v="que"/>
16533                                         <lit-tag v="cnjsub"/>
16534                                 </lu>
16535                         </out>  
16536                 </action>
16537         </rule>
16538         
16539         <rule>
16540                 <pattern>
16541                         <pattern-item n="ter"/>
16542                         <pattern-item n="prnenc"/>
16543                         <pattern-item n="de"/>
16544                 </pattern>
16545                 <action>
16546                         <choose>
16547                                 <when>
16548                                         <test>
16549                                                 <or>
16550                                                         <equal>
16551                                                                 <clip pos="1" side="sl" part="temps"/>
16552                                                                 <lit-tag v="inf"/>
16553                                                         </equal>
16554                                                         <equal>
16555                                                                 <clip pos="1" side="sl" part="temps"/>
16556                                                                 <lit-tag v="ger"/>
16557                                                         </equal>
16558                                                         <equal>
16559                                                                 <clip pos="1" side="sl" part="temps"/>
16560                                                                 <lit-tag v="imp"/>
16561                                                         </equal>
16562                                                 </or>
16563                                         </test>
16564                                         <out>
16565                                                 <mlu>
16566                                                         <lu>
16567                                                                 <clip pos="1" side="tl" part="lemh"/>
16568                                                                 <clip pos="1" side="tl" part="a_verb"/>
16569                                                                 <clip pos="1" side="tl" part="temps"/>
16570                                                                 <clip pos="1" side="tl" part="persona"/>
16571                                                                 <clip pos="1" side="tl" part="nbr"/>
16572                                                         </lu>
16573                                                         <lu>
16574                                                                 <clip pos="2" side="tl" part="lem"/>
16575                                                                 <clip pos="2" side="tl" part="a_prnenc"/>
16576                                                                 <clip pos="2" side="tl" part="persona"/>
16577                                                                 <clip pos="2" side="tl" part="gen"/>
16578                                                                 <clip pos="2" side="tl" part="nbr"/>
16579                                                                 <clip pos="1" side="tl" part="lemq"/>
16580                                                         </lu>  
16581                                                 </mlu>
16582                                         </out>
16583                                 </when>
16584                                 <otherwise>
16585                                         <out>
16586                                                 <lu>   
16587                                                         <get-case-from pos="1" >
16588                                                                 <clip pos="2" side="tl" part="lem"/>
16589                                                         </get-case-from>
16590                                                         <lit-tag v="prn.pro" />
16591                                                         <clip pos="2" side="tl" part="tipoenc_pro"/>
16592                                                 </lu>
16593                                                 <b pos="1"/> 
16594                                         </out>
16595                                         <choose>
16596                                                 <when>
16597                                                         <test>
16598                                                                 <or>
16599                                                                         <equal>
16600                                                                                 <clip pos="1" side="sl" part="temps"/>
16601                                                                                 <lit-tag v="infps"/>
16602                                                                         </equal>
16603                                                                         <equal>
16604                                                                                 <clip pos="1" side="sl" part="temps"/>
16605                                                                                 <lit-tag v="fts"/>
16606                                                                         </equal>
16607                                                                 </or>
16608                                                         </test>
16609                                                         <out>
16610                                                                 <lu>   
16611                                                                         <get-case-from pos="2" >
16612                                                                                 <clip pos="1" side="tl" part="lemh"/>
16613                                                                         </get-case-from>
16614                                                                         <clip pos="1" side="tl" part="a_verb"/>
16615                                                                         <lit-tag v="prs"/>
16616                                                                         <clip pos="1" side="tl" part="persona"/>
16617                                                                         <clip pos="1" side="tl" part="nbr"/>
16618                                                                         <clip pos="1" side="tl" part="lemq"/>    
16619                                                                 </lu>
16620                                                         </out>
16621                                                 </when>
16622                                                 <otherwise>
16623                                                         <choose>
16624                                                                 <when>
16625                                                                         <test>
16626                                                                                 <equal>
16627                                                                                         <clip pos="1" side="sl" part="temps"/>
16628                                                                                         <lit-tag v="pmp"/>
16629                                                                                 </equal>
16630                                                                         </test>
16631                                                                         <out>
16632                                                                                 <lu>  
16633                                                                                         <get-case-from pos="2" >
16634                                                                                                 <lit v="haber"/>
16635                                                                                         </get-case-from>
16636                                                                                         <lit-tag v="vbhaver.ifi"/>
16637                                                                                         <clip pos="1" side="tl" part="persona"/>
16638                                                                                         <clip pos="1" side="tl" part="nbr"/>
16639                                                                                 </lu>
16640                                                                                 <b pos="1"/>
16641                                                                                 <lu>
16642                                                                                         <clip pos="1" side="tl" part="lemh"/>
16643                                                                                         <clip pos="1" side="tl" part="a_verb"/>
16644                                                                                         <lit-tag v="pp.m.sg"/>
16645                                                                                         <clip pos="1" side="tl" part="lemq"/>   
16646                                                                                 </lu>
16647                                                                         </out>
16648                                                                 </when> 
16649                                                                 <otherwise>
16650                                                                         <out>
16651                                                                                 <lu>
16652                                                                                         <get-case-from pos="2" >
16653                                                                                                 <clip pos="1" side="tl" part="lemh"/>
16654                                                                                         </get-case-from>
16655                                                                                         <clip pos="1" side="tl" part="a_verb"/>
16656                                                                                         <clip pos="1" side="tl" part="temps"/>
16657                                                                                         <clip pos="1" side="tl" part="persona"/>
16658                                                                                         <clip pos="1" side="tl" part="gen"/>
16659                                                                                         <clip pos="1" side="tl" part="nbr"/>
16660                                                                                         <clip pos="1" side="tl" part="lemq"/>    
16661                                                                                 </lu>
16662                                                                         </out>  
16663                                                                 </otherwise>
16664                                                         </choose>
16665                                                 </otherwise>
16666                                         </choose>
16667                                 </otherwise>            
16668                         </choose>
16669                         <out>
16670                                 <b pos="2"/>
16671                                 <lu>
16672                                         <lit v="que"/>
16673                                         <lit-tag v="cnjsub"/>
16674                                 </lu>
16675                         </out>  
16676                 </action>
16677         </rule>
16678         
16679         <rule> 
16680                 <pattern>
16681                         <pattern-item n="prnpro"/>
16682                         <pattern-item n="ter"/>
16683                         <pattern-item n="de"/>
16684                 </pattern>
16685                 <action>
16686                         <choose>
16687                                 <when>
16688                                         <test>
16689                                                 <or>
16690                                                         <equal>
16691                                                                 <clip pos="2" side="sl" part="temps"/>
16692                                                                 <lit-tag v="inf"/>
16693                                                         </equal>
16694                                                         <equal>
16695                                                                 <clip pos="2" side="sl" part="temps"/>
16696                                                                 <lit-tag v="ger"/>
16697                                                         </equal>
16698                                                         <equal>
16699                                                                 <clip pos="2" side="sl" part="temps"/>
16700                                                                 <lit-tag v="imp"/>
16701                                                         </equal>
16702                                                 </or>
16703                                         </test>
16704                                         <out>
16705                                                 <mlu>
16706                                                         <lu>
16707                                                                 <get-case-from pos="1" >
16708                                                                         <clip pos="2" side="tl" part="lemh"/>
16709                                                                 </get-case-from>
16710                                                                 <clip pos="2" side="tl" part="a_verb"/>
16711                                                                 <clip pos="2" side="tl" part="temps"/>
16712                                                                 <clip pos="2" side="tl" part="persona"/>
16713                                                                 <clip pos="2" side="tl" part="nbr"/>
16714                                                         </lu>
16715                                                         <lu>
16716                                                                 <get-case-from pos="2" >
16717                                                                         <clip pos="1" side="tl" part="lem"/>
16718                                                                 </get-case-from>
16719                                                                 <lit-tag v="prn.enc" />
16720                                                                 <clip pos="1" side="tl" part="tipoenc_pro"/>
16721                                                                 <clip pos="2" side="tl" part="lemq"/>
16722                                                         </lu>  
16723                                                 </mlu>
16724                                         </out>
16725                                 </when>
16726                                 <otherwise>
16727                                         <out>
16728                                                 <lu>   
16729                                                         <get-case-from pos="1" >
16730                                                                 <clip pos="1" side="tl" part="lem"/>
16731                                                         </get-case-from>
16732                                                         <lit-tag v="prn.pro" />
16733                                                         <clip pos="1" side="tl" part="tipoenc_pro"/>
16734                                                 </lu>
16735                                                 <b pos="1"/> 
16736                                         </out>
16737                                         <choose>
16738                                                 <when>
16739                                                         <test>
16740                                                                 <or>
16741                                                                         <equal>
16742                                                                                 <clip pos="2" side="sl" part="temps"/>
16743                                                                                 <lit-tag v="infps"/>
16744                                                                         </equal>
16745                                                                         <equal>
16746                                                                                 <clip pos="2" side="sl" part="temps"/>
16747                                                                                 <lit-tag v="fts"/>
16748                                                                         </equal>
16749                                                                 </or>
16750                                                         </test>
16751                                                         <out>
16752                                                                 <lu>   
16753                                                                         <clip pos="2" side="tl" part="lemh"/>
16754                                                                         <clip pos="2" side="tl" part="a_verb"/>
16755                                                                         <lit-tag v="prs"/>
16756                                                                         <clip pos="2" side="tl" part="persona"/>
16757                                                                         <clip pos="2" side="tl" part="nbr"/>
16758                                                                         <clip pos="2" side="tl" part="lemq"/>    
16759                                                                 </lu>
16760                                                         </out>
16761                                                 </when>
16762                                                 <otherwise>
16763                                                         <choose>
16764                                                                 <when>
16765                                                                         <test>
16766                                                                                 <equal>
16767                                                                                         <clip pos="2" side="sl" part="temps"/>
16768                                                                                         <lit-tag v="pmp"/>
16769                                                                                 </equal>
16770                                                                         </test>
16771                                                                         <out>
16772                                                                                 <lu>  
16773                                                                                         <lit v="haber"/>
16774                                                                                         <lit-tag v="vbhaver.ifi"/>
16775                                                                                         <clip pos="2" side="tl" part="persona"/>
16776                                                                                         <clip pos="2" side="tl" part="nbr"/>
16777                                                                                 </lu>
16778                                                                                 <b pos="1"/>
16779                                                                                 <lu>
16780                                                                                         <clip pos="2" side="tl" part="lemh"/>
16781                                                                                         <clip pos="2" side="tl" part="a_verb"/>
16782                                                                                         <lit-tag v="pp.m.sg"/>
16783                                                                                         <clip pos="2" side="tl" part="lemq"/>   
16784                                                                                 </lu>
16785                                                                         </out>
16786                                                                 </when> 
16787                                                                 <otherwise>
16788                                                                         <out>
16789                                                                                 <lu>
16790                                                                                         <clip pos="2" side="tl" part="lemh"/>
16791                                                                                         <clip pos="2" side="tl" part="a_verb"/>
16792                                                                                         <clip pos="2" side="tl" part="temps"/>
16793                                                                                         <clip pos="2" side="tl" part="persona"/>
16794                                                                                         <clip pos="2" side="tl" part="gen"/>
16795                                                                                         <clip pos="2" side="tl" part="nbr"/>
16796                                                                                         <clip pos="2" side="tl" part="lemq"/>    
16797                                                                                 </lu>
16798                                                                         </out>  
16799                                                                 </otherwise>
16800                                                         </choose>
16801                                                 </otherwise>
16802                                         </choose>
16803                                 </otherwise>            
16804                         </choose>
16805                         <out>
16806                                 <b pos="2"/>
16807                                 <lu>
16808                                         <lit v="que"/>
16809                                         <lit-tag v="cnjsub"/>
16810                                 </lu>
16811                         </out>  
16812                 </action>
16813         </rule>
16814         
16815         <rule> 
16816                 <pattern>
16817                         <pattern-item n="ter"/>
16818                         <pattern-item n="prnenc"/>
16819                         <pattern-item n="prnenc"/>
16820                         <pattern-item n="de"/>
16821                 </pattern>
16822                 <action>
16823                         <choose>
16824                                 <when>
16825                                         <test>
16826                                                 <or>
16827                                                         <equal>
16828                                                                 <clip pos="1" side="sl" part="temps"/>
16829                                                                 <lit-tag v="inf"/>
16830                                                         </equal>
16831                                                         <equal>
16832                                                                 <clip pos="1" side="sl" part="temps"/>
16833                                                                 <lit-tag v="ger"/>
16834                                                         </equal>
16835                                                         <equal>
16836                                                                 <clip pos="1" side="sl" part="temps"/>
16837                                                                 <lit-tag v="imp"/>
16838                                                         </equal>
16839                                                 </or>
16840                                         </test>
16841                                         <out>
16842                                                 <mlu>
16843                                                         <lu>
16844                                                                 <clip pos="1" side="tl" part="lemh"/>
16845                                                                 <clip pos="1" side="tl" part="a_verb"/>
16846                                                                 <clip pos="1" side="tl" part="temps"/>
16847                                                                 <clip pos="1" side="tl" part="persona"/>
16848                                                                 <clip pos="1" side="tl" part="nbr"/>
16849                                                         </lu>
16850                                                         <lu>
16851                                                                 <clip pos="2" side="tl" part="lem"/>
16852                                                                 <clip pos="2" side="tl" part="a_prnenc"/>
16853                                                                 <clip pos="2" side="tl" part="persona"/>
16854                                                                 <clip pos="2" side="tl" part="gen"/>
16855                                                                 <clip pos="2" side="tl" part="nbr"/>
16856                                                         </lu>  
16857                                                         <lu>
16858                                                                 <clip pos="3" side="tl" part="lem"/>
16859                                                                 <clip pos="3" side="tl" part="a_prnenc"/>
16860                                                                 <clip pos="3" side="tl" part="persona"/>
16861                                                                 <clip pos="3" side="tl" part="gen"/>
16862                                                                 <clip pos="3" side="tl" part="nbr"/>
16863                                                                 <clip pos="1" side="tl" part="lemq"/>
16864                                                         </lu>  
16865                                                 </mlu>
16866                                         </out>
16867                                 </when>
16868                                 <otherwise>
16869                                         <out>
16870                                                 <lu>   
16871                                                         <get-case-from pos="1" >
16872                                                                 <clip pos="2" side="tl" part="lem"/>
16873                                                         </get-case-from>
16874                                                         <lit-tag v="prn.pro" />
16875                                                         <clip pos="2" side="tl" part="tipoenc_pro"/>
16876                                                 </lu>
16877                                                 <b pos="1"/> 
16878                                                 <lu>   
16879                                                         <clip pos="3" side="tl" part="lem"/>
16880                                                         <lit-tag v="prn.pro" />
16881                                                         <clip pos="3" side="tl" part="tipoenc_pro"/>
16882                                                 </lu>
16883                                                 <b pos="1"/> 
16884                                         </out>
16885                                         <choose>
16886                                                 <when>
16887                                                         <test>
16888                                                                 <or>
16889                                                                         <equal>
16890                                                                                 <clip pos="1" side="sl" part="temps"/>
16891                                                                                 <lit-tag v="infps"/>
16892                                                                         </equal>
16893                                                                         <equal>
16894                                                                                 <clip pos="1" side="sl" part="temps"/>
16895                                                                                 <lit-tag v="fts"/>
16896                                                                         </equal>
16897                                                                 </or>
16898                                                         </test>
16899                                                         <out>
16900                                                                 <lu>   
16901                                                                         <get-case-from pos="2" >
16902                                                                                 <clip pos="1" side="tl" part="lemh"/>
16903                                                                         </get-case-from>
16904                                                                         <clip pos="1" side="tl" part="a_verb"/>
16905                                                                         <lit-tag v="prs"/>
16906                                                                         <clip pos="1" side="tl" part="persona"/>
16907                                                                         <clip pos="1" side="tl" part="nbr"/>
16908                                                                         <clip pos="1" side="tl" part="lemq"/>    
16909                                                                 </lu>
16910                                                         </out>
16911                                                 </when>
16912                                                 <otherwise>
16913                                                         <choose>
16914                                                                 <when>
16915                                                                         <test>
16916                                                                                 <equal>
16917                                                                                         <clip pos="1" side="sl" part="temps"/>
16918                                                                                         <lit-tag v="pmp"/>
16919                                                                                 </equal>
16920                                                                         </test>
16921                                                                         <out>
16922                                                                                 <lu>  
16923                                                                                         <get-case-from pos="1" >
16924                                                                                                 <lit v="haber"/>
16925                                                                                         </get-case-from>
16926                                                                                         <lit-tag v="vbhaver.ifi"/>
16927                                                                                         <clip pos="1" side="tl" part="persona"/>
16928                                                                                         <clip pos="1" side="tl" part="nbr"/>
16929                                                                                 </lu>
16930                                                                                 <b pos="1"/>
16931                                                                                 <lu>
16932                                                                                         <clip pos="1" side="tl" part="lemh"/>
16933                                                                                         <clip pos="1" side="tl" part="a_verb"/>
16934                                                                                         <lit-tag v="pp.m.sg"/>
16935                                                                                         <clip pos="1" side="tl" part="lemq"/>   
16936                                                                                 </lu>
16937                                                                         </out>
16938                                                                 </when> 
16939                                                                 <otherwise>
16940                                                                         <out>
16941                                                                                 <lu>
16942                                                                                         <clip pos="1" side="tl" part="lemh"/>
16943                                                                                         <clip pos="1" side="tl" part="a_verb"/>
16944                                                                                         <clip pos="1" side="tl" part="temps"/>
16945                                                                                         <clip pos="1" side="tl" part="persona"/>
16946                                                                                         <clip pos="1" side="tl" part="gen"/>
16947                                                                                         <clip pos="1" side="tl" part="nbr"/>
16948                                                                                         <clip pos="1" side="tl" part="lemq"/>    
16949                                                                                 </lu>
16950                                                                         </out>  
16951                                                                 </otherwise>
16952                                                         </choose>
16953                                                 </otherwise>
16954                                         </choose>
16955                                 </otherwise>            
16956                         </choose>
16957                         <out>
16958                                 <b pos="3"/>
16959                                 <lu>
16960                                         <lit v="que"/>
16961                                         <lit-tag v="cnjsub"/>
16962                                 </lu>
16963                         </out>  
16964                 </action>
16965         </rule>
16966         
16967         <rule>
16968                 <pattern>
16969                         <pattern-item n="prnpro"/>
16970                         <pattern-item n="prnpro"/>
16971                         <pattern-item n="ter"/>
16972                         <pattern-item n="de"/>
16973                 </pattern>
16974                 <action>
16975                         <choose>
16976                                 <when>
16977                                         <test>
16978                                                 <or>
16979                                                         <equal>
16980                                                                 <clip pos="3" side="sl" part="temps"/>
16981                                                                 <lit-tag v="inf"/>
16982                                                         </equal>
16983                                                         <equal>
16984                                                                 <clip pos="3" side="sl" part="temps"/>
16985                                                                 <lit-tag v="ger"/>
16986                                                         </equal>
16987                                                         <equal>
16988                                                                 <clip pos="3" side="sl" part="temps"/>
16989                                                                 <lit-tag v="imp"/>
16990                                                         </equal>
16991                                                 </or>
16992                                         </test>
16993                                         <out>
16994                                                 <mlu>
16995                                                         <lu>
16996                                                                 <get-case-from pos="1" >
16997                                                                         <clip pos="3" side="tl" part="lemh"/>
16998                                                                 </get-case-from>
16999                                                                 <clip pos="3" side="tl" part="a_verb"/>
17000                                                                 <clip pos="3" side="tl" part="temps"/>
17001                                                                 <clip pos="3" side="tl" part="persona"/>
17002                                                                 <clip pos="3" side="tl" part="nbr"/>
17003                                                         </lu>
17004                                                         <lu>
17005                                                                 <get-case-from pos="2" >
17006                                                                         <clip pos="1" side="tl" part="lem"/>
17007                                                                 </get-case-from>
17008                                                                 <lit-tag v="prn.enc" />
17009                                                                 <clip pos="1" side="tl" part="tipoenc_pro"/>
17010                                                         </lu>  
17011                                                         <lu>
17012                                                                 <get-case-from pos="3" >
17013                                                                         <clip pos="2" side="tl" part="lem"/>
17014                                                                 </get-case-from>
17015                                                                 <lit-tag v="prn.enc" />
17016                                                                 <clip pos="2" side="tl" part="tipoenc_pro"/>
17017                                                                 <clip pos="3" side="tl" part="lemq"/>
17018                                                         </lu>  
17019                                                 </mlu>
17020                                         </out>
17021                                 </when>
17022                                 <otherwise>
17023                                         <out>
17024                                                 <lu>   
17025                                                         <clip pos="1" side="tl" part="whole"/>
17026                                                 </lu>
17027                                                 <b pos="1"/> 
17028                                                 <lu>   
17029                                                         <clip pos="2" side="tl" part="whole"/>
17030                                                 </lu>
17031                                                 <b pos="2"/> 
17032                                         </out>
17033                                         <choose>
17034                                                 <when>
17035                                                         <test>
17036                                                                 <or>
17037                                                                         <equal>
17038                                                                                 <clip pos="3" side="sl" part="temps"/>
17039                                                                                 <lit-tag v="infps"/>
17040                                                                         </equal>
17041                                                                         <equal>
17042                                                                                 <clip pos="3" side="sl" part="temps"/>
17043                                                                                 <lit-tag v="fts"/>
17044                                                                         </equal>
17045                                                                 </or>
17046                                                         </test>
17047                                                         <out>
17048                                                                 <lu>   
17049                                                                         <clip pos="3" side="tl" part="lemh"/>
17050                                                                         <clip pos="3" side="tl" part="a_verb"/>
17051                                                                         <lit-tag v="prs"/>
17052                                                                         <clip pos="3" side="tl" part="persona"/>
17053                                                                         <clip pos="3" side="tl" part="nbr"/>
17054                                                                         <clip pos="3" side="tl" part="lemq"/>    
17055                                                                 </lu>
17056                                                         </out>
17057                                                 </when>
17058                                                 <otherwise>
17059                                                         <choose>
17060                                                                 <when>
17061                                                                         <test>
17062                                                                                 <equal>
17063                                                                                         <clip pos="3" side="sl" part="temps"/>
17064                                                                                         <lit-tag v="pmp"/>
17065                                                                                 </equal>
17066                                                                         </test>
17067                                                                         <out>
17068                                                                                 <lu>  
17069                                                                                         <lit v="haber"/>
17070                                                                                         <lit-tag v="vbhaver.ifi"/>
17071                                                                                         <clip pos="3" side="tl" part="persona"/>
17072                                                                                         <clip pos="3" side="tl" part="nbr"/>
17073                                                                                 </lu>
17074                                                                                 <b pos="1"/>
17075                                                                                 <lu>
17076                                                                                         <clip pos="3" side="tl" part="lemh"/>
17077                                                                                         <clip pos="3" side="tl" part="a_verb"/>
17078                                                                                         <lit-tag v="pp.m.sg"/>
17079                                                                                         <clip pos="3" side="tl" part="lemq"/>   
17080                                                                                 </lu>
17081                                                                         </out>
17082                                                                 </when> 
17083                                                                 <otherwise>
17084                                                                         <out>
17085                                                                                 <lu>
17086                                                                                         <clip pos="3" side="tl" part="lemh"/>
17087                                                                                         <clip pos="3" side="tl" part="a_verb"/>
17088                                                                                         <clip pos="3" side="tl" part="temps"/>
17089                                                                                         <clip pos="3" side="tl" part="persona"/>
17090                                                                                         <clip pos="3" side="tl" part="gen"/>
17091                                                                                         <clip pos="3" side="tl" part="nbr"/>
17092                                                                                         <clip pos="3" side="tl" part="lemq"/>    
17093                                                                                 </lu>
17094                                                                         </out>  
17095                                                                 </otherwise>
17096                                                         </choose>
17097                                                 </otherwise>
17098                                         </choose>
17099                                 </otherwise>            
17100                         </choose>
17101                         <out>
17102                                 <b pos="3"/>
17103                                 <lu>
17104                                         <lit v="que"/>
17105                                         <lit-tag v="cnjsub"/>
17106                                 </lu>
17107                         </out>  
17108                 </action>
17109         </rule> -->
17110         </section-rules>
17111 </transfer>