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