Adding a bit
[apertium.git] / apertium-ca-ro / apertium-ca-ro.ro-ca.t1x
blob2c9fbcc10365cc319bd617e4c25f350326f4f922
1 <?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- -->
2 <transfer>
3 <section-def-cats>
4 <def-cat n="nom">
5 <cat-item tags="n.*"/>
6 <cat-item tags="np.*"/>
7 </def-cat>
8 <def-cat n="sent">
9 <cat-item tags="sent"/>
10 </def-cat>
11 <def-cat n="det">
12 <cat-item tags="det.ind.*"/>
13 <cat-item tags="det.def.*"/>
14 </def-cat>
15 <def-cat n="prpers">
16 <cat-item lemma="prpers" tags="prn.*"/>
17 </def-cat>
18 <def-cat n="verbnm"><!--verb no modal -->
19 <cat-item tags="vblex.*"/>
20 <cat-item tags="vbser.*"/>
21 <cat-item tags="vbhaver.*"/>
22 </def-cat>
23 <def-cat n="prep"> <!-- preposition -->
24 <cat-item tags="pr"/>
25 </def-cat>
26 </section-def-cats>
28 <section-def-attrs>
29 <def-attr n="nbr"> <!-- Number -->
30 <attr-item tags="sg"/>
31 <attr-item tags="pl"/>
32 <attr-item tags="sp"/>
33 </def-attr>
34 <def-attr n="gen"> <!-- Gender -->
35 <attr-item tags="m"/>
36 <attr-item tags="f"/>
37 <attr-item tags="mf"/>
38 </def-attr>
39 <def-attr n="a_nom">
40 <attr-item tags="n"/>
41 <attr-item tags="n.acr"/>
42 <attr-item tags="n.unc"/>
43 <attr-item tags="np.loc"/>
44 </def-attr>
45 <def-attr n="a_det">
46 <attr-item tags="det.ind"/>
47 <attr-item tags="det.def"/>
48 </def-attr>
49 <def-attr n="tipus_prn">
50 <attr-item tags="prn.subj"/>
51 <attr-item tags="prn.obj"/>
52 </def-attr>
53 <def-attr n="pers"> <!-- Person -->
54 <attr-item tags="p1"/>
55 <attr-item tags="p2"/>
56 <attr-item tags="p3"/>
57 </def-attr>
58 <def-attr n="a_verb">
59 <attr-item tags="vblex"/>
60 <attr-item tags="vbser"/>
61 <attr-item tags="vbhaver"/>
62 <attr-item tags="vbmod"/>
63 <attr-item tags="vaux"/>
64 </def-attr>
65 <def-attr n="temps">
66 <attr-item tags="pii"/>
67 <attr-item tags="pis"/>
68 <attr-item tags="pri"/>
69 <attr-item tags="past"/>
70 <attr-item tags="pres"/>
71 </def-attr>
72 </section-def-attrs>
74 <section-def-vars>
75 <def-var n="nombre"/>
76 <def-var n="genere"/>
77 </section-def-vars>
79 <section-rules>
80 <rule>
81 <pattern>
82 <pattern-item n="nom"/>
83 </pattern>
84 <action>
85 <out>
86 <lu>
87 <clip pos="1" side="tl" part="lem"/>
88 <clip pos="1" side="tl" part="a_nom"/>
89 <clip pos="1" side="tl" part="nbr"/>
90 <clip pos="1" side="tl" part="gen"/>
91 </lu>
92 </out>
93 </action>
94 </rule>
98 <rule> <!-- REGLA: reset variables-->
99 <pattern>
100 <pattern-item n="sent"/>
101 </pattern>
102 <action>
103 <let>
104 <var n="nombre"/>
105 <lit-tag v="sg"/>
106 </let>
107 <let>
108 <var n="genere"/>
109 <lit-tag v="m"/>
110 </let>
111 <out>
112 <lu>
113 <clip pos="1" side="tl" part="whole"/>
114 </lu>
115 </out>
116 </action>
117 </rule>
119 </section-rules>
121 </transfer>