Line data Source code
1 : /* Generated by Snowball 2.2.0 - https://snowballstem.org/ */
2 :
3 : #include "header.h"
4 :
5 : #ifdef __cplusplus
6 : extern "C" {
7 : #endif
8 : extern int hungarian_ISO_8859_2_stem(struct SN_env * z);
9 : #ifdef __cplusplus
10 : }
11 : #endif
12 : static int r_double(struct SN_env * z);
13 : static int r_undouble(struct SN_env * z);
14 : static int r_factive(struct SN_env * z);
15 : static int r_instrum(struct SN_env * z);
16 : static int r_plur_owner(struct SN_env * z);
17 : static int r_sing_owner(struct SN_env * z);
18 : static int r_owned(struct SN_env * z);
19 : static int r_plural(struct SN_env * z);
20 : static int r_case_other(struct SN_env * z);
21 : static int r_case_special(struct SN_env * z);
22 : static int r_case(struct SN_env * z);
23 : static int r_v_ending(struct SN_env * z);
24 : static int r_R1(struct SN_env * z);
25 : static int r_mark_regions(struct SN_env * z);
26 : #ifdef __cplusplus
27 : extern "C" {
28 : #endif
29 :
30 :
31 : extern struct SN_env * hungarian_ISO_8859_2_create_env(void);
32 : extern void hungarian_ISO_8859_2_close_env(struct SN_env * z);
33 :
34 :
35 : #ifdef __cplusplus
36 : }
37 : #endif
38 : static const symbol s_0_0[2] = { 'c', 's' };
39 : static const symbol s_0_1[3] = { 'd', 'z', 's' };
40 : static const symbol s_0_2[2] = { 'g', 'y' };
41 : static const symbol s_0_3[2] = { 'l', 'y' };
42 : static const symbol s_0_4[2] = { 'n', 'y' };
43 : static const symbol s_0_5[2] = { 's', 'z' };
44 : static const symbol s_0_6[2] = { 't', 'y' };
45 : static const symbol s_0_7[2] = { 'z', 's' };
46 :
47 : static const struct among a_0[8] =
48 : {
49 : { 2, s_0_0, -1, -1, 0},
50 : { 3, s_0_1, -1, -1, 0},
51 : { 2, s_0_2, -1, -1, 0},
52 : { 2, s_0_3, -1, -1, 0},
53 : { 2, s_0_4, -1, -1, 0},
54 : { 2, s_0_5, -1, -1, 0},
55 : { 2, s_0_6, -1, -1, 0},
56 : { 2, s_0_7, -1, -1, 0}
57 : };
58 :
59 : static const symbol s_1_0[1] = { 0xE1 };
60 : static const symbol s_1_1[1] = { 0xE9 };
61 :
62 : static const struct among a_1[2] =
63 : {
64 : { 1, s_1_0, -1, 1, 0},
65 : { 1, s_1_1, -1, 2, 0}
66 : };
67 :
68 : static const symbol s_2_0[2] = { 'b', 'b' };
69 : static const symbol s_2_1[2] = { 'c', 'c' };
70 : static const symbol s_2_2[2] = { 'd', 'd' };
71 : static const symbol s_2_3[2] = { 'f', 'f' };
72 : static const symbol s_2_4[2] = { 'g', 'g' };
73 : static const symbol s_2_5[2] = { 'j', 'j' };
74 : static const symbol s_2_6[2] = { 'k', 'k' };
75 : static const symbol s_2_7[2] = { 'l', 'l' };
76 : static const symbol s_2_8[2] = { 'm', 'm' };
77 : static const symbol s_2_9[2] = { 'n', 'n' };
78 : static const symbol s_2_10[2] = { 'p', 'p' };
79 : static const symbol s_2_11[2] = { 'r', 'r' };
80 : static const symbol s_2_12[3] = { 'c', 'c', 's' };
81 : static const symbol s_2_13[2] = { 's', 's' };
82 : static const symbol s_2_14[3] = { 'z', 'z', 's' };
83 : static const symbol s_2_15[2] = { 't', 't' };
84 : static const symbol s_2_16[2] = { 'v', 'v' };
85 : static const symbol s_2_17[3] = { 'g', 'g', 'y' };
86 : static const symbol s_2_18[3] = { 'l', 'l', 'y' };
87 : static const symbol s_2_19[3] = { 'n', 'n', 'y' };
88 : static const symbol s_2_20[3] = { 't', 't', 'y' };
89 : static const symbol s_2_21[3] = { 's', 's', 'z' };
90 : static const symbol s_2_22[2] = { 'z', 'z' };
91 :
92 : static const struct among a_2[23] =
93 : {
94 : { 2, s_2_0, -1, -1, 0},
95 : { 2, s_2_1, -1, -1, 0},
96 : { 2, s_2_2, -1, -1, 0},
97 : { 2, s_2_3, -1, -1, 0},
98 : { 2, s_2_4, -1, -1, 0},
99 : { 2, s_2_5, -1, -1, 0},
100 : { 2, s_2_6, -1, -1, 0},
101 : { 2, s_2_7, -1, -1, 0},
102 : { 2, s_2_8, -1, -1, 0},
103 : { 2, s_2_9, -1, -1, 0},
104 : { 2, s_2_10, -1, -1, 0},
105 : { 2, s_2_11, -1, -1, 0},
106 : { 3, s_2_12, -1, -1, 0},
107 : { 2, s_2_13, -1, -1, 0},
108 : { 3, s_2_14, -1, -1, 0},
109 : { 2, s_2_15, -1, -1, 0},
110 : { 2, s_2_16, -1, -1, 0},
111 : { 3, s_2_17, -1, -1, 0},
112 : { 3, s_2_18, -1, -1, 0},
113 : { 3, s_2_19, -1, -1, 0},
114 : { 3, s_2_20, -1, -1, 0},
115 : { 3, s_2_21, -1, -1, 0},
116 : { 2, s_2_22, -1, -1, 0}
117 : };
118 :
119 : static const symbol s_3_0[2] = { 'a', 'l' };
120 : static const symbol s_3_1[2] = { 'e', 'l' };
121 :
122 : static const struct among a_3[2] =
123 : {
124 : { 2, s_3_0, -1, 1, 0},
125 : { 2, s_3_1, -1, 1, 0}
126 : };
127 :
128 : static const symbol s_4_0[2] = { 'b', 'a' };
129 : static const symbol s_4_1[2] = { 'r', 'a' };
130 : static const symbol s_4_2[2] = { 'b', 'e' };
131 : static const symbol s_4_3[2] = { 'r', 'e' };
132 : static const symbol s_4_4[2] = { 'i', 'g' };
133 : static const symbol s_4_5[3] = { 'n', 'a', 'k' };
134 : static const symbol s_4_6[3] = { 'n', 'e', 'k' };
135 : static const symbol s_4_7[3] = { 'v', 'a', 'l' };
136 : static const symbol s_4_8[3] = { 'v', 'e', 'l' };
137 : static const symbol s_4_9[2] = { 'u', 'l' };
138 : static const symbol s_4_10[3] = { 'n', 0xE1, 'l' };
139 : static const symbol s_4_11[3] = { 'n', 0xE9, 'l' };
140 : static const symbol s_4_12[3] = { 'b', 0xF3, 'l' };
141 : static const symbol s_4_13[3] = { 'r', 0xF3, 'l' };
142 : static const symbol s_4_14[3] = { 't', 0xF3, 'l' };
143 : static const symbol s_4_15[3] = { 'b', 0xF5, 'l' };
144 : static const symbol s_4_16[3] = { 'r', 0xF5, 'l' };
145 : static const symbol s_4_17[3] = { 't', 0xF5, 'l' };
146 : static const symbol s_4_18[2] = { 0xFC, 'l' };
147 : static const symbol s_4_19[1] = { 'n' };
148 : static const symbol s_4_20[2] = { 'a', 'n' };
149 : static const symbol s_4_21[3] = { 'b', 'a', 'n' };
150 : static const symbol s_4_22[2] = { 'e', 'n' };
151 : static const symbol s_4_23[3] = { 'b', 'e', 'n' };
152 : static const symbol s_4_24[6] = { 'k', 0xE9, 'p', 'p', 'e', 'n' };
153 : static const symbol s_4_25[2] = { 'o', 'n' };
154 : static const symbol s_4_26[2] = { 0xF6, 'n' };
155 : static const symbol s_4_27[4] = { 'k', 0xE9, 'p', 'p' };
156 : static const symbol s_4_28[3] = { 'k', 'o', 'r' };
157 : static const symbol s_4_29[1] = { 't' };
158 : static const symbol s_4_30[2] = { 'a', 't' };
159 : static const symbol s_4_31[2] = { 'e', 't' };
160 : static const symbol s_4_32[4] = { 'k', 0xE9, 'n', 't' };
161 : static const symbol s_4_33[6] = { 'a', 'n', 'k', 0xE9, 'n', 't' };
162 : static const symbol s_4_34[6] = { 'e', 'n', 'k', 0xE9, 'n', 't' };
163 : static const symbol s_4_35[6] = { 'o', 'n', 'k', 0xE9, 'n', 't' };
164 : static const symbol s_4_36[2] = { 'o', 't' };
165 : static const symbol s_4_37[3] = { 0xE9, 'r', 't' };
166 : static const symbol s_4_38[2] = { 0xF6, 't' };
167 : static const symbol s_4_39[3] = { 'h', 'e', 'z' };
168 : static const symbol s_4_40[3] = { 'h', 'o', 'z' };
169 : static const symbol s_4_41[3] = { 'h', 0xF6, 'z' };
170 : static const symbol s_4_42[2] = { 'v', 0xE1 };
171 : static const symbol s_4_43[2] = { 'v', 0xE9 };
172 :
173 : static const struct among a_4[44] =
174 : {
175 : { 2, s_4_0, -1, -1, 0},
176 : { 2, s_4_1, -1, -1, 0},
177 : { 2, s_4_2, -1, -1, 0},
178 : { 2, s_4_3, -1, -1, 0},
179 : { 2, s_4_4, -1, -1, 0},
180 : { 3, s_4_5, -1, -1, 0},
181 : { 3, s_4_6, -1, -1, 0},
182 : { 3, s_4_7, -1, -1, 0},
183 : { 3, s_4_8, -1, -1, 0},
184 : { 2, s_4_9, -1, -1, 0},
185 : { 3, s_4_10, -1, -1, 0},
186 : { 3, s_4_11, -1, -1, 0},
187 : { 3, s_4_12, -1, -1, 0},
188 : { 3, s_4_13, -1, -1, 0},
189 : { 3, s_4_14, -1, -1, 0},
190 : { 3, s_4_15, -1, -1, 0},
191 : { 3, s_4_16, -1, -1, 0},
192 : { 3, s_4_17, -1, -1, 0},
193 : { 2, s_4_18, -1, -1, 0},
194 : { 1, s_4_19, -1, -1, 0},
195 : { 2, s_4_20, 19, -1, 0},
196 : { 3, s_4_21, 20, -1, 0},
197 : { 2, s_4_22, 19, -1, 0},
198 : { 3, s_4_23, 22, -1, 0},
199 : { 6, s_4_24, 22, -1, 0},
200 : { 2, s_4_25, 19, -1, 0},
201 : { 2, s_4_26, 19, -1, 0},
202 : { 4, s_4_27, -1, -1, 0},
203 : { 3, s_4_28, -1, -1, 0},
204 : { 1, s_4_29, -1, -1, 0},
205 : { 2, s_4_30, 29, -1, 0},
206 : { 2, s_4_31, 29, -1, 0},
207 : { 4, s_4_32, 29, -1, 0},
208 : { 6, s_4_33, 32, -1, 0},
209 : { 6, s_4_34, 32, -1, 0},
210 : { 6, s_4_35, 32, -1, 0},
211 : { 2, s_4_36, 29, -1, 0},
212 : { 3, s_4_37, 29, -1, 0},
213 : { 2, s_4_38, 29, -1, 0},
214 : { 3, s_4_39, -1, -1, 0},
215 : { 3, s_4_40, -1, -1, 0},
216 : { 3, s_4_41, -1, -1, 0},
217 : { 2, s_4_42, -1, -1, 0},
218 : { 2, s_4_43, -1, -1, 0}
219 : };
220 :
221 : static const symbol s_5_0[2] = { 0xE1, 'n' };
222 : static const symbol s_5_1[2] = { 0xE9, 'n' };
223 : static const symbol s_5_2[6] = { 0xE1, 'n', 'k', 0xE9, 'n', 't' };
224 :
225 : static const struct among a_5[3] =
226 : {
227 : { 2, s_5_0, -1, 2, 0},
228 : { 2, s_5_1, -1, 1, 0},
229 : { 6, s_5_2, -1, 2, 0}
230 : };
231 :
232 : static const symbol s_6_0[4] = { 's', 't', 'u', 'l' };
233 : static const symbol s_6_1[5] = { 'a', 's', 't', 'u', 'l' };
234 : static const symbol s_6_2[5] = { 0xE1, 's', 't', 'u', 'l' };
235 : static const symbol s_6_3[4] = { 's', 't', 0xFC, 'l' };
236 : static const symbol s_6_4[5] = { 'e', 's', 't', 0xFC, 'l' };
237 : static const symbol s_6_5[5] = { 0xE9, 's', 't', 0xFC, 'l' };
238 :
239 : static const struct among a_6[6] =
240 : {
241 : { 4, s_6_0, -1, 1, 0},
242 : { 5, s_6_1, 0, 1, 0},
243 : { 5, s_6_2, 0, 2, 0},
244 : { 4, s_6_3, -1, 1, 0},
245 : { 5, s_6_4, 3, 1, 0},
246 : { 5, s_6_5, 3, 3, 0}
247 : };
248 :
249 : static const symbol s_7_0[1] = { 0xE1 };
250 : static const symbol s_7_1[1] = { 0xE9 };
251 :
252 : static const struct among a_7[2] =
253 : {
254 : { 1, s_7_0, -1, 1, 0},
255 : { 1, s_7_1, -1, 1, 0}
256 : };
257 :
258 : static const symbol s_8_0[1] = { 'k' };
259 : static const symbol s_8_1[2] = { 'a', 'k' };
260 : static const symbol s_8_2[2] = { 'e', 'k' };
261 : static const symbol s_8_3[2] = { 'o', 'k' };
262 : static const symbol s_8_4[2] = { 0xE1, 'k' };
263 : static const symbol s_8_5[2] = { 0xE9, 'k' };
264 : static const symbol s_8_6[2] = { 0xF6, 'k' };
265 :
266 : static const struct among a_8[7] =
267 : {
268 : { 1, s_8_0, -1, 3, 0},
269 : { 2, s_8_1, 0, 3, 0},
270 : { 2, s_8_2, 0, 3, 0},
271 : { 2, s_8_3, 0, 3, 0},
272 : { 2, s_8_4, 0, 1, 0},
273 : { 2, s_8_5, 0, 2, 0},
274 : { 2, s_8_6, 0, 3, 0}
275 : };
276 :
277 : static const symbol s_9_0[2] = { 0xE9, 'i' };
278 : static const symbol s_9_1[3] = { 0xE1, 0xE9, 'i' };
279 : static const symbol s_9_2[3] = { 0xE9, 0xE9, 'i' };
280 : static const symbol s_9_3[1] = { 0xE9 };
281 : static const symbol s_9_4[2] = { 'k', 0xE9 };
282 : static const symbol s_9_5[3] = { 'a', 'k', 0xE9 };
283 : static const symbol s_9_6[3] = { 'e', 'k', 0xE9 };
284 : static const symbol s_9_7[3] = { 'o', 'k', 0xE9 };
285 : static const symbol s_9_8[3] = { 0xE1, 'k', 0xE9 };
286 : static const symbol s_9_9[3] = { 0xE9, 'k', 0xE9 };
287 : static const symbol s_9_10[3] = { 0xF6, 'k', 0xE9 };
288 : static const symbol s_9_11[2] = { 0xE9, 0xE9 };
289 :
290 : static const struct among a_9[12] =
291 : {
292 : { 2, s_9_0, -1, 1, 0},
293 : { 3, s_9_1, 0, 3, 0},
294 : { 3, s_9_2, 0, 2, 0},
295 : { 1, s_9_3, -1, 1, 0},
296 : { 2, s_9_4, 3, 1, 0},
297 : { 3, s_9_5, 4, 1, 0},
298 : { 3, s_9_6, 4, 1, 0},
299 : { 3, s_9_7, 4, 1, 0},
300 : { 3, s_9_8, 4, 3, 0},
301 : { 3, s_9_9, 4, 2, 0},
302 : { 3, s_9_10, 4, 1, 0},
303 : { 2, s_9_11, 3, 2, 0}
304 : };
305 :
306 : static const symbol s_10_0[1] = { 'a' };
307 : static const symbol s_10_1[2] = { 'j', 'a' };
308 : static const symbol s_10_2[1] = { 'd' };
309 : static const symbol s_10_3[2] = { 'a', 'd' };
310 : static const symbol s_10_4[2] = { 'e', 'd' };
311 : static const symbol s_10_5[2] = { 'o', 'd' };
312 : static const symbol s_10_6[2] = { 0xE1, 'd' };
313 : static const symbol s_10_7[2] = { 0xE9, 'd' };
314 : static const symbol s_10_8[2] = { 0xF6, 'd' };
315 : static const symbol s_10_9[1] = { 'e' };
316 : static const symbol s_10_10[2] = { 'j', 'e' };
317 : static const symbol s_10_11[2] = { 'n', 'k' };
318 : static const symbol s_10_12[3] = { 'u', 'n', 'k' };
319 : static const symbol s_10_13[3] = { 0xE1, 'n', 'k' };
320 : static const symbol s_10_14[3] = { 0xE9, 'n', 'k' };
321 : static const symbol s_10_15[3] = { 0xFC, 'n', 'k' };
322 : static const symbol s_10_16[2] = { 'u', 'k' };
323 : static const symbol s_10_17[3] = { 'j', 'u', 'k' };
324 : static const symbol s_10_18[4] = { 0xE1, 'j', 'u', 'k' };
325 : static const symbol s_10_19[2] = { 0xFC, 'k' };
326 : static const symbol s_10_20[3] = { 'j', 0xFC, 'k' };
327 : static const symbol s_10_21[4] = { 0xE9, 'j', 0xFC, 'k' };
328 : static const symbol s_10_22[1] = { 'm' };
329 : static const symbol s_10_23[2] = { 'a', 'm' };
330 : static const symbol s_10_24[2] = { 'e', 'm' };
331 : static const symbol s_10_25[2] = { 'o', 'm' };
332 : static const symbol s_10_26[2] = { 0xE1, 'm' };
333 : static const symbol s_10_27[2] = { 0xE9, 'm' };
334 : static const symbol s_10_28[1] = { 'o' };
335 : static const symbol s_10_29[1] = { 0xE1 };
336 : static const symbol s_10_30[1] = { 0xE9 };
337 :
338 : static const struct among a_10[31] =
339 : {
340 : { 1, s_10_0, -1, 1, 0},
341 : { 2, s_10_1, 0, 1, 0},
342 : { 1, s_10_2, -1, 1, 0},
343 : { 2, s_10_3, 2, 1, 0},
344 : { 2, s_10_4, 2, 1, 0},
345 : { 2, s_10_5, 2, 1, 0},
346 : { 2, s_10_6, 2, 2, 0},
347 : { 2, s_10_7, 2, 3, 0},
348 : { 2, s_10_8, 2, 1, 0},
349 : { 1, s_10_9, -1, 1, 0},
350 : { 2, s_10_10, 9, 1, 0},
351 : { 2, s_10_11, -1, 1, 0},
352 : { 3, s_10_12, 11, 1, 0},
353 : { 3, s_10_13, 11, 2, 0},
354 : { 3, s_10_14, 11, 3, 0},
355 : { 3, s_10_15, 11, 1, 0},
356 : { 2, s_10_16, -1, 1, 0},
357 : { 3, s_10_17, 16, 1, 0},
358 : { 4, s_10_18, 17, 2, 0},
359 : { 2, s_10_19, -1, 1, 0},
360 : { 3, s_10_20, 19, 1, 0},
361 : { 4, s_10_21, 20, 3, 0},
362 : { 1, s_10_22, -1, 1, 0},
363 : { 2, s_10_23, 22, 1, 0},
364 : { 2, s_10_24, 22, 1, 0},
365 : { 2, s_10_25, 22, 1, 0},
366 : { 2, s_10_26, 22, 2, 0},
367 : { 2, s_10_27, 22, 3, 0},
368 : { 1, s_10_28, -1, 1, 0},
369 : { 1, s_10_29, -1, 2, 0},
370 : { 1, s_10_30, -1, 3, 0}
371 : };
372 :
373 : static const symbol s_11_0[2] = { 'i', 'd' };
374 : static const symbol s_11_1[3] = { 'a', 'i', 'd' };
375 : static const symbol s_11_2[4] = { 'j', 'a', 'i', 'd' };
376 : static const symbol s_11_3[3] = { 'e', 'i', 'd' };
377 : static const symbol s_11_4[4] = { 'j', 'e', 'i', 'd' };
378 : static const symbol s_11_5[3] = { 0xE1, 'i', 'd' };
379 : static const symbol s_11_6[3] = { 0xE9, 'i', 'd' };
380 : static const symbol s_11_7[1] = { 'i' };
381 : static const symbol s_11_8[2] = { 'a', 'i' };
382 : static const symbol s_11_9[3] = { 'j', 'a', 'i' };
383 : static const symbol s_11_10[2] = { 'e', 'i' };
384 : static const symbol s_11_11[3] = { 'j', 'e', 'i' };
385 : static const symbol s_11_12[2] = { 0xE1, 'i' };
386 : static const symbol s_11_13[2] = { 0xE9, 'i' };
387 : static const symbol s_11_14[4] = { 'i', 't', 'e', 'k' };
388 : static const symbol s_11_15[5] = { 'e', 'i', 't', 'e', 'k' };
389 : static const symbol s_11_16[6] = { 'j', 'e', 'i', 't', 'e', 'k' };
390 : static const symbol s_11_17[5] = { 0xE9, 'i', 't', 'e', 'k' };
391 : static const symbol s_11_18[2] = { 'i', 'k' };
392 : static const symbol s_11_19[3] = { 'a', 'i', 'k' };
393 : static const symbol s_11_20[4] = { 'j', 'a', 'i', 'k' };
394 : static const symbol s_11_21[3] = { 'e', 'i', 'k' };
395 : static const symbol s_11_22[4] = { 'j', 'e', 'i', 'k' };
396 : static const symbol s_11_23[3] = { 0xE1, 'i', 'k' };
397 : static const symbol s_11_24[3] = { 0xE9, 'i', 'k' };
398 : static const symbol s_11_25[3] = { 'i', 'n', 'k' };
399 : static const symbol s_11_26[4] = { 'a', 'i', 'n', 'k' };
400 : static const symbol s_11_27[5] = { 'j', 'a', 'i', 'n', 'k' };
401 : static const symbol s_11_28[4] = { 'e', 'i', 'n', 'k' };
402 : static const symbol s_11_29[5] = { 'j', 'e', 'i', 'n', 'k' };
403 : static const symbol s_11_30[4] = { 0xE1, 'i', 'n', 'k' };
404 : static const symbol s_11_31[4] = { 0xE9, 'i', 'n', 'k' };
405 : static const symbol s_11_32[5] = { 'a', 'i', 't', 'o', 'k' };
406 : static const symbol s_11_33[6] = { 'j', 'a', 'i', 't', 'o', 'k' };
407 : static const symbol s_11_34[5] = { 0xE1, 'i', 't', 'o', 'k' };
408 : static const symbol s_11_35[2] = { 'i', 'm' };
409 : static const symbol s_11_36[3] = { 'a', 'i', 'm' };
410 : static const symbol s_11_37[4] = { 'j', 'a', 'i', 'm' };
411 : static const symbol s_11_38[3] = { 'e', 'i', 'm' };
412 : static const symbol s_11_39[4] = { 'j', 'e', 'i', 'm' };
413 : static const symbol s_11_40[3] = { 0xE1, 'i', 'm' };
414 : static const symbol s_11_41[3] = { 0xE9, 'i', 'm' };
415 :
416 : static const struct among a_11[42] =
417 : {
418 : { 2, s_11_0, -1, 1, 0},
419 : { 3, s_11_1, 0, 1, 0},
420 : { 4, s_11_2, 1, 1, 0},
421 : { 3, s_11_3, 0, 1, 0},
422 : { 4, s_11_4, 3, 1, 0},
423 : { 3, s_11_5, 0, 2, 0},
424 : { 3, s_11_6, 0, 3, 0},
425 : { 1, s_11_7, -1, 1, 0},
426 : { 2, s_11_8, 7, 1, 0},
427 : { 3, s_11_9, 8, 1, 0},
428 : { 2, s_11_10, 7, 1, 0},
429 : { 3, s_11_11, 10, 1, 0},
430 : { 2, s_11_12, 7, 2, 0},
431 : { 2, s_11_13, 7, 3, 0},
432 : { 4, s_11_14, -1, 1, 0},
433 : { 5, s_11_15, 14, 1, 0},
434 : { 6, s_11_16, 15, 1, 0},
435 : { 5, s_11_17, 14, 3, 0},
436 : { 2, s_11_18, -1, 1, 0},
437 : { 3, s_11_19, 18, 1, 0},
438 : { 4, s_11_20, 19, 1, 0},
439 : { 3, s_11_21, 18, 1, 0},
440 : { 4, s_11_22, 21, 1, 0},
441 : { 3, s_11_23, 18, 2, 0},
442 : { 3, s_11_24, 18, 3, 0},
443 : { 3, s_11_25, -1, 1, 0},
444 : { 4, s_11_26, 25, 1, 0},
445 : { 5, s_11_27, 26, 1, 0},
446 : { 4, s_11_28, 25, 1, 0},
447 : { 5, s_11_29, 28, 1, 0},
448 : { 4, s_11_30, 25, 2, 0},
449 : { 4, s_11_31, 25, 3, 0},
450 : { 5, s_11_32, -1, 1, 0},
451 : { 6, s_11_33, 32, 1, 0},
452 : { 5, s_11_34, -1, 2, 0},
453 : { 2, s_11_35, -1, 1, 0},
454 : { 3, s_11_36, 35, 1, 0},
455 : { 4, s_11_37, 36, 1, 0},
456 : { 3, s_11_38, 35, 1, 0},
457 : { 4, s_11_39, 38, 1, 0},
458 : { 3, s_11_40, 35, 2, 0},
459 : { 3, s_11_41, 35, 3, 0}
460 : };
461 :
462 : static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17, 52, 14 };
463 :
464 : static const symbol s_0[] = { 'a' };
465 : static const symbol s_1[] = { 'e' };
466 : static const symbol s_2[] = { 'e' };
467 : static const symbol s_3[] = { 'a' };
468 : static const symbol s_4[] = { 'a' };
469 : static const symbol s_5[] = { 'e' };
470 : static const symbol s_6[] = { 'a' };
471 : static const symbol s_7[] = { 'e' };
472 : static const symbol s_8[] = { 'e' };
473 : static const symbol s_9[] = { 'a' };
474 : static const symbol s_10[] = { 'a' };
475 : static const symbol s_11[] = { 'e' };
476 : static const symbol s_12[] = { 'a' };
477 : static const symbol s_13[] = { 'e' };
478 :
479 0 : static int r_mark_regions(struct SN_env * z) {
480 0 : z->I[0] = z->l;
481 0 : { int c1 = z->c;
482 0 : if (in_grouping(z, g_v, 97, 252, 0)) goto lab1;
483 :
484 0 : if (in_grouping(z, g_v, 97, 252, 1) < 0) goto lab1;
485 0 : { int c2 = z->c;
486 0 : if (z->c + 1 >= z->l || z->p[z->c + 1] >> 5 != 3 || !((101187584 >> (z->p[z->c + 1] & 0x1f)) & 1)) goto lab3;
487 0 : if (!find_among(z, a_0, 8)) goto lab3;
488 0 : goto lab2;
489 0 : lab3:
490 0 : z->c = c2;
491 0 : if (z->c >= z->l) goto lab1;
492 0 : z->c++;
493 : }
494 0 : lab2:
495 0 : z->I[0] = z->c;
496 0 : goto lab0;
497 0 : lab1:
498 0 : z->c = c1;
499 0 : if (out_grouping(z, g_v, 97, 252, 0)) return 0;
500 :
501 : {
502 0 : int ret = out_grouping(z, g_v, 97, 252, 1);
503 0 : if (ret < 0) return 0;
504 0 : z->c += ret;
505 : }
506 0 : z->I[0] = z->c;
507 : }
508 0 : lab0:
509 0 : return 1;
510 : }
511 :
512 0 : static int r_R1(struct SN_env * z) {
513 0 : return z->I[0] <= z->c;
514 : }
515 :
516 0 : static int r_v_ending(struct SN_env * z) {
517 : int among_var;
518 0 : z->ket = z->c;
519 0 : if (z->c <= z->lb || (z->p[z->c - 1] != 225 && z->p[z->c - 1] != 233)) return 0;
520 0 : among_var = find_among_b(z, a_1, 2);
521 0 : if (!among_var) return 0;
522 0 : z->bra = z->c;
523 0 : { int ret = r_R1(z);
524 0 : if (ret <= 0) return ret;
525 : }
526 0 : switch (among_var) {
527 0 : case 1:
528 0 : { int ret = slice_from_s(z, 1, s_0);
529 0 : if (ret < 0) return ret;
530 : }
531 0 : break;
532 0 : case 2:
533 0 : { int ret = slice_from_s(z, 1, s_1);
534 0 : if (ret < 0) return ret;
535 : }
536 0 : break;
537 : }
538 0 : return 1;
539 : }
540 :
541 0 : static int r_double(struct SN_env * z) {
542 0 : { int m_test1 = z->l - z->c;
543 0 : if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((106790108 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
544 0 : if (!find_among_b(z, a_2, 23)) return 0;
545 0 : z->c = z->l - m_test1;
546 : }
547 0 : return 1;
548 : }
549 :
550 0 : static int r_undouble(struct SN_env * z) {
551 0 : if (z->c <= z->lb) return 0;
552 0 : z->c--;
553 0 : z->ket = z->c;
554 0 : z->c = z->c - 1;
555 0 : if (z->c < z->lb) return 0;
556 0 : z->bra = z->c;
557 0 : { int ret = slice_del(z);
558 0 : if (ret < 0) return ret;
559 : }
560 0 : return 1;
561 : }
562 :
563 0 : static int r_instrum(struct SN_env * z) {
564 0 : z->ket = z->c;
565 0 : if (z->c - 1 <= z->lb || z->p[z->c - 1] != 108) return 0;
566 0 : if (!find_among_b(z, a_3, 2)) return 0;
567 0 : z->bra = z->c;
568 0 : { int ret = r_R1(z);
569 0 : if (ret <= 0) return ret;
570 : }
571 0 : { int ret = r_double(z);
572 0 : if (ret <= 0) return ret;
573 : }
574 0 : { int ret = slice_del(z);
575 0 : if (ret < 0) return ret;
576 : }
577 0 : { int ret = r_undouble(z);
578 0 : if (ret <= 0) return ret;
579 : }
580 0 : return 1;
581 : }
582 :
583 0 : static int r_case(struct SN_env * z) {
584 0 : z->ket = z->c;
585 0 : if (!find_among_b(z, a_4, 44)) return 0;
586 0 : z->bra = z->c;
587 0 : { int ret = r_R1(z);
588 0 : if (ret <= 0) return ret;
589 : }
590 0 : { int ret = slice_del(z);
591 0 : if (ret < 0) return ret;
592 : }
593 0 : { int ret = r_v_ending(z);
594 0 : if (ret <= 0) return ret;
595 : }
596 0 : return 1;
597 : }
598 :
599 0 : static int r_case_special(struct SN_env * z) {
600 : int among_var;
601 0 : z->ket = z->c;
602 0 : if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 110 && z->p[z->c - 1] != 116)) return 0;
603 0 : among_var = find_among_b(z, a_5, 3);
604 0 : if (!among_var) return 0;
605 0 : z->bra = z->c;
606 0 : { int ret = r_R1(z);
607 0 : if (ret <= 0) return ret;
608 : }
609 0 : switch (among_var) {
610 0 : case 1:
611 0 : { int ret = slice_from_s(z, 1, s_2);
612 0 : if (ret < 0) return ret;
613 : }
614 0 : break;
615 0 : case 2:
616 0 : { int ret = slice_from_s(z, 1, s_3);
617 0 : if (ret < 0) return ret;
618 : }
619 0 : break;
620 : }
621 0 : return 1;
622 : }
623 :
624 0 : static int r_case_other(struct SN_env * z) {
625 : int among_var;
626 0 : z->ket = z->c;
627 0 : if (z->c - 3 <= z->lb || z->p[z->c - 1] != 108) return 0;
628 0 : among_var = find_among_b(z, a_6, 6);
629 0 : if (!among_var) return 0;
630 0 : z->bra = z->c;
631 0 : { int ret = r_R1(z);
632 0 : if (ret <= 0) return ret;
633 : }
634 0 : switch (among_var) {
635 0 : case 1:
636 0 : { int ret = slice_del(z);
637 0 : if (ret < 0) return ret;
638 : }
639 0 : break;
640 0 : case 2:
641 0 : { int ret = slice_from_s(z, 1, s_4);
642 0 : if (ret < 0) return ret;
643 : }
644 0 : break;
645 0 : case 3:
646 0 : { int ret = slice_from_s(z, 1, s_5);
647 0 : if (ret < 0) return ret;
648 : }
649 0 : break;
650 : }
651 0 : return 1;
652 : }
653 :
654 0 : static int r_factive(struct SN_env * z) {
655 0 : z->ket = z->c;
656 0 : if (z->c <= z->lb || (z->p[z->c - 1] != 225 && z->p[z->c - 1] != 233)) return 0;
657 0 : if (!find_among_b(z, a_7, 2)) return 0;
658 0 : z->bra = z->c;
659 0 : { int ret = r_R1(z);
660 0 : if (ret <= 0) return ret;
661 : }
662 0 : { int ret = r_double(z);
663 0 : if (ret <= 0) return ret;
664 : }
665 0 : { int ret = slice_del(z);
666 0 : if (ret < 0) return ret;
667 : }
668 0 : { int ret = r_undouble(z);
669 0 : if (ret <= 0) return ret;
670 : }
671 0 : return 1;
672 : }
673 :
674 0 : static int r_plural(struct SN_env * z) {
675 : int among_var;
676 0 : z->ket = z->c;
677 0 : if (z->c <= z->lb || z->p[z->c - 1] != 107) return 0;
678 0 : among_var = find_among_b(z, a_8, 7);
679 0 : if (!among_var) return 0;
680 0 : z->bra = z->c;
681 0 : { int ret = r_R1(z);
682 0 : if (ret <= 0) return ret;
683 : }
684 0 : switch (among_var) {
685 0 : case 1:
686 0 : { int ret = slice_from_s(z, 1, s_6);
687 0 : if (ret < 0) return ret;
688 : }
689 0 : break;
690 0 : case 2:
691 0 : { int ret = slice_from_s(z, 1, s_7);
692 0 : if (ret < 0) return ret;
693 : }
694 0 : break;
695 0 : case 3:
696 0 : { int ret = slice_del(z);
697 0 : if (ret < 0) return ret;
698 : }
699 0 : break;
700 : }
701 0 : return 1;
702 : }
703 :
704 0 : static int r_owned(struct SN_env * z) {
705 : int among_var;
706 0 : z->ket = z->c;
707 0 : if (z->c <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 233)) return 0;
708 0 : among_var = find_among_b(z, a_9, 12);
709 0 : if (!among_var) return 0;
710 0 : z->bra = z->c;
711 0 : { int ret = r_R1(z);
712 0 : if (ret <= 0) return ret;
713 : }
714 0 : switch (among_var) {
715 0 : case 1:
716 0 : { int ret = slice_del(z);
717 0 : if (ret < 0) return ret;
718 : }
719 0 : break;
720 0 : case 2:
721 0 : { int ret = slice_from_s(z, 1, s_8);
722 0 : if (ret < 0) return ret;
723 : }
724 0 : break;
725 0 : case 3:
726 0 : { int ret = slice_from_s(z, 1, s_9);
727 0 : if (ret < 0) return ret;
728 : }
729 0 : break;
730 : }
731 0 : return 1;
732 : }
733 :
734 0 : static int r_sing_owner(struct SN_env * z) {
735 : int among_var;
736 0 : z->ket = z->c;
737 0 : among_var = find_among_b(z, a_10, 31);
738 0 : if (!among_var) return 0;
739 0 : z->bra = z->c;
740 0 : { int ret = r_R1(z);
741 0 : if (ret <= 0) return ret;
742 : }
743 0 : switch (among_var) {
744 0 : case 1:
745 0 : { int ret = slice_del(z);
746 0 : if (ret < 0) return ret;
747 : }
748 0 : break;
749 0 : case 2:
750 0 : { int ret = slice_from_s(z, 1, s_10);
751 0 : if (ret < 0) return ret;
752 : }
753 0 : break;
754 0 : case 3:
755 0 : { int ret = slice_from_s(z, 1, s_11);
756 0 : if (ret < 0) return ret;
757 : }
758 0 : break;
759 : }
760 0 : return 1;
761 : }
762 :
763 0 : static int r_plur_owner(struct SN_env * z) {
764 : int among_var;
765 0 : z->ket = z->c;
766 0 : if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((10768 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
767 0 : among_var = find_among_b(z, a_11, 42);
768 0 : if (!among_var) return 0;
769 0 : z->bra = z->c;
770 0 : { int ret = r_R1(z);
771 0 : if (ret <= 0) return ret;
772 : }
773 0 : switch (among_var) {
774 0 : case 1:
775 0 : { int ret = slice_del(z);
776 0 : if (ret < 0) return ret;
777 : }
778 0 : break;
779 0 : case 2:
780 0 : { int ret = slice_from_s(z, 1, s_12);
781 0 : if (ret < 0) return ret;
782 : }
783 0 : break;
784 0 : case 3:
785 0 : { int ret = slice_from_s(z, 1, s_13);
786 0 : if (ret < 0) return ret;
787 : }
788 0 : break;
789 : }
790 0 : return 1;
791 : }
792 :
793 0 : extern int hungarian_ISO_8859_2_stem(struct SN_env * z) {
794 0 : { int c1 = z->c;
795 0 : { int ret = r_mark_regions(z);
796 0 : if (ret < 0) return ret;
797 : }
798 0 : z->c = c1;
799 : }
800 0 : z->lb = z->c; z->c = z->l;
801 :
802 0 : { int m2 = z->l - z->c; (void)m2;
803 0 : { int ret = r_instrum(z);
804 0 : if (ret < 0) return ret;
805 : }
806 0 : z->c = z->l - m2;
807 : }
808 0 : { int m3 = z->l - z->c; (void)m3;
809 0 : { int ret = r_case(z);
810 0 : if (ret < 0) return ret;
811 : }
812 0 : z->c = z->l - m3;
813 : }
814 0 : { int m4 = z->l - z->c; (void)m4;
815 0 : { int ret = r_case_special(z);
816 0 : if (ret < 0) return ret;
817 : }
818 0 : z->c = z->l - m4;
819 : }
820 0 : { int m5 = z->l - z->c; (void)m5;
821 0 : { int ret = r_case_other(z);
822 0 : if (ret < 0) return ret;
823 : }
824 0 : z->c = z->l - m5;
825 : }
826 0 : { int m6 = z->l - z->c; (void)m6;
827 0 : { int ret = r_factive(z);
828 0 : if (ret < 0) return ret;
829 : }
830 0 : z->c = z->l - m6;
831 : }
832 0 : { int m7 = z->l - z->c; (void)m7;
833 0 : { int ret = r_owned(z);
834 0 : if (ret < 0) return ret;
835 : }
836 0 : z->c = z->l - m7;
837 : }
838 0 : { int m8 = z->l - z->c; (void)m8;
839 0 : { int ret = r_sing_owner(z);
840 0 : if (ret < 0) return ret;
841 : }
842 0 : z->c = z->l - m8;
843 : }
844 0 : { int m9 = z->l - z->c; (void)m9;
845 0 : { int ret = r_plur_owner(z);
846 0 : if (ret < 0) return ret;
847 : }
848 0 : z->c = z->l - m9;
849 : }
850 0 : { int m10 = z->l - z->c; (void)m10;
851 0 : { int ret = r_plural(z);
852 0 : if (ret < 0) return ret;
853 : }
854 0 : z->c = z->l - m10;
855 : }
856 0 : z->c = z->lb;
857 0 : return 1;
858 : }
859 :
860 0 : extern struct SN_env * hungarian_ISO_8859_2_create_env(void) { return SN_create_env(0, 1); }
861 :
862 0 : extern void hungarian_ISO_8859_2_close_env(struct SN_env * z) { SN_close_env(z, 0); }
863 :
|