PostgreSQL Source Code  git master
stem_UTF_8_romanian.c
Go to the documentation of this file.
1 
2 /* This file was generated automatically by the Snowball to ANSI C compiler */
3 
4 #include "header.h"
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 extern int romanian_UTF_8_stem(struct SN_env * z);
10 #ifdef __cplusplus
11 }
12 #endif
13 static int r_vowel_suffix(struct SN_env * z);
14 static int r_verb_suffix(struct SN_env * z);
15 static int r_combo_suffix(struct SN_env * z);
16 static int r_standard_suffix(struct SN_env * z);
17 static int r_step_0(struct SN_env * z);
18 static int r_R2(struct SN_env * z);
19 static int r_R1(struct SN_env * z);
20 static int r_RV(struct SN_env * z);
21 static int r_mark_regions(struct SN_env * z);
22 static int r_postlude(struct SN_env * z);
23 static int r_prelude(struct SN_env * z);
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 
29 extern struct SN_env * romanian_UTF_8_create_env(void);
30 extern void romanian_UTF_8_close_env(struct SN_env * z);
31 
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 static const symbol s_0_1[1] = { 'I' };
37 static const symbol s_0_2[1] = { 'U' };
38 
39 static const struct among a_0[3] =
40 {
41 /* 0 */ { 0, 0, -1, 3, 0},
42 /* 1 */ { 1, s_0_1, 0, 1, 0},
43 /* 2 */ { 1, s_0_2, 0, 2, 0}
44 };
45 
46 static const symbol s_1_0[2] = { 'e', 'a' };
47 static const symbol s_1_1[5] = { 'a', 0xC5, 0xA3, 'i', 'a' };
48 static const symbol s_1_2[3] = { 'a', 'u', 'a' };
49 static const symbol s_1_3[3] = { 'i', 'u', 'a' };
50 static const symbol s_1_4[5] = { 'a', 0xC5, 0xA3, 'i', 'e' };
51 static const symbol s_1_5[3] = { 'e', 'l', 'e' };
52 static const symbol s_1_6[3] = { 'i', 'l', 'e' };
53 static const symbol s_1_7[4] = { 'i', 'i', 'l', 'e' };
54 static const symbol s_1_8[3] = { 'i', 'e', 'i' };
55 static const symbol s_1_9[4] = { 'a', 't', 'e', 'i' };
56 static const symbol s_1_10[2] = { 'i', 'i' };
57 static const symbol s_1_11[4] = { 'u', 'l', 'u', 'i' };
58 static const symbol s_1_12[2] = { 'u', 'l' };
59 static const symbol s_1_13[4] = { 'e', 'l', 'o', 'r' };
60 static const symbol s_1_14[4] = { 'i', 'l', 'o', 'r' };
61 static const symbol s_1_15[5] = { 'i', 'i', 'l', 'o', 'r' };
62 
63 static const struct among a_1[16] =
64 {
65 /* 0 */ { 2, s_1_0, -1, 3, 0},
66 /* 1 */ { 5, s_1_1, -1, 7, 0},
67 /* 2 */ { 3, s_1_2, -1, 2, 0},
68 /* 3 */ { 3, s_1_3, -1, 4, 0},
69 /* 4 */ { 5, s_1_4, -1, 7, 0},
70 /* 5 */ { 3, s_1_5, -1, 3, 0},
71 /* 6 */ { 3, s_1_6, -1, 5, 0},
72 /* 7 */ { 4, s_1_7, 6, 4, 0},
73 /* 8 */ { 3, s_1_8, -1, 4, 0},
74 /* 9 */ { 4, s_1_9, -1, 6, 0},
75 /* 10 */ { 2, s_1_10, -1, 4, 0},
76 /* 11 */ { 4, s_1_11, -1, 1, 0},
77 /* 12 */ { 2, s_1_12, -1, 1, 0},
78 /* 13 */ { 4, s_1_13, -1, 3, 0},
79 /* 14 */ { 4, s_1_14, -1, 4, 0},
80 /* 15 */ { 5, s_1_15, 14, 4, 0}
81 };
82 
83 static const symbol s_2_0[5] = { 'i', 'c', 'a', 'l', 'a' };
84 static const symbol s_2_1[5] = { 'i', 'c', 'i', 'v', 'a' };
85 static const symbol s_2_2[5] = { 'a', 't', 'i', 'v', 'a' };
86 static const symbol s_2_3[5] = { 'i', 't', 'i', 'v', 'a' };
87 static const symbol s_2_4[5] = { 'i', 'c', 'a', 'l', 'e' };
88 static const symbol s_2_5[7] = { 'a', 0xC5, 0xA3, 'i', 'u', 'n', 'e' };
89 static const symbol s_2_6[7] = { 'i', 0xC5, 0xA3, 'i', 'u', 'n', 'e' };
90 static const symbol s_2_7[6] = { 'a', 't', 'o', 'a', 'r', 'e' };
91 static const symbol s_2_8[6] = { 'i', 't', 'o', 'a', 'r', 'e' };
92 static const symbol s_2_9[7] = { 0xC4, 0x83, 't', 'o', 'a', 'r', 'e' };
93 static const symbol s_2_10[7] = { 'i', 'c', 'i', 't', 'a', 't', 'e' };
94 static const symbol s_2_11[9] = { 'a', 'b', 'i', 'l', 'i', 't', 'a', 't', 'e' };
95 static const symbol s_2_12[9] = { 'i', 'b', 'i', 'l', 'i', 't', 'a', 't', 'e' };
96 static const symbol s_2_13[7] = { 'i', 'v', 'i', 't', 'a', 't', 'e' };
97 static const symbol s_2_14[5] = { 'i', 'c', 'i', 'v', 'e' };
98 static const symbol s_2_15[5] = { 'a', 't', 'i', 'v', 'e' };
99 static const symbol s_2_16[5] = { 'i', 't', 'i', 'v', 'e' };
100 static const symbol s_2_17[5] = { 'i', 'c', 'a', 'l', 'i' };
101 static const symbol s_2_18[5] = { 'a', 't', 'o', 'r', 'i' };
102 static const symbol s_2_19[7] = { 'i', 'c', 'a', 't', 'o', 'r', 'i' };
103 static const symbol s_2_20[5] = { 'i', 't', 'o', 'r', 'i' };
104 static const symbol s_2_21[6] = { 0xC4, 0x83, 't', 'o', 'r', 'i' };
105 static const symbol s_2_22[7] = { 'i', 'c', 'i', 't', 'a', 't', 'i' };
106 static const symbol s_2_23[9] = { 'a', 'b', 'i', 'l', 'i', 't', 'a', 't', 'i' };
107 static const symbol s_2_24[7] = { 'i', 'v', 'i', 't', 'a', 't', 'i' };
108 static const symbol s_2_25[5] = { 'i', 'c', 'i', 'v', 'i' };
109 static const symbol s_2_26[5] = { 'a', 't', 'i', 'v', 'i' };
110 static const symbol s_2_27[5] = { 'i', 't', 'i', 'v', 'i' };
111 static const symbol s_2_28[7] = { 'i', 'c', 'i', 't', 0xC4, 0x83, 'i' };
112 static const symbol s_2_29[9] = { 'a', 'b', 'i', 'l', 'i', 't', 0xC4, 0x83, 'i' };
113 static const symbol s_2_30[7] = { 'i', 'v', 'i', 't', 0xC4, 0x83, 'i' };
114 static const symbol s_2_31[9] = { 'i', 'c', 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
115 static const symbol s_2_32[11] = { 'a', 'b', 'i', 'l', 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
116 static const symbol s_2_33[9] = { 'i', 'v', 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
117 static const symbol s_2_34[4] = { 'i', 'c', 'a', 'l' };
118 static const symbol s_2_35[4] = { 'a', 't', 'o', 'r' };
119 static const symbol s_2_36[6] = { 'i', 'c', 'a', 't', 'o', 'r' };
120 static const symbol s_2_37[4] = { 'i', 't', 'o', 'r' };
121 static const symbol s_2_38[5] = { 0xC4, 0x83, 't', 'o', 'r' };
122 static const symbol s_2_39[4] = { 'i', 'c', 'i', 'v' };
123 static const symbol s_2_40[4] = { 'a', 't', 'i', 'v' };
124 static const symbol s_2_41[4] = { 'i', 't', 'i', 'v' };
125 static const symbol s_2_42[6] = { 'i', 'c', 'a', 'l', 0xC4, 0x83 };
126 static const symbol s_2_43[6] = { 'i', 'c', 'i', 'v', 0xC4, 0x83 };
127 static const symbol s_2_44[6] = { 'a', 't', 'i', 'v', 0xC4, 0x83 };
128 static const symbol s_2_45[6] = { 'i', 't', 'i', 'v', 0xC4, 0x83 };
129 
130 static const struct among a_2[46] =
131 {
132 /* 0 */ { 5, s_2_0, -1, 4, 0},
133 /* 1 */ { 5, s_2_1, -1, 4, 0},
134 /* 2 */ { 5, s_2_2, -1, 5, 0},
135 /* 3 */ { 5, s_2_3, -1, 6, 0},
136 /* 4 */ { 5, s_2_4, -1, 4, 0},
137 /* 5 */ { 7, s_2_5, -1, 5, 0},
138 /* 6 */ { 7, s_2_6, -1, 6, 0},
139 /* 7 */ { 6, s_2_7, -1, 5, 0},
140 /* 8 */ { 6, s_2_8, -1, 6, 0},
141 /* 9 */ { 7, s_2_9, -1, 5, 0},
142 /* 10 */ { 7, s_2_10, -1, 4, 0},
143 /* 11 */ { 9, s_2_11, -1, 1, 0},
144 /* 12 */ { 9, s_2_12, -1, 2, 0},
145 /* 13 */ { 7, s_2_13, -1, 3, 0},
146 /* 14 */ { 5, s_2_14, -1, 4, 0},
147 /* 15 */ { 5, s_2_15, -1, 5, 0},
148 /* 16 */ { 5, s_2_16, -1, 6, 0},
149 /* 17 */ { 5, s_2_17, -1, 4, 0},
150 /* 18 */ { 5, s_2_18, -1, 5, 0},
151 /* 19 */ { 7, s_2_19, 18, 4, 0},
152 /* 20 */ { 5, s_2_20, -1, 6, 0},
153 /* 21 */ { 6, s_2_21, -1, 5, 0},
154 /* 22 */ { 7, s_2_22, -1, 4, 0},
155 /* 23 */ { 9, s_2_23, -1, 1, 0},
156 /* 24 */ { 7, s_2_24, -1, 3, 0},
157 /* 25 */ { 5, s_2_25, -1, 4, 0},
158 /* 26 */ { 5, s_2_26, -1, 5, 0},
159 /* 27 */ { 5, s_2_27, -1, 6, 0},
160 /* 28 */ { 7, s_2_28, -1, 4, 0},
161 /* 29 */ { 9, s_2_29, -1, 1, 0},
162 /* 30 */ { 7, s_2_30, -1, 3, 0},
163 /* 31 */ { 9, s_2_31, -1, 4, 0},
164 /* 32 */ { 11, s_2_32, -1, 1, 0},
165 /* 33 */ { 9, s_2_33, -1, 3, 0},
166 /* 34 */ { 4, s_2_34, -1, 4, 0},
167 /* 35 */ { 4, s_2_35, -1, 5, 0},
168 /* 36 */ { 6, s_2_36, 35, 4, 0},
169 /* 37 */ { 4, s_2_37, -1, 6, 0},
170 /* 38 */ { 5, s_2_38, -1, 5, 0},
171 /* 39 */ { 4, s_2_39, -1, 4, 0},
172 /* 40 */ { 4, s_2_40, -1, 5, 0},
173 /* 41 */ { 4, s_2_41, -1, 6, 0},
174 /* 42 */ { 6, s_2_42, -1, 4, 0},
175 /* 43 */ { 6, s_2_43, -1, 4, 0},
176 /* 44 */ { 6, s_2_44, -1, 5, 0},
177 /* 45 */ { 6, s_2_45, -1, 6, 0}
178 };
179 
180 static const symbol s_3_0[3] = { 'i', 'c', 'a' };
181 static const symbol s_3_1[5] = { 'a', 'b', 'i', 'l', 'a' };
182 static const symbol s_3_2[5] = { 'i', 'b', 'i', 'l', 'a' };
183 static const symbol s_3_3[4] = { 'o', 'a', 's', 'a' };
184 static const symbol s_3_4[3] = { 'a', 't', 'a' };
185 static const symbol s_3_5[3] = { 'i', 't', 'a' };
186 static const symbol s_3_6[4] = { 'a', 'n', 't', 'a' };
187 static const symbol s_3_7[4] = { 'i', 's', 't', 'a' };
188 static const symbol s_3_8[3] = { 'u', 't', 'a' };
189 static const symbol s_3_9[3] = { 'i', 'v', 'a' };
190 static const symbol s_3_10[2] = { 'i', 'c' };
191 static const symbol s_3_11[3] = { 'i', 'c', 'e' };
192 static const symbol s_3_12[5] = { 'a', 'b', 'i', 'l', 'e' };
193 static const symbol s_3_13[5] = { 'i', 'b', 'i', 'l', 'e' };
194 static const symbol s_3_14[4] = { 'i', 's', 'm', 'e' };
195 static const symbol s_3_15[4] = { 'i', 'u', 'n', 'e' };
196 static const symbol s_3_16[4] = { 'o', 'a', 's', 'e' };
197 static const symbol s_3_17[3] = { 'a', 't', 'e' };
198 static const symbol s_3_18[5] = { 'i', 't', 'a', 't', 'e' };
199 static const symbol s_3_19[3] = { 'i', 't', 'e' };
200 static const symbol s_3_20[4] = { 'a', 'n', 't', 'e' };
201 static const symbol s_3_21[4] = { 'i', 's', 't', 'e' };
202 static const symbol s_3_22[3] = { 'u', 't', 'e' };
203 static const symbol s_3_23[3] = { 'i', 'v', 'e' };
204 static const symbol s_3_24[3] = { 'i', 'c', 'i' };
205 static const symbol s_3_25[5] = { 'a', 'b', 'i', 'l', 'i' };
206 static const symbol s_3_26[5] = { 'i', 'b', 'i', 'l', 'i' };
207 static const symbol s_3_27[4] = { 'i', 'u', 'n', 'i' };
208 static const symbol s_3_28[5] = { 'a', 't', 'o', 'r', 'i' };
209 static const symbol s_3_29[3] = { 'o', 's', 'i' };
210 static const symbol s_3_30[3] = { 'a', 't', 'i' };
211 static const symbol s_3_31[5] = { 'i', 't', 'a', 't', 'i' };
212 static const symbol s_3_32[3] = { 'i', 't', 'i' };
213 static const symbol s_3_33[4] = { 'a', 'n', 't', 'i' };
214 static const symbol s_3_34[4] = { 'i', 's', 't', 'i' };
215 static const symbol s_3_35[3] = { 'u', 't', 'i' };
216 static const symbol s_3_36[5] = { 'i', 0xC5, 0x9F, 't', 'i' };
217 static const symbol s_3_37[3] = { 'i', 'v', 'i' };
218 static const symbol s_3_38[5] = { 'i', 't', 0xC4, 0x83, 'i' };
219 static const symbol s_3_39[4] = { 'o', 0xC5, 0x9F, 'i' };
220 static const symbol s_3_40[7] = { 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
221 static const symbol s_3_41[4] = { 'a', 'b', 'i', 'l' };
222 static const symbol s_3_42[4] = { 'i', 'b', 'i', 'l' };
223 static const symbol s_3_43[3] = { 'i', 's', 'm' };
224 static const symbol s_3_44[4] = { 'a', 't', 'o', 'r' };
225 static const symbol s_3_45[2] = { 'o', 's' };
226 static const symbol s_3_46[2] = { 'a', 't' };
227 static const symbol s_3_47[2] = { 'i', 't' };
228 static const symbol s_3_48[3] = { 'a', 'n', 't' };
229 static const symbol s_3_49[3] = { 'i', 's', 't' };
230 static const symbol s_3_50[2] = { 'u', 't' };
231 static const symbol s_3_51[2] = { 'i', 'v' };
232 static const symbol s_3_52[4] = { 'i', 'c', 0xC4, 0x83 };
233 static const symbol s_3_53[6] = { 'a', 'b', 'i', 'l', 0xC4, 0x83 };
234 static const symbol s_3_54[6] = { 'i', 'b', 'i', 'l', 0xC4, 0x83 };
235 static const symbol s_3_55[5] = { 'o', 'a', 's', 0xC4, 0x83 };
236 static const symbol s_3_56[4] = { 'a', 't', 0xC4, 0x83 };
237 static const symbol s_3_57[4] = { 'i', 't', 0xC4, 0x83 };
238 static const symbol s_3_58[5] = { 'a', 'n', 't', 0xC4, 0x83 };
239 static const symbol s_3_59[5] = { 'i', 's', 't', 0xC4, 0x83 };
240 static const symbol s_3_60[4] = { 'u', 't', 0xC4, 0x83 };
241 static const symbol s_3_61[4] = { 'i', 'v', 0xC4, 0x83 };
242 
243 static const struct among a_3[62] =
244 {
245 /* 0 */ { 3, s_3_0, -1, 1, 0},
246 /* 1 */ { 5, s_3_1, -1, 1, 0},
247 /* 2 */ { 5, s_3_2, -1, 1, 0},
248 /* 3 */ { 4, s_3_3, -1, 1, 0},
249 /* 4 */ { 3, s_3_4, -1, 1, 0},
250 /* 5 */ { 3, s_3_5, -1, 1, 0},
251 /* 6 */ { 4, s_3_6, -1, 1, 0},
252 /* 7 */ { 4, s_3_7, -1, 3, 0},
253 /* 8 */ { 3, s_3_8, -1, 1, 0},
254 /* 9 */ { 3, s_3_9, -1, 1, 0},
255 /* 10 */ { 2, s_3_10, -1, 1, 0},
256 /* 11 */ { 3, s_3_11, -1, 1, 0},
257 /* 12 */ { 5, s_3_12, -1, 1, 0},
258 /* 13 */ { 5, s_3_13, -1, 1, 0},
259 /* 14 */ { 4, s_3_14, -1, 3, 0},
260 /* 15 */ { 4, s_3_15, -1, 2, 0},
261 /* 16 */ { 4, s_3_16, -1, 1, 0},
262 /* 17 */ { 3, s_3_17, -1, 1, 0},
263 /* 18 */ { 5, s_3_18, 17, 1, 0},
264 /* 19 */ { 3, s_3_19, -1, 1, 0},
265 /* 20 */ { 4, s_3_20, -1, 1, 0},
266 /* 21 */ { 4, s_3_21, -1, 3, 0},
267 /* 22 */ { 3, s_3_22, -1, 1, 0},
268 /* 23 */ { 3, s_3_23, -1, 1, 0},
269 /* 24 */ { 3, s_3_24, -1, 1, 0},
270 /* 25 */ { 5, s_3_25, -1, 1, 0},
271 /* 26 */ { 5, s_3_26, -1, 1, 0},
272 /* 27 */ { 4, s_3_27, -1, 2, 0},
273 /* 28 */ { 5, s_3_28, -1, 1, 0},
274 /* 29 */ { 3, s_3_29, -1, 1, 0},
275 /* 30 */ { 3, s_3_30, -1, 1, 0},
276 /* 31 */ { 5, s_3_31, 30, 1, 0},
277 /* 32 */ { 3, s_3_32, -1, 1, 0},
278 /* 33 */ { 4, s_3_33, -1, 1, 0},
279 /* 34 */ { 4, s_3_34, -1, 3, 0},
280 /* 35 */ { 3, s_3_35, -1, 1, 0},
281 /* 36 */ { 5, s_3_36, -1, 3, 0},
282 /* 37 */ { 3, s_3_37, -1, 1, 0},
283 /* 38 */ { 5, s_3_38, -1, 1, 0},
284 /* 39 */ { 4, s_3_39, -1, 1, 0},
285 /* 40 */ { 7, s_3_40, -1, 1, 0},
286 /* 41 */ { 4, s_3_41, -1, 1, 0},
287 /* 42 */ { 4, s_3_42, -1, 1, 0},
288 /* 43 */ { 3, s_3_43, -1, 3, 0},
289 /* 44 */ { 4, s_3_44, -1, 1, 0},
290 /* 45 */ { 2, s_3_45, -1, 1, 0},
291 /* 46 */ { 2, s_3_46, -1, 1, 0},
292 /* 47 */ { 2, s_3_47, -1, 1, 0},
293 /* 48 */ { 3, s_3_48, -1, 1, 0},
294 /* 49 */ { 3, s_3_49, -1, 3, 0},
295 /* 50 */ { 2, s_3_50, -1, 1, 0},
296 /* 51 */ { 2, s_3_51, -1, 1, 0},
297 /* 52 */ { 4, s_3_52, -1, 1, 0},
298 /* 53 */ { 6, s_3_53, -1, 1, 0},
299 /* 54 */ { 6, s_3_54, -1, 1, 0},
300 /* 55 */ { 5, s_3_55, -1, 1, 0},
301 /* 56 */ { 4, s_3_56, -1, 1, 0},
302 /* 57 */ { 4, s_3_57, -1, 1, 0},
303 /* 58 */ { 5, s_3_58, -1, 1, 0},
304 /* 59 */ { 5, s_3_59, -1, 3, 0},
305 /* 60 */ { 4, s_3_60, -1, 1, 0},
306 /* 61 */ { 4, s_3_61, -1, 1, 0}
307 };
308 
309 static const symbol s_4_0[2] = { 'e', 'a' };
310 static const symbol s_4_1[2] = { 'i', 'a' };
311 static const symbol s_4_2[3] = { 'e', 's', 'c' };
312 static const symbol s_4_3[4] = { 0xC4, 0x83, 's', 'c' };
313 static const symbol s_4_4[3] = { 'i', 'n', 'd' };
314 static const symbol s_4_5[4] = { 0xC3, 0xA2, 'n', 'd' };
315 static const symbol s_4_6[3] = { 'a', 'r', 'e' };
316 static const symbol s_4_7[3] = { 'e', 'r', 'e' };
317 static const symbol s_4_8[3] = { 'i', 'r', 'e' };
318 static const symbol s_4_9[4] = { 0xC3, 0xA2, 'r', 'e' };
319 static const symbol s_4_10[2] = { 's', 'e' };
320 static const symbol s_4_11[3] = { 'a', 's', 'e' };
321 static const symbol s_4_12[4] = { 's', 'e', 's', 'e' };
322 static const symbol s_4_13[3] = { 'i', 's', 'e' };
323 static const symbol s_4_14[3] = { 'u', 's', 'e' };
324 static const symbol s_4_15[4] = { 0xC3, 0xA2, 's', 'e' };
325 static const symbol s_4_16[5] = { 'e', 0xC5, 0x9F, 't', 'e' };
326 static const symbol s_4_17[6] = { 0xC4, 0x83, 0xC5, 0x9F, 't', 'e' };
327 static const symbol s_4_18[3] = { 'e', 'z', 'e' };
328 static const symbol s_4_19[2] = { 'a', 'i' };
329 static const symbol s_4_20[3] = { 'e', 'a', 'i' };
330 static const symbol s_4_21[3] = { 'i', 'a', 'i' };
331 static const symbol s_4_22[3] = { 's', 'e', 'i' };
332 static const symbol s_4_23[5] = { 'e', 0xC5, 0x9F, 't', 'i' };
333 static const symbol s_4_24[6] = { 0xC4, 0x83, 0xC5, 0x9F, 't', 'i' };
334 static const symbol s_4_25[2] = { 'u', 'i' };
335 static const symbol s_4_26[3] = { 'e', 'z', 'i' };
336 static const symbol s_4_27[4] = { 'a', 0xC5, 0x9F, 'i' };
337 static const symbol s_4_28[5] = { 's', 'e', 0xC5, 0x9F, 'i' };
338 static const symbol s_4_29[6] = { 'a', 's', 'e', 0xC5, 0x9F, 'i' };
339 static const symbol s_4_30[7] = { 's', 'e', 's', 'e', 0xC5, 0x9F, 'i' };
340 static const symbol s_4_31[6] = { 'i', 's', 'e', 0xC5, 0x9F, 'i' };
341 static const symbol s_4_32[6] = { 'u', 's', 'e', 0xC5, 0x9F, 'i' };
342 static const symbol s_4_33[7] = { 0xC3, 0xA2, 's', 'e', 0xC5, 0x9F, 'i' };
343 static const symbol s_4_34[4] = { 'i', 0xC5, 0x9F, 'i' };
344 static const symbol s_4_35[4] = { 'u', 0xC5, 0x9F, 'i' };
345 static const symbol s_4_36[5] = { 0xC3, 0xA2, 0xC5, 0x9F, 'i' };
346 static const symbol s_4_37[3] = { 0xC3, 0xA2, 'i' };
347 static const symbol s_4_38[4] = { 'a', 0xC5, 0xA3, 'i' };
348 static const symbol s_4_39[5] = { 'e', 'a', 0xC5, 0xA3, 'i' };
349 static const symbol s_4_40[5] = { 'i', 'a', 0xC5, 0xA3, 'i' };
350 static const symbol s_4_41[4] = { 'e', 0xC5, 0xA3, 'i' };
351 static const symbol s_4_42[4] = { 'i', 0xC5, 0xA3, 'i' };
352 static const symbol s_4_43[7] = { 'a', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
353 static const symbol s_4_44[8] = { 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
354 static const symbol s_4_45[9] = { 'a', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
355 static const symbol s_4_46[10] = { 's', 'e', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
356 static const symbol s_4_47[9] = { 'i', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
357 static const symbol s_4_48[9] = { 'u', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
358 static const symbol s_4_49[10] = { 0xC3, 0xA2, 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
359 static const symbol s_4_50[7] = { 'i', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
360 static const symbol s_4_51[7] = { 'u', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
361 static const symbol s_4_52[8] = { 0xC3, 0xA2, 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
362 static const symbol s_4_53[5] = { 0xC3, 0xA2, 0xC5, 0xA3, 'i' };
363 static const symbol s_4_54[2] = { 'a', 'm' };
364 static const symbol s_4_55[3] = { 'e', 'a', 'm' };
365 static const symbol s_4_56[3] = { 'i', 'a', 'm' };
366 static const symbol s_4_57[2] = { 'e', 'm' };
367 static const symbol s_4_58[4] = { 'a', 's', 'e', 'm' };
368 static const symbol s_4_59[5] = { 's', 'e', 's', 'e', 'm' };
369 static const symbol s_4_60[4] = { 'i', 's', 'e', 'm' };
370 static const symbol s_4_61[4] = { 'u', 's', 'e', 'm' };
371 static const symbol s_4_62[5] = { 0xC3, 0xA2, 's', 'e', 'm' };
372 static const symbol s_4_63[2] = { 'i', 'm' };
373 static const symbol s_4_64[3] = { 0xC4, 0x83, 'm' };
374 static const symbol s_4_65[5] = { 'a', 'r', 0xC4, 0x83, 'm' };
375 static const symbol s_4_66[6] = { 's', 'e', 'r', 0xC4, 0x83, 'm' };
376 static const symbol s_4_67[7] = { 'a', 's', 'e', 'r', 0xC4, 0x83, 'm' };
377 static const symbol s_4_68[8] = { 's', 'e', 's', 'e', 'r', 0xC4, 0x83, 'm' };
378 static const symbol s_4_69[7] = { 'i', 's', 'e', 'r', 0xC4, 0x83, 'm' };
379 static const symbol s_4_70[7] = { 'u', 's', 'e', 'r', 0xC4, 0x83, 'm' };
380 static const symbol s_4_71[8] = { 0xC3, 0xA2, 's', 'e', 'r', 0xC4, 0x83, 'm' };
381 static const symbol s_4_72[5] = { 'i', 'r', 0xC4, 0x83, 'm' };
382 static const symbol s_4_73[5] = { 'u', 'r', 0xC4, 0x83, 'm' };
383 static const symbol s_4_74[6] = { 0xC3, 0xA2, 'r', 0xC4, 0x83, 'm' };
384 static const symbol s_4_75[3] = { 0xC3, 0xA2, 'm' };
385 static const symbol s_4_76[2] = { 'a', 'u' };
386 static const symbol s_4_77[3] = { 'e', 'a', 'u' };
387 static const symbol s_4_78[3] = { 'i', 'a', 'u' };
388 static const symbol s_4_79[4] = { 'i', 'n', 'd', 'u' };
389 static const symbol s_4_80[5] = { 0xC3, 0xA2, 'n', 'd', 'u' };
390 static const symbol s_4_81[2] = { 'e', 'z' };
391 static const symbol s_4_82[6] = { 'e', 'a', 's', 'c', 0xC4, 0x83 };
392 static const symbol s_4_83[4] = { 'a', 'r', 0xC4, 0x83 };
393 static const symbol s_4_84[5] = { 's', 'e', 'r', 0xC4, 0x83 };
394 static const symbol s_4_85[6] = { 'a', 's', 'e', 'r', 0xC4, 0x83 };
395 static const symbol s_4_86[7] = { 's', 'e', 's', 'e', 'r', 0xC4, 0x83 };
396 static const symbol s_4_87[6] = { 'i', 's', 'e', 'r', 0xC4, 0x83 };
397 static const symbol s_4_88[6] = { 'u', 's', 'e', 'r', 0xC4, 0x83 };
398 static const symbol s_4_89[7] = { 0xC3, 0xA2, 's', 'e', 'r', 0xC4, 0x83 };
399 static const symbol s_4_90[4] = { 'i', 'r', 0xC4, 0x83 };
400 static const symbol s_4_91[4] = { 'u', 'r', 0xC4, 0x83 };
401 static const symbol s_4_92[5] = { 0xC3, 0xA2, 'r', 0xC4, 0x83 };
402 static const symbol s_4_93[5] = { 'e', 'a', 'z', 0xC4, 0x83 };
403 
404 static const struct among a_4[94] =
405 {
406 /* 0 */ { 2, s_4_0, -1, 1, 0},
407 /* 1 */ { 2, s_4_1, -1, 1, 0},
408 /* 2 */ { 3, s_4_2, -1, 1, 0},
409 /* 3 */ { 4, s_4_3, -1, 1, 0},
410 /* 4 */ { 3, s_4_4, -1, 1, 0},
411 /* 5 */ { 4, s_4_5, -1, 1, 0},
412 /* 6 */ { 3, s_4_6, -1, 1, 0},
413 /* 7 */ { 3, s_4_7, -1, 1, 0},
414 /* 8 */ { 3, s_4_8, -1, 1, 0},
415 /* 9 */ { 4, s_4_9, -1, 1, 0},
416 /* 10 */ { 2, s_4_10, -1, 2, 0},
417 /* 11 */ { 3, s_4_11, 10, 1, 0},
418 /* 12 */ { 4, s_4_12, 10, 2, 0},
419 /* 13 */ { 3, s_4_13, 10, 1, 0},
420 /* 14 */ { 3, s_4_14, 10, 1, 0},
421 /* 15 */ { 4, s_4_15, 10, 1, 0},
422 /* 16 */ { 5, s_4_16, -1, 1, 0},
423 /* 17 */ { 6, s_4_17, -1, 1, 0},
424 /* 18 */ { 3, s_4_18, -1, 1, 0},
425 /* 19 */ { 2, s_4_19, -1, 1, 0},
426 /* 20 */ { 3, s_4_20, 19, 1, 0},
427 /* 21 */ { 3, s_4_21, 19, 1, 0},
428 /* 22 */ { 3, s_4_22, -1, 2, 0},
429 /* 23 */ { 5, s_4_23, -1, 1, 0},
430 /* 24 */ { 6, s_4_24, -1, 1, 0},
431 /* 25 */ { 2, s_4_25, -1, 1, 0},
432 /* 26 */ { 3, s_4_26, -1, 1, 0},
433 /* 27 */ { 4, s_4_27, -1, 1, 0},
434 /* 28 */ { 5, s_4_28, -1, 2, 0},
435 /* 29 */ { 6, s_4_29, 28, 1, 0},
436 /* 30 */ { 7, s_4_30, 28, 2, 0},
437 /* 31 */ { 6, s_4_31, 28, 1, 0},
438 /* 32 */ { 6, s_4_32, 28, 1, 0},
439 /* 33 */ { 7, s_4_33, 28, 1, 0},
440 /* 34 */ { 4, s_4_34, -1, 1, 0},
441 /* 35 */ { 4, s_4_35, -1, 1, 0},
442 /* 36 */ { 5, s_4_36, -1, 1, 0},
443 /* 37 */ { 3, s_4_37, -1, 1, 0},
444 /* 38 */ { 4, s_4_38, -1, 2, 0},
445 /* 39 */ { 5, s_4_39, 38, 1, 0},
446 /* 40 */ { 5, s_4_40, 38, 1, 0},
447 /* 41 */ { 4, s_4_41, -1, 2, 0},
448 /* 42 */ { 4, s_4_42, -1, 2, 0},
449 /* 43 */ { 7, s_4_43, -1, 1, 0},
450 /* 44 */ { 8, s_4_44, -1, 2, 0},
451 /* 45 */ { 9, s_4_45, 44, 1, 0},
452 /* 46 */ { 10, s_4_46, 44, 2, 0},
453 /* 47 */ { 9, s_4_47, 44, 1, 0},
454 /* 48 */ { 9, s_4_48, 44, 1, 0},
455 /* 49 */ { 10, s_4_49, 44, 1, 0},
456 /* 50 */ { 7, s_4_50, -1, 1, 0},
457 /* 51 */ { 7, s_4_51, -1, 1, 0},
458 /* 52 */ { 8, s_4_52, -1, 1, 0},
459 /* 53 */ { 5, s_4_53, -1, 2, 0},
460 /* 54 */ { 2, s_4_54, -1, 1, 0},
461 /* 55 */ { 3, s_4_55, 54, 1, 0},
462 /* 56 */ { 3, s_4_56, 54, 1, 0},
463 /* 57 */ { 2, s_4_57, -1, 2, 0},
464 /* 58 */ { 4, s_4_58, 57, 1, 0},
465 /* 59 */ { 5, s_4_59, 57, 2, 0},
466 /* 60 */ { 4, s_4_60, 57, 1, 0},
467 /* 61 */ { 4, s_4_61, 57, 1, 0},
468 /* 62 */ { 5, s_4_62, 57, 1, 0},
469 /* 63 */ { 2, s_4_63, -1, 2, 0},
470 /* 64 */ { 3, s_4_64, -1, 2, 0},
471 /* 65 */ { 5, s_4_65, 64, 1, 0},
472 /* 66 */ { 6, s_4_66, 64, 2, 0},
473 /* 67 */ { 7, s_4_67, 66, 1, 0},
474 /* 68 */ { 8, s_4_68, 66, 2, 0},
475 /* 69 */ { 7, s_4_69, 66, 1, 0},
476 /* 70 */ { 7, s_4_70, 66, 1, 0},
477 /* 71 */ { 8, s_4_71, 66, 1, 0},
478 /* 72 */ { 5, s_4_72, 64, 1, 0},
479 /* 73 */ { 5, s_4_73, 64, 1, 0},
480 /* 74 */ { 6, s_4_74, 64, 1, 0},
481 /* 75 */ { 3, s_4_75, -1, 2, 0},
482 /* 76 */ { 2, s_4_76, -1, 1, 0},
483 /* 77 */ { 3, s_4_77, 76, 1, 0},
484 /* 78 */ { 3, s_4_78, 76, 1, 0},
485 /* 79 */ { 4, s_4_79, -1, 1, 0},
486 /* 80 */ { 5, s_4_80, -1, 1, 0},
487 /* 81 */ { 2, s_4_81, -1, 1, 0},
488 /* 82 */ { 6, s_4_82, -1, 1, 0},
489 /* 83 */ { 4, s_4_83, -1, 1, 0},
490 /* 84 */ { 5, s_4_84, -1, 2, 0},
491 /* 85 */ { 6, s_4_85, 84, 1, 0},
492 /* 86 */ { 7, s_4_86, 84, 2, 0},
493 /* 87 */ { 6, s_4_87, 84, 1, 0},
494 /* 88 */ { 6, s_4_88, 84, 1, 0},
495 /* 89 */ { 7, s_4_89, 84, 1, 0},
496 /* 90 */ { 4, s_4_90, -1, 1, 0},
497 /* 91 */ { 4, s_4_91, -1, 1, 0},
498 /* 92 */ { 5, s_4_92, -1, 1, 0},
499 /* 93 */ { 5, s_4_93, -1, 1, 0}
500 };
501 
502 static const symbol s_5_0[1] = { 'a' };
503 static const symbol s_5_1[1] = { 'e' };
504 static const symbol s_5_2[2] = { 'i', 'e' };
505 static const symbol s_5_3[1] = { 'i' };
506 static const symbol s_5_4[2] = { 0xC4, 0x83 };
507 
508 static const struct among a_5[5] =
509 {
510 /* 0 */ { 1, s_5_0, -1, 1, 0},
511 /* 1 */ { 1, s_5_1, -1, 1, 0},
512 /* 2 */ { 2, s_5_2, 1, 1, 0},
513 /* 3 */ { 1, s_5_3, -1, 1, 0},
514 /* 4 */ { 2, s_5_4, -1, 1, 0}
515 };
516 
517 static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 32, 0, 0, 4 };
518 
519 static const symbol s_0[] = { 'u' };
520 static const symbol s_1[] = { 'U' };
521 static const symbol s_2[] = { 'i' };
522 static const symbol s_3[] = { 'I' };
523 static const symbol s_4[] = { 'i' };
524 static const symbol s_5[] = { 'u' };
525 static const symbol s_6[] = { 'a' };
526 static const symbol s_7[] = { 'e' };
527 static const symbol s_8[] = { 'i' };
528 static const symbol s_9[] = { 'a', 'b' };
529 static const symbol s_10[] = { 'i' };
530 static const symbol s_11[] = { 'a', 't' };
531 static const symbol s_12[] = { 'a', 0xC5, 0xA3, 'i' };
532 static const symbol s_13[] = { 'a', 'b', 'i', 'l' };
533 static const symbol s_14[] = { 'i', 'b', 'i', 'l' };
534 static const symbol s_15[] = { 'i', 'v' };
535 static const symbol s_16[] = { 'i', 'c' };
536 static const symbol s_17[] = { 'a', 't' };
537 static const symbol s_18[] = { 'i', 't' };
538 static const symbol s_19[] = { 0xC5, 0xA3 };
539 static const symbol s_20[] = { 't' };
540 static const symbol s_21[] = { 'i', 's', 't' };
541 static const symbol s_22[] = { 'u' };
542 
543 static int r_prelude(struct SN_env * z) {
544  while(1) { /* repeat, line 32 */
545  int c1 = z->c;
546  while(1) { /* goto, line 32 */
547  int c2 = z->c;
548  if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab1;
549  z->bra = z->c; /* [, line 33 */
550  { int c3 = z->c; /* or, line 33 */
551  if (!(eq_s(z, 1, s_0))) goto lab3;
552  z->ket = z->c; /* ], line 33 */
553  if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab3;
554  { int ret = slice_from_s(z, 1, s_1); /* <-, line 33 */
555  if (ret < 0) return ret;
556  }
557  goto lab2;
558  lab3:
559  z->c = c3;
560  if (!(eq_s(z, 1, s_2))) goto lab1;
561  z->ket = z->c; /* ], line 34 */
562  if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab1;
563  { int ret = slice_from_s(z, 1, s_3); /* <-, line 34 */
564  if (ret < 0) return ret;
565  }
566  }
567  lab2:
568  z->c = c2;
569  break;
570  lab1:
571  z->c = c2;
572  { int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
573  if (ret < 0) goto lab0;
574  z->c = ret; /* goto, line 32 */
575  }
576  }
577  continue;
578  lab0:
579  z->c = c1;
580  break;
581  }
582  return 1;
583 }
584 
585 static int r_mark_regions(struct SN_env * z) {
586  z->I[0] = z->l;
587  z->I[1] = z->l;
588  z->I[2] = z->l;
589  { int c1 = z->c; /* do, line 44 */
590  { int c2 = z->c; /* or, line 46 */
591  if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab2;
592  { int c3 = z->c; /* or, line 45 */
593  if (out_grouping_U(z, g_v, 97, 259, 0)) goto lab4;
594  { /* gopast */ /* grouping v, line 45 */
595  int ret = out_grouping_U(z, g_v, 97, 259, 1);
596  if (ret < 0) goto lab4;
597  z->c += ret;
598  }
599  goto lab3;
600  lab4:
601  z->c = c3;
602  if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab2;
603  { /* gopast */ /* non v, line 45 */
604  int ret = in_grouping_U(z, g_v, 97, 259, 1);
605  if (ret < 0) goto lab2;
606  z->c += ret;
607  }
608  }
609  lab3:
610  goto lab1;
611  lab2:
612  z->c = c2;
613  if (out_grouping_U(z, g_v, 97, 259, 0)) goto lab0;
614  { int c4 = z->c; /* or, line 47 */
615  if (out_grouping_U(z, g_v, 97, 259, 0)) goto lab6;
616  { /* gopast */ /* grouping v, line 47 */
617  int ret = out_grouping_U(z, g_v, 97, 259, 1);
618  if (ret < 0) goto lab6;
619  z->c += ret;
620  }
621  goto lab5;
622  lab6:
623  z->c = c4;
624  if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab0;
625  { int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
626  if (ret < 0) goto lab0;
627  z->c = ret; /* next, line 47 */
628  }
629  }
630  lab5:
631  ;
632  }
633  lab1:
634  z->I[0] = z->c; /* setmark pV, line 48 */
635  lab0:
636  z->c = c1;
637  }
638  { int c5 = z->c; /* do, line 50 */
639  { /* gopast */ /* grouping v, line 51 */
640  int ret = out_grouping_U(z, g_v, 97, 259, 1);
641  if (ret < 0) goto lab7;
642  z->c += ret;
643  }
644  { /* gopast */ /* non v, line 51 */
645  int ret = in_grouping_U(z, g_v, 97, 259, 1);
646  if (ret < 0) goto lab7;
647  z->c += ret;
648  }
649  z->I[1] = z->c; /* setmark p1, line 51 */
650  { /* gopast */ /* grouping v, line 52 */
651  int ret = out_grouping_U(z, g_v, 97, 259, 1);
652  if (ret < 0) goto lab7;
653  z->c += ret;
654  }
655  { /* gopast */ /* non v, line 52 */
656  int ret = in_grouping_U(z, g_v, 97, 259, 1);
657  if (ret < 0) goto lab7;
658  z->c += ret;
659  }
660  z->I[2] = z->c; /* setmark p2, line 52 */
661  lab7:
662  z->c = c5;
663  }
664  return 1;
665 }
666 
667 static int r_postlude(struct SN_env * z) {
668  int among_var;
669  while(1) { /* repeat, line 56 */
670  int c1 = z->c;
671  z->bra = z->c; /* [, line 58 */
672  if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 85)) among_var = 3; else
673  among_var = find_among(z, a_0, 3); /* substring, line 58 */
674  if (!(among_var)) goto lab0;
675  z->ket = z->c; /* ], line 58 */
676  switch(among_var) {
677  case 0: goto lab0;
678  case 1:
679  { int ret = slice_from_s(z, 1, s_4); /* <-, line 59 */
680  if (ret < 0) return ret;
681  }
682  break;
683  case 2:
684  { int ret = slice_from_s(z, 1, s_5); /* <-, line 60 */
685  if (ret < 0) return ret;
686  }
687  break;
688  case 3:
689  { int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
690  if (ret < 0) goto lab0;
691  z->c = ret; /* next, line 61 */
692  }
693  break;
694  }
695  continue;
696  lab0:
697  z->c = c1;
698  break;
699  }
700  return 1;
701 }
702 
703 static int r_RV(struct SN_env * z) {
704  if (!(z->I[0] <= z->c)) return 0;
705  return 1;
706 }
707 
708 static int r_R1(struct SN_env * z) {
709  if (!(z->I[1] <= z->c)) return 0;
710  return 1;
711 }
712 
713 static int r_R2(struct SN_env * z) {
714  if (!(z->I[2] <= z->c)) return 0;
715  return 1;
716 }
717 
718 static int r_step_0(struct SN_env * z) {
719  int among_var;
720  z->ket = z->c; /* [, line 73 */
721  if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((266786 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
722  among_var = find_among_b(z, a_1, 16); /* substring, line 73 */
723  if (!(among_var)) return 0;
724  z->bra = z->c; /* ], line 73 */
725  { int ret = r_R1(z);
726  if (ret == 0) return 0; /* call R1, line 73 */
727  if (ret < 0) return ret;
728  }
729  switch(among_var) {
730  case 0: return 0;
731  case 1:
732  { int ret = slice_del(z); /* delete, line 75 */
733  if (ret < 0) return ret;
734  }
735  break;
736  case 2:
737  { int ret = slice_from_s(z, 1, s_6); /* <-, line 77 */
738  if (ret < 0) return ret;
739  }
740  break;
741  case 3:
742  { int ret = slice_from_s(z, 1, s_7); /* <-, line 79 */
743  if (ret < 0) return ret;
744  }
745  break;
746  case 4:
747  { int ret = slice_from_s(z, 1, s_8); /* <-, line 81 */
748  if (ret < 0) return ret;
749  }
750  break;
751  case 5:
752  { int m1 = z->l - z->c; (void)m1; /* not, line 83 */
753  if (!(eq_s_b(z, 2, s_9))) goto lab0;
754  return 0;
755  lab0:
756  z->c = z->l - m1;
757  }
758  { int ret = slice_from_s(z, 1, s_10); /* <-, line 83 */
759  if (ret < 0) return ret;
760  }
761  break;
762  case 6:
763  { int ret = slice_from_s(z, 2, s_11); /* <-, line 85 */
764  if (ret < 0) return ret;
765  }
766  break;
767  case 7:
768  { int ret = slice_from_s(z, 4, s_12); /* <-, line 87 */
769  if (ret < 0) return ret;
770  }
771  break;
772  }
773  return 1;
774 }
775 
776 static int r_combo_suffix(struct SN_env * z) {
777  int among_var;
778  { int m_test = z->l - z->c; /* test, line 91 */
779  z->ket = z->c; /* [, line 92 */
780  among_var = find_among_b(z, a_2, 46); /* substring, line 92 */
781  if (!(among_var)) return 0;
782  z->bra = z->c; /* ], line 92 */
783  { int ret = r_R1(z);
784  if (ret == 0) return 0; /* call R1, line 92 */
785  if (ret < 0) return ret;
786  }
787  switch(among_var) {
788  case 0: return 0;
789  case 1:
790  { int ret = slice_from_s(z, 4, s_13); /* <-, line 101 */
791  if (ret < 0) return ret;
792  }
793  break;
794  case 2:
795  { int ret = slice_from_s(z, 4, s_14); /* <-, line 104 */
796  if (ret < 0) return ret;
797  }
798  break;
799  case 3:
800  { int ret = slice_from_s(z, 2, s_15); /* <-, line 107 */
801  if (ret < 0) return ret;
802  }
803  break;
804  case 4:
805  { int ret = slice_from_s(z, 2, s_16); /* <-, line 113 */
806  if (ret < 0) return ret;
807  }
808  break;
809  case 5:
810  { int ret = slice_from_s(z, 2, s_17); /* <-, line 118 */
811  if (ret < 0) return ret;
812  }
813  break;
814  case 6:
815  { int ret = slice_from_s(z, 2, s_18); /* <-, line 122 */
816  if (ret < 0) return ret;
817  }
818  break;
819  }
820  z->B[0] = 1; /* set standard_suffix_removed, line 125 */
821  z->c = z->l - m_test;
822  }
823  return 1;
824 }
825 
826 static int r_standard_suffix(struct SN_env * z) {
827  int among_var;
828  z->B[0] = 0; /* unset standard_suffix_removed, line 130 */
829  while(1) { /* repeat, line 131 */
830  int m1 = z->l - z->c; (void)m1;
831  { int ret = r_combo_suffix(z);
832  if (ret == 0) goto lab0; /* call combo_suffix, line 131 */
833  if (ret < 0) return ret;
834  }
835  continue;
836  lab0:
837  z->c = z->l - m1;
838  break;
839  }
840  z->ket = z->c; /* [, line 132 */
841  among_var = find_among_b(z, a_3, 62); /* substring, line 132 */
842  if (!(among_var)) return 0;
843  z->bra = z->c; /* ], line 132 */
844  { int ret = r_R2(z);
845  if (ret == 0) return 0; /* call R2, line 132 */
846  if (ret < 0) return ret;
847  }
848  switch(among_var) {
849  case 0: return 0;
850  case 1:
851  { int ret = slice_del(z); /* delete, line 149 */
852  if (ret < 0) return ret;
853  }
854  break;
855  case 2:
856  if (!(eq_s_b(z, 2, s_19))) return 0;
857  z->bra = z->c; /* ], line 152 */
858  { int ret = slice_from_s(z, 1, s_20); /* <-, line 152 */
859  if (ret < 0) return ret;
860  }
861  break;
862  case 3:
863  { int ret = slice_from_s(z, 3, s_21); /* <-, line 156 */
864  if (ret < 0) return ret;
865  }
866  break;
867  }
868  z->B[0] = 1; /* set standard_suffix_removed, line 160 */
869  return 1;
870 }
871 
872 static int r_verb_suffix(struct SN_env * z) {
873  int among_var;
874  { int mlimit; /* setlimit, line 164 */
875  int m1 = z->l - z->c; (void)m1;
876  if (z->c < z->I[0]) return 0;
877  z->c = z->I[0]; /* tomark, line 164 */
878  mlimit = z->lb; z->lb = z->c;
879  z->c = z->l - m1;
880  z->ket = z->c; /* [, line 165 */
881  among_var = find_among_b(z, a_4, 94); /* substring, line 165 */
882  if (!(among_var)) { z->lb = mlimit; return 0; }
883  z->bra = z->c; /* ], line 165 */
884  switch(among_var) {
885  case 0: { z->lb = mlimit; return 0; }
886  case 1:
887  { int m2 = z->l - z->c; (void)m2; /* or, line 200 */
888  if (out_grouping_b_U(z, g_v, 97, 259, 0)) goto lab1;
889  goto lab0;
890  lab1:
891  z->c = z->l - m2;
892  if (!(eq_s_b(z, 1, s_22))) { z->lb = mlimit; return 0; }
893  }
894  lab0:
895  { int ret = slice_del(z); /* delete, line 200 */
896  if (ret < 0) return ret;
897  }
898  break;
899  case 2:
900  { int ret = slice_del(z); /* delete, line 214 */
901  if (ret < 0) return ret;
902  }
903  break;
904  }
905  z->lb = mlimit;
906  }
907  return 1;
908 }
909 
910 static int r_vowel_suffix(struct SN_env * z) {
911  int among_var;
912  z->ket = z->c; /* [, line 219 */
913  among_var = find_among_b(z, a_5, 5); /* substring, line 219 */
914  if (!(among_var)) return 0;
915  z->bra = z->c; /* ], line 219 */
916  { int ret = r_RV(z);
917  if (ret == 0) return 0; /* call RV, line 219 */
918  if (ret < 0) return ret;
919  }
920  switch(among_var) {
921  case 0: return 0;
922  case 1:
923  { int ret = slice_del(z); /* delete, line 220 */
924  if (ret < 0) return ret;
925  }
926  break;
927  }
928  return 1;
929 }
930 
931 extern int romanian_UTF_8_stem(struct SN_env * z) {
932  { int c1 = z->c; /* do, line 226 */
933  { int ret = r_prelude(z);
934  if (ret == 0) goto lab0; /* call prelude, line 226 */
935  if (ret < 0) return ret;
936  }
937  lab0:
938  z->c = c1;
939  }
940  { int c2 = z->c; /* do, line 227 */
941  { int ret = r_mark_regions(z);
942  if (ret == 0) goto lab1; /* call mark_regions, line 227 */
943  if (ret < 0) return ret;
944  }
945  lab1:
946  z->c = c2;
947  }
948  z->lb = z->c; z->c = z->l; /* backwards, line 228 */
949 
950  { int m3 = z->l - z->c; (void)m3; /* do, line 229 */
951  { int ret = r_step_0(z);
952  if (ret == 0) goto lab2; /* call step_0, line 229 */
953  if (ret < 0) return ret;
954  }
955  lab2:
956  z->c = z->l - m3;
957  }
958  { int m4 = z->l - z->c; (void)m4; /* do, line 230 */
959  { int ret = r_standard_suffix(z);
960  if (ret == 0) goto lab3; /* call standard_suffix, line 230 */
961  if (ret < 0) return ret;
962  }
963  lab3:
964  z->c = z->l - m4;
965  }
966  { int m5 = z->l - z->c; (void)m5; /* do, line 231 */
967  { int m6 = z->l - z->c; (void)m6; /* or, line 231 */
968  if (!(z->B[0])) goto lab6; /* Boolean test standard_suffix_removed, line 231 */
969  goto lab5;
970  lab6:
971  z->c = z->l - m6;
972  { int ret = r_verb_suffix(z);
973  if (ret == 0) goto lab4; /* call verb_suffix, line 231 */
974  if (ret < 0) return ret;
975  }
976  }
977  lab5:
978  lab4:
979  z->c = z->l - m5;
980  }
981  { int m7 = z->l - z->c; (void)m7; /* do, line 232 */
982  { int ret = r_vowel_suffix(z);
983  if (ret == 0) goto lab7; /* call vowel_suffix, line 232 */
984  if (ret < 0) return ret;
985  }
986  lab7:
987  z->c = z->l - m7;
988  }
989  z->c = z->lb;
990  { int c8 = z->c; /* do, line 234 */
991  { int ret = r_postlude(z);
992  if (ret == 0) goto lab8; /* call postlude, line 234 */
993  if (ret < 0) return ret;
994  }
995  lab8:
996  z->c = c8;
997  }
998  return 1;
999 }
1000 
1001 extern struct SN_env * romanian_UTF_8_create_env(void) { return SN_create_env(0, 3, 1); }
1002 
1003 extern void romanian_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); }
1004 
static const symbol s_4_20[3]
static const symbol s_4_42[4]
static const symbol s_4_83[4]
static const symbol s_2_44[6]
static const symbol s_4_29[6]
static const symbol s_3_54[6]
static const symbol s_21[]
static const symbol s_3_34[4]
static const symbol s_2[]
static const symbol s_3_26[5]
static const symbol s_4_66[6]
static const symbol s_4_53[5]
static const symbol s_3_22[3]
symbol * p
Definition: api.h:15
int skip_utf8(const symbol *p, int c, int lb, int l, int n)
Definition: utilities.c:30
static const symbol s_4_87[6]
static const symbol s_4_79[4]
static const symbol s_2_41[4]
static const symbol s_3_13[5]
static int r_prelude(struct SN_env *z)
static const symbol s_4_0[2]
static const symbol s_0_2[1]
static const symbol s_1_11[4]
static const symbol s_4_74[6]
static const symbol s_2_15[5]
static const symbol s_2_7[6]
static const symbol s_2_1[5]
static const symbol s_2_12[9]
static const symbol s_4[]
static const symbol s_3_16[4]
static const symbol s_4_43[7]
static const symbol s_4_70[7]
static const symbol s_8[]
static const symbol s_1_15[5]
static const symbol s_1_10[2]
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:194
static const symbol s_3_45[2]
int * I
Definition: api.h:18
static const symbol s_3_38[5]
static const symbol s_3_0[3]
static const symbol s_4_28[5]
static const symbol s_4_15[4]
static const symbol s_1_14[4]
static const symbol s_4_50[7]
static const symbol s_4_58[4]
static const symbol s_3_40[7]
static const symbol s_4_12[4]
static const symbol s_4_21[3]
static const symbol s_3_58[5]
static const symbol s_4_34[4]
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
static const symbol s_3_19[3]
static const symbol s_3_61[4]
static const symbol s_2_35[4]
static int r_vowel_suffix(struct SN_env *z)
static const symbol s_2_5[7]
static const symbol s_4_33[7]
static int r_verb_suffix(struct SN_env *z)
static const symbol s_4_91[4]
static const symbol s_2_32[11]
static const symbol s_3_18[5]
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
static const symbol s_13[]
static int r_mark_regions(struct SN_env *z)
static const symbol s_4_22[3]
static const symbol s_22[]
static const symbol s_2_24[7]
static const symbol s_2_0[5]
static const symbol s_3_4[3]
static const symbol s_3_12[5]
static const symbol s_2_20[5]
static const symbol s_2_42[6]
static const symbol s_0_1[1]
static const symbol s_2_13[7]
static const symbol s_4_11[3]
static int r_postlude(struct SN_env *z)
static const symbol s_3_36[5]
static const symbol s_4_62[5]
static const symbol s_3_27[4]
int c
Definition: api.h:16
int eq_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:189
static const symbol s_4_69[7]
static const symbol s_3_41[4]
static const symbol s_2_11[9]
static const symbol s_2_25[5]
static const symbol s_2_26[5]
static const symbol s_4_4[3]
static const symbol s_3_50[2]
static const symbol s_3_21[4]
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:392
static const symbol s_2_39[4]
static const symbol s_3_31[5]
static const symbol s_2_16[5]
static const symbol s_5_1[1]
static const symbol s_4_84[5]
static const symbol s_10[]
static const symbol s_4_5[4]
static const symbol s_4_68[8]
static const symbol s_3_17[3]
static const symbol s_3_53[6]
static const symbol s_4_2[3]
static const symbol s_4_10[2]
static const symbol s_4_23[5]
static const symbol s_4_56[3]
static const symbol s_4_90[4]
static const symbol s_4_36[5]
static const symbol s_2_21[6]
static const struct among a_3[62]
void SN_close_env(struct SN_env *z, int S_size)
Definition: api.c:40
static const symbol s_1_12[2]
static const symbol s_5_3[1]
static const symbol s_2_27[5]
static const symbol s_4_89[7]
static const symbol s_4_64[3]
int lb
Definition: api.h:16
static const symbol s_4_65[5]
static const symbol s_4_88[6]
static const symbol s_20[]
static const symbol s_4_41[4]
static const symbol s_2_18[5]
static const symbol s_12[]
static const symbol s_4_80[5]
static const symbol s_5_4[2]
static const symbol s_4_37[3]
static const symbol s_4_71[8]
static const symbol s_5_0[1]
static const symbol s_3_25[5]
static const symbol s_2_29[9]
int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:91
static const symbol s_3_24[3]
static const symbol s_4_54[2]
static const symbol s_3_35[3]
static const symbol s_2_30[7]
static const symbol s_3_15[4]
static const symbol s_1_3[3]
static const symbol s_4_16[5]
static const symbol s_15[]
static const symbol s_2_28[7]
static const symbol s_4_31[6]
static const symbol s_1_9[4]
static const symbol s_2_6[7]
static const symbol s_3_10[2]
int find_among(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:207
static int r_standard_suffix(struct SN_env *z)
int out_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:127
static const symbol s_3_52[4]
static const symbol s_16[]
static const symbol s_4_86[7]
static const symbol s_4_32[6]
static int r_combo_suffix(struct SN_env *z)
static const symbol s_4_92[5]
static const symbol s_4_44[8]
static const symbol s_4_78[3]
static const struct among a_5[5]
struct SN_env * romanian_UTF_8_create_env(void)
static const symbol s_4_27[4]
static const symbol s_2_31[9]
static const symbol s_1_0[2]
static const symbol s_2_17[5]
static const symbol s_4_1[2]
static const symbol s_4_13[3]
static const symbol s_3[]
static const symbol s_4_55[3]
static const symbol s_3_14[4]
static const symbol s_2_3[5]
static const symbol s_3_3[4]
static const symbol s_3_1[5]
static const symbol s_19[]
static const symbol s_4_73[5]
static const symbol s_4_46[10]
static const symbol s_3_49[3]
static int r_step_0(struct SN_env *z)
static const symbol s_3_29[3]
static const symbol s_7[]
static const symbol s_3_23[3]
static const symbol s_3_9[3]
static const symbol s_4_6[3]
static const symbol s_4_18[3]
static int r_R1(struct SN_env *z)
static const symbol s_4_39[5]
static const symbol s_1_1[5]
static const symbol s_2_40[4]
static const symbol s_4_76[2]
void romanian_UTF_8_close_env(struct SN_env *z)
int out_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:115
Definition: header.h:15
static const symbol s_3_43[3]
static const symbol s_3_56[4]
static const symbol s_3_59[5]
static const symbol s_4_57[2]
static const symbol s_4_38[4]
static const symbol s_4_63[2]
static const symbol s_3_28[5]
static const symbol s_1_13[4]
static const symbol s_4_14[3]
static const symbol s_4_47[9]
static const symbol s_3_32[3]
static const symbol s_3_8[3]
static const symbol s_2_8[6]
static const symbol s_2_36[6]
static const symbol s_3_46[2]
static const symbol s_3_5[3]
static const symbol s_3_11[3]
static const symbol s_4_59[5]
static const symbol s_4_7[3]
static const symbol s_4_75[3]
static const symbol s_4_9[4]
static const symbol s_4_35[4]
static const symbol s_3_60[4]
static const symbol s_11[]
static const symbol s_14[]
static const symbol s_4_77[3]
static const struct among a_2[46]
static const symbol s_3_33[4]
static const symbol s_2_10[7]
static const symbol s_4_81[2]
static const symbol s_2_33[9]
int romanian_UTF_8_stem(struct SN_env *z)
static const symbol s_3_2[5]
static const symbol s_4_52[8]
static const symbol s_1_6[3]
unsigned char * B
Definition: api.h:19
static const symbol s_4_85[6]
static const symbol s_4_30[7]
static const symbol s_5[]
static const symbol s_4_93[5]
static const symbol s_2_9[7]
static const symbol s_1[]
static const struct among a_4[94]
static const symbol s_4_61[4]
static const symbol s_3_6[4]
static const symbol s_4_51[7]
static int r_RV(struct SN_env *z)
static const symbol s_2_34[4]
static const symbol s_2_22[7]
static const symbol s_0[]
static const symbol s_3_48[3]
static const symbol s_4_67[7]
static const symbol s_2_45[6]
static const symbol s_2_14[5]
static const symbol s_4_19[2]
static const symbol s_2_4[5]
static const symbol s_6[]
static const symbol s_3_47[2]
static const symbol s_4_24[6]
static const symbol s_5_2[2]
static const unsigned char g_v[]
Definition: api.h:14
static const symbol s_18[]
static const symbol s_17[]
static const symbol s_3_57[4]
static const symbol s_2_43[6]
static const symbol s_2_38[5]
static const symbol s_4_60[4]
static const symbol s_4_3[4]
static const symbol s_4_8[3]
static const symbol s_4_25[2]
static const symbol s_4_26[3]
static const symbol s_3_30[3]
static const symbol s_3_44[4]
static const symbol s_2_23[9]
struct SN_env * SN_create_env(int S_size, int I_size, int B_size)
Definition: api.c:3
static const symbol s_3_20[4]
static const symbol s_3_51[2]
int l
Definition: api.h:16
static const symbol s_3_37[3]
static const struct among a_1[16]
static const symbol s_2_37[4]
static const symbol s_1_2[3]
static const symbol s_1_4[5]
static const symbol s_4_48[9]
static const symbol s_2_19[7]
static const symbol s_4_40[5]
static const symbol s_4_45[9]
static const symbol s_3_55[5]
static const symbol s_3_7[4]
static const symbol s_2_2[5]
static const symbol s_4_49[10]
static const symbol s_9[]
static const symbol s_1_5[3]
static const symbol s_4_82[6]
static const symbol s_4_72[5]
static const symbol s_3_39[4]
static const symbol s_1_7[4]
static int r_R2(struct SN_env *z)
static const struct among a_0[3]
static const symbol s_4_17[6]
unsigned char symbol
Definition: api.h:2
static const symbol s_3_42[4]
static const symbol s_1_8[3]