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