PostgreSQL Source Code git master
stem_UTF_8_english.c
Go to the documentation of this file.
1/* Generated from english.sbl by Snowball 3.0.0 - https://snowballstem.org/ */
2
4
5#include <stddef.h>
6
7#include "snowball_runtime.h"
8
9struct SN_local {
10 struct SN_env z;
11 int i_p2;
12 int i_p1;
13 unsigned char b_Y_found;
14};
15
16typedef struct SN_local SN_local;
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21extern int english_UTF_8_stem(struct SN_env * z);
22#ifdef __cplusplus
23}
24#endif
25
26static int r_exception1(struct SN_env * z);
27static int r_Step_5(struct SN_env * z);
28static int r_Step_4(struct SN_env * z);
29static int r_Step_3(struct SN_env * z);
30static int r_Step_2(struct SN_env * z);
31static int r_Step_1c(struct SN_env * z);
32static int r_Step_1b(struct SN_env * z);
33static int r_Step_1a(struct SN_env * z);
34static int r_R2(struct SN_env * z);
35static int r_R1(struct SN_env * z);
36static int r_shortv(struct SN_env * z);
37static int r_mark_regions(struct SN_env * z);
38static int r_postlude(struct SN_env * z);
39static int r_prelude(struct SN_env * z);
40
41static const symbol s_0[] = { 'Y' };
42static const symbol s_1[] = { 'Y' };
43static const symbol s_2[] = { 'p', 'a', 's', 't' };
44static const symbol s_3[] = { 's', 's' };
45static const symbol s_4[] = { 'i' };
46static const symbol s_5[] = { 'i', 'e' };
47static const symbol s_6[] = { 'e', 'e' };
48static const symbol s_7[] = { 'i', 'e' };
49static const symbol s_8[] = { 'e' };
50static const symbol s_9[] = { 'e' };
51static const symbol s_10[] = { 'i' };
52static const symbol s_11[] = { 't', 'i', 'o', 'n' };
53static const symbol s_12[] = { 'e', 'n', 'c', 'e' };
54static const symbol s_13[] = { 'a', 'n', 'c', 'e' };
55static const symbol s_14[] = { 'a', 'b', 'l', 'e' };
56static const symbol s_15[] = { 'e', 'n', 't' };
57static const symbol s_16[] = { 'i', 'z', 'e' };
58static const symbol s_17[] = { 'a', 't', 'e' };
59static const symbol s_18[] = { 'a', 'l' };
60static const symbol s_19[] = { 'f', 'u', 'l' };
61static const symbol s_20[] = { 'o', 'u', 's' };
62static const symbol s_21[] = { 'i', 'v', 'e' };
63static const symbol s_22[] = { 'b', 'l', 'e' };
64static const symbol s_23[] = { 'o', 'g' };
65static const symbol s_24[] = { 'o', 'g' };
66static const symbol s_25[] = { 'l', 'e', 's', 's' };
67static const symbol s_26[] = { 't', 'i', 'o', 'n' };
68static const symbol s_27[] = { 'a', 't', 'e' };
69static const symbol s_28[] = { 'a', 'l' };
70static const symbol s_29[] = { 'i', 'c' };
71static const symbol s_30[] = { 's', 'k', 'i' };
72static const symbol s_31[] = { 's', 'k', 'y' };
73static const symbol s_32[] = { 'i', 'd', 'l' };
74static const symbol s_33[] = { 'g', 'e', 'n', 't', 'l' };
75static const symbol s_34[] = { 'u', 'g', 'l', 'i' };
76static const symbol s_35[] = { 'e', 'a', 'r', 'l', 'i' };
77static const symbol s_36[] = { 'o', 'n', 'l', 'i' };
78static const symbol s_37[] = { 's', 'i', 'n', 'g', 'l' };
79static const symbol s_38[] = { 'y' };
80
81static const symbol s_0_0[5] = { 'a', 'r', 's', 'e', 'n' };
82static const symbol s_0_1[6] = { 'c', 'o', 'm', 'm', 'u', 'n' };
83static const symbol s_0_2[5] = { 'e', 'm', 'e', 'r', 'g' };
84static const symbol s_0_3[5] = { 'g', 'e', 'n', 'e', 'r' };
85static const symbol s_0_4[5] = { 'i', 'n', 't', 'e', 'r' };
86static const symbol s_0_5[5] = { 'l', 'a', 't', 'e', 'r' };
87static const symbol s_0_6[5] = { 'o', 'r', 'g', 'a', 'n' };
88static const symbol s_0_7[4] = { 'p', 'a', 's', 't' };
89static const symbol s_0_8[7] = { 'u', 'n', 'i', 'v', 'e', 'r', 's' };
90static const struct among a_0[9] = {
91{ 5, s_0_0, 0, -1, 0},
92{ 6, s_0_1, 0, -1, 0},
93{ 5, s_0_2, 0, -1, 0},
94{ 5, s_0_3, 0, -1, 0},
95{ 5, s_0_4, 0, -1, 0},
96{ 5, s_0_5, 0, -1, 0},
97{ 5, s_0_6, 0, -1, 0},
98{ 4, s_0_7, 0, -1, 0},
99{ 7, s_0_8, 0, -1, 0}
100};
101
102static const symbol s_1_0[1] = { '\'' };
103static const symbol s_1_1[3] = { '\'', 's', '\'' };
104static const symbol s_1_2[2] = { '\'', 's' };
105static const struct among a_1[3] = {
106{ 1, s_1_0, 0, 1, 0},
107{ 3, s_1_1, -1, 1, 0},
108{ 2, s_1_2, 0, 1, 0}
109};
110
111static const symbol s_2_0[3] = { 'i', 'e', 'd' };
112static const symbol s_2_1[1] = { 's' };
113static const symbol s_2_2[3] = { 'i', 'e', 's' };
114static const symbol s_2_3[4] = { 's', 's', 'e', 's' };
115static const symbol s_2_4[2] = { 's', 's' };
116static const symbol s_2_5[2] = { 'u', 's' };
117static const struct among a_2[6] = {
118{ 3, s_2_0, 0, 2, 0},
119{ 1, s_2_1, 0, 3, 0},
120{ 3, s_2_2, -1, 2, 0},
121{ 4, s_2_3, -2, 1, 0},
122{ 2, s_2_4, -3, -1, 0},
123{ 2, s_2_5, -4, -1, 0}
124};
125
126static const symbol s_3_0[4] = { 's', 'u', 'c', 'c' };
127static const symbol s_3_1[4] = { 'p', 'r', 'o', 'c' };
128static const symbol s_3_2[3] = { 'e', 'x', 'c' };
129static const struct among a_3[3] = {
130{ 4, s_3_0, 0, 1, 0},
131{ 4, s_3_1, 0, 1, 0},
132{ 3, s_3_2, 0, 1, 0}
133};
134
135static const symbol s_4_0[4] = { 'e', 'v', 'e', 'n' };
136static const symbol s_4_1[4] = { 'c', 'a', 'n', 'n' };
137static const symbol s_4_2[3] = { 'i', 'n', 'n' };
138static const symbol s_4_3[4] = { 'e', 'a', 'r', 'r' };
139static const symbol s_4_4[4] = { 'h', 'e', 'r', 'r' };
140static const symbol s_4_5[3] = { 'o', 'u', 't' };
141static const symbol s_4_6[1] = { 'y' };
142static const struct among a_4[7] = {
143{ 4, s_4_0, 0, 2, 0},
144{ 4, s_4_1, 0, 2, 0},
145{ 3, s_4_2, 0, 2, 0},
146{ 4, s_4_3, 0, 2, 0},
147{ 4, s_4_4, 0, 2, 0},
148{ 3, s_4_5, 0, 2, 0},
149{ 1, s_4_6, 0, 1, 0}
150};
151
152static const symbol s_5_1[2] = { 'e', 'd' };
153static const symbol s_5_2[3] = { 'e', 'e', 'd' };
154static const symbol s_5_3[3] = { 'i', 'n', 'g' };
155static const symbol s_5_4[4] = { 'e', 'd', 'l', 'y' };
156static const symbol s_5_5[5] = { 'e', 'e', 'd', 'l', 'y' };
157static const symbol s_5_6[5] = { 'i', 'n', 'g', 'l', 'y' };
158static const struct among a_5[7] = {
159{ 0, 0, 0, -1, 0},
160{ 2, s_5_1, -1, 2, 0},
161{ 3, s_5_2, -1, 1, 0},
162{ 3, s_5_3, -3, 3, 0},
163{ 4, s_5_4, -4, 2, 0},
164{ 5, s_5_5, -1, 1, 0},
165{ 5, s_5_6, -6, 2, 0}
166};
167
168static const symbol s_6_1[2] = { 'b', 'b' };
169static const symbol s_6_2[2] = { 'd', 'd' };
170static const symbol s_6_3[2] = { 'f', 'f' };
171static const symbol s_6_4[2] = { 'g', 'g' };
172static const symbol s_6_5[2] = { 'b', 'l' };
173static const symbol s_6_6[2] = { 'm', 'm' };
174static const symbol s_6_7[2] = { 'n', 'n' };
175static const symbol s_6_8[2] = { 'p', 'p' };
176static const symbol s_6_9[2] = { 'r', 'r' };
177static const symbol s_6_10[2] = { 'a', 't' };
178static const symbol s_6_11[2] = { 't', 't' };
179static const symbol s_6_12[2] = { 'i', 'z' };
180static const struct among a_6[13] = {
181{ 0, 0, 0, 3, 0},
182{ 2, s_6_1, -1, 2, 0},
183{ 2, s_6_2, -2, 2, 0},
184{ 2, s_6_3, -3, 2, 0},
185{ 2, s_6_4, -4, 2, 0},
186{ 2, s_6_5, -5, 1, 0},
187{ 2, s_6_6, -6, 2, 0},
188{ 2, s_6_7, -7, 2, 0},
189{ 2, s_6_8, -8, 2, 0},
190{ 2, s_6_9, -9, 2, 0},
191{ 2, s_6_10, -10, 1, 0},
192{ 2, s_6_11, -11, 2, 0},
193{ 2, s_6_12, -12, 1, 0}
194};
195
196static const symbol s_7_0[4] = { 'a', 'n', 'c', 'i' };
197static const symbol s_7_1[4] = { 'e', 'n', 'c', 'i' };
198static const symbol s_7_2[3] = { 'o', 'g', 'i' };
199static const symbol s_7_3[2] = { 'l', 'i' };
200static const symbol s_7_4[3] = { 'b', 'l', 'i' };
201static const symbol s_7_5[4] = { 'a', 'b', 'l', 'i' };
202static const symbol s_7_6[4] = { 'a', 'l', 'l', 'i' };
203static const symbol s_7_7[5] = { 'f', 'u', 'l', 'l', 'i' };
204static const symbol s_7_8[6] = { 'l', 'e', 's', 's', 'l', 'i' };
205static const symbol s_7_9[5] = { 'o', 'u', 's', 'l', 'i' };
206static const symbol s_7_10[5] = { 'e', 'n', 't', 'l', 'i' };
207static const symbol s_7_11[5] = { 'a', 'l', 'i', 't', 'i' };
208static const symbol s_7_12[6] = { 'b', 'i', 'l', 'i', 't', 'i' };
209static const symbol s_7_13[5] = { 'i', 'v', 'i', 't', 'i' };
210static const symbol s_7_14[6] = { 't', 'i', 'o', 'n', 'a', 'l' };
211static const symbol s_7_15[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' };
212static const symbol s_7_16[5] = { 'a', 'l', 'i', 's', 'm' };
213static const symbol s_7_17[5] = { 'a', 't', 'i', 'o', 'n' };
214static const symbol s_7_18[7] = { 'i', 'z', 'a', 't', 'i', 'o', 'n' };
215static const symbol s_7_19[4] = { 'i', 'z', 'e', 'r' };
216static const symbol s_7_20[4] = { 'a', 't', 'o', 'r' };
217static const symbol s_7_21[7] = { 'i', 'v', 'e', 'n', 'e', 's', 's' };
218static const symbol s_7_22[7] = { 'f', 'u', 'l', 'n', 'e', 's', 's' };
219static const symbol s_7_23[7] = { 'o', 'u', 's', 'n', 'e', 's', 's' };
220static const symbol s_7_24[5] = { 'o', 'g', 'i', 's', 't' };
221static const struct among a_7[25] = {
222{ 4, s_7_0, 0, 3, 0},
223{ 4, s_7_1, 0, 2, 0},
224{ 3, s_7_2, 0, 14, 0},
225{ 2, s_7_3, 0, 16, 0},
226{ 3, s_7_4, -1, 12, 0},
227{ 4, s_7_5, -1, 4, 0},
228{ 4, s_7_6, -3, 8, 0},
229{ 5, s_7_7, -4, 9, 0},
230{ 6, s_7_8, -5, 15, 0},
231{ 5, s_7_9, -6, 10, 0},
232{ 5, s_7_10, -7, 5, 0},
233{ 5, s_7_11, 0, 8, 0},
234{ 6, s_7_12, 0, 12, 0},
235{ 5, s_7_13, 0, 11, 0},
236{ 6, s_7_14, 0, 1, 0},
237{ 7, s_7_15, -1, 7, 0},
238{ 5, s_7_16, 0, 8, 0},
239{ 5, s_7_17, 0, 7, 0},
240{ 7, s_7_18, -1, 6, 0},
241{ 4, s_7_19, 0, 6, 0},
242{ 4, s_7_20, 0, 7, 0},
243{ 7, s_7_21, 0, 11, 0},
244{ 7, s_7_22, 0, 9, 0},
245{ 7, s_7_23, 0, 10, 0},
246{ 5, s_7_24, 0, 13, 0}
247};
248
249static const symbol s_8_0[5] = { 'i', 'c', 'a', 't', 'e' };
250static const symbol s_8_1[5] = { 'a', 't', 'i', 'v', 'e' };
251static const symbol s_8_2[5] = { 'a', 'l', 'i', 'z', 'e' };
252static const symbol s_8_3[5] = { 'i', 'c', 'i', 't', 'i' };
253static const symbol s_8_4[4] = { 'i', 'c', 'a', 'l' };
254static const symbol s_8_5[6] = { 't', 'i', 'o', 'n', 'a', 'l' };
255static const symbol s_8_6[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' };
256static const symbol s_8_7[3] = { 'f', 'u', 'l' };
257static const symbol s_8_8[4] = { 'n', 'e', 's', 's' };
258static const struct among a_8[9] = {
259{ 5, s_8_0, 0, 4, 0},
260{ 5, s_8_1, 0, 6, 0},
261{ 5, s_8_2, 0, 3, 0},
262{ 5, s_8_3, 0, 4, 0},
263{ 4, s_8_4, 0, 4, 0},
264{ 6, s_8_5, 0, 1, 0},
265{ 7, s_8_6, -1, 2, 0},
266{ 3, s_8_7, 0, 5, 0},
267{ 4, s_8_8, 0, 5, 0}
268};
269
270static const symbol s_9_0[2] = { 'i', 'c' };
271static const symbol s_9_1[4] = { 'a', 'n', 'c', 'e' };
272static const symbol s_9_2[4] = { 'e', 'n', 'c', 'e' };
273static const symbol s_9_3[4] = { 'a', 'b', 'l', 'e' };
274static const symbol s_9_4[4] = { 'i', 'b', 'l', 'e' };
275static const symbol s_9_5[3] = { 'a', 't', 'e' };
276static const symbol s_9_6[3] = { 'i', 'v', 'e' };
277static const symbol s_9_7[3] = { 'i', 'z', 'e' };
278static const symbol s_9_8[3] = { 'i', 't', 'i' };
279static const symbol s_9_9[2] = { 'a', 'l' };
280static const symbol s_9_10[3] = { 'i', 's', 'm' };
281static const symbol s_9_11[3] = { 'i', 'o', 'n' };
282static const symbol s_9_12[2] = { 'e', 'r' };
283static const symbol s_9_13[3] = { 'o', 'u', 's' };
284static const symbol s_9_14[3] = { 'a', 'n', 't' };
285static const symbol s_9_15[3] = { 'e', 'n', 't' };
286static const symbol s_9_16[4] = { 'm', 'e', 'n', 't' };
287static const symbol s_9_17[5] = { 'e', 'm', 'e', 'n', 't' };
288static const struct among a_9[18] = {
289{ 2, s_9_0, 0, 1, 0},
290{ 4, s_9_1, 0, 1, 0},
291{ 4, s_9_2, 0, 1, 0},
292{ 4, s_9_3, 0, 1, 0},
293{ 4, s_9_4, 0, 1, 0},
294{ 3, s_9_5, 0, 1, 0},
295{ 3, s_9_6, 0, 1, 0},
296{ 3, s_9_7, 0, 1, 0},
297{ 3, s_9_8, 0, 1, 0},
298{ 2, s_9_9, 0, 1, 0},
299{ 3, s_9_10, 0, 1, 0},
300{ 3, s_9_11, 0, 2, 0},
301{ 2, s_9_12, 0, 1, 0},
302{ 3, s_9_13, 0, 1, 0},
303{ 3, s_9_14, 0, 1, 0},
304{ 3, s_9_15, 0, 1, 0},
305{ 4, s_9_16, -1, 1, 0},
306{ 5, s_9_17, -1, 1, 0}
307};
308
309static const symbol s_10_0[1] = { 'e' };
310static const symbol s_10_1[1] = { 'l' };
311static const struct among a_10[2] = {
312{ 1, s_10_0, 0, 1, 0},
313{ 1, s_10_1, 0, 2, 0}
314};
315
316static const symbol s_11_0[5] = { 'a', 'n', 'd', 'e', 's' };
317static const symbol s_11_1[5] = { 'a', 't', 'l', 'a', 's' };
318static const symbol s_11_2[4] = { 'b', 'i', 'a', 's' };
319static const symbol s_11_3[6] = { 'c', 'o', 's', 'm', 'o', 's' };
320static const symbol s_11_4[5] = { 'e', 'a', 'r', 'l', 'y' };
321static const symbol s_11_5[6] = { 'g', 'e', 'n', 't', 'l', 'y' };
322static const symbol s_11_6[4] = { 'h', 'o', 'w', 'e' };
323static const symbol s_11_7[4] = { 'i', 'd', 'l', 'y' };
324static const symbol s_11_8[4] = { 'n', 'e', 'w', 's' };
325static const symbol s_11_9[4] = { 'o', 'n', 'l', 'y' };
326static const symbol s_11_10[6] = { 's', 'i', 'n', 'g', 'l', 'y' };
327static const symbol s_11_11[5] = { 's', 'k', 'i', 'e', 's' };
328static const symbol s_11_12[4] = { 's', 'k', 'i', 's' };
329static const symbol s_11_13[3] = { 's', 'k', 'y' };
330static const symbol s_11_14[4] = { 'u', 'g', 'l', 'y' };
331static const struct among a_11[15] = {
332{ 5, s_11_0, 0, -1, 0},
333{ 5, s_11_1, 0, -1, 0},
334{ 4, s_11_2, 0, -1, 0},
335{ 6, s_11_3, 0, -1, 0},
336{ 5, s_11_4, 0, 6, 0},
337{ 6, s_11_5, 0, 4, 0},
338{ 4, s_11_6, 0, -1, 0},
339{ 4, s_11_7, 0, 3, 0},
340{ 4, s_11_8, 0, -1, 0},
341{ 4, s_11_9, 0, 7, 0},
342{ 6, s_11_10, 0, 8, 0},
343{ 5, s_11_11, 0, 2, 0},
344{ 4, s_11_12, 0, 1, 0},
345{ 3, s_11_13, 0, -1, 0},
346{ 4, s_11_14, 0, 5, 0}
347};
348
349static const unsigned char g_aeo[] = { 17, 64 };
350
351static const unsigned char g_v[] = { 17, 65, 16, 1 };
352
353static const unsigned char g_v_WXY[] = { 1, 17, 65, 208, 1 };
354
355static const unsigned char g_valid_LI[] = { 55, 141, 2 };
356
357static int r_prelude(struct SN_env * z) {
358 ((SN_local *)z)->b_Y_found = 0;
359 {
360 int v_1 = z->c;
361 z->bra = z->c;
362 if (z->c == z->l || z->p[z->c] != '\'') goto lab0;
363 z->c++;
364 z->ket = z->c;
365 {
366 int ret = slice_del(z);
367 if (ret < 0) return ret;
368 }
369 lab0:
370 z->c = v_1;
371 }
372 {
373 int v_2 = z->c;
374 z->bra = z->c;
375 if (z->c == z->l || z->p[z->c] != 'y') goto lab1;
376 z->c++;
377 z->ket = z->c;
378 {
379 int ret = slice_from_s(z, 1, s_0);
380 if (ret < 0) return ret;
381 }
382 ((SN_local *)z)->b_Y_found = 1;
383 lab1:
384 z->c = v_2;
385 }
386 {
387 int v_3 = z->c;
388 while (1) {
389 int v_4 = z->c;
390 while (1) {
391 int v_5 = z->c;
392 if (in_grouping_U(z, g_v, 97, 121, 0)) goto lab4;
393 z->bra = z->c;
394 if (z->c == z->l || z->p[z->c] != 'y') goto lab4;
395 z->c++;
396 z->ket = z->c;
397 z->c = v_5;
398 break;
399 lab4:
400 z->c = v_5;
401 {
402 int ret = skip_utf8(z->p, z->c, z->l, 1);
403 if (ret < 0) goto lab3;
404 z->c = ret;
405 }
406 }
407 {
408 int ret = slice_from_s(z, 1, s_1);
409 if (ret < 0) return ret;
410 }
411 ((SN_local *)z)->b_Y_found = 1;
412 continue;
413 lab3:
414 z->c = v_4;
415 break;
416 }
417 z->c = v_3;
418 }
419 return 1;
420}
421
422static int r_mark_regions(struct SN_env * z) {
423 ((SN_local *)z)->i_p1 = z->l;
424 ((SN_local *)z)->i_p2 = z->l;
425 {
426 int v_1 = z->c;
427 do {
428 int v_2 = z->c;
429 if (z->c + 3 >= z->l || z->p[z->c + 3] >> 5 != 3 || !((5513250 >> (z->p[z->c + 3] & 0x1f)) & 1)) goto lab1;
430 if (!find_among(z, a_0, 9, 0)) goto lab1;
431 break;
432 lab1:
433 z->c = v_2;
434 {
435 int ret = out_grouping_U(z, g_v, 97, 121, 1);
436 if (ret < 0) goto lab0;
437 z->c += ret;
438 }
439 {
440 int ret = in_grouping_U(z, g_v, 97, 121, 1);
441 if (ret < 0) goto lab0;
442 z->c += ret;
443 }
444 } while (0);
445 ((SN_local *)z)->i_p1 = z->c;
446 {
447 int ret = out_grouping_U(z, g_v, 97, 121, 1);
448 if (ret < 0) goto lab0;
449 z->c += ret;
450 }
451 {
452 int ret = in_grouping_U(z, g_v, 97, 121, 1);
453 if (ret < 0) goto lab0;
454 z->c += ret;
455 }
456 ((SN_local *)z)->i_p2 = z->c;
457 lab0:
458 z->c = v_1;
459 }
460 return 1;
461}
462
463static int r_shortv(struct SN_env * z) {
464 do {
465 int v_1 = z->l - z->c;
466 if (out_grouping_b_U(z, g_v_WXY, 89, 121, 0)) goto lab0;
467 if (in_grouping_b_U(z, g_v, 97, 121, 0)) goto lab0;
468 if (out_grouping_b_U(z, g_v, 97, 121, 0)) goto lab0;
469 break;
470 lab0:
471 z->c = z->l - v_1;
472 if (out_grouping_b_U(z, g_v, 97, 121, 0)) goto lab1;
473 if (in_grouping_b_U(z, g_v, 97, 121, 0)) goto lab1;
474 if (z->c > z->lb) goto lab1;
475 break;
476 lab1:
477 z->c = z->l - v_1;
478 if (!(eq_s_b(z, 4, s_2))) return 0;
479 } while (0);
480 return 1;
481}
482
483static int r_R1(struct SN_env * z) {
484 return ((SN_local *)z)->i_p1 <= z->c;
485}
486
487static int r_R2(struct SN_env * z) {
488 return ((SN_local *)z)->i_p2 <= z->c;
489}
490
491static int r_Step_1a(struct SN_env * z) {
492 int among_var;
493 {
494 int v_1 = z->l - z->c;
495 z->ket = z->c;
496 if (z->c <= z->lb || (z->p[z->c - 1] != 39 && z->p[z->c - 1] != 115)) { z->c = z->l - v_1; goto lab0; }
497 if (!find_among_b(z, a_1, 3, 0)) { z->c = z->l - v_1; goto lab0; }
498 z->bra = z->c;
499 {
500 int ret = slice_del(z);
501 if (ret < 0) return ret;
502 }
503 lab0:
504 ;
505 }
506 z->ket = z->c;
507 if (z->c <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 115)) return 0;
508 among_var = find_among_b(z, a_2, 6, 0);
509 if (!among_var) return 0;
510 z->bra = z->c;
511 switch (among_var) {
512 case 1:
513 {
514 int ret = slice_from_s(z, 2, s_3);
515 if (ret < 0) return ret;
516 }
517 break;
518 case 2:
519 do {
520 int v_2 = z->l - z->c;
521 {
522 int ret = skip_b_utf8(z->p, z->c, z->lb, 2);
523 if (ret < 0) goto lab1;
524 z->c = ret;
525 }
526 {
527 int ret = slice_from_s(z, 1, s_4);
528 if (ret < 0) return ret;
529 }
530 break;
531 lab1:
532 z->c = z->l - v_2;
533 {
534 int ret = slice_from_s(z, 2, s_5);
535 if (ret < 0) return ret;
536 }
537 } while (0);
538 break;
539 case 3:
540 {
541 int ret = skip_b_utf8(z->p, z->c, z->lb, 1);
542 if (ret < 0) return 0;
543 z->c = ret;
544 }
545 {
546 int ret = out_grouping_b_U(z, g_v, 97, 121, 1);
547 if (ret < 0) return 0;
548 z->c -= ret;
549 }
550 {
551 int ret = slice_del(z);
552 if (ret < 0) return ret;
553 }
554 break;
555 }
556 return 1;
557}
558
559static int r_Step_1b(struct SN_env * z) {
560 int among_var;
561 z->ket = z->c;
562 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((33554576 >> (z->p[z->c - 1] & 0x1f)) & 1)) among_var = -1; else
563 among_var = find_among_b(z, a_5, 7, 0);
564 z->bra = z->c;
565 do {
566 int v_1 = z->l - z->c;
567 switch (among_var) {
568 case 1:
569 {
570 int v_2 = z->l - z->c;
571 {
572 int ret = r_R1(z);
573 if (ret == 0) goto lab1;
574 if (ret < 0) return ret;
575 }
576 do {
577 int v_3 = z->l - z->c;
578 if (z->c - 2 <= z->lb || z->p[z->c - 1] != 99) goto lab2;
579 if (!find_among_b(z, a_3, 3, 0)) goto lab2;
580 if (z->c > z->lb) goto lab2;
581 break;
582 lab2:
583 z->c = z->l - v_3;
584 {
585 int ret = slice_from_s(z, 2, s_6);
586 if (ret < 0) return ret;
587 }
588 } while (0);
589 lab1:
590 z->c = z->l - v_2;
591 }
592 break;
593 case 2:
594 goto lab0;
595 break;
596 case 3:
597 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((34881536 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab0;
598 among_var = find_among_b(z, a_4, 7, 0);
599 if (!among_var) goto lab0;
600 switch (among_var) {
601 case 1:
602 {
603 int v_4 = z->l - z->c;
604 if (out_grouping_b_U(z, g_v, 97, 121, 0)) goto lab0;
605 if (z->c > z->lb) goto lab0;
606 z->c = z->l - v_4;
607 }
608 z->bra = z->c;
609 {
610 int ret = slice_from_s(z, 2, s_7);
611 if (ret < 0) return ret;
612 }
613 break;
614 case 2:
615 if (z->c > z->lb) goto lab0;
616 break;
617 }
618 break;
619 }
620 break;
621 lab0:
622 z->c = z->l - v_1;
623 {
624 int v_5 = z->l - z->c;
625 {
626 int ret = out_grouping_b_U(z, g_v, 97, 121, 1);
627 if (ret < 0) return 0;
628 z->c -= ret;
629 }
630 z->c = z->l - v_5;
631 }
632 {
633 int ret = slice_del(z);
634 if (ret < 0) return ret;
635 }
636 z->ket = z->c;
637 z->bra = z->c;
638 {
639 int v_6 = z->l - z->c;
640 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68514004 >> (z->p[z->c - 1] & 0x1f)) & 1)) among_var = 3; else
641 among_var = find_among_b(z, a_6, 13, 0);
642 switch (among_var) {
643 case 1:
644 {
645 int ret = slice_from_s(z, 1, s_8);
646 if (ret < 0) return ret;
647 }
648 return 0;
649 break;
650 case 2:
651 {
652 int v_7 = z->l - z->c;
653 if (in_grouping_b_U(z, g_aeo, 97, 111, 0)) goto lab3;
654 if (z->c > z->lb) goto lab3;
655 return 0;
656 lab3:
657 z->c = z->l - v_7;
658 }
659 break;
660 case 3:
661 if (z->c != ((SN_local *)z)->i_p1) return 0;
662 {
663 int v_8 = z->l - z->c;
664 {
665 int ret = r_shortv(z);
666 if (ret <= 0) return ret;
667 }
668 z->c = z->l - v_8;
669 }
670 {
671 int ret = slice_from_s(z, 1, s_9);
672 if (ret < 0) return ret;
673 }
674 return 0;
675 break;
676 }
677 z->c = z->l - v_6;
678 }
679 z->ket = z->c;
680 {
681 int ret = skip_b_utf8(z->p, z->c, z->lb, 1);
682 if (ret < 0) return 0;
683 z->c = ret;
684 }
685 z->bra = z->c;
686 {
687 int ret = slice_del(z);
688 if (ret < 0) return ret;
689 }
690 } while (0);
691 return 1;
692}
693
694static int r_Step_1c(struct SN_env * z) {
695 z->ket = z->c;
696 do {
697 int v_1 = z->l - z->c;
698 if (z->c <= z->lb || z->p[z->c - 1] != 'y') goto lab0;
699 z->c--;
700 break;
701 lab0:
702 z->c = z->l - v_1;
703 if (z->c <= z->lb || z->p[z->c - 1] != 'Y') return 0;
704 z->c--;
705 } while (0);
706 z->bra = z->c;
707 if (out_grouping_b_U(z, g_v, 97, 121, 0)) return 0;
708 if (z->c > z->lb) goto lab1;
709 return 0;
710lab1:
711 {
712 int ret = slice_from_s(z, 1, s_10);
713 if (ret < 0) return ret;
714 }
715 return 1;
716}
717
718static int r_Step_2(struct SN_env * z) {
719 int among_var;
720 z->ket = z->c;
721 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1864192 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
722 among_var = find_among_b(z, a_7, 25, 0);
723 if (!among_var) return 0;
724 z->bra = z->c;
725 {
726 int ret = r_R1(z);
727 if (ret <= 0) return ret;
728 }
729 switch (among_var) {
730 case 1:
731 {
732 int ret = slice_from_s(z, 4, s_11);
733 if (ret < 0) return ret;
734 }
735 break;
736 case 2:
737 {
738 int ret = slice_from_s(z, 4, s_12);
739 if (ret < 0) return ret;
740 }
741 break;
742 case 3:
743 {
744 int ret = slice_from_s(z, 4, s_13);
745 if (ret < 0) return ret;
746 }
747 break;
748 case 4:
749 {
750 int ret = slice_from_s(z, 4, s_14);
751 if (ret < 0) return ret;
752 }
753 break;
754 case 5:
755 {
756 int ret = slice_from_s(z, 3, s_15);
757 if (ret < 0) return ret;
758 }
759 break;
760 case 6:
761 {
762 int ret = slice_from_s(z, 3, s_16);
763 if (ret < 0) return ret;
764 }
765 break;
766 case 7:
767 {
768 int ret = slice_from_s(z, 3, s_17);
769 if (ret < 0) return ret;
770 }
771 break;
772 case 8:
773 {
774 int ret = slice_from_s(z, 2, s_18);
775 if (ret < 0) return ret;
776 }
777 break;
778 case 9:
779 {
780 int ret = slice_from_s(z, 3, s_19);
781 if (ret < 0) return ret;
782 }
783 break;
784 case 10:
785 {
786 int ret = slice_from_s(z, 3, s_20);
787 if (ret < 0) return ret;
788 }
789 break;
790 case 11:
791 {
792 int ret = slice_from_s(z, 3, s_21);
793 if (ret < 0) return ret;
794 }
795 break;
796 case 12:
797 {
798 int ret = slice_from_s(z, 3, s_22);
799 if (ret < 0) return ret;
800 }
801 break;
802 case 13:
803 {
804 int ret = slice_from_s(z, 2, s_23);
805 if (ret < 0) return ret;
806 }
807 break;
808 case 14:
809 if (z->c <= z->lb || z->p[z->c - 1] != 'l') return 0;
810 z->c--;
811 {
812 int ret = slice_from_s(z, 2, s_24);
813 if (ret < 0) return ret;
814 }
815 break;
816 case 15:
817 {
818 int ret = slice_from_s(z, 4, s_25);
819 if (ret < 0) return ret;
820 }
821 break;
822 case 16:
823 if (in_grouping_b_U(z, g_valid_LI, 99, 116, 0)) return 0;
824 {
825 int ret = slice_del(z);
826 if (ret < 0) return ret;
827 }
828 break;
829 }
830 return 1;
831}
832
833static int r_Step_3(struct SN_env * z) {
834 int among_var;
835 z->ket = z->c;
836 if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((528928 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
837 among_var = find_among_b(z, a_8, 9, 0);
838 if (!among_var) return 0;
839 z->bra = z->c;
840 {
841 int ret = r_R1(z);
842 if (ret <= 0) return ret;
843 }
844 switch (among_var) {
845 case 1:
846 {
847 int ret = slice_from_s(z, 4, s_26);
848 if (ret < 0) return ret;
849 }
850 break;
851 case 2:
852 {
853 int ret = slice_from_s(z, 3, s_27);
854 if (ret < 0) return ret;
855 }
856 break;
857 case 3:
858 {
859 int ret = slice_from_s(z, 2, s_28);
860 if (ret < 0) return ret;
861 }
862 break;
863 case 4:
864 {
865 int ret = slice_from_s(z, 2, s_29);
866 if (ret < 0) return ret;
867 }
868 break;
869 case 5:
870 {
871 int ret = slice_del(z);
872 if (ret < 0) return ret;
873 }
874 break;
875 case 6:
876 {
877 int ret = r_R2(z);
878 if (ret <= 0) return ret;
879 }
880 {
881 int ret = slice_del(z);
882 if (ret < 0) return ret;
883 }
884 break;
885 }
886 return 1;
887}
888
889static int r_Step_4(struct SN_env * z) {
890 int among_var;
891 z->ket = z->c;
892 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1864232 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
893 among_var = find_among_b(z, a_9, 18, 0);
894 if (!among_var) return 0;
895 z->bra = z->c;
896 {
897 int ret = r_R2(z);
898 if (ret <= 0) return ret;
899 }
900 switch (among_var) {
901 case 1:
902 {
903 int ret = slice_del(z);
904 if (ret < 0) return ret;
905 }
906 break;
907 case 2:
908 do {
909 int v_1 = z->l - z->c;
910 if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab0;
911 z->c--;
912 break;
913 lab0:
914 z->c = z->l - v_1;
915 if (z->c <= z->lb || z->p[z->c - 1] != 't') return 0;
916 z->c--;
917 } while (0);
918 {
919 int ret = slice_del(z);
920 if (ret < 0) return ret;
921 }
922 break;
923 }
924 return 1;
925}
926
927static int r_Step_5(struct SN_env * z) {
928 int among_var;
929 z->ket = z->c;
930 if (z->c <= z->lb || (z->p[z->c - 1] != 101 && z->p[z->c - 1] != 108)) return 0;
931 among_var = find_among_b(z, a_10, 2, 0);
932 if (!among_var) return 0;
933 z->bra = z->c;
934 switch (among_var) {
935 case 1:
936 do {
937 {
938 int ret = r_R2(z);
939 if (ret == 0) goto lab0;
940 if (ret < 0) return ret;
941 }
942 break;
943 lab0:
944 {
945 int ret = r_R1(z);
946 if (ret <= 0) return ret;
947 }
948 {
949 int v_1 = z->l - z->c;
950 {
951 int ret = r_shortv(z);
952 if (ret == 0) goto lab1;
953 if (ret < 0) return ret;
954 }
955 return 0;
956 lab1:
957 z->c = z->l - v_1;
958 }
959 } while (0);
960 {
961 int ret = slice_del(z);
962 if (ret < 0) return ret;
963 }
964 break;
965 case 2:
966 {
967 int ret = r_R2(z);
968 if (ret <= 0) return ret;
969 }
970 if (z->c <= z->lb || z->p[z->c - 1] != 'l') return 0;
971 z->c--;
972 {
973 int ret = slice_del(z);
974 if (ret < 0) return ret;
975 }
976 break;
977 }
978 return 1;
979}
980
981static int r_exception1(struct SN_env * z) {
982 int among_var;
983 z->bra = z->c;
984 if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3 || !((42750482 >> (z->p[z->c + 2] & 0x1f)) & 1)) return 0;
985 among_var = find_among(z, a_11, 15, 0);
986 if (!among_var) return 0;
987 z->ket = z->c;
988 if (z->c < z->l) return 0;
989 switch (among_var) {
990 case 1:
991 {
992 int ret = slice_from_s(z, 3, s_30);
993 if (ret < 0) return ret;
994 }
995 break;
996 case 2:
997 {
998 int ret = slice_from_s(z, 3, s_31);
999 if (ret < 0) return ret;
1000 }
1001 break;
1002 case 3:
1003 {
1004 int ret = slice_from_s(z, 3, s_32);
1005 if (ret < 0) return ret;
1006 }
1007 break;
1008 case 4:
1009 {
1010 int ret = slice_from_s(z, 5, s_33);
1011 if (ret < 0) return ret;
1012 }
1013 break;
1014 case 5:
1015 {
1016 int ret = slice_from_s(z, 4, s_34);
1017 if (ret < 0) return ret;
1018 }
1019 break;
1020 case 6:
1021 {
1022 int ret = slice_from_s(z, 5, s_35);
1023 if (ret < 0) return ret;
1024 }
1025 break;
1026 case 7:
1027 {
1028 int ret = slice_from_s(z, 4, s_36);
1029 if (ret < 0) return ret;
1030 }
1031 break;
1032 case 8:
1033 {
1034 int ret = slice_from_s(z, 5, s_37);
1035 if (ret < 0) return ret;
1036 }
1037 break;
1038 }
1039 return 1;
1040}
1041
1042static int r_postlude(struct SN_env * z) {
1043 if (!((SN_local *)z)->b_Y_found) return 0;
1044 while (1) {
1045 int v_1 = z->c;
1046 while (1) {
1047 int v_2 = z->c;
1048 z->bra = z->c;
1049 if (z->c == z->l || z->p[z->c] != 'Y') goto lab1;
1050 z->c++;
1051 z->ket = z->c;
1052 z->c = v_2;
1053 break;
1054 lab1:
1055 z->c = v_2;
1056 {
1057 int ret = skip_utf8(z->p, z->c, z->l, 1);
1058 if (ret < 0) goto lab0;
1059 z->c = ret;
1060 }
1061 }
1062 {
1063 int ret = slice_from_s(z, 1, s_38);
1064 if (ret < 0) return ret;
1065 }
1066 continue;
1067 lab0:
1068 z->c = v_1;
1069 break;
1070 }
1071 return 1;
1072}
1073
1074extern int english_UTF_8_stem(struct SN_env * z) {
1075 do {
1076 int v_1 = z->c;
1077 {
1078 int ret = r_exception1(z);
1079 if (ret == 0) goto lab0;
1080 if (ret < 0) return ret;
1081 }
1082 break;
1083 lab0:
1084 z->c = v_1;
1085 {
1086 int v_2 = z->c;
1087 {
1088 int ret = skip_utf8(z->p, z->c, z->l, 3);
1089 if (ret < 0) goto lab2;
1090 z->c = ret;
1091 }
1092 goto lab1;
1093 lab2:
1094 z->c = v_2;
1095 }
1096 break;
1097 lab1:
1098 z->c = v_1;
1099 {
1100 int ret = r_prelude(z);
1101 if (ret < 0) return ret;
1102 }
1103 {
1104 int ret = r_mark_regions(z);
1105 if (ret < 0) return ret;
1106 }
1107 z->lb = z->c; z->c = z->l;
1108 {
1109 int v_3 = z->l - z->c;
1110 {
1111 int ret = r_Step_1a(z);
1112 if (ret < 0) return ret;
1113 }
1114 z->c = z->l - v_3;
1115 }
1116 {
1117 int v_4 = z->l - z->c;
1118 {
1119 int ret = r_Step_1b(z);
1120 if (ret < 0) return ret;
1121 }
1122 z->c = z->l - v_4;
1123 }
1124 {
1125 int v_5 = z->l - z->c;
1126 {
1127 int ret = r_Step_1c(z);
1128 if (ret < 0) return ret;
1129 }
1130 z->c = z->l - v_5;
1131 }
1132 {
1133 int v_6 = z->l - z->c;
1134 {
1135 int ret = r_Step_2(z);
1136 if (ret < 0) return ret;
1137 }
1138 z->c = z->l - v_6;
1139 }
1140 {
1141 int v_7 = z->l - z->c;
1142 {
1143 int ret = r_Step_3(z);
1144 if (ret < 0) return ret;
1145 }
1146 z->c = z->l - v_7;
1147 }
1148 {
1149 int v_8 = z->l - z->c;
1150 {
1151 int ret = r_Step_4(z);
1152 if (ret < 0) return ret;
1153 }
1154 z->c = z->l - v_8;
1155 }
1156 {
1157 int v_9 = z->l - z->c;
1158 {
1159 int ret = r_Step_5(z);
1160 if (ret < 0) return ret;
1161 }
1162 z->c = z->l - v_9;
1163 }
1164 z->c = z->lb;
1165 {
1166 int v_10 = z->c;
1167 {
1168 int ret = r_postlude(z);
1169 if (ret < 0) return ret;
1170 }
1171 z->c = v_10;
1172 }
1173 } while (0);
1174 return 1;
1175}
1176
1177extern struct SN_env * english_UTF_8_create_env(void) {
1178 struct SN_env * z = SN_new_env(sizeof(SN_local));
1179 if (z) {
1180 ((SN_local *)z)->b_Y_found = 0;
1181 ((SN_local *)z)->i_p2 = 0;
1182 ((SN_local *)z)->i_p1 = 0;
1183 }
1184 return z;
1185}
1186
1187extern void english_UTF_8_close_env(struct SN_env * z) {
1188 SN_delete_env(z);
1189}
1190
void SN_delete_env(struct SN_env *z)
Definition: api.c:18
struct SN_env * SN_new_env(int alloc_size)
Definition: api.c:5
unsigned char symbol
Definition: api.h:4
static const struct among a_11[15]
static const struct among a_9[18]
static const symbol s_6_6[2]
static const symbol s_25[]
static const struct among a_7[25]
static const symbol s_2[]
static const symbol s_7_21[7]
static const symbol s_9_6[3]
static const symbol s_7_19[4]
static const symbol s_0_3[5]
static const symbol s_7_15[7]
static const symbol s_0_5[5]
static const symbol s_0_0[5]
static const symbol s_7_3[2]
static const symbol s_10_0[1]
static const symbol s_6_12[2]
static const symbol s_9_2[4]
static const symbol s_2_5[2]
static const symbol s_7_23[7]
static const symbol s_4[]
static const symbol s_3_2[3]
static const symbol s_7_13[5]
static const symbol s_9_0[2]
static const symbol s_11_8[4]
static const symbol s_7_9[5]
static const symbol s_30[]
static const symbol s_38[]
static const symbol s_10_1[1]
static int r_Step_3(struct SN_env *z)
static const symbol s_1_2[2]
static int r_Step_5(struct SN_env *z)
static const symbol s_0_6[5]
static const symbol s_6_9[2]
static const symbol s_4_3[4]
static const symbol s_9_4[4]
static const symbol s_11_1[5]
static const struct among a_5[7]
static const symbol s_9_13[3]
static const symbol s_29[]
static const symbol s_4_1[4]
static const symbol s_9_16[4]
static const struct among a_2[6]
static const symbol s_8_0[5]
static const symbol s_7_10[5]
static const symbol s_4_4[4]
static int r_exception1(struct SN_env *z)
static const symbol s_6_5[2]
static const symbol s_27[]
static const symbol s_9_12[2]
static const symbol s_7_18[7]
static const symbol s_3_0[4]
struct SN_env * english_UTF_8_create_env(void)
static const symbol s_6[]
static const symbol s_7_1[4]
static const symbol s_6_8[2]
static const symbol s_21[]
static const symbol s_3[]
static const symbol s_9_10[3]
static const symbol s_37[]
static const symbol s_7_14[6]
static const struct among a_3[3]
static const symbol s_8_3[5]
static int r_R2(struct SN_env *z)
static const symbol s_7_6[4]
static const symbol s_6_4[2]
static const symbol s_7[]
static const symbol s_7_16[5]
static const symbol s_32[]
static const symbol s_13[]
static const symbol s_7_7[5]
static const symbol s_7_24[5]
static const symbol s_11_4[5]
static const symbol s_20[]
static const symbol s_8_5[6]
static const symbol s_35[]
static const struct among a_10[2]
static const symbol s_9_3[4]
static const symbol s_7_8[6]
static const symbol s_19[]
static const symbol s_23[]
static const symbol s_5_3[3]
static const unsigned char g_valid_LI[]
static const symbol s_24[]
static const symbol s_4_5[3]
static int r_Step_1c(struct SN_env *z)
static const symbol s_11_11[5]
static const unsigned char g_v_WXY[]
static const symbol s_9_8[3]
static const symbol s_2_0[3]
static const symbol s_6_2[2]
static const symbol s_11_14[4]
static const symbol s_8_4[4]
static const symbol s_9_15[3]
static const symbol s_6_11[2]
static int r_R1(struct SN_env *z)
static const symbol s_9_9[2]
static const symbol s_16[]
static const symbol s_5_4[4]
static const struct among a_0[9]
static int r_postlude(struct SN_env *z)
static const symbol s_14[]
static const symbol s_4_0[4]
static const symbol s_22[]
static const symbol s_11_0[5]
static const symbol s_8_2[5]
static int r_prelude(struct SN_env *z)
static const symbol s_4_6[1]
void english_UTF_8_close_env(struct SN_env *z)
static const symbol s_8_7[3]
static const symbol s_9_11[3]
static const symbol s_0_7[4]
static const symbol s_10[]
int english_UTF_8_stem(struct SN_env *z)
static const symbol s_8_1[5]
static const struct among a_1[3]
static const symbol s_2_4[2]
static const unsigned char g_aeo[]
static const symbol s_7_22[7]
static const symbol s_1[]
static const symbol s_5_5[5]
static const symbol s_11_2[4]
static const symbol s_11_7[4]
static const symbol s_9_1[4]
static int r_Step_1a(struct SN_env *z)
static const symbol s_9_14[3]
static int r_shortv(struct SN_env *z)
static const symbol s_6_7[2]
static const symbol s_3_1[4]
static const symbol s_7_0[4]
static const symbol s_5_6[5]
static const symbol s_31[]
static const symbol s_1_0[1]
static const symbol s_7_12[6]
static const symbol s_2_2[3]
static const symbol s_0_8[7]
static const symbol s_11_3[6]
static int r_mark_regions(struct SN_env *z)
static const struct among a_8[9]
static const symbol s_11[]
static const symbol s_12[]
static const symbol s_6_1[2]
static const symbol s_6_10[2]
static const symbol s_36[]
static const symbol s_6_3[2]
static const symbol s_2_1[1]
static const symbol s_2_3[4]
static const symbol s_7_5[4]
static const symbol s_9_7[3]
static const symbol s_11_13[3]
static const symbol s_7_20[4]
static const symbol s_7_2[3]
static const symbol s_7_4[3]
static const symbol s_33[]
static int r_Step_4(struct SN_env *z)
static int r_Step_2(struct SN_env *z)
static const symbol s_11_10[6]
static const struct among a_4[7]
static const symbol s_5_1[2]
static const symbol s_7_17[5]
static const symbol s_1_1[3]
static const symbol s_9_17[5]
static const symbol s_18[]
static const symbol s_0_1[6]
static const symbol s_17[]
static const symbol s_8_6[7]
static const struct among a_6[13]
static const symbol s_5_2[3]
static int r_Step_1b(struct SN_env *z)
static const symbol s_28[]
static const symbol s_8_8[4]
static const unsigned char g_v[]
static const symbol s_11_5[6]
static const symbol s_8[]
static const symbol s_9[]
static const symbol s_0_2[5]
static const symbol s_5[]
static const symbol s_11_9[4]
static const symbol s_15[]
static const symbol s_11_12[4]
static const symbol s_4_2[3]
static const symbol s_26[]
static const symbol s_7_11[5]
static const symbol s_9_5[3]
static const symbol s_0[]
static const symbol s_0_4[5]
static const symbol s_34[]
static const symbol s_11_6[4]
Definition: api.h:15
int lb
Definition: api.h:17
symbol * p
Definition: api.h:16
int ket
Definition: api.h:17
int c
Definition: api.h:17
int bra
Definition: api.h:17
int l
Definition: api.h:17
struct SN_env z
unsigned char b_Y_found
int out_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:157
int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:133
SNOWBALL_ERR slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:432
int find_among_b(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))
Definition: utilities.c:315
int in_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:145
int skip_b_utf8(const symbol *p, int c, int limit, int n)
Definition: utilities.c:68
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:236
SNOWBALL_ERR slice_del(struct SN_env *z)
Definition: utilities.c:443
int out_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:169
int skip_utf8(const symbol *p, int c, int limit, int n)
Definition: utilities.c:43
int find_among(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))
Definition: utilities.c:249