2
/* This file was generated automatically by the Snowball to ANSI C compiler */
6
extern int english_UTF_8_stem(struct SN_env * z);
7
static int r_exception2(struct SN_env * z);
8
static int r_exception1(struct SN_env * z);
9
static int r_Step_5(struct SN_env * z);
10
static int r_Step_4(struct SN_env * z);
11
static int r_Step_3(struct SN_env * z);
12
static int r_Step_2(struct SN_env * z);
13
static int r_Step_1c(struct SN_env * z);
14
static int r_Step_1b(struct SN_env * z);
15
static int r_Step_1a(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_shortv(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);
23
extern struct SN_env * english_UTF_8_create_env(void);
24
extern void english_UTF_8_close_env(struct SN_env * z);
26
static symbol s_0_0[6] = { 'c', 'o', 'm', 'm', 'u', 'n' };
27
static symbol s_0_1[5] = { 'g', 'e', 'n', 'e', 'r' };
29
static struct among a_0[2] =
31
/* 0 */ { 6, s_0_0, -1, -1, 0},
32
/* 1 */ { 5, s_0_1, -1, -1, 0}
35
static symbol s_1_0[1] = { '\'' };
36
static symbol s_1_1[3] = { '\'', 's', '\'' };
37
static symbol s_1_2[2] = { '\'', 's' };
39
static struct among a_1[3] =
41
/* 0 */ { 1, s_1_0, -1, 1, 0},
42
/* 1 */ { 3, s_1_1, 0, 1, 0},
43
/* 2 */ { 2, s_1_2, -1, 1, 0}
46
static symbol s_2_0[3] = { 'i', 'e', 'd' };
47
static symbol s_2_1[1] = { 's' };
48
static symbol s_2_2[3] = { 'i', 'e', 's' };
49
static symbol s_2_3[4] = { 's', 's', 'e', 's' };
50
static symbol s_2_4[2] = { 's', 's' };
51
static symbol s_2_5[2] = { 'u', 's' };
53
static struct among a_2[6] =
55
/* 0 */ { 3, s_2_0, -1, 2, 0},
56
/* 1 */ { 1, s_2_1, -1, 3, 0},
57
/* 2 */ { 3, s_2_2, 1, 2, 0},
58
/* 3 */ { 4, s_2_3, 1, 1, 0},
59
/* 4 */ { 2, s_2_4, 1, -1, 0},
60
/* 5 */ { 2, s_2_5, 1, -1, 0}
63
static symbol s_3_1[2] = { 'b', 'b' };
64
static symbol s_3_2[2] = { 'd', 'd' };
65
static symbol s_3_3[2] = { 'f', 'f' };
66
static symbol s_3_4[2] = { 'g', 'g' };
67
static symbol s_3_5[2] = { 'b', 'l' };
68
static symbol s_3_6[2] = { 'm', 'm' };
69
static symbol s_3_7[2] = { 'n', 'n' };
70
static symbol s_3_8[2] = { 'p', 'p' };
71
static symbol s_3_9[2] = { 'r', 'r' };
72
static symbol s_3_10[2] = { 'a', 't' };
73
static symbol s_3_11[2] = { 't', 't' };
74
static symbol s_3_12[2] = { 'i', 'z' };
76
static struct among a_3[13] =
78
/* 0 */ { 0, 0, -1, 3, 0},
79
/* 1 */ { 2, s_3_1, 0, 2, 0},
80
/* 2 */ { 2, s_3_2, 0, 2, 0},
81
/* 3 */ { 2, s_3_3, 0, 2, 0},
82
/* 4 */ { 2, s_3_4, 0, 2, 0},
83
/* 5 */ { 2, s_3_5, 0, 1, 0},
84
/* 6 */ { 2, s_3_6, 0, 2, 0},
85
/* 7 */ { 2, s_3_7, 0, 2, 0},
86
/* 8 */ { 2, s_3_8, 0, 2, 0},
87
/* 9 */ { 2, s_3_9, 0, 2, 0},
88
/* 10 */ { 2, s_3_10, 0, 1, 0},
89
/* 11 */ { 2, s_3_11, 0, 2, 0},
90
/* 12 */ { 2, s_3_12, 0, 1, 0}
93
static symbol s_4_0[2] = { 'e', 'd' };
94
static symbol s_4_1[3] = { 'e', 'e', 'd' };
95
static symbol s_4_2[3] = { 'i', 'n', 'g' };
96
static symbol s_4_3[4] = { 'e', 'd', 'l', 'y' };
97
static symbol s_4_4[5] = { 'e', 'e', 'd', 'l', 'y' };
98
static symbol s_4_5[5] = { 'i', 'n', 'g', 'l', 'y' };
100
static struct among a_4[6] =
102
/* 0 */ { 2, s_4_0, -1, 2, 0},
103
/* 1 */ { 3, s_4_1, 0, 1, 0},
104
/* 2 */ { 3, s_4_2, -1, 2, 0},
105
/* 3 */ { 4, s_4_3, -1, 2, 0},
106
/* 4 */ { 5, s_4_4, 3, 1, 0},
107
/* 5 */ { 5, s_4_5, -1, 2, 0}
110
static symbol s_5_0[4] = { 'a', 'n', 'c', 'i' };
111
static symbol s_5_1[4] = { 'e', 'n', 'c', 'i' };
112
static symbol s_5_2[3] = { 'o', 'g', 'i' };
113
static symbol s_5_3[2] = { 'l', 'i' };
114
static symbol s_5_4[3] = { 'b', 'l', 'i' };
115
static symbol s_5_5[4] = { 'a', 'b', 'l', 'i' };
116
static symbol s_5_6[4] = { 'a', 'l', 'l', 'i' };
117
static symbol s_5_7[5] = { 'f', 'u', 'l', 'l', 'i' };
118
static symbol s_5_8[6] = { 'l', 'e', 's', 's', 'l', 'i' };
119
static symbol s_5_9[5] = { 'o', 'u', 's', 'l', 'i' };
120
static symbol s_5_10[5] = { 'e', 'n', 't', 'l', 'i' };
121
static symbol s_5_11[5] = { 'a', 'l', 'i', 't', 'i' };
122
static symbol s_5_12[6] = { 'b', 'i', 'l', 'i', 't', 'i' };
123
static symbol s_5_13[5] = { 'i', 'v', 'i', 't', 'i' };
124
static symbol s_5_14[6] = { 't', 'i', 'o', 'n', 'a', 'l' };
125
static symbol s_5_15[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' };
126
static symbol s_5_16[5] = { 'a', 'l', 'i', 's', 'm' };
127
static symbol s_5_17[5] = { 'a', 't', 'i', 'o', 'n' };
128
static symbol s_5_18[7] = { 'i', 'z', 'a', 't', 'i', 'o', 'n' };
129
static symbol s_5_19[4] = { 'i', 'z', 'e', 'r' };
130
static symbol s_5_20[4] = { 'a', 't', 'o', 'r' };
131
static symbol s_5_21[7] = { 'i', 'v', 'e', 'n', 'e', 's', 's' };
132
static symbol s_5_22[7] = { 'f', 'u', 'l', 'n', 'e', 's', 's' };
133
static symbol s_5_23[7] = { 'o', 'u', 's', 'n', 'e', 's', 's' };
135
static struct among a_5[24] =
137
/* 0 */ { 4, s_5_0, -1, 3, 0},
138
/* 1 */ { 4, s_5_1, -1, 2, 0},
139
/* 2 */ { 3, s_5_2, -1, 13, 0},
140
/* 3 */ { 2, s_5_3, -1, 16, 0},
141
/* 4 */ { 3, s_5_4, 3, 12, 0},
142
/* 5 */ { 4, s_5_5, 4, 4, 0},
143
/* 6 */ { 4, s_5_6, 3, 8, 0},
144
/* 7 */ { 5, s_5_7, 3, 14, 0},
145
/* 8 */ { 6, s_5_8, 3, 15, 0},
146
/* 9 */ { 5, s_5_9, 3, 10, 0},
147
/* 10 */ { 5, s_5_10, 3, 5, 0},
148
/* 11 */ { 5, s_5_11, -1, 8, 0},
149
/* 12 */ { 6, s_5_12, -1, 12, 0},
150
/* 13 */ { 5, s_5_13, -1, 11, 0},
151
/* 14 */ { 6, s_5_14, -1, 1, 0},
152
/* 15 */ { 7, s_5_15, 14, 7, 0},
153
/* 16 */ { 5, s_5_16, -1, 8, 0},
154
/* 17 */ { 5, s_5_17, -1, 7, 0},
155
/* 18 */ { 7, s_5_18, 17, 6, 0},
156
/* 19 */ { 4, s_5_19, -1, 6, 0},
157
/* 20 */ { 4, s_5_20, -1, 7, 0},
158
/* 21 */ { 7, s_5_21, -1, 11, 0},
159
/* 22 */ { 7, s_5_22, -1, 9, 0},
160
/* 23 */ { 7, s_5_23, -1, 10, 0}
163
static symbol s_6_0[5] = { 'i', 'c', 'a', 't', 'e' };
164
static symbol s_6_1[5] = { 'a', 't', 'i', 'v', 'e' };
165
static symbol s_6_2[5] = { 'a', 'l', 'i', 'z', 'e' };
166
static symbol s_6_3[5] = { 'i', 'c', 'i', 't', 'i' };
167
static symbol s_6_4[4] = { 'i', 'c', 'a', 'l' };
168
static symbol s_6_5[6] = { 't', 'i', 'o', 'n', 'a', 'l' };
169
static symbol s_6_6[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' };
170
static symbol s_6_7[3] = { 'f', 'u', 'l' };
171
static symbol s_6_8[4] = { 'n', 'e', 's', 's' };
173
static struct among a_6[9] =
175
/* 0 */ { 5, s_6_0, -1, 4, 0},
176
/* 1 */ { 5, s_6_1, -1, 6, 0},
177
/* 2 */ { 5, s_6_2, -1, 3, 0},
178
/* 3 */ { 5, s_6_3, -1, 4, 0},
179
/* 4 */ { 4, s_6_4, -1, 4, 0},
180
/* 5 */ { 6, s_6_5, -1, 1, 0},
181
/* 6 */ { 7, s_6_6, 5, 2, 0},
182
/* 7 */ { 3, s_6_7, -1, 5, 0},
183
/* 8 */ { 4, s_6_8, -1, 5, 0}
186
static symbol s_7_0[2] = { 'i', 'c' };
187
static symbol s_7_1[4] = { 'a', 'n', 'c', 'e' };
188
static symbol s_7_2[4] = { 'e', 'n', 'c', 'e' };
189
static symbol s_7_3[4] = { 'a', 'b', 'l', 'e' };
190
static symbol s_7_4[4] = { 'i', 'b', 'l', 'e' };
191
static symbol s_7_5[3] = { 'a', 't', 'e' };
192
static symbol s_7_6[3] = { 'i', 'v', 'e' };
193
static symbol s_7_7[3] = { 'i', 'z', 'e' };
194
static symbol s_7_8[3] = { 'i', 't', 'i' };
195
static symbol s_7_9[2] = { 'a', 'l' };
196
static symbol s_7_10[3] = { 'i', 's', 'm' };
197
static symbol s_7_11[3] = { 'i', 'o', 'n' };
198
static symbol s_7_12[2] = { 'e', 'r' };
199
static symbol s_7_13[3] = { 'o', 'u', 's' };
200
static symbol s_7_14[3] = { 'a', 'n', 't' };
201
static symbol s_7_15[3] = { 'e', 'n', 't' };
202
static symbol s_7_16[4] = { 'm', 'e', 'n', 't' };
203
static symbol s_7_17[5] = { 'e', 'm', 'e', 'n', 't' };
205
static struct among a_7[18] =
207
/* 0 */ { 2, s_7_0, -1, 1, 0},
208
/* 1 */ { 4, s_7_1, -1, 1, 0},
209
/* 2 */ { 4, s_7_2, -1, 1, 0},
210
/* 3 */ { 4, s_7_3, -1, 1, 0},
211
/* 4 */ { 4, s_7_4, -1, 1, 0},
212
/* 5 */ { 3, s_7_5, -1, 1, 0},
213
/* 6 */ { 3, s_7_6, -1, 1, 0},
214
/* 7 */ { 3, s_7_7, -1, 1, 0},
215
/* 8 */ { 3, s_7_8, -1, 1, 0},
216
/* 9 */ { 2, s_7_9, -1, 1, 0},
217
/* 10 */ { 3, s_7_10, -1, 1, 0},
218
/* 11 */ { 3, s_7_11, -1, 2, 0},
219
/* 12 */ { 2, s_7_12, -1, 1, 0},
220
/* 13 */ { 3, s_7_13, -1, 1, 0},
221
/* 14 */ { 3, s_7_14, -1, 1, 0},
222
/* 15 */ { 3, s_7_15, -1, 1, 0},
223
/* 16 */ { 4, s_7_16, 15, 1, 0},
224
/* 17 */ { 5, s_7_17, 16, 1, 0}
227
static symbol s_8_0[1] = { 'e' };
228
static symbol s_8_1[1] = { 'l' };
230
static struct among a_8[2] =
232
/* 0 */ { 1, s_8_0, -1, 1, 0},
233
/* 1 */ { 1, s_8_1, -1, 2, 0}
236
static symbol s_9_0[7] = { 's', 'u', 'c', 'c', 'e', 'e', 'd' };
237
static symbol s_9_1[7] = { 'p', 'r', 'o', 'c', 'e', 'e', 'd' };
238
static symbol s_9_2[6] = { 'e', 'x', 'c', 'e', 'e', 'd' };
239
static symbol s_9_3[7] = { 'c', 'a', 'n', 'n', 'i', 'n', 'g' };
240
static symbol s_9_4[6] = { 'i', 'n', 'n', 'i', 'n', 'g' };
241
static symbol s_9_5[7] = { 'e', 'a', 'r', 'r', 'i', 'n', 'g' };
242
static symbol s_9_6[7] = { 'h', 'e', 'r', 'r', 'i', 'n', 'g' };
243
static symbol s_9_7[6] = { 'o', 'u', 't', 'i', 'n', 'g' };
245
static struct among a_9[8] =
247
/* 0 */ { 7, s_9_0, -1, -1, 0},
248
/* 1 */ { 7, s_9_1, -1, -1, 0},
249
/* 2 */ { 6, s_9_2, -1, -1, 0},
250
/* 3 */ { 7, s_9_3, -1, -1, 0},
251
/* 4 */ { 6, s_9_4, -1, -1, 0},
252
/* 5 */ { 7, s_9_5, -1, -1, 0},
253
/* 6 */ { 7, s_9_6, -1, -1, 0},
254
/* 7 */ { 6, s_9_7, -1, -1, 0}
257
static symbol s_10_0[5] = { 'a', 'n', 'd', 'e', 's' };
258
static symbol s_10_1[5] = { 'a', 't', 'l', 'a', 's' };
259
static symbol s_10_2[4] = { 'b', 'i', 'a', 's' };
260
static symbol s_10_3[6] = { 'c', 'o', 's', 'm', 'o', 's' };
261
static symbol s_10_4[5] = { 'd', 'y', 'i', 'n', 'g' };
262
static symbol s_10_5[5] = { 'e', 'a', 'r', 'l', 'y' };
263
static symbol s_10_6[6] = { 'g', 'e', 'n', 't', 'l', 'y' };
264
static symbol s_10_7[4] = { 'h', 'o', 'w', 'e' };
265
static symbol s_10_8[4] = { 'i', 'd', 'l', 'y' };
266
static symbol s_10_9[5] = { 'l', 'y', 'i', 'n', 'g' };
267
static symbol s_10_10[4] = { 'n', 'e', 'w', 's' };
268
static symbol s_10_11[4] = { 'o', 'n', 'l', 'y' };
269
static symbol s_10_12[6] = { 's', 'i', 'n', 'g', 'l', 'y' };
270
static symbol s_10_13[5] = { 's', 'k', 'i', 'e', 's' };
271
static symbol s_10_14[4] = { 's', 'k', 'i', 's' };
272
static symbol s_10_15[3] = { 's', 'k', 'y' };
273
static symbol s_10_16[5] = { 't', 'y', 'i', 'n', 'g' };
274
static symbol s_10_17[4] = { 'u', 'g', 'l', 'y' };
276
static struct among a_10[18] =
278
/* 0 */ { 5, s_10_0, -1, -1, 0},
279
/* 1 */ { 5, s_10_1, -1, -1, 0},
280
/* 2 */ { 4, s_10_2, -1, -1, 0},
281
/* 3 */ { 6, s_10_3, -1, -1, 0},
282
/* 4 */ { 5, s_10_4, -1, 3, 0},
283
/* 5 */ { 5, s_10_5, -1, 9, 0},
284
/* 6 */ { 6, s_10_6, -1, 7, 0},
285
/* 7 */ { 4, s_10_7, -1, -1, 0},
286
/* 8 */ { 4, s_10_8, -1, 6, 0},
287
/* 9 */ { 5, s_10_9, -1, 4, 0},
288
/* 10 */ { 4, s_10_10, -1, -1, 0},
289
/* 11 */ { 4, s_10_11, -1, 10, 0},
290
/* 12 */ { 6, s_10_12, -1, 11, 0},
291
/* 13 */ { 5, s_10_13, -1, 2, 0},
292
/* 14 */ { 4, s_10_14, -1, 1, 0},
293
/* 15 */ { 3, s_10_15, -1, -1, 0},
294
/* 16 */ { 5, s_10_16, -1, 5, 0},
295
/* 17 */ { 4, s_10_17, -1, 8, 0}
298
static unsigned char g_v[] = { 17, 65, 16, 1 };
300
static unsigned char g_v_WXY[] = { 1, 17, 65, 208, 1 };
302
static unsigned char g_valid_LI[] = { 55, 141, 2 };
304
static symbol s_0[] = { '\'' };
305
static symbol s_1[] = { 'y' };
306
static symbol s_2[] = { 'Y' };
307
static symbol s_3[] = { 'y' };
308
static symbol s_4[] = { 'Y' };
309
static symbol s_5[] = { 's', 's' };
310
static symbol s_6[] = { 'i' };
311
static symbol s_7[] = { 'i', 'e' };
312
static symbol s_8[] = { 'e', 'e' };
313
static symbol s_9[] = { 'e' };
314
static symbol s_10[] = { 'e' };
315
static symbol s_11[] = { 'y' };
316
static symbol s_12[] = { 'Y' };
317
static symbol s_13[] = { 'i' };
318
static symbol s_14[] = { 't', 'i', 'o', 'n' };
319
static symbol s_15[] = { 'e', 'n', 'c', 'e' };
320
static symbol s_16[] = { 'a', 'n', 'c', 'e' };
321
static symbol s_17[] = { 'a', 'b', 'l', 'e' };
322
static symbol s_18[] = { 'e', 'n', 't' };
323
static symbol s_19[] = { 'i', 'z', 'e' };
324
static symbol s_20[] = { 'a', 't', 'e' };
325
static symbol s_21[] = { 'a', 'l' };
326
static symbol s_22[] = { 'f', 'u', 'l' };
327
static symbol s_23[] = { 'o', 'u', 's' };
328
static symbol s_24[] = { 'i', 'v', 'e' };
329
static symbol s_25[] = { 'b', 'l', 'e' };
330
static symbol s_26[] = { 'l' };
331
static symbol s_27[] = { 'o', 'g' };
332
static symbol s_28[] = { 'f', 'u', 'l' };
333
static symbol s_29[] = { 'l', 'e', 's', 's' };
334
static symbol s_30[] = { 't', 'i', 'o', 'n' };
335
static symbol s_31[] = { 'a', 't', 'e' };
336
static symbol s_32[] = { 'a', 'l' };
337
static symbol s_33[] = { 'i', 'c' };
338
static symbol s_34[] = { 's' };
339
static symbol s_35[] = { 't' };
340
static symbol s_36[] = { 'l' };
341
static symbol s_37[] = { 's', 'k', 'i' };
342
static symbol s_38[] = { 's', 'k', 'y' };
343
static symbol s_39[] = { 'd', 'i', 'e' };
344
static symbol s_40[] = { 'l', 'i', 'e' };
345
static symbol s_41[] = { 't', 'i', 'e' };
346
static symbol s_42[] = { 'i', 'd', 'l' };
347
static symbol s_43[] = { 'g', 'e', 'n', 't', 'l' };
348
static symbol s_44[] = { 'u', 'g', 'l', 'i' };
349
static symbol s_45[] = { 'e', 'a', 'r', 'l', 'i' };
350
static symbol s_46[] = { 'o', 'n', 'l', 'i' };
351
static symbol s_47[] = { 's', 'i', 'n', 'g', 'l' };
352
static symbol s_48[] = { 'Y' };
353
static symbol s_49[] = { 'y' };
355
static int r_prelude(struct SN_env * z) {
356
z->B[0] = 0; /* unset Y_found, line 26 */
357
{ int c = z->c; /* do, line 27 */
358
z->bra = z->c; /* [, line 27 */
359
if (!(eq_s(z, 1, s_0))) goto lab0;
360
z->ket = z->c; /* ], line 27 */
362
ret = slice_del(z); /* delete, line 27 */
363
if (ret < 0) return ret;
368
{ int c = z->c; /* do, line 28 */
369
z->bra = z->c; /* [, line 28 */
370
if (!(eq_s(z, 1, s_1))) goto lab1;
371
z->ket = z->c; /* ], line 28 */
373
ret = slice_from_s(z, 1, s_2); /* <-, line 28 */
374
if (ret < 0) return ret;
376
z->B[0] = 1; /* set Y_found, line 28 */
380
{ int c = z->c; /* do, line 29 */
381
while(1) { /* repeat, line 29 */
383
while(1) { /* goto, line 29 */
385
if (!(in_grouping_U(z, g_v, 97, 121))) goto lab4;
386
z->bra = z->c; /* [, line 29 */
387
if (!(eq_s(z, 1, s_3))) goto lab4;
388
z->ket = z->c; /* ], line 29 */
393
{ int c = skip_utf8(z->p, z->c, 0, z->l, 1);
394
if (c < 0) goto lab3;
395
z->c = c; /* goto, line 29 */
399
ret = slice_from_s(z, 1, s_4); /* <-, line 29 */
400
if (ret < 0) return ret;
402
z->B[0] = 1; /* set Y_found, line 29 */
413
static int r_mark_regions(struct SN_env * z) {
416
{ int c = z->c; /* do, line 35 */
417
{ int c = z->c; /* or, line 40 */
418
if (!(find_among(z, a_0, 2))) goto lab2; /* among, line 36 */
422
while(1) { /* gopast, line 40 */
423
if (!(in_grouping_U(z, g_v, 97, 121))) goto lab3;
426
{ int c = skip_utf8(z->p, z->c, 0, z->l, 1);
427
if (c < 0) goto lab0;
428
z->c = c; /* gopast, line 40 */
431
while(1) { /* gopast, line 40 */
432
if (!(out_grouping_U(z, g_v, 97, 121))) goto lab4;
435
{ int c = skip_utf8(z->p, z->c, 0, z->l, 1);
436
if (c < 0) goto lab0;
437
z->c = c; /* gopast, line 40 */
442
z->I[0] = z->c; /* setmark p1, line 41 */
443
while(1) { /* gopast, line 42 */
444
if (!(in_grouping_U(z, g_v, 97, 121))) goto lab5;
447
{ int c = skip_utf8(z->p, z->c, 0, z->l, 1);
448
if (c < 0) goto lab0;
449
z->c = c; /* gopast, line 42 */
452
while(1) { /* gopast, line 42 */
453
if (!(out_grouping_U(z, g_v, 97, 121))) goto lab6;
456
{ int c = skip_utf8(z->p, z->c, 0, z->l, 1);
457
if (c < 0) goto lab0;
458
z->c = c; /* gopast, line 42 */
461
z->I[1] = z->c; /* setmark p2, line 42 */
468
static int r_shortv(struct SN_env * z) {
469
{ int m = z->l - z->c; (void) m; /* or, line 50 */
470
if (!(out_grouping_b_U(z, g_v_WXY, 89, 121))) goto lab1;
471
if (!(in_grouping_b_U(z, g_v, 97, 121))) goto lab1;
472
if (!(out_grouping_b_U(z, g_v, 97, 121))) goto lab1;
476
if (!(out_grouping_b_U(z, g_v, 97, 121))) return 0;
477
if (!(in_grouping_b_U(z, g_v, 97, 121))) return 0;
478
if (z->c > z->lb) return 0; /* atlimit, line 51 */
484
static int r_R1(struct SN_env * z) {
485
if (!(z->I[0] <= z->c)) return 0;
489
static int r_R2(struct SN_env * z) {
490
if (!(z->I[1] <= z->c)) return 0;
494
static int r_Step_1a(struct SN_env * z) {
496
{ int m = z->l - z->c; (void) m; /* try, line 58 */
497
z->ket = z->c; /* [, line 59 */
498
among_var = find_among_b(z, a_1, 3); /* substring, line 59 */
499
if (!(among_var)) { z->c = z->l - m; goto lab0; }
500
z->bra = z->c; /* ], line 59 */
502
case 0: { z->c = z->l - m; goto lab0; }
505
ret = slice_del(z); /* delete, line 61 */
506
if (ret < 0) return ret;
513
z->ket = z->c; /* [, line 64 */
514
among_var = find_among_b(z, a_2, 6); /* substring, line 64 */
515
if (!(among_var)) return 0;
516
z->bra = z->c; /* ], line 64 */
521
ret = slice_from_s(z, 2, s_5); /* <-, line 65 */
522
if (ret < 0) return ret;
526
{ int m = z->l - z->c; (void) m; /* or, line 67 */
527
{ int c = skip_utf8(z->p, z->c, z->lb, z->l, - 2);
528
if (c < 0) goto lab2;
529
z->c = c; /* hop, line 67 */
532
ret = slice_from_s(z, 1, s_6); /* <-, line 67 */
533
if (ret < 0) return ret;
539
ret = slice_from_s(z, 2, s_7); /* <-, line 67 */
540
if (ret < 0) return ret;
546
{ int c = skip_utf8(z->p, z->c, z->lb, 0, -1);
548
z->c = c; /* next, line 68 */
550
while(1) { /* gopast, line 68 */
551
if (!(in_grouping_b_U(z, g_v, 97, 121))) goto lab3;
554
{ int c = skip_utf8(z->p, z->c, z->lb, 0, -1);
556
z->c = c; /* gopast, line 68 */
560
ret = slice_del(z); /* delete, line 68 */
561
if (ret < 0) return ret;
568
static int r_Step_1b(struct SN_env * z) {
570
z->ket = z->c; /* [, line 74 */
571
among_var = find_among_b(z, a_4, 6); /* substring, line 74 */
572
if (!(among_var)) return 0;
573
z->bra = z->c; /* ], line 74 */
578
if (ret == 0) return 0; /* call R1, line 76 */
579
if (ret < 0) return ret;
582
ret = slice_from_s(z, 2, s_8); /* <-, line 76 */
583
if (ret < 0) return ret;
587
{ int m_test = z->l - z->c; /* test, line 79 */
588
while(1) { /* gopast, line 79 */
589
if (!(in_grouping_b_U(z, g_v, 97, 121))) goto lab0;
592
{ int c = skip_utf8(z->p, z->c, z->lb, 0, -1);
594
z->c = c; /* gopast, line 79 */
597
z->c = z->l - m_test;
600
ret = slice_del(z); /* delete, line 79 */
601
if (ret < 0) return ret;
603
{ int m_test = z->l - z->c; /* test, line 80 */
604
among_var = find_among_b(z, a_3, 13); /* substring, line 80 */
605
if (!(among_var)) return 0;
606
z->c = z->l - m_test;
613
ret = insert_s(z, z->c, z->c, 1, s_9); /* <+, line 82 */
616
if (ret < 0) return ret;
620
z->ket = z->c; /* [, line 85 */
621
{ int c = skip_utf8(z->p, z->c, z->lb, 0, -1);
623
z->c = c; /* next, line 85 */
625
z->bra = z->c; /* ], line 85 */
627
ret = slice_del(z); /* delete, line 85 */
628
if (ret < 0) return ret;
632
if (z->c != z->I[0]) return 0; /* atmark, line 86 */
633
{ int m_test = z->l - z->c; /* test, line 86 */
634
{ int ret = r_shortv(z);
635
if (ret == 0) return 0; /* call shortv, line 86 */
636
if (ret < 0) return ret;
638
z->c = z->l - m_test;
642
ret = insert_s(z, z->c, z->c, 1, s_10); /* <+, line 86 */
645
if (ret < 0) return ret;
654
static int r_Step_1c(struct SN_env * z) {
655
z->ket = z->c; /* [, line 93 */
656
{ int m = z->l - z->c; (void) m; /* or, line 93 */
657
if (!(eq_s_b(z, 1, s_11))) goto lab1;
661
if (!(eq_s_b(z, 1, s_12))) return 0;
664
z->bra = z->c; /* ], line 93 */
665
if (!(out_grouping_b_U(z, g_v, 97, 121))) return 0;
666
{ int m = z->l - z->c; (void) m; /* not, line 94 */
667
if (z->c > z->lb) goto lab2; /* atlimit, line 94 */
673
ret = slice_from_s(z, 1, s_13); /* <-, line 95 */
674
if (ret < 0) return ret;
679
static int r_Step_2(struct SN_env * z) {
681
z->ket = z->c; /* [, line 99 */
682
among_var = find_among_b(z, a_5, 24); /* substring, line 99 */
683
if (!(among_var)) return 0;
684
z->bra = z->c; /* ], line 99 */
686
if (ret == 0) return 0; /* call R1, line 99 */
687
if (ret < 0) return ret;
693
ret = slice_from_s(z, 4, s_14); /* <-, line 100 */
694
if (ret < 0) return ret;
699
ret = slice_from_s(z, 4, s_15); /* <-, line 101 */
700
if (ret < 0) return ret;
705
ret = slice_from_s(z, 4, s_16); /* <-, line 102 */
706
if (ret < 0) return ret;
711
ret = slice_from_s(z, 4, s_17); /* <-, line 103 */
712
if (ret < 0) return ret;
717
ret = slice_from_s(z, 3, s_18); /* <-, line 104 */
718
if (ret < 0) return ret;
723
ret = slice_from_s(z, 3, s_19); /* <-, line 106 */
724
if (ret < 0) return ret;
729
ret = slice_from_s(z, 3, s_20); /* <-, line 108 */
730
if (ret < 0) return ret;
735
ret = slice_from_s(z, 2, s_21); /* <-, line 110 */
736
if (ret < 0) return ret;
741
ret = slice_from_s(z, 3, s_22); /* <-, line 111 */
742
if (ret < 0) return ret;
747
ret = slice_from_s(z, 3, s_23); /* <-, line 113 */
748
if (ret < 0) return ret;
753
ret = slice_from_s(z, 3, s_24); /* <-, line 115 */
754
if (ret < 0) return ret;
759
ret = slice_from_s(z, 3, s_25); /* <-, line 117 */
760
if (ret < 0) return ret;
764
if (!(eq_s_b(z, 1, s_26))) return 0;
766
ret = slice_from_s(z, 2, s_27); /* <-, line 118 */
767
if (ret < 0) return ret;
772
ret = slice_from_s(z, 3, s_28); /* <-, line 119 */
773
if (ret < 0) return ret;
778
ret = slice_from_s(z, 4, s_29); /* <-, line 120 */
779
if (ret < 0) return ret;
783
if (!(in_grouping_b_U(z, g_valid_LI, 99, 116))) return 0;
785
ret = slice_del(z); /* delete, line 121 */
786
if (ret < 0) return ret;
793
static int r_Step_3(struct SN_env * z) {
795
z->ket = z->c; /* [, line 126 */
796
among_var = find_among_b(z, a_6, 9); /* substring, line 126 */
797
if (!(among_var)) return 0;
798
z->bra = z->c; /* ], line 126 */
800
if (ret == 0) return 0; /* call R1, line 126 */
801
if (ret < 0) return ret;
807
ret = slice_from_s(z, 4, s_30); /* <-, line 127 */
808
if (ret < 0) return ret;
813
ret = slice_from_s(z, 3, s_31); /* <-, line 128 */
814
if (ret < 0) return ret;
819
ret = slice_from_s(z, 2, s_32); /* <-, line 129 */
820
if (ret < 0) return ret;
825
ret = slice_from_s(z, 2, s_33); /* <-, line 131 */
826
if (ret < 0) return ret;
831
ret = slice_del(z); /* delete, line 133 */
832
if (ret < 0) return ret;
837
if (ret == 0) return 0; /* call R2, line 135 */
838
if (ret < 0) return ret;
841
ret = slice_del(z); /* delete, line 135 */
842
if (ret < 0) return ret;
849
static int r_Step_4(struct SN_env * z) {
851
z->ket = z->c; /* [, line 140 */
852
among_var = find_among_b(z, a_7, 18); /* substring, line 140 */
853
if (!(among_var)) return 0;
854
z->bra = z->c; /* ], line 140 */
856
if (ret == 0) return 0; /* call R2, line 140 */
857
if (ret < 0) return ret;
863
ret = slice_del(z); /* delete, line 143 */
864
if (ret < 0) return ret;
868
{ int m = z->l - z->c; (void) m; /* or, line 144 */
869
if (!(eq_s_b(z, 1, s_34))) goto lab1;
873
if (!(eq_s_b(z, 1, s_35))) return 0;
877
ret = slice_del(z); /* delete, line 144 */
878
if (ret < 0) return ret;
885
static int r_Step_5(struct SN_env * z) {
887
z->ket = z->c; /* [, line 149 */
888
among_var = find_among_b(z, a_8, 2); /* substring, line 149 */
889
if (!(among_var)) return 0;
890
z->bra = z->c; /* ], line 149 */
894
{ int m = z->l - z->c; (void) m; /* or, line 150 */
896
if (ret == 0) goto lab1; /* call R2, line 150 */
897
if (ret < 0) return ret;
903
if (ret == 0) return 0; /* call R1, line 150 */
904
if (ret < 0) return ret;
906
{ int m = z->l - z->c; (void) m; /* not, line 150 */
907
{ int ret = r_shortv(z);
908
if (ret == 0) goto lab2; /* call shortv, line 150 */
909
if (ret < 0) return ret;
918
ret = slice_del(z); /* delete, line 150 */
919
if (ret < 0) return ret;
924
if (ret == 0) return 0; /* call R2, line 151 */
925
if (ret < 0) return ret;
927
if (!(eq_s_b(z, 1, s_36))) return 0;
929
ret = slice_del(z); /* delete, line 151 */
930
if (ret < 0) return ret;
937
static int r_exception2(struct SN_env * z) {
938
z->ket = z->c; /* [, line 157 */
939
if (!(find_among_b(z, a_9, 8))) return 0; /* substring, line 157 */
940
z->bra = z->c; /* ], line 157 */
941
if (z->c > z->lb) return 0; /* atlimit, line 157 */
945
static int r_exception1(struct SN_env * z) {
947
z->bra = z->c; /* [, line 169 */
948
among_var = find_among(z, a_10, 18); /* substring, line 169 */
949
if (!(among_var)) return 0;
950
z->ket = z->c; /* ], line 169 */
951
if (z->c < z->l) return 0; /* atlimit, line 169 */
956
ret = slice_from_s(z, 3, s_37); /* <-, line 173 */
957
if (ret < 0) return ret;
962
ret = slice_from_s(z, 3, s_38); /* <-, line 174 */
963
if (ret < 0) return ret;
968
ret = slice_from_s(z, 3, s_39); /* <-, line 175 */
969
if (ret < 0) return ret;
974
ret = slice_from_s(z, 3, s_40); /* <-, line 176 */
975
if (ret < 0) return ret;
980
ret = slice_from_s(z, 3, s_41); /* <-, line 177 */
981
if (ret < 0) return ret;
986
ret = slice_from_s(z, 3, s_42); /* <-, line 181 */
987
if (ret < 0) return ret;
992
ret = slice_from_s(z, 5, s_43); /* <-, line 182 */
993
if (ret < 0) return ret;
998
ret = slice_from_s(z, 4, s_44); /* <-, line 183 */
999
if (ret < 0) return ret;
1004
ret = slice_from_s(z, 5, s_45); /* <-, line 184 */
1005
if (ret < 0) return ret;
1010
ret = slice_from_s(z, 4, s_46); /* <-, line 185 */
1011
if (ret < 0) return ret;
1016
ret = slice_from_s(z, 5, s_47); /* <-, line 186 */
1017
if (ret < 0) return ret;
1024
static int r_postlude(struct SN_env * z) {
1025
if (!(z->B[0])) return 0; /* Boolean test Y_found, line 202 */
1026
while(1) { /* repeat, line 202 */
1028
while(1) { /* goto, line 202 */
1030
z->bra = z->c; /* [, line 202 */
1031
if (!(eq_s(z, 1, s_48))) goto lab1;
1032
z->ket = z->c; /* ], line 202 */
1037
{ int c = skip_utf8(z->p, z->c, 0, z->l, 1);
1038
if (c < 0) goto lab0;
1039
z->c = c; /* goto, line 202 */
1043
ret = slice_from_s(z, 1, s_49); /* <-, line 202 */
1044
if (ret < 0) return ret;
1054
extern int english_UTF_8_stem(struct SN_env * z) {
1055
{ int c = z->c; /* or, line 206 */
1056
{ int ret = r_exception1(z);
1057
if (ret == 0) goto lab1; /* call exception1, line 206 */
1058
if (ret < 0) return ret;
1063
{ int c = z->c; /* not, line 207 */
1064
{ int c = skip_utf8(z->p, z->c, 0, z->l, + 3);
1065
if (c < 0) goto lab3;
1066
z->c = c; /* hop, line 207 */
1075
{ int c = z->c; /* do, line 208 */
1076
{ int ret = r_prelude(z);
1077
if (ret == 0) goto lab4; /* call prelude, line 208 */
1078
if (ret < 0) return ret;
1083
{ int c = z->c; /* do, line 209 */
1084
{ int ret = r_mark_regions(z);
1085
if (ret == 0) goto lab5; /* call mark_regions, line 209 */
1086
if (ret < 0) return ret;
1091
z->lb = z->c; z->c = z->l; /* backwards, line 210 */
1093
{ int m = z->l - z->c; (void) m; /* do, line 212 */
1094
{ int ret = r_Step_1a(z);
1095
if (ret == 0) goto lab6; /* call Step_1a, line 212 */
1096
if (ret < 0) return ret;
1101
{ int m = z->l - z->c; (void) m; /* or, line 214 */
1102
{ int ret = r_exception2(z);
1103
if (ret == 0) goto lab8; /* call exception2, line 214 */
1104
if (ret < 0) return ret;
1109
{ int m = z->l - z->c; (void) m; /* do, line 216 */
1110
{ int ret = r_Step_1b(z);
1111
if (ret == 0) goto lab9; /* call Step_1b, line 216 */
1112
if (ret < 0) return ret;
1117
{ int m = z->l - z->c; (void) m; /* do, line 217 */
1118
{ int ret = r_Step_1c(z);
1119
if (ret == 0) goto lab10; /* call Step_1c, line 217 */
1120
if (ret < 0) return ret;
1125
{ int m = z->l - z->c; (void) m; /* do, line 219 */
1126
{ int ret = r_Step_2(z);
1127
if (ret == 0) goto lab11; /* call Step_2, line 219 */
1128
if (ret < 0) return ret;
1133
{ int m = z->l - z->c; (void) m; /* do, line 220 */
1134
{ int ret = r_Step_3(z);
1135
if (ret == 0) goto lab12; /* call Step_3, line 220 */
1136
if (ret < 0) return ret;
1141
{ int m = z->l - z->c; (void) m; /* do, line 221 */
1142
{ int ret = r_Step_4(z);
1143
if (ret == 0) goto lab13; /* call Step_4, line 221 */
1144
if (ret < 0) return ret;
1149
{ int m = z->l - z->c; (void) m; /* do, line 223 */
1150
{ int ret = r_Step_5(z);
1151
if (ret == 0) goto lab14; /* call Step_5, line 223 */
1152
if (ret < 0) return ret;
1160
{ int c = z->c; /* do, line 226 */
1161
{ int ret = r_postlude(z);
1162
if (ret == 0) goto lab15; /* call postlude, line 226 */
1163
if (ret < 0) return ret;
1173
extern struct SN_env * english_UTF_8_create_env(void) { return SN_create_env(0, 2, 1); }
1175
extern void english_UTF_8_close_env(struct SN_env * z) { SN_close_env(z); }