Verbs
[apertium.git] / apertium-oc-ca / apertium-oc-ca.ca-oc.t3x
blobc92376325bb811cc97c6de4de2e8fe34d778c501
1 <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- nxml -*- -->
2 <postchunk>
3 <section-def-cats>
5 <def-cat n="proverb">
6 <cat-item name="proverb"/>
7 </def-cat>
8 <def-cat n="pro_proverb">
9 <cat-item name="pro_proverb"/>
10 </def-cat>
11 <def-cat n="proaux_pp">
12 <cat-item name="proaux_pp"/>
13 <cat-item name="proverb_inf"/>
14 </def-cat>
15 <def-cat n="pro_proaux_pp">
16 <cat-item name="pro_proaux_pp"/>
17 <cat-item name="pro_proverb_inf"/>
18 </def-cat>
19 <def-cat n="proaux_adv_pp">
20 <cat-item name="proaux_adv_pp"/>
21 <cat-item name="proverb_adv_inf"/>
22 </def-cat>
23 <def-cat n="pro_proaux_adv_pp">
24 <cat-item name="pro_proaux_adv_pp"/>
25 <cat-item name="pro_proanar_adv_inf"/>
26 <cat-item name="pro_proverb_adv_inf"/>
27 </def-cat>
28 <def-cat n="proanar_inf">
29 <cat-item name="proanar_inf"/>
30 </def-cat>
31 <def-cat n="proanar_a_inf">
32 <cat-item name="proanar_a_inf"/>
33 <cat-item name="proanar_adv_inf"/>
34 </def-cat>
35 <def-cat n="pro_proanar_inf">
36 <cat-item name="pro_proanar_inf"/>
37 </def-cat>
38 <def-cat n="pro_proanar_a_inf">
39 <cat-item name="pro_proanar_a_inf"/>
40 </def-cat>
41 <def-cat n="proanar_adv_a_inf">
42 <cat-item name="proanar_adv_a_inf"/>
43 </def-cat>
44 <def-cat n="pro_proanar_adv_a_inf">
45 <cat-item name="pro_proanar_adv_a_inf"/>
46 </def-cat>
50 <def-cat n="inf">
51 <cat-item name="inf"/>
52 </def-cat>
54 <def-cat n="pr">
55 <cat-item name="en"/>
56 <cat-item name="ta"/>
57 </def-cat>
59 <def-cat n="qui">
60 <cat-item name="qui"/>
61 </def-cat>
63 <def-cat n="nom">
64 <cat-item name="nom"/>
65 </def-cat>
67 <def-cat n="nom_nom">
68 <cat-item name="nom_nom"/>
69 </def-cat>
71 <def-cat n="det_nom">
72 <cat-item name="det_nom"/>
73 </def-cat>
75 <def-cat n="adj_nom">
76 <cat-item name="adj_nom"/>
77 </def-cat>
79 <def-cat n="adj_adj_nom">
80 <cat-item name="adj_adj_nom"/>
81 </def-cat>
83 <def-cat n="nom_i_nom">
84 <cat-item name="nom_conj_nom"/>
85 </def-cat>
86 <def-cat n="controla_adv">
87 <cat-item name="controla_adv"/>
88 </def-cat>
90 <def-cat n="pottenirpronom">
91 <cat-item name="verbcj"/>
92 <cat-item name="verbcj_perif"/>
93 <cat-item name="pro_verbcj"/>
94 <cat-item name="pro_verbcj_perif"/>
95 <cat-item name="auxmod_inf"/>
96 <cat-item name="mod_inf"/>
97 <cat-item name="have_pp"/>
98 <cat-item name="be_ger"/>
99 <cat-item name="auxmod_mod_inf"/>
100 <cat-item name="mod_inf_perif"/>
101 <cat-item name="pro_be_ger"/>
102 <cat-item name="pro_auxmod_inf"/>
103 <cat-item name="pro_mod_inf"/>
104 <cat-item name="pro_have_pp"/>
105 <cat-item name="pro_do_inf"/>
106 <cat-item name="pro_mod_inf_perif"/>
107 <cat-item name="pro_auxmod_mod_inf"/>
108 </def-cat>
110 </section-def-cats>
112 <section-def-attrs>
114 <def-attr n="pers">
115 <attr-item tags="p1"/>
116 <attr-item tags="p2"/>
117 <attr-item tags="p3"/>
118 <attr-item tags="PD"/>
119 </def-attr>
121 <def-attr n="gen">
122 <attr-item tags="m"/>
123 <attr-item tags="f"/>
124 <attr-item tags="mf"/>
125 <attr-item tags="GD"/>
126 <attr-item tags="nt"/>
127 </def-attr>
129 <def-attr n="nbr">
130 <attr-item tags="sg"/>
131 <attr-item tags="pl"/>
132 <attr-item tags="sp"/>
133 <attr-item tags="ND"/>
134 </def-attr>
136 <def-attr n="tipus_verb">
137 <attr-item tags="SV.pron"/>
138 <attr-item tags="SV"/>
139 </def-attr>
141 <def-attr n="temps">
142 <attr-item tags="inf"/>
143 <attr-item tags="pres"/>
144 <attr-item tags="past"/>
145 <attr-item tags="pri"/>
146 <attr-item tags="pp"/>
147 <attr-item tags="ger"/>
148 <attr-item tags="pprs"/>
149 <attr-item tags="subs"/>
150 </def-attr>
152 <def-attr n="a_SN">
153 <attr-item tags="DET"/>
154 <attr-item tags="UNDET"/>
155 <attr-item tags="NUM"/>
156 <attr-item tags="PDET"/><!--'Per determinar', per a SN UNDET que han de passar a determinats, transformaci�que far�el postchunk detectant els PDET. -->
157 </def-attr>
160 <def-attr n="a_verb">
161 <attr-item tags="vblex"/>
162 <attr-item tags="vblex.pron"/>
163 <attr-item tags="vbhaver"/>
164 <attr-item tags="vbser"/>
165 <attr-item tags="vbmod"/>
166 <attr-item tags="HAVER"/>
167 </def-attr>
169 <def-attr n="a_nom">
170 <attr-item tags="n"/>
171 <attr-item tags="np"/>
172 </def-attr>
174 <def-attr n="a_rel">
175 <attr-item tags="rel"/>
176 </def-attr>
178 <def-attr n="a_np">
179 <attr-item tags="np.ant"/>
180 <attr-item tags="np.cog"/>
181 <attr-item tags="np.al"/>
182 </def-attr>
184 <def-attr n="a_prnpro">
185 <attr-item tags="prn.pro"/>
186 </def-attr>
188 </section-def-attrs>
189 <section-def-vars>
190 <def-var n="paraula"/>
191 </section-def-vars>
194 <section-def-macros>
196 <def-macro n="f_bcond" npar="1">
197 <choose>
198 <when>
199 <test>
200 <not>
201 <equal>
202 <b pos="1"/>
203 <lit v=" "/>
204 </equal>
205 </not>
206 </test>
207 <out>
208 <b pos="1"/>
209 </out>
210 </when>
211 </choose>
212 </def-macro>
215 </section-def-macros>
217 <section-rules>
219 <rule comment="CHUNK: arregla en cv de relatiu que/qui">
220 <pattern>
221 <pattern-item n="qui"/>
222 </pattern>
223 <action>
224 <out>
225 <lu>
226 <lit v="qui"/>
227 <clip pos="1" part="a_rel"/>
228 <clip pos="1" part="gen"/>
229 <clip pos="1" part="nbr"/>
230 </lu>
231 </out>
232 </action>
233 </rule>
235 <rule comment="CHUNK: canvia _sonque_ per _pas que_">
236 <pattern>
237 <pattern-item n="controla_adv"/>
238 </pattern>
239 <action>
240 <choose>
241 <when>
242 <test>
243 <equal>
244 <clip pos="1" part="lem"/>
245 <lit v="sonque"/>
246 </equal>
247 </test>
248 <out>
249 <lu>
250 <lit v="pas"/>
251 <lit-tag v="adv"/>
252 </lu>
253 <b/>
254 <lu>
255 <lit v="que"/>
256 <lit-tag v="cnjsub"/>
257 </lu>
258 </out>
259 </when>
260 <otherwise>
261 <out>
262 <lu>
263 <clip pos="1" part="whole"/>
264 </lu>
265 </out>
266 </otherwise>
267 </choose>
268 </action>
269 </rule>
271 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
272 <pattern>
273 <pattern-item n="proverb"/>
274 </pattern>
275 <action>
276 <out>
277 <lu>
278 <clip pos="1" part="whole"/>
279 </lu>
280 <b/>
281 <lu>
282 <clip pos="2" part="whole"/>
283 </lu>
284 </out>
285 </action>
286 </rule>
288 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
289 <pattern>
290 <pattern-item n="pro_proverb"/>
291 </pattern>
292 <action>
293 <out>
294 <lu>
295 <clip pos="1" part="whole"/>
296 </lu>
297 <b pos="1"/>
298 <lu>
299 <clip pos="2" part="whole"/>
300 </lu>
301 <b/>
302 <lu>
303 <clip pos="3" part="whole"/>
304 </lu>
305 </out>
306 </action>
307 </rule>
309 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
310 <pattern>
311 <pattern-item n="proaux_pp"/>
312 </pattern>
313 <action>
314 <out>
315 <lu>
316 <clip pos="1" part="whole"/>
317 </lu>
318 <b/>
319 <lu>
320 <clip pos="2" part="whole"/>
321 </lu>
322 <b pos="2"/>
323 <lu>
324 <clip pos="3" part="whole"/>
325 </lu>
326 </out>
327 </action>
328 </rule>
330 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
331 <pattern>
332 <pattern-item n="pro_proaux_pp"/>
333 </pattern>
334 <action>
335 <out>
336 <lu>
337 <clip pos="1" part="whole"/>
338 </lu>
339 <b pos="1"/>
340 <lu>
341 <clip pos="2" part="whole"/>
342 </lu>
343 <b/>
344 <lu>
345 <clip pos="3" part="whole"/>
346 </lu>
347 <b pos="3"/>
348 <lu>
349 <clip pos="4" part="whole"/>
350 </lu>
351 </out>
352 </action>
353 </rule>
355 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
356 <pattern>
357 <pattern-item n="proaux_adv_pp"/>
358 </pattern>
359 <action>
360 <out>
361 <lu>
362 <clip pos="1" part="whole"/>
363 </lu>
364 <b/>
365 <lu>
366 <clip pos="2" part="whole"/>
367 </lu>
368 <b pos="2"/>
369 <lu>
370 <clip pos="3" part="whole"/>
371 </lu>
372 <b pos="3"/>
373 <lu>
374 <clip pos="4" part="whole"/>
375 </lu>
376 </out>
377 </action>
378 </rule>
380 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
381 <pattern>
382 <pattern-item n="pro_proaux_adv_pp"/>
383 </pattern>
384 <action>
385 <out>
386 <lu>
387 <clip pos="1" part="whole"/>
388 </lu>
389 <b pos="1"/>
390 <lu>
391 <clip pos="2" part="whole"/>
392 </lu>
393 <b/>
394 <lu>
395 <clip pos="3" part="whole"/>
396 </lu>
397 <b pos="3"/>
398 <lu>
399 <clip pos="4" part="whole"/>
400 </lu>
401 <b pos="4"/>
402 <lu>
403 <clip pos="5" part="whole"/>
404 </lu>
405 </out>
406 </action>
407 </rule>
409 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
410 <pattern>
411 <pattern-item n="proanar_inf"/>
412 </pattern>
413 <action>
414 <out>
415 <lu>
416 <clip pos="1" part="whole"/>
417 </lu>
418 <b/>
419 <lu>
420 <clip pos="2" part="whole"/>
421 </lu>
422 <b pos="2"/>
423 <lu>
424 <clip pos="3" part="whole"/>
425 </lu>
426 </out>
427 </action>
428 </rule>
430 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
431 <pattern>
432 <pattern-item n="proanar_a_inf"/>
433 </pattern>
434 <action>
435 <out>
436 <lu>
437 <clip pos="1" part="whole"/>
438 </lu>
439 <b/>
440 <lu>
441 <clip pos="2" part="whole"/>
442 </lu>
443 <b pos="2"/>
444 <lu>
445 <clip pos="3" part="whole"/>
446 </lu>
447 <b pos="3"/>
448 <lu>
449 <clip pos="4" part="whole"/>
450 </lu>
451 </out>
452 </action>
453 </rule>
454 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
455 <pattern>
456 <pattern-item n="proanar_adv_a_inf"/>
457 </pattern>
458 <action>
459 <out>
460 <lu>
461 <clip pos="1" part="whole"/>
462 </lu>
463 <b/>
464 <lu>
465 <clip pos="2" part="whole"/>
466 </lu>
467 <b pos="2"/>
468 <lu>
469 <clip pos="3" part="whole"/>
470 </lu>
471 <b pos="3"/>
472 <lu>
473 <clip pos="4" part="whole"/>
474 </lu>
475 <b pos="4"/>
476 <lu>
477 <clip pos="5" part="whole"/>
478 </lu>
479 </out>
480 </action>
481 </rule>
483 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
484 <pattern>
485 <pattern-item n="pro_proanar_inf"/>
486 </pattern>
487 <action>
488 <out>
489 <lu>
490 <clip pos="1" part="whole"/>
491 </lu>
492 <b pos="1"/>
493 <lu>
494 <clip pos="2" part="whole"/>
495 </lu>
496 <b/>
497 <lu>
498 <clip pos="3" part="whole"/>
499 </lu>
500 <b pos="3"/>
501 <lu>
502 <clip pos="4" part="whole"/>
503 </lu>
505 </out>
506 </action>
507 </rule>
509 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
510 <pattern>
511 <pattern-item n="pro_proanar_a_inf"/>
512 </pattern>
513 <action>
514 <out>
515 <lu>
516 <clip pos="1" part="whole"/>
517 </lu>
518 <b pos="1"/>
519 <lu>
520 <clip pos="2" part="whole"/>
521 </lu>
522 <b/>
523 <lu>
524 <clip pos="3" part="whole"/>
525 </lu>
526 <b pos="3"/>
527 <lu>
528 <clip pos="4" part="whole"/>
529 </lu>
530 <b pos="4"/>
531 <lu>
532 <clip pos="5" part="whole"/>
533 </lu>
534 </out>
535 </action>
536 </rule>
538 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
539 <pattern>
540 <pattern-item n="pro_proanar_adv_a_inf"/>
541 </pattern>
542 <action>
543 <out>
544 <lu>
545 <clip pos="1" part="whole"/>
546 </lu>
547 <b pos="1"/>
548 <lu>
549 <clip pos="2" part="whole"/>
550 </lu>
551 <b/>
552 <lu>
553 <clip pos="3" part="whole"/>
554 </lu>
555 <b pos="3"/>
556 <lu>
557 <clip pos="4" part="whole"/>
558 </lu>
559 <b pos="4"/>
560 <lu>
561 <clip pos="5" part="whole"/>
562 </lu>
563 <b pos="5"/>
564 <lu>
565 <clip pos="6" part="whole"/>
566 </lu>
567 </out>
568 </action>
569 </rule>
571 <rule comment="CHUNK: canvia les prepos que fa falta">
572 <pattern>
573 <pattern-item n="pr"/>
574 </pattern>
575 <action>
576 <choose>
577 <when>
578 <test>
579 <and>
580 <equal>
581 <clip pos="1" part="lem"/>
582 <lit v="a"/>
583 </equal>
584 <equal>
585 <clip pos="0" part="lem"/>
586 <lit v="en"/>
587 </equal>
588 </and>
589 </test>
590 <let>
591 <clip pos="1" part="lem"/>
592 <lit v="en"/>
593 </let>
594 </when>
595 </choose>
596 <choose>
597 <when>
598 <test>
599 <and>
600 <equal>
601 <clip pos="1" part="lem"/>
602 <lit v="per"/>
603 </equal>
604 <equal>
605 <clip pos="0" part="lem"/>
606 <lit v="ta"/>
607 </equal>
608 </and>
609 </test>
610 <let>
611 <clip pos="1" part="lem"/>
612 <lit v="tà"/>
613 </let>
614 </when>
615 </choose>
616 <out>
617 <lu>
618 <clip pos="1" part="whole"/>
619 </lu>
620 </out>
621 </action>
622 </rule>
625 </section-rules>
626 </postchunk>