Branch data Line data Source code
1 : : /* Generated from italian.sbl by Snowball 3.0.0 - https://snowballstem.org/ */
2 : :
3 : : #include "stem_ISO_8859_1_italian.h"
4 : :
5 : : #include <stddef.h>
6 : :
7 : : #include "snowball_runtime.h"
8 : :
9 : : struct SN_local {
10 : : struct SN_env z;
11 : : int i_p2;
12 : : int i_p1;
13 : : int i_pV;
14 : : };
15 : :
16 : : typedef struct SN_local SN_local;
17 : :
18 : : #ifdef __cplusplus
19 : : extern "C" {
20 : : #endif
21 : : extern int italian_ISO_8859_1_stem(struct SN_env * z);
22 : : #ifdef __cplusplus
23 : : }
24 : : #endif
25 : :
26 : : static int r_vowel_suffix(struct SN_env * z);
27 : : static int r_verb_suffix(struct SN_env * z);
28 : : static int r_standard_suffix(struct SN_env * z);
29 : : static int r_attached_pronoun(struct SN_env * z);
30 : : static int r_R2(struct SN_env * z);
31 : : static int r_R1(struct SN_env * z);
32 : : static int r_RV(struct SN_env * z);
33 : : static int r_mark_regions(struct SN_env * z);
34 : : static int r_postlude(struct SN_env * z);
35 : : static int r_prelude(struct SN_env * z);
36 : :
37 : : static const symbol s_0[] = { 0xE0 };
38 : : static const symbol s_1[] = { 0xE8 };
39 : : static const symbol s_2[] = { 0xEC };
40 : : static const symbol s_3[] = { 0xF2 };
41 : : static const symbol s_4[] = { 0xF9 };
42 : : static const symbol s_5[] = { 'q', 'U' };
43 : : static const symbol s_6[] = { 'U' };
44 : : static const symbol s_7[] = { 'I' };
45 : : static const symbol s_8[] = { 'd', 'i', 'v', 'a', 'n' };
46 : : static const symbol s_9[] = { 'i' };
47 : : static const symbol s_10[] = { 'u' };
48 : : static const symbol s_11[] = { 'e' };
49 : : static const symbol s_12[] = { 'i', 'c' };
50 : : static const symbol s_13[] = { 'l', 'o', 'g' };
51 : : static const symbol s_14[] = { 'u' };
52 : : static const symbol s_15[] = { 'e', 'n', 't', 'e' };
53 : : static const symbol s_16[] = { 'a', 't' };
54 : : static const symbol s_17[] = { 'a', 't' };
55 : : static const symbol s_18[] = { 'i', 'c' };
56 : :
57 : : static const symbol s_0_1[2] = { 'q', 'u' };
58 : : static const symbol s_0_2[1] = { 0xE1 };
59 : : static const symbol s_0_3[1] = { 0xE9 };
60 : : static const symbol s_0_4[1] = { 0xED };
61 : : static const symbol s_0_5[1] = { 0xF3 };
62 : : static const symbol s_0_6[1] = { 0xFA };
63 : : static const struct among a_0[7] = {
64 : : { 0, 0, 0, 7, 0},
65 : : { 2, s_0_1, -1, 6, 0},
66 : : { 1, s_0_2, -2, 1, 0},
67 : : { 1, s_0_3, -3, 2, 0},
68 : : { 1, s_0_4, -4, 3, 0},
69 : : { 1, s_0_5, -5, 4, 0},
70 : : { 1, s_0_6, -6, 5, 0}
71 : : };
72 : :
73 : : static const symbol s_1_1[1] = { 'I' };
74 : : static const symbol s_1_2[1] = { 'U' };
75 : : static const struct among a_1[3] = {
76 : : { 0, 0, 0, 3, 0},
77 : : { 1, s_1_1, -1, 1, 0},
78 : : { 1, s_1_2, -2, 2, 0}
79 : : };
80 : :
81 : : static const symbol s_2_0[2] = { 'l', 'a' };
82 : : static const symbol s_2_1[4] = { 'c', 'e', 'l', 'a' };
83 : : static const symbol s_2_2[6] = { 'g', 'l', 'i', 'e', 'l', 'a' };
84 : : static const symbol s_2_3[4] = { 'm', 'e', 'l', 'a' };
85 : : static const symbol s_2_4[4] = { 't', 'e', 'l', 'a' };
86 : : static const symbol s_2_5[4] = { 'v', 'e', 'l', 'a' };
87 : : static const symbol s_2_6[2] = { 'l', 'e' };
88 : : static const symbol s_2_7[4] = { 'c', 'e', 'l', 'e' };
89 : : static const symbol s_2_8[6] = { 'g', 'l', 'i', 'e', 'l', 'e' };
90 : : static const symbol s_2_9[4] = { 'm', 'e', 'l', 'e' };
91 : : static const symbol s_2_10[4] = { 't', 'e', 'l', 'e' };
92 : : static const symbol s_2_11[4] = { 'v', 'e', 'l', 'e' };
93 : : static const symbol s_2_12[2] = { 'n', 'e' };
94 : : static const symbol s_2_13[4] = { 'c', 'e', 'n', 'e' };
95 : : static const symbol s_2_14[6] = { 'g', 'l', 'i', 'e', 'n', 'e' };
96 : : static const symbol s_2_15[4] = { 'm', 'e', 'n', 'e' };
97 : : static const symbol s_2_16[4] = { 's', 'e', 'n', 'e' };
98 : : static const symbol s_2_17[4] = { 't', 'e', 'n', 'e' };
99 : : static const symbol s_2_18[4] = { 'v', 'e', 'n', 'e' };
100 : : static const symbol s_2_19[2] = { 'c', 'i' };
101 : : static const symbol s_2_20[2] = { 'l', 'i' };
102 : : static const symbol s_2_21[4] = { 'c', 'e', 'l', 'i' };
103 : : static const symbol s_2_22[6] = { 'g', 'l', 'i', 'e', 'l', 'i' };
104 : : static const symbol s_2_23[4] = { 'm', 'e', 'l', 'i' };
105 : : static const symbol s_2_24[4] = { 't', 'e', 'l', 'i' };
106 : : static const symbol s_2_25[4] = { 'v', 'e', 'l', 'i' };
107 : : static const symbol s_2_26[3] = { 'g', 'l', 'i' };
108 : : static const symbol s_2_27[2] = { 'm', 'i' };
109 : : static const symbol s_2_28[2] = { 's', 'i' };
110 : : static const symbol s_2_29[2] = { 't', 'i' };
111 : : static const symbol s_2_30[2] = { 'v', 'i' };
112 : : static const symbol s_2_31[2] = { 'l', 'o' };
113 : : static const symbol s_2_32[4] = { 'c', 'e', 'l', 'o' };
114 : : static const symbol s_2_33[6] = { 'g', 'l', 'i', 'e', 'l', 'o' };
115 : : static const symbol s_2_34[4] = { 'm', 'e', 'l', 'o' };
116 : : static const symbol s_2_35[4] = { 't', 'e', 'l', 'o' };
117 : : static const symbol s_2_36[4] = { 'v', 'e', 'l', 'o' };
118 : : static const struct among a_2[37] = {
119 : : { 2, s_2_0, 0, -1, 0},
120 : : { 4, s_2_1, -1, -1, 0},
121 : : { 6, s_2_2, -2, -1, 0},
122 : : { 4, s_2_3, -3, -1, 0},
123 : : { 4, s_2_4, -4, -1, 0},
124 : : { 4, s_2_5, -5, -1, 0},
125 : : { 2, s_2_6, 0, -1, 0},
126 : : { 4, s_2_7, -1, -1, 0},
127 : : { 6, s_2_8, -2, -1, 0},
128 : : { 4, s_2_9, -3, -1, 0},
129 : : { 4, s_2_10, -4, -1, 0},
130 : : { 4, s_2_11, -5, -1, 0},
131 : : { 2, s_2_12, 0, -1, 0},
132 : : { 4, s_2_13, -1, -1, 0},
133 : : { 6, s_2_14, -2, -1, 0},
134 : : { 4, s_2_15, -3, -1, 0},
135 : : { 4, s_2_16, -4, -1, 0},
136 : : { 4, s_2_17, -5, -1, 0},
137 : : { 4, s_2_18, -6, -1, 0},
138 : : { 2, s_2_19, 0, -1, 0},
139 : : { 2, s_2_20, 0, -1, 0},
140 : : { 4, s_2_21, -1, -1, 0},
141 : : { 6, s_2_22, -2, -1, 0},
142 : : { 4, s_2_23, -3, -1, 0},
143 : : { 4, s_2_24, -4, -1, 0},
144 : : { 4, s_2_25, -5, -1, 0},
145 : : { 3, s_2_26, -6, -1, 0},
146 : : { 2, s_2_27, 0, -1, 0},
147 : : { 2, s_2_28, 0, -1, 0},
148 : : { 2, s_2_29, 0, -1, 0},
149 : : { 2, s_2_30, 0, -1, 0},
150 : : { 2, s_2_31, 0, -1, 0},
151 : : { 4, s_2_32, -1, -1, 0},
152 : : { 6, s_2_33, -2, -1, 0},
153 : : { 4, s_2_34, -3, -1, 0},
154 : : { 4, s_2_35, -4, -1, 0},
155 : : { 4, s_2_36, -5, -1, 0}
156 : : };
157 : :
158 : : static const symbol s_3_0[4] = { 'a', 'n', 'd', 'o' };
159 : : static const symbol s_3_1[4] = { 'e', 'n', 'd', 'o' };
160 : : static const symbol s_3_2[2] = { 'a', 'r' };
161 : : static const symbol s_3_3[2] = { 'e', 'r' };
162 : : static const symbol s_3_4[2] = { 'i', 'r' };
163 : : static const struct among a_3[5] = {
164 : : { 4, s_3_0, 0, 1, 0},
165 : : { 4, s_3_1, 0, 1, 0},
166 : : { 2, s_3_2, 0, 2, 0},
167 : : { 2, s_3_3, 0, 2, 0},
168 : : { 2, s_3_4, 0, 2, 0}
169 : : };
170 : :
171 : : static const symbol s_4_0[2] = { 'i', 'c' };
172 : : static const symbol s_4_1[4] = { 'a', 'b', 'i', 'l' };
173 : : static const symbol s_4_2[2] = { 'o', 's' };
174 : : static const symbol s_4_3[2] = { 'i', 'v' };
175 : : static const struct among a_4[4] = {
176 : : { 2, s_4_0, 0, -1, 0},
177 : : { 4, s_4_1, 0, -1, 0},
178 : : { 2, s_4_2, 0, -1, 0},
179 : : { 2, s_4_3, 0, 1, 0}
180 : : };
181 : :
182 : : static const symbol s_5_0[2] = { 'i', 'c' };
183 : : static const symbol s_5_1[4] = { 'a', 'b', 'i', 'l' };
184 : : static const symbol s_5_2[2] = { 'i', 'v' };
185 : : static const struct among a_5[3] = {
186 : : { 2, s_5_0, 0, 1, 0},
187 : : { 4, s_5_1, 0, 1, 0},
188 : : { 2, s_5_2, 0, 1, 0}
189 : : };
190 : :
191 : : static const symbol s_6_0[3] = { 'i', 'c', 'a' };
192 : : static const symbol s_6_1[5] = { 'l', 'o', 'g', 'i', 'a' };
193 : : static const symbol s_6_2[3] = { 'o', 's', 'a' };
194 : : static const symbol s_6_3[4] = { 'i', 's', 't', 'a' };
195 : : static const symbol s_6_4[3] = { 'i', 'v', 'a' };
196 : : static const symbol s_6_5[4] = { 'a', 'n', 'z', 'a' };
197 : : static const symbol s_6_6[4] = { 'e', 'n', 'z', 'a' };
198 : : static const symbol s_6_7[3] = { 'i', 'c', 'e' };
199 : : static const symbol s_6_8[6] = { 'a', 't', 'r', 'i', 'c', 'e' };
200 : : static const symbol s_6_9[4] = { 'i', 'c', 'h', 'e' };
201 : : static const symbol s_6_10[5] = { 'l', 'o', 'g', 'i', 'e' };
202 : : static const symbol s_6_11[5] = { 'a', 'b', 'i', 'l', 'e' };
203 : : static const symbol s_6_12[5] = { 'i', 'b', 'i', 'l', 'e' };
204 : : static const symbol s_6_13[6] = { 'u', 's', 'i', 'o', 'n', 'e' };
205 : : static const symbol s_6_14[6] = { 'a', 'z', 'i', 'o', 'n', 'e' };
206 : : static const symbol s_6_15[6] = { 'u', 'z', 'i', 'o', 'n', 'e' };
207 : : static const symbol s_6_16[5] = { 'a', 't', 'o', 'r', 'e' };
208 : : static const symbol s_6_17[3] = { 'o', 's', 'e' };
209 : : static const symbol s_6_18[4] = { 'a', 'n', 't', 'e' };
210 : : static const symbol s_6_19[5] = { 'm', 'e', 'n', 't', 'e' };
211 : : static const symbol s_6_20[6] = { 'a', 'm', 'e', 'n', 't', 'e' };
212 : : static const symbol s_6_21[4] = { 'i', 's', 't', 'e' };
213 : : static const symbol s_6_22[3] = { 'i', 'v', 'e' };
214 : : static const symbol s_6_23[4] = { 'a', 'n', 'z', 'e' };
215 : : static const symbol s_6_24[4] = { 'e', 'n', 'z', 'e' };
216 : : static const symbol s_6_25[3] = { 'i', 'c', 'i' };
217 : : static const symbol s_6_26[6] = { 'a', 't', 'r', 'i', 'c', 'i' };
218 : : static const symbol s_6_27[4] = { 'i', 'c', 'h', 'i' };
219 : : static const symbol s_6_28[5] = { 'a', 'b', 'i', 'l', 'i' };
220 : : static const symbol s_6_29[5] = { 'i', 'b', 'i', 'l', 'i' };
221 : : static const symbol s_6_30[4] = { 'i', 's', 'm', 'i' };
222 : : static const symbol s_6_31[6] = { 'u', 's', 'i', 'o', 'n', 'i' };
223 : : static const symbol s_6_32[6] = { 'a', 'z', 'i', 'o', 'n', 'i' };
224 : : static const symbol s_6_33[6] = { 'u', 'z', 'i', 'o', 'n', 'i' };
225 : : static const symbol s_6_34[5] = { 'a', 't', 'o', 'r', 'i' };
226 : : static const symbol s_6_35[3] = { 'o', 's', 'i' };
227 : : static const symbol s_6_36[4] = { 'a', 'n', 't', 'i' };
228 : : static const symbol s_6_37[6] = { 'a', 'm', 'e', 'n', 't', 'i' };
229 : : static const symbol s_6_38[6] = { 'i', 'm', 'e', 'n', 't', 'i' };
230 : : static const symbol s_6_39[4] = { 'i', 's', 't', 'i' };
231 : : static const symbol s_6_40[3] = { 'i', 'v', 'i' };
232 : : static const symbol s_6_41[3] = { 'i', 'c', 'o' };
233 : : static const symbol s_6_42[4] = { 'i', 's', 'm', 'o' };
234 : : static const symbol s_6_43[3] = { 'o', 's', 'o' };
235 : : static const symbol s_6_44[6] = { 'a', 'm', 'e', 'n', 't', 'o' };
236 : : static const symbol s_6_45[6] = { 'i', 'm', 'e', 'n', 't', 'o' };
237 : : static const symbol s_6_46[3] = { 'i', 'v', 'o' };
238 : : static const symbol s_6_47[3] = { 'i', 't', 0xE0 };
239 : : static const symbol s_6_48[4] = { 'i', 's', 't', 0xE0 };
240 : : static const symbol s_6_49[4] = { 'i', 's', 't', 0xE8 };
241 : : static const symbol s_6_50[4] = { 'i', 's', 't', 0xEC };
242 : : static const struct among a_6[51] = {
243 : : { 3, s_6_0, 0, 1, 0},
244 : : { 5, s_6_1, 0, 3, 0},
245 : : { 3, s_6_2, 0, 1, 0},
246 : : { 4, s_6_3, 0, 1, 0},
247 : : { 3, s_6_4, 0, 9, 0},
248 : : { 4, s_6_5, 0, 1, 0},
249 : : { 4, s_6_6, 0, 5, 0},
250 : : { 3, s_6_7, 0, 1, 0},
251 : : { 6, s_6_8, -1, 1, 0},
252 : : { 4, s_6_9, 0, 1, 0},
253 : : { 5, s_6_10, 0, 3, 0},
254 : : { 5, s_6_11, 0, 1, 0},
255 : : { 5, s_6_12, 0, 1, 0},
256 : : { 6, s_6_13, 0, 4, 0},
257 : : { 6, s_6_14, 0, 2, 0},
258 : : { 6, s_6_15, 0, 4, 0},
259 : : { 5, s_6_16, 0, 2, 0},
260 : : { 3, s_6_17, 0, 1, 0},
261 : : { 4, s_6_18, 0, 1, 0},
262 : : { 5, s_6_19, 0, 1, 0},
263 : : { 6, s_6_20, -1, 7, 0},
264 : : { 4, s_6_21, 0, 1, 0},
265 : : { 3, s_6_22, 0, 9, 0},
266 : : { 4, s_6_23, 0, 1, 0},
267 : : { 4, s_6_24, 0, 5, 0},
268 : : { 3, s_6_25, 0, 1, 0},
269 : : { 6, s_6_26, -1, 1, 0},
270 : : { 4, s_6_27, 0, 1, 0},
271 : : { 5, s_6_28, 0, 1, 0},
272 : : { 5, s_6_29, 0, 1, 0},
273 : : { 4, s_6_30, 0, 1, 0},
274 : : { 6, s_6_31, 0, 4, 0},
275 : : { 6, s_6_32, 0, 2, 0},
276 : : { 6, s_6_33, 0, 4, 0},
277 : : { 5, s_6_34, 0, 2, 0},
278 : : { 3, s_6_35, 0, 1, 0},
279 : : { 4, s_6_36, 0, 1, 0},
280 : : { 6, s_6_37, 0, 6, 0},
281 : : { 6, s_6_38, 0, 6, 0},
282 : : { 4, s_6_39, 0, 1, 0},
283 : : { 3, s_6_40, 0, 9, 0},
284 : : { 3, s_6_41, 0, 1, 0},
285 : : { 4, s_6_42, 0, 1, 0},
286 : : { 3, s_6_43, 0, 1, 0},
287 : : { 6, s_6_44, 0, 6, 0},
288 : : { 6, s_6_45, 0, 6, 0},
289 : : { 3, s_6_46, 0, 9, 0},
290 : : { 3, s_6_47, 0, 8, 0},
291 : : { 4, s_6_48, 0, 1, 0},
292 : : { 4, s_6_49, 0, 1, 0},
293 : : { 4, s_6_50, 0, 1, 0}
294 : : };
295 : :
296 : : static const symbol s_7_0[4] = { 'i', 's', 'c', 'a' };
297 : : static const symbol s_7_1[4] = { 'e', 'n', 'd', 'a' };
298 : : static const symbol s_7_2[3] = { 'a', 't', 'a' };
299 : : static const symbol s_7_3[3] = { 'i', 't', 'a' };
300 : : static const symbol s_7_4[3] = { 'u', 't', 'a' };
301 : : static const symbol s_7_5[3] = { 'a', 'v', 'a' };
302 : : static const symbol s_7_6[3] = { 'e', 'v', 'a' };
303 : : static const symbol s_7_7[3] = { 'i', 'v', 'a' };
304 : : static const symbol s_7_8[6] = { 'e', 'r', 'e', 'b', 'b', 'e' };
305 : : static const symbol s_7_9[6] = { 'i', 'r', 'e', 'b', 'b', 'e' };
306 : : static const symbol s_7_10[4] = { 'i', 's', 'c', 'e' };
307 : : static const symbol s_7_11[4] = { 'e', 'n', 'd', 'e' };
308 : : static const symbol s_7_12[3] = { 'a', 'r', 'e' };
309 : : static const symbol s_7_13[3] = { 'e', 'r', 'e' };
310 : : static const symbol s_7_14[3] = { 'i', 'r', 'e' };
311 : : static const symbol s_7_15[4] = { 'a', 's', 's', 'e' };
312 : : static const symbol s_7_16[3] = { 'a', 't', 'e' };
313 : : static const symbol s_7_17[5] = { 'a', 'v', 'a', 't', 'e' };
314 : : static const symbol s_7_18[5] = { 'e', 'v', 'a', 't', 'e' };
315 : : static const symbol s_7_19[5] = { 'i', 'v', 'a', 't', 'e' };
316 : : static const symbol s_7_20[3] = { 'e', 't', 'e' };
317 : : static const symbol s_7_21[5] = { 'e', 'r', 'e', 't', 'e' };
318 : : static const symbol s_7_22[5] = { 'i', 'r', 'e', 't', 'e' };
319 : : static const symbol s_7_23[3] = { 'i', 't', 'e' };
320 : : static const symbol s_7_24[6] = { 'e', 'r', 'e', 's', 't', 'e' };
321 : : static const symbol s_7_25[6] = { 'i', 'r', 'e', 's', 't', 'e' };
322 : : static const symbol s_7_26[3] = { 'u', 't', 'e' };
323 : : static const symbol s_7_27[4] = { 'e', 'r', 'a', 'i' };
324 : : static const symbol s_7_28[4] = { 'i', 'r', 'a', 'i' };
325 : : static const symbol s_7_29[4] = { 'i', 's', 'c', 'i' };
326 : : static const symbol s_7_30[4] = { 'e', 'n', 'd', 'i' };
327 : : static const symbol s_7_31[4] = { 'e', 'r', 'e', 'i' };
328 : : static const symbol s_7_32[4] = { 'i', 'r', 'e', 'i' };
329 : : static const symbol s_7_33[4] = { 'a', 's', 's', 'i' };
330 : : static const symbol s_7_34[3] = { 'a', 't', 'i' };
331 : : static const symbol s_7_35[3] = { 'i', 't', 'i' };
332 : : static const symbol s_7_36[6] = { 'e', 'r', 'e', 's', 't', 'i' };
333 : : static const symbol s_7_37[6] = { 'i', 'r', 'e', 's', 't', 'i' };
334 : : static const symbol s_7_38[3] = { 'u', 't', 'i' };
335 : : static const symbol s_7_39[3] = { 'a', 'v', 'i' };
336 : : static const symbol s_7_40[3] = { 'e', 'v', 'i' };
337 : : static const symbol s_7_41[3] = { 'i', 'v', 'i' };
338 : : static const symbol s_7_42[4] = { 'i', 's', 'c', 'o' };
339 : : static const symbol s_7_43[4] = { 'a', 'n', 'd', 'o' };
340 : : static const symbol s_7_44[4] = { 'e', 'n', 'd', 'o' };
341 : : static const symbol s_7_45[4] = { 'Y', 'a', 'm', 'o' };
342 : : static const symbol s_7_46[4] = { 'i', 'a', 'm', 'o' };
343 : : static const symbol s_7_47[5] = { 'a', 'v', 'a', 'm', 'o' };
344 : : static const symbol s_7_48[5] = { 'e', 'v', 'a', 'm', 'o' };
345 : : static const symbol s_7_49[5] = { 'i', 'v', 'a', 'm', 'o' };
346 : : static const symbol s_7_50[5] = { 'e', 'r', 'e', 'm', 'o' };
347 : : static const symbol s_7_51[5] = { 'i', 'r', 'e', 'm', 'o' };
348 : : static const symbol s_7_52[6] = { 'a', 's', 's', 'i', 'm', 'o' };
349 : : static const symbol s_7_53[4] = { 'a', 'm', 'm', 'o' };
350 : : static const symbol s_7_54[4] = { 'e', 'm', 'm', 'o' };
351 : : static const symbol s_7_55[6] = { 'e', 'r', 'e', 'm', 'm', 'o' };
352 : : static const symbol s_7_56[6] = { 'i', 'r', 'e', 'm', 'm', 'o' };
353 : : static const symbol s_7_57[4] = { 'i', 'm', 'm', 'o' };
354 : : static const symbol s_7_58[3] = { 'a', 'n', 'o' };
355 : : static const symbol s_7_59[6] = { 'i', 's', 'c', 'a', 'n', 'o' };
356 : : static const symbol s_7_60[5] = { 'a', 'v', 'a', 'n', 'o' };
357 : : static const symbol s_7_61[5] = { 'e', 'v', 'a', 'n', 'o' };
358 : : static const symbol s_7_62[5] = { 'i', 'v', 'a', 'n', 'o' };
359 : : static const symbol s_7_63[6] = { 'e', 'r', 'a', 'n', 'n', 'o' };
360 : : static const symbol s_7_64[6] = { 'i', 'r', 'a', 'n', 'n', 'o' };
361 : : static const symbol s_7_65[3] = { 'o', 'n', 'o' };
362 : : static const symbol s_7_66[6] = { 'i', 's', 'c', 'o', 'n', 'o' };
363 : : static const symbol s_7_67[5] = { 'a', 'r', 'o', 'n', 'o' };
364 : : static const symbol s_7_68[5] = { 'e', 'r', 'o', 'n', 'o' };
365 : : static const symbol s_7_69[5] = { 'i', 'r', 'o', 'n', 'o' };
366 : : static const symbol s_7_70[8] = { 'e', 'r', 'e', 'b', 'b', 'e', 'r', 'o' };
367 : : static const symbol s_7_71[8] = { 'i', 'r', 'e', 'b', 'b', 'e', 'r', 'o' };
368 : : static const symbol s_7_72[6] = { 'a', 's', 's', 'e', 'r', 'o' };
369 : : static const symbol s_7_73[6] = { 'e', 's', 's', 'e', 'r', 'o' };
370 : : static const symbol s_7_74[6] = { 'i', 's', 's', 'e', 'r', 'o' };
371 : : static const symbol s_7_75[3] = { 'a', 't', 'o' };
372 : : static const symbol s_7_76[3] = { 'i', 't', 'o' };
373 : : static const symbol s_7_77[3] = { 'u', 't', 'o' };
374 : : static const symbol s_7_78[3] = { 'a', 'v', 'o' };
375 : : static const symbol s_7_79[3] = { 'e', 'v', 'o' };
376 : : static const symbol s_7_80[3] = { 'i', 'v', 'o' };
377 : : static const symbol s_7_81[2] = { 'a', 'r' };
378 : : static const symbol s_7_82[2] = { 'i', 'r' };
379 : : static const symbol s_7_83[3] = { 'e', 'r', 0xE0 };
380 : : static const symbol s_7_84[3] = { 'i', 'r', 0xE0 };
381 : : static const symbol s_7_85[3] = { 'e', 'r', 0xF2 };
382 : : static const symbol s_7_86[3] = { 'i', 'r', 0xF2 };
383 : : static const struct among a_7[87] = {
384 : : { 4, s_7_0, 0, 1, 0},
385 : : { 4, s_7_1, 0, 1, 0},
386 : : { 3, s_7_2, 0, 1, 0},
387 : : { 3, s_7_3, 0, 1, 0},
388 : : { 3, s_7_4, 0, 1, 0},
389 : : { 3, s_7_5, 0, 1, 0},
390 : : { 3, s_7_6, 0, 1, 0},
391 : : { 3, s_7_7, 0, 1, 0},
392 : : { 6, s_7_8, 0, 1, 0},
393 : : { 6, s_7_9, 0, 1, 0},
394 : : { 4, s_7_10, 0, 1, 0},
395 : : { 4, s_7_11, 0, 1, 0},
396 : : { 3, s_7_12, 0, 1, 0},
397 : : { 3, s_7_13, 0, 1, 0},
398 : : { 3, s_7_14, 0, 1, 0},
399 : : { 4, s_7_15, 0, 1, 0},
400 : : { 3, s_7_16, 0, 1, 0},
401 : : { 5, s_7_17, -1, 1, 0},
402 : : { 5, s_7_18, -2, 1, 0},
403 : : { 5, s_7_19, -3, 1, 0},
404 : : { 3, s_7_20, 0, 1, 0},
405 : : { 5, s_7_21, -1, 1, 0},
406 : : { 5, s_7_22, -2, 1, 0},
407 : : { 3, s_7_23, 0, 1, 0},
408 : : { 6, s_7_24, 0, 1, 0},
409 : : { 6, s_7_25, 0, 1, 0},
410 : : { 3, s_7_26, 0, 1, 0},
411 : : { 4, s_7_27, 0, 1, 0},
412 : : { 4, s_7_28, 0, 1, 0},
413 : : { 4, s_7_29, 0, 1, 0},
414 : : { 4, s_7_30, 0, 1, 0},
415 : : { 4, s_7_31, 0, 1, 0},
416 : : { 4, s_7_32, 0, 1, 0},
417 : : { 4, s_7_33, 0, 1, 0},
418 : : { 3, s_7_34, 0, 1, 0},
419 : : { 3, s_7_35, 0, 1, 0},
420 : : { 6, s_7_36, 0, 1, 0},
421 : : { 6, s_7_37, 0, 1, 0},
422 : : { 3, s_7_38, 0, 1, 0},
423 : : { 3, s_7_39, 0, 1, 0},
424 : : { 3, s_7_40, 0, 1, 0},
425 : : { 3, s_7_41, 0, 1, 0},
426 : : { 4, s_7_42, 0, 1, 0},
427 : : { 4, s_7_43, 0, 1, 0},
428 : : { 4, s_7_44, 0, 1, 0},
429 : : { 4, s_7_45, 0, 1, 0},
430 : : { 4, s_7_46, 0, 1, 0},
431 : : { 5, s_7_47, 0, 1, 0},
432 : : { 5, s_7_48, 0, 1, 0},
433 : : { 5, s_7_49, 0, 1, 0},
434 : : { 5, s_7_50, 0, 1, 0},
435 : : { 5, s_7_51, 0, 1, 0},
436 : : { 6, s_7_52, 0, 1, 0},
437 : : { 4, s_7_53, 0, 1, 0},
438 : : { 4, s_7_54, 0, 1, 0},
439 : : { 6, s_7_55, -1, 1, 0},
440 : : { 6, s_7_56, -2, 1, 0},
441 : : { 4, s_7_57, 0, 1, 0},
442 : : { 3, s_7_58, 0, 1, 0},
443 : : { 6, s_7_59, -1, 1, 0},
444 : : { 5, s_7_60, -2, 1, 0},
445 : : { 5, s_7_61, -3, 1, 0},
446 : : { 5, s_7_62, -4, 1, 0},
447 : : { 6, s_7_63, 0, 1, 0},
448 : : { 6, s_7_64, 0, 1, 0},
449 : : { 3, s_7_65, 0, 1, 0},
450 : : { 6, s_7_66, -1, 1, 0},
451 : : { 5, s_7_67, -2, 1, 0},
452 : : { 5, s_7_68, -3, 1, 0},
453 : : { 5, s_7_69, -4, 1, 0},
454 : : { 8, s_7_70, 0, 1, 0},
455 : : { 8, s_7_71, 0, 1, 0},
456 : : { 6, s_7_72, 0, 1, 0},
457 : : { 6, s_7_73, 0, 1, 0},
458 : : { 6, s_7_74, 0, 1, 0},
459 : : { 3, s_7_75, 0, 1, 0},
460 : : { 3, s_7_76, 0, 1, 0},
461 : : { 3, s_7_77, 0, 1, 0},
462 : : { 3, s_7_78, 0, 1, 0},
463 : : { 3, s_7_79, 0, 1, 0},
464 : : { 3, s_7_80, 0, 1, 0},
465 : : { 2, s_7_81, 0, 1, 0},
466 : : { 2, s_7_82, 0, 1, 0},
467 : : { 3, s_7_83, 0, 1, 0},
468 : : { 3, s_7_84, 0, 1, 0},
469 : : { 3, s_7_85, 0, 1, 0},
470 : : { 3, s_7_86, 0, 1, 0}
471 : : };
472 : :
473 : : static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 8, 2, 1 };
474 : :
475 : : static const unsigned char g_AEIO[] = { 17, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 8, 2 };
476 : :
477 : : static const unsigned char g_CG[] = { 17 };
478 : :
479 : 0 : static int r_prelude(struct SN_env * z) {
480 : 0 : int among_var;
481 : : {
482 : 0 : int v_1 = z->c;
483 : 0 : while (1) {
484 : 0 : int v_2 = z->c;
485 : 0 : z->bra = z->c;
486 : 0 : among_var = find_among(z, a_0, 7, 0);
487 : 0 : z->ket = z->c;
488 [ # # # # : 0 : switch (among_var) {
# # # # ]
489 : : case 1:
490 : : {
491 : 0 : int ret = slice_from_s(z, 1, s_0);
492 [ # # ]: 0 : if (ret < 0) return ret;
493 [ # # ]: 0 : }
494 : 0 : break;
495 : : case 2:
496 : : {
497 : 0 : int ret = slice_from_s(z, 1, s_1);
498 [ # # ]: 0 : if (ret < 0) return ret;
499 [ # # ]: 0 : }
500 : 0 : break;
501 : : case 3:
502 : : {
503 : 0 : int ret = slice_from_s(z, 1, s_2);
504 [ # # ]: 0 : if (ret < 0) return ret;
505 [ # # ]: 0 : }
506 : 0 : break;
507 : : case 4:
508 : : {
509 : 0 : int ret = slice_from_s(z, 1, s_3);
510 [ # # ]: 0 : if (ret < 0) return ret;
511 [ # # ]: 0 : }
512 : 0 : break;
513 : : case 5:
514 : : {
515 : 0 : int ret = slice_from_s(z, 1, s_4);
516 [ # # ]: 0 : if (ret < 0) return ret;
517 [ # # ]: 0 : }
518 : 0 : break;
519 : : case 6:
520 : : {
521 : 0 : int ret = slice_from_s(z, 2, s_5);
522 [ # # ]: 0 : if (ret < 0) return ret;
523 [ # # ]: 0 : }
524 : 0 : break;
525 : : case 7:
526 [ # # ]: 0 : if (z->c >= z->l) goto lab0;
527 : 0 : z->c++;
528 : 0 : break;
529 : : }
530 : 0 : continue;
531 : : lab0:
532 : 0 : z->c = v_2;
533 : 0 : break;
534 [ # # # ]: 0 : }
535 : 0 : z->c = v_1;
536 [ # # ]: 0 : }
537 : 0 : while (1) {
538 : 0 : int v_3 = z->c;
539 : 0 : while (1) {
540 : 0 : int v_4 = z->c;
541 [ # # ]: 0 : if (in_grouping(z, g_v, 97, 249, 0)) goto lab2;
542 : 0 : z->bra = z->c;
543 : 0 : do {
544 : 0 : int v_5 = z->c;
545 [ # # # # ]: 0 : if (z->c == z->l || z->p[z->c] != 'u') goto lab3;
546 : 0 : z->c++;
547 : 0 : z->ket = z->c;
548 [ # # ]: 0 : if (in_grouping(z, g_v, 97, 249, 0)) goto lab3;
549 : : {
550 : 0 : int ret = slice_from_s(z, 1, s_6);
551 [ # # ]: 0 : if (ret < 0) return ret;
552 [ # # ]: 0 : }
553 : 0 : break;
554 : : lab3:
555 : 0 : z->c = v_5;
556 [ # # # # ]: 0 : if (z->c == z->l || z->p[z->c] != 'i') goto lab2;
557 : 0 : z->c++;
558 : 0 : z->ket = z->c;
559 [ # # ]: 0 : if (in_grouping(z, g_v, 97, 249, 0)) goto lab2;
560 : : {
561 : 0 : int ret = slice_from_s(z, 1, s_7);
562 [ # # ]: 0 : if (ret < 0) return ret;
563 [ # # ]: 0 : }
564 [ # # # # ]: 0 : } while (0);
565 : 0 : z->c = v_4;
566 : 0 : break;
567 : : lab2:
568 : 0 : z->c = v_4;
569 [ # # ]: 0 : if (z->c >= z->l) goto lab1;
570 : 0 : z->c++;
571 [ # # # # ]: 0 : }
572 : 0 : continue;
573 : : lab1:
574 : 0 : z->c = v_3;
575 : 0 : break;
576 [ # # # ]: 0 : }
577 : 0 : return 1;
578 : 0 : }
579 : :
580 : 0 : static int r_mark_regions(struct SN_env * z) {
581 : 0 : ((SN_local *)z)->i_pV = z->l;
582 : 0 : ((SN_local *)z)->i_p1 = z->l;
583 : 0 : ((SN_local *)z)->i_p2 = z->l;
584 : : {
585 : 0 : int v_1 = z->c;
586 : 0 : do {
587 : 0 : int v_2 = z->c;
588 [ # # ]: 0 : if (in_grouping(z, g_v, 97, 249, 0)) goto lab1;
589 : 0 : do {
590 : 0 : int v_3 = z->c;
591 [ # # ]: 0 : if (out_grouping(z, g_v, 97, 249, 0)) goto lab2;
592 : : {
593 : 0 : int ret = out_grouping(z, g_v, 97, 249, 1);
594 [ # # ]: 0 : if (ret < 0) goto lab2;
595 : 0 : z->c += ret;
596 [ # # # ]: 0 : }
597 : 0 : break;
598 : : lab2:
599 : 0 : z->c = v_3;
600 [ # # ]: 0 : if (in_grouping(z, g_v, 97, 249, 0)) goto lab1;
601 : : {
602 : 0 : int ret = in_grouping(z, g_v, 97, 249, 1);
603 [ # # ]: 0 : if (ret < 0) goto lab1;
604 : 0 : z->c += ret;
605 [ # # ]: 0 : }
606 [ # # # # ]: 0 : } while (0);
607 : 0 : break;
608 : : lab1:
609 : 0 : z->c = v_2;
610 [ # # ]: 0 : if (!(eq_s(z, 5, s_8))) goto lab3;
611 : 0 : break;
612 : : lab3:
613 : 0 : z->c = v_2;
614 [ # # ]: 0 : if (out_grouping(z, g_v, 97, 249, 0)) goto lab0;
615 : 0 : do {
616 : 0 : int v_4 = z->c;
617 [ # # ]: 0 : if (out_grouping(z, g_v, 97, 249, 0)) goto lab4;
618 : : {
619 : 0 : int ret = out_grouping(z, g_v, 97, 249, 1);
620 [ # # ]: 0 : if (ret < 0) goto lab4;
621 : 0 : z->c += ret;
622 [ # # # ]: 0 : }
623 : 0 : break;
624 : : lab4:
625 : 0 : z->c = v_4;
626 [ # # ]: 0 : if (in_grouping(z, g_v, 97, 249, 0)) goto lab0;
627 [ # # ]: 0 : if (z->c >= z->l) goto lab0;
628 : 0 : z->c++;
629 [ # # # ]: 0 : } while (0);
630 [ # # # ]: 0 : } while (0);
631 : 0 : ((SN_local *)z)->i_pV = z->c;
632 : : lab0:
633 : 0 : z->c = v_1;
634 : 0 : }
635 : : {
636 : 0 : int v_5 = z->c;
637 : : {
638 : 0 : int ret = out_grouping(z, g_v, 97, 249, 1);
639 [ # # ]: 0 : if (ret < 0) goto lab5;
640 : 0 : z->c += ret;
641 [ # # ]: 0 : }
642 : : {
643 : 0 : int ret = in_grouping(z, g_v, 97, 249, 1);
644 [ # # ]: 0 : if (ret < 0) goto lab5;
645 : 0 : z->c += ret;
646 [ # # ]: 0 : }
647 : 0 : ((SN_local *)z)->i_p1 = z->c;
648 : : {
649 : 0 : int ret = out_grouping(z, g_v, 97, 249, 1);
650 [ # # ]: 0 : if (ret < 0) goto lab5;
651 : 0 : z->c += ret;
652 [ # # ]: 0 : }
653 : : {
654 : 0 : int ret = in_grouping(z, g_v, 97, 249, 1);
655 [ # # ]: 0 : if (ret < 0) goto lab5;
656 : 0 : z->c += ret;
657 [ # # ]: 0 : }
658 : 0 : ((SN_local *)z)->i_p2 = z->c;
659 : : lab5:
660 : 0 : z->c = v_5;
661 : 0 : }
662 : 0 : return 1;
663 : : }
664 : :
665 : 0 : static int r_postlude(struct SN_env * z) {
666 : 0 : int among_var;
667 : 0 : while (1) {
668 : 0 : int v_1 = z->c;
669 : 0 : z->bra = z->c;
670 [ # # # # : 0 : if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 85)) among_var = 3; else
# # ]
671 : 0 : among_var = find_among(z, a_1, 3, 0);
672 : 0 : z->ket = z->c;
673 [ # # # # ]: 0 : switch (among_var) {
674 : : case 1:
675 : : {
676 : 0 : int ret = slice_from_s(z, 1, s_9);
677 [ # # ]: 0 : if (ret < 0) return ret;
678 [ # # ]: 0 : }
679 : 0 : break;
680 : : case 2:
681 : : {
682 : 0 : int ret = slice_from_s(z, 1, s_10);
683 [ # # ]: 0 : if (ret < 0) return ret;
684 [ # # ]: 0 : }
685 : 0 : break;
686 : : case 3:
687 [ # # ]: 0 : if (z->c >= z->l) goto lab0;
688 : 0 : z->c++;
689 : 0 : break;
690 : : }
691 : 0 : continue;
692 : : lab0:
693 : 0 : z->c = v_1;
694 : 0 : break;
695 [ # # # ]: 0 : }
696 : 0 : return 1;
697 : 0 : }
698 : :
699 : 0 : static int r_RV(struct SN_env * z) {
700 : 0 : return ((SN_local *)z)->i_pV <= z->c;
701 : : }
702 : :
703 : 0 : static int r_R1(struct SN_env * z) {
704 : 0 : return ((SN_local *)z)->i_p1 <= z->c;
705 : : }
706 : :
707 : 0 : static int r_R2(struct SN_env * z) {
708 : 0 : return ((SN_local *)z)->i_p2 <= z->c;
709 : : }
710 : :
711 : 0 : static int r_attached_pronoun(struct SN_env * z) {
712 : 0 : int among_var;
713 : 0 : z->ket = z->c;
714 [ # # # # : 0 : if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((33314 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
# # ]
715 [ # # ]: 0 : if (!find_among_b(z, a_2, 37, 0)) return 0;
716 : 0 : z->bra = z->c;
717 [ # # # # : 0 : if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 111 && z->p[z->c - 1] != 114)) return 0;
# # ]
718 : 0 : among_var = find_among_b(z, a_3, 5, 0);
719 [ # # ]: 0 : if (!among_var) return 0;
720 : : {
721 : 0 : int ret = r_RV(z);
722 [ # # ]: 0 : if (ret <= 0) return ret;
723 [ # # ]: 0 : }
724 [ # # # ]: 0 : switch (among_var) {
725 : : case 1:
726 : : {
727 : 0 : int ret = slice_del(z);
728 [ # # ]: 0 : if (ret < 0) return ret;
729 [ # # ]: 0 : }
730 : 0 : break;
731 : : case 2:
732 : : {
733 : 0 : int ret = slice_from_s(z, 1, s_11);
734 [ # # ]: 0 : if (ret < 0) return ret;
735 [ # # ]: 0 : }
736 : 0 : break;
737 : : }
738 : 0 : return 1;
739 : 0 : }
740 : :
741 : 0 : static int r_standard_suffix(struct SN_env * z) {
742 : 0 : int among_var;
743 : 0 : z->ket = z->c;
744 : 0 : among_var = find_among_b(z, a_6, 51, 0);
745 [ # # ]: 0 : if (!among_var) return 0;
746 : 0 : z->bra = z->c;
747 [ # # # # : 0 : switch (among_var) {
# # # # #
# ]
748 : : case 1:
749 : : {
750 : 0 : int ret = r_R2(z);
751 [ # # ]: 0 : if (ret <= 0) return ret;
752 [ # # ]: 0 : }
753 : : {
754 : 0 : int ret = slice_del(z);
755 [ # # ]: 0 : if (ret < 0) return ret;
756 [ # # ]: 0 : }
757 : 0 : break;
758 : : case 2:
759 : : {
760 : 0 : int ret = r_R2(z);
761 [ # # ]: 0 : if (ret <= 0) return ret;
762 [ # # ]: 0 : }
763 : : {
764 : 0 : int ret = slice_del(z);
765 [ # # ]: 0 : if (ret < 0) return ret;
766 [ # # ]: 0 : }
767 : : {
768 : 0 : int v_1 = z->l - z->c;
769 : 0 : z->ket = z->c;
770 [ # # ]: 0 : if (!(eq_s_b(z, 2, s_12))) { z->c = z->l - v_1; goto lab0; }
771 : 0 : z->bra = z->c;
772 : : {
773 : 0 : int ret = r_R2(z);
774 [ # # ]: 0 : if (ret == 0) { z->c = z->l - v_1; goto lab0; }
775 [ # # ]: 0 : if (ret < 0) return ret;
776 [ # # # ]: 0 : }
777 : : {
778 : 0 : int ret = slice_del(z);
779 [ # # ]: 0 : if (ret < 0) return ret;
780 [ # # ]: 0 : }
781 : : lab0:
782 : : ;
783 [ # # ]: 0 : }
784 : 0 : break;
785 : : case 3:
786 : : {
787 : 0 : int ret = r_R2(z);
788 [ # # ]: 0 : if (ret <= 0) return ret;
789 [ # # ]: 0 : }
790 : : {
791 : 0 : int ret = slice_from_s(z, 3, s_13);
792 [ # # ]: 0 : if (ret < 0) return ret;
793 [ # # ]: 0 : }
794 : 0 : break;
795 : : case 4:
796 : : {
797 : 0 : int ret = r_R2(z);
798 [ # # ]: 0 : if (ret <= 0) return ret;
799 [ # # ]: 0 : }
800 : : {
801 : 0 : int ret = slice_from_s(z, 1, s_14);
802 [ # # ]: 0 : if (ret < 0) return ret;
803 [ # # ]: 0 : }
804 : 0 : break;
805 : : case 5:
806 : : {
807 : 0 : int ret = r_R2(z);
808 [ # # ]: 0 : if (ret <= 0) return ret;
809 [ # # ]: 0 : }
810 : : {
811 : 0 : int ret = slice_from_s(z, 4, s_15);
812 [ # # ]: 0 : if (ret < 0) return ret;
813 [ # # ]: 0 : }
814 : 0 : break;
815 : : case 6:
816 : : {
817 : 0 : int ret = r_RV(z);
818 [ # # ]: 0 : if (ret <= 0) return ret;
819 [ # # ]: 0 : }
820 : : {
821 : 0 : int ret = slice_del(z);
822 [ # # ]: 0 : if (ret < 0) return ret;
823 [ # # ]: 0 : }
824 : 0 : break;
825 : : case 7:
826 : : {
827 : 0 : int ret = r_R1(z);
828 [ # # ]: 0 : if (ret <= 0) return ret;
829 [ # # ]: 0 : }
830 : : {
831 : 0 : int ret = slice_del(z);
832 [ # # ]: 0 : if (ret < 0) return ret;
833 [ # # ]: 0 : }
834 : : {
835 : 0 : int v_2 = z->l - z->c;
836 : 0 : z->ket = z->c;
837 [ # # # # : 0 : if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4722696 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - v_2; goto lab1; }
# # ]
838 : 0 : among_var = find_among_b(z, a_4, 4, 0);
839 [ # # ]: 0 : if (!among_var) { z->c = z->l - v_2; goto lab1; }
840 : 0 : z->bra = z->c;
841 : : {
842 : 0 : int ret = r_R2(z);
843 [ # # ]: 0 : if (ret == 0) { z->c = z->l - v_2; goto lab1; }
844 [ # # ]: 0 : if (ret < 0) return ret;
845 [ # # # ]: 0 : }
846 : : {
847 : 0 : int ret = slice_del(z);
848 [ # # ]: 0 : if (ret < 0) return ret;
849 [ # # ]: 0 : }
850 [ # # ]: 0 : switch (among_var) {
851 : : case 1:
852 : 0 : z->ket = z->c;
853 [ # # ]: 0 : if (!(eq_s_b(z, 2, s_16))) { z->c = z->l - v_2; goto lab1; }
854 : 0 : z->bra = z->c;
855 : : {
856 : 0 : int ret = r_R2(z);
857 [ # # ]: 0 : if (ret == 0) { z->c = z->l - v_2; goto lab1; }
858 [ # # ]: 0 : if (ret < 0) return ret;
859 [ # # ]: 0 : }
860 : : {
861 : 0 : int ret = slice_del(z);
862 [ # # ]: 0 : if (ret < 0) return ret;
863 [ # # ]: 0 : }
864 : 0 : break;
865 : 0 : }
866 : : lab1:
867 : : ;
868 [ # # ]: 0 : }
869 : 0 : break;
870 : : case 8:
871 : : {
872 : 0 : int ret = r_R2(z);
873 [ # # ]: 0 : if (ret <= 0) return ret;
874 [ # # ]: 0 : }
875 : : {
876 : 0 : int ret = slice_del(z);
877 [ # # ]: 0 : if (ret < 0) return ret;
878 [ # # ]: 0 : }
879 : : {
880 : 0 : int v_3 = z->l - z->c;
881 : 0 : z->ket = z->c;
882 [ # # # # : 0 : if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - v_3; goto lab2; }
# # ]
883 [ # # ]: 0 : if (!find_among_b(z, a_5, 3, 0)) { z->c = z->l - v_3; goto lab2; }
884 : 0 : z->bra = z->c;
885 : : {
886 : 0 : int ret = r_R2(z);
887 [ # # ]: 0 : if (ret == 0) { z->c = z->l - v_3; goto lab2; }
888 [ # # ]: 0 : if (ret < 0) return ret;
889 [ # # # ]: 0 : }
890 : : {
891 : 0 : int ret = slice_del(z);
892 [ # # ]: 0 : if (ret < 0) return ret;
893 [ # # ]: 0 : }
894 : : lab2:
895 : : ;
896 [ # # ]: 0 : }
897 : 0 : break;
898 : : case 9:
899 : : {
900 : 0 : int ret = r_R2(z);
901 [ # # ]: 0 : if (ret <= 0) return ret;
902 [ # # ]: 0 : }
903 : : {
904 : 0 : int ret = slice_del(z);
905 [ # # ]: 0 : if (ret < 0) return ret;
906 [ # # ]: 0 : }
907 : : {
908 : 0 : int v_4 = z->l - z->c;
909 : 0 : z->ket = z->c;
910 [ # # ]: 0 : if (!(eq_s_b(z, 2, s_17))) { z->c = z->l - v_4; goto lab3; }
911 : 0 : z->bra = z->c;
912 : : {
913 : 0 : int ret = r_R2(z);
914 [ # # ]: 0 : if (ret == 0) { z->c = z->l - v_4; goto lab3; }
915 [ # # ]: 0 : if (ret < 0) return ret;
916 [ # # # ]: 0 : }
917 : : {
918 : 0 : int ret = slice_del(z);
919 [ # # ]: 0 : if (ret < 0) return ret;
920 [ # # ]: 0 : }
921 : 0 : z->ket = z->c;
922 [ # # ]: 0 : if (!(eq_s_b(z, 2, s_18))) { z->c = z->l - v_4; goto lab3; }
923 : 0 : z->bra = z->c;
924 : : {
925 : 0 : int ret = r_R2(z);
926 [ # # ]: 0 : if (ret == 0) { z->c = z->l - v_4; goto lab3; }
927 [ # # ]: 0 : if (ret < 0) return ret;
928 [ # # ]: 0 : }
929 : : {
930 : 0 : int ret = slice_del(z);
931 [ # # ]: 0 : if (ret < 0) return ret;
932 [ # # ]: 0 : }
933 : : lab3:
934 : : ;
935 [ # # ]: 0 : }
936 : 0 : break;
937 : : }
938 : 0 : return 1;
939 : 0 : }
940 : :
941 : 0 : static int r_verb_suffix(struct SN_env * z) {
942 : : {
943 : 0 : int v_1;
944 [ # # ]: 0 : if (z->c < ((SN_local *)z)->i_pV) return 0;
945 : 0 : v_1 = z->lb; z->lb = ((SN_local *)z)->i_pV;
946 : 0 : z->ket = z->c;
947 [ # # ]: 0 : if (!find_among_b(z, a_7, 87, 0)) { z->lb = v_1; return 0; }
948 : 0 : z->bra = z->c;
949 : : {
950 : 0 : int ret = slice_del(z);
951 [ # # ]: 0 : if (ret < 0) return ret;
952 [ # # ]: 0 : }
953 : 0 : z->lb = v_1;
954 [ # # # ]: 0 : }
955 : 0 : return 1;
956 : 0 : }
957 : :
958 : 0 : static int r_vowel_suffix(struct SN_env * z) {
959 : : {
960 : 0 : int v_1 = z->l - z->c;
961 : 0 : z->ket = z->c;
962 [ # # ]: 0 : if (in_grouping_b(z, g_AEIO, 97, 242, 0)) { z->c = z->l - v_1; goto lab0; }
963 : 0 : z->bra = z->c;
964 : : {
965 : 0 : int ret = r_RV(z);
966 [ # # ]: 0 : if (ret == 0) { z->c = z->l - v_1; goto lab0; }
967 [ # # ]: 0 : if (ret < 0) return ret;
968 [ # # # ]: 0 : }
969 : : {
970 : 0 : int ret = slice_del(z);
971 [ # # ]: 0 : if (ret < 0) return ret;
972 [ # # ]: 0 : }
973 : 0 : z->ket = z->c;
974 [ # # # # ]: 0 : if (z->c <= z->lb || z->p[z->c - 1] != 'i') { z->c = z->l - v_1; goto lab0; }
975 : 0 : z->c--;
976 : 0 : z->bra = z->c;
977 : : {
978 : 0 : int ret = r_RV(z);
979 [ # # ]: 0 : if (ret == 0) { z->c = z->l - v_1; goto lab0; }
980 [ # # ]: 0 : if (ret < 0) return ret;
981 [ # # ]: 0 : }
982 : : {
983 : 0 : int ret = slice_del(z);
984 [ # # ]: 0 : if (ret < 0) return ret;
985 [ # # ]: 0 : }
986 : : lab0:
987 : : ;
988 [ # # ]: 0 : }
989 : : {
990 : 0 : int v_2 = z->l - z->c;
991 : 0 : z->ket = z->c;
992 [ # # # # ]: 0 : if (z->c <= z->lb || z->p[z->c - 1] != 'h') { z->c = z->l - v_2; goto lab1; }
993 : 0 : z->c--;
994 : 0 : z->bra = z->c;
995 [ # # ]: 0 : if (in_grouping_b(z, g_CG, 99, 103, 0)) { z->c = z->l - v_2; goto lab1; }
996 : : {
997 : 0 : int ret = r_RV(z);
998 [ # # ]: 0 : if (ret == 0) { z->c = z->l - v_2; goto lab1; }
999 [ # # ]: 0 : if (ret < 0) return ret;
1000 [ # # # ]: 0 : }
1001 : : {
1002 : 0 : int ret = slice_del(z);
1003 [ # # ]: 0 : if (ret < 0) return ret;
1004 [ # # ]: 0 : }
1005 : : lab1:
1006 : : ;
1007 [ # # ]: 0 : }
1008 : 0 : return 1;
1009 : 0 : }
1010 : :
1011 : 0 : extern int italian_ISO_8859_1_stem(struct SN_env * z) {
1012 : : {
1013 : 0 : int v_1 = z->c;
1014 : : {
1015 : 0 : int ret = r_prelude(z);
1016 [ # # ]: 0 : if (ret < 0) return ret;
1017 [ # # ]: 0 : }
1018 : 0 : z->c = v_1;
1019 [ # # ]: 0 : }
1020 : : {
1021 : 0 : int ret = r_mark_regions(z);
1022 [ # # ]: 0 : if (ret < 0) return ret;
1023 [ # # ]: 0 : }
1024 : 0 : z->lb = z->c; z->c = z->l;
1025 : : {
1026 : 0 : int v_2 = z->l - z->c;
1027 : : {
1028 : 0 : int ret = r_attached_pronoun(z);
1029 [ # # ]: 0 : if (ret < 0) return ret;
1030 [ # # ]: 0 : }
1031 : 0 : z->c = z->l - v_2;
1032 [ # # ]: 0 : }
1033 : : {
1034 : 0 : int v_3 = z->l - z->c;
1035 : 0 : do {
1036 : 0 : int v_4 = z->l - z->c;
1037 : : {
1038 : 0 : int ret = r_standard_suffix(z);
1039 [ # # ]: 0 : if (ret == 0) goto lab1;
1040 [ # # ]: 0 : if (ret < 0) return ret;
1041 [ # # # ]: 0 : }
1042 : 0 : break;
1043 : : lab1:
1044 : 0 : z->c = z->l - v_4;
1045 : : {
1046 : 0 : int ret = r_verb_suffix(z);
1047 [ # # ]: 0 : if (ret == 0) goto lab0;
1048 [ # # ]: 0 : if (ret < 0) return ret;
1049 [ # # ]: 0 : }
1050 [ # # # # ]: 0 : } while (0);
1051 : : lab0:
1052 : 0 : z->c = z->l - v_3;
1053 [ # # ]: 0 : }
1054 : : {
1055 : 0 : int v_5 = z->l - z->c;
1056 : : {
1057 : 0 : int ret = r_vowel_suffix(z);
1058 [ # # ]: 0 : if (ret < 0) return ret;
1059 [ # # ]: 0 : }
1060 : 0 : z->c = z->l - v_5;
1061 [ # # ]: 0 : }
1062 : 0 : z->c = z->lb;
1063 : : {
1064 : 0 : int v_6 = z->c;
1065 : : {
1066 : 0 : int ret = r_postlude(z);
1067 [ # # ]: 0 : if (ret < 0) return ret;
1068 [ # # ]: 0 : }
1069 : 0 : z->c = v_6;
1070 [ # # ]: 0 : }
1071 : 0 : return 1;
1072 : 0 : }
1073 : :
1074 : 0 : extern struct SN_env * italian_ISO_8859_1_create_env(void) {
1075 : 0 : struct SN_env * z = SN_new_env(sizeof(SN_local));
1076 [ # # ]: 0 : if (z) {
1077 : 0 : ((SN_local *)z)->i_p2 = 0;
1078 : 0 : ((SN_local *)z)->i_p1 = 0;
1079 : 0 : ((SN_local *)z)->i_pV = 0;
1080 : 0 : }
1081 : 0 : return z;
1082 : 0 : }
1083 : :
1084 : 0 : extern void italian_ISO_8859_1_close_env(struct SN_env * z) {
1085 : 0 : SN_delete_env(z);
1086 : 0 : }
1087 : :
|