More things
[apertium.git] / apertium-en-pl / apertium-en-pl.en-pl.t1x
blob77e9fd5ee39552dc316a7115eacca157c3a40d84
1 <?xml version="1.0" encoding="UTF-8"?> <!-- -*- nxml -*- -->
3 <transfer default="chunk">
4 <section-def-cats>
5 <def-cat n="conj">
6 <cat-item tags="cnjadv"/>
7 <cat-item tags="cnjcoo"/>
8 <cat-item tags="cnjsub"/>
9 <cat-item tags="cnjcoo.*"/>
10 <cat-item tags="cnjadv.*"/>
11 <cat-item tags="cnjsub.*"/>
12 </def-cat>
13 <def-cat n="rel_prn">
14 <cat-item tags="rel.*"/>
15 </def-cat>
16 <def-cat n="adj">
17 <cat-item tags="adj"/>
18 <cat-item tags="adj.*"/>
19 </def-cat>
20 <def-cat n="nom">
21 <cat-item tags="n.*"/>
22 <cat-item tags="np.*"/>
23 </def-cat>
24 <def-cat n="sent">
25 <cat-item tags="sent"/>
26 </def-cat>
27 <def-cat n="det">
28 <cat-item tags="det.ind.*"/>
29 <cat-item tags="det.def.*"/>
30 </def-cat>
31 <def-cat n="prpers">
32 <cat-item lemma="prpers" tags="prn.*"/>
33 </def-cat>
34 <def-cat n="verbnm"><!--verb no modal -->
35 <cat-item tags="vblex.*"/>
36 <cat-item tags="vbser.*"/>
37 <cat-item tags="vbhaver.*"/>
38 </def-cat>
39 <def-cat n="prep"> <!-- preposition -->
40 <cat-item tags="pr"/>
41 </def-cat>
42 </section-def-cats>
44 <section-def-attrs>
45 <def-attr n="nbr"> <!-- Number -->
46 <attr-item tags="sg"/>
47 <attr-item tags="pl"/>
48 <attr-item tags="sp"/>
49 </def-attr>
50 <def-attr n="gen"> <!-- Gender -->
51 <attr-item tags="m1"/>
52 <attr-item tags="m2"/>
53 <attr-item tags="m3"/>
54 <attr-item tags="f"/>
55 <attr-item tags="nt"/>
56 <attr-item tags="mf"/>
57 </def-attr>
58 <def-attr n="a_conj">
59 <attr-item tags="cnjadv"/>
60 <attr-item tags="cnjsub"/>
61 <attr-item tags="cnjcoo"/>
62 </def-attr>
63 <def-attr n="a_nom">
64 <attr-item tags="n"/>
65 <attr-item tags="n.acr"/>
66 <attr-item tags="n.unc"/>
67 <attr-item tags="np.loc"/>
68 </def-attr>
69 <def-attr n="a_adj">
70 <attr-item tags="adj.sint"/>
71 <attr-item tags="adj"/>
72 <attr-item tags="comp"/>
73 <attr-item tags="sup"/>
74 </def-attr>
75 <def-attr n="stress">
76 <attr-item tags="uns"/>
77 </def-attr>
78 <def-attr n="a_det">
79 <attr-item tags="det.ind"/>
80 <attr-item tags="det.def"/>
81 </def-attr>
82 <def-attr n="a_rel">
83 <attr-item tags="rel"/>
84 <attr-item tags="rel.nn"/>
85 <attr-item tags="rel.an"/>
86 </def-attr>
87 <def-attr n="tipus_prn">
88 <attr-item tags="prn.subj"/>
89 <attr-item tags="prn.obj"/>
90 </def-attr>
91 <def-attr n="caso">
92 <attr-item tags="nom"/>
93 <attr-item tags="acc"/>
94 <attr-item tags="dat"/>
95 <attr-item tags="gen"/>
96 </def-attr>
97 <def-attr n="pers"> <!-- Person -->
98 <attr-item tags="p1"/>
99 <attr-item tags="p2"/>
100 <attr-item tags="p3"/>
101 </def-attr>
102 <def-attr n="a_verb">
103 <attr-item tags="vblex"/>
104 <attr-item tags="vblex.uns"/>
105 <attr-item tags="vbser"/>
106 <attr-item tags="vbhaver"/>
107 <attr-item tags="vbmod"/>
108 <attr-item tags="vaux"/>
109 </def-attr>
110 <def-attr n="temps">
111 <attr-item tags="pp"/>
112 <attr-item tags="pii"/>
113 <attr-item tags="pis"/>
114 <attr-item tags="pri"/>
115 <attr-item tags="past"/>
116 <attr-item tags="pres"/>
117 <attr-item tags="inf"/>
118 </def-attr>
119 </section-def-attrs>
121 <section-def-vars>
122 <def-var n="numero"/>
123 <def-var n="caseFirstWord"/>
124 <def-var n="nombre"/>
125 </section-def-vars>
127 <section-rules>
128 <rule comment="REGLA: NOM">
129 <pattern>
130 <pattern-item n="nom"/>
131 </pattern>
132 <action>
133 <out>
134 <chunk name="nom" case="caseFirstWord">
135 <tags>
136 <tag><lit-tag v="NP"/></tag>
137 <tag><clip pos="1" side="tl" part="nbr"/></tag>
138 </tags>
139 <lu>
140 <clip pos="1" side="tl" part="lem"/>
141 <clip pos="1" side="tl" part="a_nom"/>
142 <lit-tag v="nom"/>
143 <clip pos="1" side="tl" part="gen"/>
144 <clip pos="1" side="tl" part="nbr"/>
145 </lu>
146 </chunk>
147 </out>
148 </action>
149 </rule>
151 <rule comment="REGLA: PR">
152 <pattern>
153 <pattern-item n="prep"/>
154 </pattern>
155 <action>
156 <out>
157 <chunk name="pr">
158 <tags>
159 <tag><lit-tag v="PR"/></tag>
160 </tags>
161 <lu>
162 <clip pos="1" side="tl" part="lem"/>
163 <lit-tag v="pr"/>
164 </lu>
165 </chunk>
166 </out>
167 </action>
168 </rule>
170 <rule comment="REGLA: ADJ">
171 <pattern>
172 <pattern-item n="adj"/>
173 </pattern>
174 <action>
175 <out>
176 <chunk name="adj">
177 <tags>
178 <tag><lit-tag v="ADJ"/></tag>
179 </tags>
180 <lu>
181 <clip pos="1" side="tl" part="lem"/>
182 <clip pos="1" side="tl" part="a_adj"/>
183 <lit-tag v="pred"/>
184 </lu>
185 </chunk>
186 </out>
187 </action>
188 </rule>
190 <rule> <!-- REGLA: reset variables-->
191 <pattern>
192 <pattern-item n="sent"/>
193 </pattern>
194 <action>
195 <let>
196 <var n="nombre"/>
197 <lit-tag v="sg"/>
198 </let>
199 <out>
200 <chunk name="punt">
201 <tags>
202 <tag><lit-tag v="sent"/></tag>
203 </tags>
204 <lu>
205 <clip pos="1" side="tl" part="whole"/>
206 </lu>
207 </chunk>
208 </out>
210 </action>
211 </rule>
213 </section-rules>
215 </transfer>