Poc més
[apertium.git] / apertium-oc-ca / apertium-oc-ca.ca-oc.t3x
blob9abfe21dbd38c0c715cc68ff654777d13970656f
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 </def-cat>
58 <def-cat n="qui">
59 <cat-item name="qui"/>
60 </def-cat>
62 <def-cat n="nom">
63 <cat-item name="nom"/>
64 </def-cat>
66 <def-cat n="nom_nom">
67 <cat-item name="nom_nom"/>
68 </def-cat>
70 <def-cat n="det_nom">
71 <cat-item name="det_nom"/>
72 </def-cat>
74 <def-cat n="adj_nom">
75 <cat-item name="adj_nom"/>
76 </def-cat>
78 <def-cat n="adj_adj_nom">
79 <cat-item name="adj_adj_nom"/>
80 </def-cat>
82 <def-cat n="nom_i_nom">
83 <cat-item name="nom_conj_nom"/>
84 </def-cat>
85 <def-cat n="controla_adv">
86 <cat-item name="controla_adv"/>
87 </def-cat>
89 <def-cat n="pottenirpronom">
90 <cat-item name="verbcj"/>
91 <cat-item name="verbcj_perif"/>
92 <cat-item name="pro_verbcj"/>
93 <cat-item name="pro_verbcj_perif"/>
94 <cat-item name="auxmod_inf"/>
95 <cat-item name="mod_inf"/>
96 <cat-item name="have_pp"/>
97 <cat-item name="be_ger"/>
98 <cat-item name="auxmod_mod_inf"/>
99 <cat-item name="mod_inf_perif"/>
100 <cat-item name="pro_be_ger"/>
101 <cat-item name="pro_auxmod_inf"/>
102 <cat-item name="pro_mod_inf"/>
103 <cat-item name="pro_have_pp"/>
104 <cat-item name="pro_do_inf"/>
105 <cat-item name="pro_mod_inf_perif"/>
106 <cat-item name="pro_auxmod_mod_inf"/>
107 </def-cat>
109 </section-def-cats>
111 <section-def-attrs>
113 <def-attr n="pers">
114 <attr-item tags="p1"/>
115 <attr-item tags="p2"/>
116 <attr-item tags="p3"/>
117 <attr-item tags="PD"/>
118 </def-attr>
120 <def-attr n="gen">
121 <attr-item tags="m"/>
122 <attr-item tags="f"/>
123 <attr-item tags="mf"/>
124 <attr-item tags="GD"/>
125 <attr-item tags="nt"/>
126 </def-attr>
128 <def-attr n="nbr">
129 <attr-item tags="sg"/>
130 <attr-item tags="pl"/>
131 <attr-item tags="sp"/>
132 <attr-item tags="ND"/>
133 </def-attr>
135 <def-attr n="tipus_verb">
136 <attr-item tags="SV.pron"/>
137 <attr-item tags="SV"/>
138 </def-attr>
140 <def-attr n="temps">
141 <attr-item tags="inf"/>
142 <attr-item tags="pres"/>
143 <attr-item tags="past"/>
144 <attr-item tags="pri"/>
145 <attr-item tags="pp"/>
146 <attr-item tags="ger"/>
147 <attr-item tags="pprs"/>
148 <attr-item tags="subs"/>
149 </def-attr>
151 <def-attr n="a_SN">
152 <attr-item tags="DET"/>
153 <attr-item tags="UNDET"/>
154 <attr-item tags="NUM"/>
155 <attr-item tags="PDET"/><!--'Per determinar', per a SN UNDET que han de passar a determinats, transformaci�que far�el postchunk detectant els PDET. -->
156 </def-attr>
159 <def-attr n="a_verb">
160 <attr-item tags="vblex"/>
161 <attr-item tags="vblex.pron"/>
162 <attr-item tags="vbhaver"/>
163 <attr-item tags="vbser"/>
164 <attr-item tags="vbmod"/>
165 <attr-item tags="HAVER"/>
166 </def-attr>
168 <def-attr n="a_nom">
169 <attr-item tags="n"/>
170 <attr-item tags="np"/>
171 </def-attr>
173 <def-attr n="a_rel">
174 <attr-item tags="rel"/>
175 </def-attr>
177 <def-attr n="a_np">
178 <attr-item tags="np.ant"/>
179 <attr-item tags="np.cog"/>
180 <attr-item tags="np.al"/>
181 </def-attr>
183 <def-attr n="a_prnpro">
184 <attr-item tags="prn.pro"/>
185 </def-attr>
187 </section-def-attrs>
188 <section-def-vars>
189 <def-var n="paraula"/>
190 </section-def-vars>
193 <section-def-macros>
195 <def-macro n="f_bcond" npar="1">
196 <choose>
197 <when>
198 <test>
199 <not>
200 <equal>
201 <b pos="1"/>
202 <lit v=" "/>
203 </equal>
204 </not>
205 </test>
206 <out>
207 <b pos="1"/>
208 </out>
209 </when>
210 </choose>
211 </def-macro>
214 </section-def-macros>
216 <section-rules>
218 <rule comment="CHUNK: arregla en cv de relatiu que/qui">
219 <pattern>
220 <pattern-item n="qui"/>
221 </pattern>
222 <action>
223 <out>
224 <lu>
225 <lit v="qui"/>
226 <clip pos="1" part="a_rel"/>
227 <clip pos="1" part="gen"/>
228 <clip pos="1" part="nbr"/>
229 </lu>
230 </out>
231 </action>
232 </rule>
234 <rule comment="CHUNK: canvia _sonque_ per _pas que_">
235 <pattern>
236 <pattern-item n="controla_adv"/>
237 </pattern>
238 <action>
239 <choose>
240 <when>
241 <test>
242 <equal>
243 <clip pos="1" part="lem"/>
244 <lit v="sonque"/>
245 </equal>
246 </test>
247 <out>
248 <lu>
249 <lit v="pas"/>
250 <lit-tag v="adv"/>
251 </lu>
252 <b/>
253 <lu>
254 <lit v="que"/>
255 <lit-tag v="cnjsub"/>
256 </lu>
257 </out>
258 </when>
259 <otherwise>
260 <out>
261 <lu>
262 <clip pos="1" part="whole"/>
263 </lu>
264 </out>
265 </otherwise>
266 </choose>
267 </action>
268 </rule>
270 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
271 <pattern>
272 <pattern-item n="proverb"/>
273 </pattern>
274 <action>
275 <out>
276 <lu>
277 <clip pos="1" part="whole"/>
278 </lu>
279 <b/>
280 <lu>
281 <clip pos="2" part="whole"/>
282 </lu>
283 </out>
284 </action>
285 </rule>
287 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
288 <pattern>
289 <pattern-item n="pro_proverb"/>
290 </pattern>
291 <action>
292 <out>
293 <lu>
294 <clip pos="1" part="whole"/>
295 </lu>
296 <b pos="1"/>
297 <lu>
298 <clip pos="2" part="whole"/>
299 </lu>
300 <b/>
301 <lu>
302 <clip pos="3" part="whole"/>
303 </lu>
304 </out>
305 </action>
306 </rule>
308 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
309 <pattern>
310 <pattern-item n="proaux_pp"/>
311 </pattern>
312 <action>
313 <out>
314 <lu>
315 <clip pos="1" part="whole"/>
316 </lu>
317 <b/>
318 <lu>
319 <clip pos="2" part="whole"/>
320 </lu>
321 <b pos="2"/>
322 <lu>
323 <clip pos="3" part="whole"/>
324 </lu>
325 </out>
326 </action>
327 </rule>
329 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
330 <pattern>
331 <pattern-item n="pro_proaux_pp"/>
332 </pattern>
333 <action>
334 <out>
335 <lu>
336 <clip pos="1" part="whole"/>
337 </lu>
338 <b pos="1"/>
339 <lu>
340 <clip pos="2" part="whole"/>
341 </lu>
342 <b/>
343 <lu>
344 <clip pos="3" part="whole"/>
345 </lu>
346 <b pos="3"/>
347 <lu>
348 <clip pos="4" part="whole"/>
349 </lu>
350 </out>
351 </action>
352 </rule>
354 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
355 <pattern>
356 <pattern-item n="proaux_adv_pp"/>
357 </pattern>
358 <action>
359 <out>
360 <lu>
361 <clip pos="1" part="whole"/>
362 </lu>
363 <b/>
364 <lu>
365 <clip pos="2" part="whole"/>
366 </lu>
367 <b pos="2"/>
368 <lu>
369 <clip pos="3" part="whole"/>
370 </lu>
371 <b pos="3"/>
372 <lu>
373 <clip pos="4" part="whole"/>
374 </lu>
375 </out>
376 </action>
377 </rule>
379 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
380 <pattern>
381 <pattern-item n="pro_proaux_adv_pp"/>
382 </pattern>
383 <action>
384 <out>
385 <lu>
386 <clip pos="1" part="whole"/>
387 </lu>
388 <b pos="1"/>
389 <lu>
390 <clip pos="2" part="whole"/>
391 </lu>
392 <b/>
393 <lu>
394 <clip pos="3" part="whole"/>
395 </lu>
396 <b pos="3"/>
397 <lu>
398 <clip pos="4" part="whole"/>
399 </lu>
400 <b pos="4"/>
401 <lu>
402 <clip pos="5" part="whole"/>
403 </lu>
404 </out>
405 </action>
406 </rule>
408 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
409 <pattern>
410 <pattern-item n="proanar_inf"/>
411 </pattern>
412 <action>
413 <out>
414 <lu>
415 <clip pos="1" part="whole"/>
416 </lu>
417 <b/>
418 <lu>
419 <clip pos="2" part="whole"/>
420 </lu>
421 <b pos="2"/>
422 <lu>
423 <clip pos="3" part="whole"/>
424 </lu>
425 </out>
426 </action>
427 </rule>
429 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
430 <pattern>
431 <pattern-item n="proanar_a_inf"/>
432 </pattern>
433 <action>
434 <out>
435 <lu>
436 <clip pos="1" part="whole"/>
437 </lu>
438 <b/>
439 <lu>
440 <clip pos="2" part="whole"/>
441 </lu>
442 <b pos="2"/>
443 <lu>
444 <clip pos="3" part="whole"/>
445 </lu>
446 <b pos="3"/>
447 <lu>
448 <clip pos="4" part="whole"/>
449 </lu>
450 </out>
451 </action>
452 </rule>
453 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
454 <pattern>
455 <pattern-item n="proanar_adv_a_inf"/>
456 </pattern>
457 <action>
458 <out>
459 <lu>
460 <clip pos="1" part="whole"/>
461 </lu>
462 <b/>
463 <lu>
464 <clip pos="2" part="whole"/>
465 </lu>
466 <b pos="2"/>
467 <lu>
468 <clip pos="3" part="whole"/>
469 </lu>
470 <b pos="3"/>
471 <lu>
472 <clip pos="4" part="whole"/>
473 </lu>
474 <b pos="4"/>
475 <lu>
476 <clip pos="5" part="whole"/>
477 </lu>
478 </out>
479 </action>
480 </rule>
482 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
483 <pattern>
484 <pattern-item n="pro_proanar_inf"/>
485 </pattern>
486 <action>
487 <out>
488 <lu>
489 <clip pos="1" part="whole"/>
490 </lu>
491 <b pos="1"/>
492 <lu>
493 <clip pos="2" part="whole"/>
494 </lu>
495 <b/>
496 <lu>
497 <clip pos="3" part="whole"/>
498 </lu>
499 <b pos="3"/>
500 <lu>
501 <clip pos="4" part="whole"/>
502 </lu>
504 </out>
505 </action>
506 </rule>
508 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
509 <pattern>
510 <pattern-item n="pro_proanar_a_inf"/>
511 </pattern>
512 <action>
513 <out>
514 <lu>
515 <clip pos="1" part="whole"/>
516 </lu>
517 <b pos="1"/>
518 <lu>
519 <clip pos="2" part="whole"/>
520 </lu>
521 <b/>
522 <lu>
523 <clip pos="3" part="whole"/>
524 </lu>
525 <b pos="3"/>
526 <lu>
527 <clip pos="4" part="whole"/>
528 </lu>
529 <b pos="4"/>
530 <lu>
531 <clip pos="5" part="whole"/>
532 </lu>
533 </out>
534 </action>
535 </rule>
537 <rule comment="CHUNK: posa l'espai entre el pro i el verb">
538 <pattern>
539 <pattern-item n="pro_proanar_adv_a_inf"/>
540 </pattern>
541 <action>
542 <out>
543 <lu>
544 <clip pos="1" part="whole"/>
545 </lu>
546 <b pos="1"/>
547 <lu>
548 <clip pos="2" part="whole"/>
549 </lu>
550 <b/>
551 <lu>
552 <clip pos="3" part="whole"/>
553 </lu>
554 <b pos="3"/>
555 <lu>
556 <clip pos="4" part="whole"/>
557 </lu>
558 <b pos="4"/>
559 <lu>
560 <clip pos="5" part="whole"/>
561 </lu>
562 <b pos="5"/>
563 <lu>
564 <clip pos="6" part="whole"/>
565 </lu>
566 </out>
567 </action>
568 </rule>
570 <rule comment="CHUNK: canvia les prepos que fa falta">
571 <pattern>
572 <pattern-item n="pr"/>
573 </pattern>
574 <action>
575 <choose>
576 <when>
577 <test>
578 <equal>
579 <clip pos="1" part="lem"/>
580 <lit v="a"/>
581 </equal>
582 </test>
583 <let>
584 <clip pos="1" part="lem"/>
585 <lit v="en"/>
586 </let>
587 </when>
588 </choose>
589 <out>
590 <lu>
591 <clip pos="1" part="whole"/>
592 </lu>
593 </out>
594 </action>
595 </rule>
598 </section-rules>
599 </postchunk>