Debian Codegraph @

apertium-eo-en.eo-en.antaux_t2x

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interchunk>
3
4
5 <section-def-cats>
6 <def-cat n="nepersona_it">
7 <cat-item tags="SN.*.nepersona"/>
8 </def-cat>
9 <def-cat n="SN">
10 <cat-item tags="unknown"/>
11 <cat-item tags="SN.*"/>
12 </def-cat>
13 <def-cat n="SD"><!-- c="sintagmo determinita" -->
14 <cat-item tags="SD.*"/>
15 <cat-item tags="REL.*"/> <!-- rilativo kun kaza indiko: kiu(j)(n), kio(n) -->
16 </def-cat>
17 <def-cat n="SN_SD">
18 <cat-item tags="unknown"/>
19 <cat-item tags="SN.*"/>
20 <cat-item tags="SD.*"/>
21 <cat-item tags="REL.*"/> <!-- rilativo kun kaza indiko: kiu(j)(n), kio(n) -->
22 </def-cat>
23 <def-cat n="SA"><!-- c="sintagmo adjektiva" -->
24 <cat-item tags="SA.*"/>
25 </def-cat>
26 <def-cat n="num">
27 <cat-item lemma="num" tags="SN.*"/>
28 </def-cat>
29 <def-cat n="SV">
30 <cat-item tags="SV"/>
31 <cat-item tags="SV.*"/>
32 </def-cat>
33 <def-cat n="out">
34 <cat-item lemma="out" tags="Adv"/>
35 </def-cat>
36 <def-cat n="GEN">
37 <cat-item tags="GEN"/>
38 </def-cat>
39 <def-cat n="unknown">
40 <cat-item lemma="unknown" tags=""/>
41 </def-cat>
42 <def-cat n="Adv">
43 <cat-item tags="Adv"/>
44 <cat-item tags="CA"/>
45 <cat-item tags="NEG"/>
46 </def-cat>
47 <!-- ne difinitaj
48 <def-cat n="CC">
49 <cat-item tags="CC.*"/>
50 <cat-item tags="and_or.*"/>
51 </def-cat>
52 <def-cat n="CM">
53 <cat-item tags="CM"/>
54 </def-cat>
55 <def-cat n="and_or">
56 <cat-item tags="and_or.*"/>
57 </def-cat>
58 -->
59 <def-cat n="PREP">
60 <cat-item tags="PREP"/>
61 <cat-item tags="DE"/>
62 </def-cat>
63 <def-cat n="de">
64 <cat-item tags="DE"/>
65 </def-cat>
66 </section-def-cats>
67
68 <section-def-attrs>
69 <def-attr n="a_chunk">
70 <attr-item tags="SN"/>
71 <attr-item tags="SV"/>
72 </def-attr>
73
74 <def-attr n="a_nbr">
75 <attr-item tags="sg"/>
76 <attr-item tags="pl"/>
77 <attr-item tags="sp"/>
78 <attr-item tags="ND"/>
79 </def-attr>
80
81 <def-attr n="a_cas">
82 <attr-item tags="nom"/>
83 <attr-item tags="acc"/>
84 </def-attr>
85
86 <def-attr n="a_prs">
87 <attr-item tags="p1"/>
88 <attr-item tags="p2"/>
89 <attr-item tags="p3"/>
90 </def-attr>
91
92 <def-attr n="a_gender">
93 <attr-item tags="nt"/>
94 <attr-item tags="m"/>
95 <attr-item tags="f"/>
96 <attr-item tags="mf"/>
97 <attr-item tags="GD"/>
98 </def-attr>
99
100
101 </section-def-attrs>
102
103 <section-def-vars>
104 <def-var n="nombre"/>
105 <def-var n="genere"/>
106 </section-def-vars>
107
108 <section-rules>
109
110
111
112
113 <!--
114 <rule comment="REGLA: NUM SN - SN ">
115 <pattern>
116 <pattern-item n="num"/>
117 <pattern-item n="SN"/>
118 </pattern>
119 <action>
120 <out>
121 <chunk>
122 <get-case-from pos="1"><clip pos="2" part="lem"/></get-case-from>
123 <clip pos="2" part="tags"/>
124 <lit v="{"/>
125 <clip pos="1" part="content"/>
126 <b pos="1"/>
127 <clip pos="2" part="content"/>
128 <lit v="}"/>
129 </chunk>
130 </out>
131 </action>
132 </rule>
133 -->
134
135
136
137 <!-- tiu regulo ne veras: se SN komenciĝas per DET la antaŭa SA ne apartenas al la koncerna SN
138
139 <rule comment="REGLA: SA SN - SN ">
140 <pattern>
141 <pattern-item n="SA"/>
142 <pattern-item n="SN"/>
143 </pattern>
144 <action>
145 <out>
146 <chunk>
147 <get-case-from pos="1"><clip pos="2" part="lem"/></get-case-from>
148 <clip pos="2" part="tags"/>
149 <lit v="{"/>
150 <clip pos="1" part="content"/>
151 <b pos="1"/>
152 <clip pos="2" part="content"/>
153 <lit v="}"/>
154 </chunk>
155 </out>
156 </action>
157 </rule>
158
159 -->
160
161 <!--
162 Ne funkcias kiam la dua SN ne havas la saman nombron ol la dua SN (ekz. ĉar SN1 estas unkown)
163
164 <rule comment="REGLA: SN DE SN - SN ">
165 <pattern>
166 <pattern-item n="SN"/>
167 <pattern-item n="de"/>
168 <pattern-item n="SN"/>
169 </pattern>
170 <action>
171 <out>
172 <chunk>
173 <clip pos="1" part="lem"/>
174 <clip pos="1" part="tags"/>
175 <lit v="{"/>
176 <clip pos="1" part="content"/>
177 <b pos="1"/>
178 <clip pos="2" part="content"/>
179 <b pos="2"/>
180 <clip pos="3" part="content"/>
181 <lit v="}"/>
182 </chunk>
183 </out>
184 </action>
185 </rule>
186 -->
187
188
189 <rule comment="REGLA: PREP SN_SD - SP (sintagmo prepozicia)">
190 <pattern>
191 <pattern-item n="PREP"/>
192 <pattern-item n="SN_SD"/>
193 </pattern>
194 <action>
195 <out>
196 <chunk>
197 <get-case-from pos="1"><lit v="sp"/></get-case-from>
198 <lit-tag v="SP"/><clip pos="2" part="a_prs"/><clip pos="2" part="a_gender"/>
199 <clip pos="2" part="a_nbr"/><clip pos="2" part="a_cas"/>
200 <lit v="{"/>
201 <clip pos="1" part="content"/>
202 <b pos="1"/>
203 <clip pos="2" part="content"/>
204 <lit v="}"/>
205 </chunk>
206 </out>
207 </action>
208 </rule>
209
210
211 <!--
212 <rule comment="REGLA: SN nepersona_it - SN; riparo de nepersona verbo kiu ricevis 'it' kiel ekz 'la nubo pluvis' ">
213 <pattern>
214 <pattern-item n="SN_SD"/>
215 <pattern-item n="nepersona_it"/>
216 </pattern>
217 <action>
218 <out>
219 <chunk>
220 <clip pos="1" part="whole"/>
221 </chunk>
222 </out>
223 </action>
224 </rule>
225
226 <rule comment="REGLA: nepersona_it - forigu la ekstan markon 'nepersona' ">
227 <pattern>
228 <pattern-item n="nepersona_it"/>
229 </pattern>
230 <action>
231 <out>
232 <chunk>
233 <lit v="pron"/><lit-tag v="SN"/><clip pos="1" part="a_prs"/><clip pos="1" part="a_gender"/><clip pos="1" part="a_nbr"/><clip pos="1" part="a_cas"/>
234 <lit v="{"/>
235 <clip pos="1" part="content"/>
236 <lit v="}"/>
237 </chunk>
238 </out>
239 </action>
240 </rule>
241
242
243
244 <rule comment="REGLA: PREP SN_SD - SP (sintagmo prepozicia) - varianto kiu forprenas la nepersona_it">
245 <pattern>
246 <pattern-item n="PREP"/>
247 <pattern-item n="SN_SD"/>
248 <pattern-item n="nepersona_it"/>
249 </pattern>
250 <action>
251 <out>
252 <chunk>
253 <get-case-from pos="1"><lit v="sp"/></get-case-from>
254 <lit-tag v="SP"/><clip pos="2" part="a_prs"/><clip pos="2" part="a_gender"/>
255 <clip pos="2" part="a_nbr"/><clip pos="2" part="a_cas"/>
256 <lit v="{"/>
257 <clip pos="1" part="content"/>
258 <b pos="1"/>
259 <clip pos="2" part="content"/>
260 <lit v="}"/>
261 </chunk>
262 </out>
263 </action>
264 </rule>
265 -->
266 </section-rules>
267 </interchunk>