YAZ 5.35.1
stem_UTF_8_portuguese.c
Go to the documentation of this file.
1
2/* This file was generated automatically by the Snowball to ANSI C compiler */
3
4#include "../runtime/header.h"
5
6#ifdef __cplusplus
7extern "C"
8{
9#endif
10 extern int portuguese_UTF_8_stem (struct SN_env *z);
11#ifdef __cplusplus
12}
13#endif
14static int r_residual_form (struct SN_env *z);
15static int r_residual_suffix (struct SN_env *z);
16static int r_verb_suffix (struct SN_env *z);
17static int r_standard_suffix (struct SN_env *z);
18static int r_R2 (struct SN_env *z);
19static int r_R1 (struct SN_env *z);
20static int r_RV (struct SN_env *z);
21static int r_mark_regions (struct SN_env *z);
22static int r_postlude (struct SN_env *z);
23static int r_prelude (struct SN_env *z);
24#ifdef __cplusplus
25extern "C"
26{
27#endif
28
29
30 extern struct SN_env *portuguese_UTF_8_create_env (void);
31 extern void portuguese_UTF_8_close_env (struct SN_env *z);
32
33
34#ifdef __cplusplus
35}
36#endif
37static const symbol s_0_1[2] = { 0xC3, 0xA3 };
38static const symbol s_0_2[2] = { 0xC3, 0xB5 };
39
40static const struct among a_0[3] = {
41/* 0 */ {0, 0, -1, 3, 0},
42/* 1 */ {2, s_0_1, 0, 1, 0},
43/* 2 */ {2, s_0_2, 0, 2, 0}
44};
45
46static const symbol s_1_1[2] = { 'a', '~' };
47static const symbol s_1_2[2] = { 'o', '~' };
48
49static const struct among a_1[3] = {
50/* 0 */ {0, 0, -1, 3, 0},
51/* 1 */ {2, s_1_1, 0, 1, 0},
52/* 2 */ {2, s_1_2, 0, 2, 0}
53};
54
55static const symbol s_2_0[2] = { 'i', 'c' };
56static const symbol s_2_1[2] = { 'a', 'd' };
57static const symbol s_2_2[2] = { 'o', 's' };
58static const symbol s_2_3[2] = { 'i', 'v' };
59
60static const struct among a_2[4] = {
61/* 0 */ {2, s_2_0, -1, -1, 0},
62/* 1 */ {2, s_2_1, -1, -1, 0},
63/* 2 */ {2, s_2_2, -1, -1, 0},
64/* 3 */ {2, s_2_3, -1, 1, 0}
65};
66
67static const symbol s_3_0[4] = { 'a', 'n', 't', 'e' };
68static const symbol s_3_1[4] = { 'a', 'v', 'e', 'l' };
69static const symbol s_3_2[5] = { 0xC3, 0xAD, 'v', 'e', 'l' };
70
71static const struct among a_3[3] = {
72/* 0 */ {4, s_3_0, -1, 1, 0},
73/* 1 */ {4, s_3_1, -1, 1, 0},
74/* 2 */ {5, s_3_2, -1, 1, 0}
75};
76
77static const symbol s_4_0[2] = { 'i', 'c' };
78static const symbol s_4_1[4] = { 'a', 'b', 'i', 'l' };
79static const symbol s_4_2[2] = { 'i', 'v' };
80
81static const struct among a_4[3] = {
82/* 0 */ {2, s_4_0, -1, 1, 0},
83/* 1 */ {4, s_4_1, -1, 1, 0},
84/* 2 */ {2, s_4_2, -1, 1, 0}
85};
86
87static const symbol s_5_0[3] = { 'i', 'c', 'a' };
88static const symbol s_5_1[6] = { 0xC3, 0xA2, 'n', 'c', 'i', 'a' };
89static const symbol s_5_2[6] = { 0xC3, 0xAA, 'n', 'c', 'i', 'a' };
90static const symbol s_5_3[3] = { 'i', 'r', 'a' };
91static const symbol s_5_4[5] = { 'a', 'd', 'o', 'r', 'a' };
92static const symbol s_5_5[3] = { 'o', 's', 'a' };
93static const symbol s_5_6[4] = { 'i', 's', 't', 'a' };
94static const symbol s_5_7[3] = { 'i', 'v', 'a' };
95static const symbol s_5_8[3] = { 'e', 'z', 'a' };
96static const symbol s_5_9[6] = { 'l', 'o', 'g', 0xC3, 0xAD, 'a' };
97static const symbol s_5_10[5] = { 'i', 'd', 'a', 'd', 'e' };
98static const symbol s_5_11[4] = { 'a', 'n', 't', 'e' };
99static const symbol s_5_12[5] = { 'm', 'e', 'n', 't', 'e' };
100static const symbol s_5_13[6] = { 'a', 'm', 'e', 'n', 't', 'e' };
101static const symbol s_5_14[5] = { 0xC3, 0xA1, 'v', 'e', 'l' };
102static const symbol s_5_15[5] = { 0xC3, 0xAD, 'v', 'e', 'l' };
103static const symbol s_5_16[6] = { 'u', 'c', 'i', 0xC3, 0xB3, 'n' };
104static const symbol s_5_17[3] = { 'i', 'c', 'o' };
105static const symbol s_5_18[4] = { 'i', 's', 'm', 'o' };
106static const symbol s_5_19[3] = { 'o', 's', 'o' };
107static const symbol s_5_20[6] = { 'a', 'm', 'e', 'n', 't', 'o' };
108static const symbol s_5_21[6] = { 'i', 'm', 'e', 'n', 't', 'o' };
109static const symbol s_5_22[3] = { 'i', 'v', 'o' };
110static const symbol s_5_23[6] = { 'a', 0xC3, 0xA7, 'a', '~', 'o' };
111static const symbol s_5_24[4] = { 'a', 'd', 'o', 'r' };
112static const symbol s_5_25[4] = { 'i', 'c', 'a', 's' };
113static const symbol s_5_26[7] = { 0xC3, 0xAA, 'n', 'c', 'i', 'a', 's' };
114static const symbol s_5_27[4] = { 'i', 'r', 'a', 's' };
115static const symbol s_5_28[6] = { 'a', 'd', 'o', 'r', 'a', 's' };
116static const symbol s_5_29[4] = { 'o', 's', 'a', 's' };
117static const symbol s_5_30[5] = { 'i', 's', 't', 'a', 's' };
118static const symbol s_5_31[4] = { 'i', 'v', 'a', 's' };
119static const symbol s_5_32[4] = { 'e', 'z', 'a', 's' };
120static const symbol s_5_33[7] = { 'l', 'o', 'g', 0xC3, 0xAD, 'a', 's' };
121static const symbol s_5_34[6] = { 'i', 'd', 'a', 'd', 'e', 's' };
122static const symbol s_5_35[7] = { 'u', 'c', 'i', 'o', 'n', 'e', 's' };
123static const symbol s_5_36[6] = { 'a', 'd', 'o', 'r', 'e', 's' };
124static const symbol s_5_37[5] = { 'a', 'n', 't', 'e', 's' };
125static const symbol s_5_38[7] = { 'a', 0xC3, 0xA7, 'o', '~', 'e', 's' };
126static const symbol s_5_39[4] = { 'i', 'c', 'o', 's' };
127static const symbol s_5_40[5] = { 'i', 's', 'm', 'o', 's' };
128static const symbol s_5_41[4] = { 'o', 's', 'o', 's' };
129static const symbol s_5_42[7] = { 'a', 'm', 'e', 'n', 't', 'o', 's' };
130static const symbol s_5_43[7] = { 'i', 'm', 'e', 'n', 't', 'o', 's' };
131static const symbol s_5_44[4] = { 'i', 'v', 'o', 's' };
132
133static const struct among a_5[45] = {
134/* 0 */ {3, s_5_0, -1, 1, 0},
135/* 1 */ {6, s_5_1, -1, 1, 0},
136/* 2 */ {6, s_5_2, -1, 4, 0},
137/* 3 */ {3, s_5_3, -1, 9, 0},
138/* 4 */ {5, s_5_4, -1, 1, 0},
139/* 5 */ {3, s_5_5, -1, 1, 0},
140/* 6 */ {4, s_5_6, -1, 1, 0},
141/* 7 */ {3, s_5_7, -1, 8, 0},
142/* 8 */ {3, s_5_8, -1, 1, 0},
143/* 9 */ {6, s_5_9, -1, 2, 0},
144/* 10 */ {5, s_5_10, -1, 7, 0},
145/* 11 */ {4, s_5_11, -1, 1, 0},
146/* 12 */ {5, s_5_12, -1, 6, 0},
147/* 13 */ {6, s_5_13, 12, 5, 0},
148/* 14 */ {5, s_5_14, -1, 1, 0},
149/* 15 */ {5, s_5_15, -1, 1, 0},
150/* 16 */ {6, s_5_16, -1, 3, 0},
151/* 17 */ {3, s_5_17, -1, 1, 0},
152/* 18 */ {4, s_5_18, -1, 1, 0},
153/* 19 */ {3, s_5_19, -1, 1, 0},
154/* 20 */ {6, s_5_20, -1, 1, 0},
155/* 21 */ {6, s_5_21, -1, 1, 0},
156/* 22 */ {3, s_5_22, -1, 8, 0},
157/* 23 */ {6, s_5_23, -1, 1, 0},
158/* 24 */ {4, s_5_24, -1, 1, 0},
159/* 25 */ {4, s_5_25, -1, 1, 0},
160/* 26 */ {7, s_5_26, -1, 4, 0},
161/* 27 */ {4, s_5_27, -1, 9, 0},
162/* 28 */ {6, s_5_28, -1, 1, 0},
163/* 29 */ {4, s_5_29, -1, 1, 0},
164/* 30 */ {5, s_5_30, -1, 1, 0},
165/* 31 */ {4, s_5_31, -1, 8, 0},
166/* 32 */ {4, s_5_32, -1, 1, 0},
167/* 33 */ {7, s_5_33, -1, 2, 0},
168/* 34 */ {6, s_5_34, -1, 7, 0},
169/* 35 */ {7, s_5_35, -1, 3, 0},
170/* 36 */ {6, s_5_36, -1, 1, 0},
171/* 37 */ {5, s_5_37, -1, 1, 0},
172/* 38 */ {7, s_5_38, -1, 1, 0},
173/* 39 */ {4, s_5_39, -1, 1, 0},
174/* 40 */ {5, s_5_40, -1, 1, 0},
175/* 41 */ {4, s_5_41, -1, 1, 0},
176/* 42 */ {7, s_5_42, -1, 1, 0},
177/* 43 */ {7, s_5_43, -1, 1, 0},
178/* 44 */ {4, s_5_44, -1, 8, 0}
179};
180
181static const symbol s_6_0[3] = { 'a', 'd', 'a' };
182static const symbol s_6_1[3] = { 'i', 'd', 'a' };
183static const symbol s_6_2[2] = { 'i', 'a' };
184static const symbol s_6_3[4] = { 'a', 'r', 'i', 'a' };
185static const symbol s_6_4[4] = { 'e', 'r', 'i', 'a' };
186static const symbol s_6_5[4] = { 'i', 'r', 'i', 'a' };
187static const symbol s_6_6[3] = { 'a', 'r', 'a' };
188static const symbol s_6_7[3] = { 'e', 'r', 'a' };
189static const symbol s_6_8[3] = { 'i', 'r', 'a' };
190static const symbol s_6_9[3] = { 'a', 'v', 'a' };
191static const symbol s_6_10[4] = { 'a', 's', 's', 'e' };
192static const symbol s_6_11[4] = { 'e', 's', 's', 'e' };
193static const symbol s_6_12[4] = { 'i', 's', 's', 'e' };
194static const symbol s_6_13[4] = { 'a', 's', 't', 'e' };
195static const symbol s_6_14[4] = { 'e', 's', 't', 'e' };
196static const symbol s_6_15[4] = { 'i', 's', 't', 'e' };
197static const symbol s_6_16[2] = { 'e', 'i' };
198static const symbol s_6_17[4] = { 'a', 'r', 'e', 'i' };
199static const symbol s_6_18[4] = { 'e', 'r', 'e', 'i' };
200static const symbol s_6_19[4] = { 'i', 'r', 'e', 'i' };
201static const symbol s_6_20[2] = { 'a', 'm' };
202static const symbol s_6_21[3] = { 'i', 'a', 'm' };
203static const symbol s_6_22[5] = { 'a', 'r', 'i', 'a', 'm' };
204static const symbol s_6_23[5] = { 'e', 'r', 'i', 'a', 'm' };
205static const symbol s_6_24[5] = { 'i', 'r', 'i', 'a', 'm' };
206static const symbol s_6_25[4] = { 'a', 'r', 'a', 'm' };
207static const symbol s_6_26[4] = { 'e', 'r', 'a', 'm' };
208static const symbol s_6_27[4] = { 'i', 'r', 'a', 'm' };
209static const symbol s_6_28[4] = { 'a', 'v', 'a', 'm' };
210static const symbol s_6_29[2] = { 'e', 'm' };
211static const symbol s_6_30[4] = { 'a', 'r', 'e', 'm' };
212static const symbol s_6_31[4] = { 'e', 'r', 'e', 'm' };
213static const symbol s_6_32[4] = { 'i', 'r', 'e', 'm' };
214static const symbol s_6_33[5] = { 'a', 's', 's', 'e', 'm' };
215static const symbol s_6_34[5] = { 'e', 's', 's', 'e', 'm' };
216static const symbol s_6_35[5] = { 'i', 's', 's', 'e', 'm' };
217static const symbol s_6_36[3] = { 'a', 'd', 'o' };
218static const symbol s_6_37[3] = { 'i', 'd', 'o' };
219static const symbol s_6_38[4] = { 'a', 'n', 'd', 'o' };
220static const symbol s_6_39[4] = { 'e', 'n', 'd', 'o' };
221static const symbol s_6_40[4] = { 'i', 'n', 'd', 'o' };
222static const symbol s_6_41[5] = { 'a', 'r', 'a', '~', 'o' };
223static const symbol s_6_42[5] = { 'e', 'r', 'a', '~', 'o' };
224static const symbol s_6_43[5] = { 'i', 'r', 'a', '~', 'o' };
225static const symbol s_6_44[2] = { 'a', 'r' };
226static const symbol s_6_45[2] = { 'e', 'r' };
227static const symbol s_6_46[2] = { 'i', 'r' };
228static const symbol s_6_47[2] = { 'a', 's' };
229static const symbol s_6_48[4] = { 'a', 'd', 'a', 's' };
230static const symbol s_6_49[4] = { 'i', 'd', 'a', 's' };
231static const symbol s_6_50[3] = { 'i', 'a', 's' };
232static const symbol s_6_51[5] = { 'a', 'r', 'i', 'a', 's' };
233static const symbol s_6_52[5] = { 'e', 'r', 'i', 'a', 's' };
234static const symbol s_6_53[5] = { 'i', 'r', 'i', 'a', 's' };
235static const symbol s_6_54[4] = { 'a', 'r', 'a', 's' };
236static const symbol s_6_55[4] = { 'e', 'r', 'a', 's' };
237static const symbol s_6_56[4] = { 'i', 'r', 'a', 's' };
238static const symbol s_6_57[4] = { 'a', 'v', 'a', 's' };
239static const symbol s_6_58[2] = { 'e', 's' };
240static const symbol s_6_59[5] = { 'a', 'r', 'd', 'e', 's' };
241static const symbol s_6_60[5] = { 'e', 'r', 'd', 'e', 's' };
242static const symbol s_6_61[5] = { 'i', 'r', 'd', 'e', 's' };
243static const symbol s_6_62[4] = { 'a', 'r', 'e', 's' };
244static const symbol s_6_63[4] = { 'e', 'r', 'e', 's' };
245static const symbol s_6_64[4] = { 'i', 'r', 'e', 's' };
246static const symbol s_6_65[5] = { 'a', 's', 's', 'e', 's' };
247static const symbol s_6_66[5] = { 'e', 's', 's', 'e', 's' };
248static const symbol s_6_67[5] = { 'i', 's', 's', 'e', 's' };
249static const symbol s_6_68[5] = { 'a', 's', 't', 'e', 's' };
250static const symbol s_6_69[5] = { 'e', 's', 't', 'e', 's' };
251static const symbol s_6_70[5] = { 'i', 's', 't', 'e', 's' };
252static const symbol s_6_71[2] = { 'i', 's' };
253static const symbol s_6_72[3] = { 'a', 'i', 's' };
254static const symbol s_6_73[3] = { 'e', 'i', 's' };
255static const symbol s_6_74[5] = { 'a', 'r', 'e', 'i', 's' };
256static const symbol s_6_75[5] = { 'e', 'r', 'e', 'i', 's' };
257static const symbol s_6_76[5] = { 'i', 'r', 'e', 'i', 's' };
258static const symbol s_6_77[6] = { 0xC3, 0xA1, 'r', 'e', 'i', 's' };
259static const symbol s_6_78[6] = { 0xC3, 0xA9, 'r', 'e', 'i', 's' };
260static const symbol s_6_79[6] = { 0xC3, 0xAD, 'r', 'e', 'i', 's' };
261static const symbol s_6_80[7] = { 0xC3, 0xA1, 's', 's', 'e', 'i', 's' };
262static const symbol s_6_81[7] = { 0xC3, 0xA9, 's', 's', 'e', 'i', 's' };
263static const symbol s_6_82[7] = { 0xC3, 0xAD, 's', 's', 'e', 'i', 's' };
264static const symbol s_6_83[6] = { 0xC3, 0xA1, 'v', 'e', 'i', 's' };
265static const symbol s_6_84[5] = { 0xC3, 0xAD, 'e', 'i', 's' };
266static const symbol s_6_85[7] = { 'a', 'r', 0xC3, 0xAD, 'e', 'i', 's' };
267static const symbol s_6_86[7] = { 'e', 'r', 0xC3, 0xAD, 'e', 'i', 's' };
268static const symbol s_6_87[7] = { 'i', 'r', 0xC3, 0xAD, 'e', 'i', 's' };
269static const symbol s_6_88[4] = { 'a', 'd', 'o', 's' };
270static const symbol s_6_89[4] = { 'i', 'd', 'o', 's' };
271static const symbol s_6_90[4] = { 'a', 'm', 'o', 's' };
272static const symbol s_6_91[7] = { 0xC3, 0xA1, 'r', 'a', 'm', 'o', 's' };
273static const symbol s_6_92[7] = { 0xC3, 0xA9, 'r', 'a', 'm', 'o', 's' };
274static const symbol s_6_93[7] = { 0xC3, 0xAD, 'r', 'a', 'm', 'o', 's' };
275static const symbol s_6_94[7] = { 0xC3, 0xA1, 'v', 'a', 'm', 'o', 's' };
276static const symbol s_6_95[6] = { 0xC3, 0xAD, 'a', 'm', 'o', 's' };
277static const symbol s_6_96[8] = { 'a', 'r', 0xC3, 0xAD, 'a', 'm', 'o', 's' };
278static const symbol s_6_97[8] = { 'e', 'r', 0xC3, 0xAD, 'a', 'm', 'o', 's' };
279static const symbol s_6_98[8] = { 'i', 'r', 0xC3, 0xAD, 'a', 'm', 'o', 's' };
280static const symbol s_6_99[4] = { 'e', 'm', 'o', 's' };
281static const symbol s_6_100[6] = { 'a', 'r', 'e', 'm', 'o', 's' };
282static const symbol s_6_101[6] = { 'e', 'r', 'e', 'm', 'o', 's' };
283static const symbol s_6_102[6] = { 'i', 'r', 'e', 'm', 'o', 's' };
284static const symbol s_6_103[8] = { 0xC3, 0xA1, 's', 's', 'e', 'm', 'o', 's' };
285static const symbol s_6_104[8] = { 0xC3, 0xAA, 's', 's', 'e', 'm', 'o', 's' };
286static const symbol s_6_105[8] = { 0xC3, 0xAD, 's', 's', 'e', 'm', 'o', 's' };
287static const symbol s_6_106[4] = { 'i', 'm', 'o', 's' };
288static const symbol s_6_107[5] = { 'a', 'r', 'm', 'o', 's' };
289static const symbol s_6_108[5] = { 'e', 'r', 'm', 'o', 's' };
290static const symbol s_6_109[5] = { 'i', 'r', 'm', 'o', 's' };
291static const symbol s_6_110[5] = { 0xC3, 0xA1, 'm', 'o', 's' };
292static const symbol s_6_111[5] = { 'a', 'r', 0xC3, 0xA1, 's' };
293static const symbol s_6_112[5] = { 'e', 'r', 0xC3, 0xA1, 's' };
294static const symbol s_6_113[5] = { 'i', 'r', 0xC3, 0xA1, 's' };
295static const symbol s_6_114[2] = { 'e', 'u' };
296static const symbol s_6_115[2] = { 'i', 'u' };
297static const symbol s_6_116[2] = { 'o', 'u' };
298static const symbol s_6_117[4] = { 'a', 'r', 0xC3, 0xA1 };
299static const symbol s_6_118[4] = { 'e', 'r', 0xC3, 0xA1 };
300static const symbol s_6_119[4] = { 'i', 'r', 0xC3, 0xA1 };
301
302static const struct among a_6[120] = {
303/* 0 */ {3, s_6_0, -1, 1, 0},
304/* 1 */ {3, s_6_1, -1, 1, 0},
305/* 2 */ {2, s_6_2, -1, 1, 0},
306/* 3 */ {4, s_6_3, 2, 1, 0},
307/* 4 */ {4, s_6_4, 2, 1, 0},
308/* 5 */ {4, s_6_5, 2, 1, 0},
309/* 6 */ {3, s_6_6, -1, 1, 0},
310/* 7 */ {3, s_6_7, -1, 1, 0},
311/* 8 */ {3, s_6_8, -1, 1, 0},
312/* 9 */ {3, s_6_9, -1, 1, 0},
313/* 10 */ {4, s_6_10, -1, 1, 0},
314/* 11 */ {4, s_6_11, -1, 1, 0},
315/* 12 */ {4, s_6_12, -1, 1, 0},
316/* 13 */ {4, s_6_13, -1, 1, 0},
317/* 14 */ {4, s_6_14, -1, 1, 0},
318/* 15 */ {4, s_6_15, -1, 1, 0},
319/* 16 */ {2, s_6_16, -1, 1, 0},
320/* 17 */ {4, s_6_17, 16, 1, 0},
321/* 18 */ {4, s_6_18, 16, 1, 0},
322/* 19 */ {4, s_6_19, 16, 1, 0},
323/* 20 */ {2, s_6_20, -1, 1, 0},
324/* 21 */ {3, s_6_21, 20, 1, 0},
325/* 22 */ {5, s_6_22, 21, 1, 0},
326/* 23 */ {5, s_6_23, 21, 1, 0},
327/* 24 */ {5, s_6_24, 21, 1, 0},
328/* 25 */ {4, s_6_25, 20, 1, 0},
329/* 26 */ {4, s_6_26, 20, 1, 0},
330/* 27 */ {4, s_6_27, 20, 1, 0},
331/* 28 */ {4, s_6_28, 20, 1, 0},
332/* 29 */ {2, s_6_29, -1, 1, 0},
333/* 30 */ {4, s_6_30, 29, 1, 0},
334/* 31 */ {4, s_6_31, 29, 1, 0},
335/* 32 */ {4, s_6_32, 29, 1, 0},
336/* 33 */ {5, s_6_33, 29, 1, 0},
337/* 34 */ {5, s_6_34, 29, 1, 0},
338/* 35 */ {5, s_6_35, 29, 1, 0},
339/* 36 */ {3, s_6_36, -1, 1, 0},
340/* 37 */ {3, s_6_37, -1, 1, 0},
341/* 38 */ {4, s_6_38, -1, 1, 0},
342/* 39 */ {4, s_6_39, -1, 1, 0},
343/* 40 */ {4, s_6_40, -1, 1, 0},
344/* 41 */ {5, s_6_41, -1, 1, 0},
345/* 42 */ {5, s_6_42, -1, 1, 0},
346/* 43 */ {5, s_6_43, -1, 1, 0},
347/* 44 */ {2, s_6_44, -1, 1, 0},
348/* 45 */ {2, s_6_45, -1, 1, 0},
349/* 46 */ {2, s_6_46, -1, 1, 0},
350/* 47 */ {2, s_6_47, -1, 1, 0},
351/* 48 */ {4, s_6_48, 47, 1, 0},
352/* 49 */ {4, s_6_49, 47, 1, 0},
353/* 50 */ {3, s_6_50, 47, 1, 0},
354/* 51 */ {5, s_6_51, 50, 1, 0},
355/* 52 */ {5, s_6_52, 50, 1, 0},
356/* 53 */ {5, s_6_53, 50, 1, 0},
357/* 54 */ {4, s_6_54, 47, 1, 0},
358/* 55 */ {4, s_6_55, 47, 1, 0},
359/* 56 */ {4, s_6_56, 47, 1, 0},
360/* 57 */ {4, s_6_57, 47, 1, 0},
361/* 58 */ {2, s_6_58, -1, 1, 0},
362/* 59 */ {5, s_6_59, 58, 1, 0},
363/* 60 */ {5, s_6_60, 58, 1, 0},
364/* 61 */ {5, s_6_61, 58, 1, 0},
365/* 62 */ {4, s_6_62, 58, 1, 0},
366/* 63 */ {4, s_6_63, 58, 1, 0},
367/* 64 */ {4, s_6_64, 58, 1, 0},
368/* 65 */ {5, s_6_65, 58, 1, 0},
369/* 66 */ {5, s_6_66, 58, 1, 0},
370/* 67 */ {5, s_6_67, 58, 1, 0},
371/* 68 */ {5, s_6_68, 58, 1, 0},
372/* 69 */ {5, s_6_69, 58, 1, 0},
373/* 70 */ {5, s_6_70, 58, 1, 0},
374/* 71 */ {2, s_6_71, -1, 1, 0},
375/* 72 */ {3, s_6_72, 71, 1, 0},
376/* 73 */ {3, s_6_73, 71, 1, 0},
377/* 74 */ {5, s_6_74, 73, 1, 0},
378/* 75 */ {5, s_6_75, 73, 1, 0},
379/* 76 */ {5, s_6_76, 73, 1, 0},
380/* 77 */ {6, s_6_77, 73, 1, 0},
381/* 78 */ {6, s_6_78, 73, 1, 0},
382/* 79 */ {6, s_6_79, 73, 1, 0},
383/* 80 */ {7, s_6_80, 73, 1, 0},
384/* 81 */ {7, s_6_81, 73, 1, 0},
385/* 82 */ {7, s_6_82, 73, 1, 0},
386/* 83 */ {6, s_6_83, 73, 1, 0},
387/* 84 */ {5, s_6_84, 73, 1, 0},
388/* 85 */ {7, s_6_85, 84, 1, 0},
389/* 86 */ {7, s_6_86, 84, 1, 0},
390/* 87 */ {7, s_6_87, 84, 1, 0},
391/* 88 */ {4, s_6_88, -1, 1, 0},
392/* 89 */ {4, s_6_89, -1, 1, 0},
393/* 90 */ {4, s_6_90, -1, 1, 0},
394/* 91 */ {7, s_6_91, 90, 1, 0},
395/* 92 */ {7, s_6_92, 90, 1, 0},
396/* 93 */ {7, s_6_93, 90, 1, 0},
397/* 94 */ {7, s_6_94, 90, 1, 0},
398/* 95 */ {6, s_6_95, 90, 1, 0},
399/* 96 */ {8, s_6_96, 95, 1, 0},
400/* 97 */ {8, s_6_97, 95, 1, 0},
401/* 98 */ {8, s_6_98, 95, 1, 0},
402/* 99 */ {4, s_6_99, -1, 1, 0},
403/*100 */ {6, s_6_100, 99, 1, 0},
404/*101 */ {6, s_6_101, 99, 1, 0},
405/*102 */ {6, s_6_102, 99, 1, 0},
406/*103 */ {8, s_6_103, 99, 1, 0},
407/*104 */ {8, s_6_104, 99, 1, 0},
408/*105 */ {8, s_6_105, 99, 1, 0},
409/*106 */ {4, s_6_106, -1, 1, 0},
410/*107 */ {5, s_6_107, -1, 1, 0},
411/*108 */ {5, s_6_108, -1, 1, 0},
412/*109 */ {5, s_6_109, -1, 1, 0},
413/*110 */ {5, s_6_110, -1, 1, 0},
414/*111 */ {5, s_6_111, -1, 1, 0},
415/*112 */ {5, s_6_112, -1, 1, 0},
416/*113 */ {5, s_6_113, -1, 1, 0},
417/*114 */ {2, s_6_114, -1, 1, 0},
418/*115 */ {2, s_6_115, -1, 1, 0},
419/*116 */ {2, s_6_116, -1, 1, 0},
420/*117 */ {4, s_6_117, -1, 1, 0},
421/*118 */ {4, s_6_118, -1, 1, 0},
422/*119 */ {4, s_6_119, -1, 1, 0}
423};
424
425static const symbol s_7_0[1] = { 'a' };
426static const symbol s_7_1[1] = { 'i' };
427static const symbol s_7_2[1] = { 'o' };
428static const symbol s_7_3[2] = { 'o', 's' };
429static const symbol s_7_4[2] = { 0xC3, 0xA1 };
430static const symbol s_7_5[2] = { 0xC3, 0xAD };
431static const symbol s_7_6[2] = { 0xC3, 0xB3 };
432
433static const struct among a_7[7] = {
434/* 0 */ {1, s_7_0, -1, 1, 0},
435/* 1 */ {1, s_7_1, -1, 1, 0},
436/* 2 */ {1, s_7_2, -1, 1, 0},
437/* 3 */ {2, s_7_3, -1, 1, 0},
438/* 4 */ {2, s_7_4, -1, 1, 0},
439/* 5 */ {2, s_7_5, -1, 1, 0},
440/* 6 */ {2, s_7_6, -1, 1, 0}
441};
442
443static const symbol s_8_0[1] = { 'e' };
444static const symbol s_8_1[2] = { 0xC3, 0xA7 };
445static const symbol s_8_2[2] = { 0xC3, 0xA9 };
446static const symbol s_8_3[2] = { 0xC3, 0xAA };
447
448static const struct among a_8[4] = {
449/* 0 */ {1, s_8_0, -1, 1, 0},
450/* 1 */ {2, s_8_1, -1, 2, 0},
451/* 2 */ {2, s_8_2, -1, 1, 0},
452/* 3 */ {2, s_8_3, -1, 1, 0}
453};
454
455static const unsigned char g_v[] =
456 { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 19, 12, 2 };
457
458static const symbol s_0[] = { 'a', '~' };
459static const symbol s_1[] = { 'o', '~' };
460static const symbol s_2[] = { 0xC3, 0xA3 };
461static const symbol s_3[] = { 0xC3, 0xB5 };
462static const symbol s_4[] = { 'l', 'o', 'g' };
463static const symbol s_5[] = { 'u' };
464static const symbol s_6[] = { 'e', 'n', 't', 'e' };
465static const symbol s_7[] = { 'a', 't' };
466static const symbol s_8[] = { 'a', 't' };
467static const symbol s_9[] = { 'e' };
468static const symbol s_10[] = { 'i', 'r' };
469static const symbol s_11[] = { 'u' };
470static const symbol s_12[] = { 'g' };
471static const symbol s_13[] = { 'i' };
472static const symbol s_14[] = { 'c' };
473static const symbol s_15[] = { 'c' };
474static const symbol s_16[] = { 'i' };
475static const symbol s_17[] = { 'c' };
476
477static int
478r_prelude (struct SN_env *z)
479{
480 int among_var;
481 while (1)
482 { /* repeat, line 36 */
483 int c1 = z->c;
484 z->bra = z->c; /* [, line 37 */
485 if (z->c + 1 >= z->l
486 || (z->p[z->c + 1] != 163 && z->p[z->c + 1] != 181))
487 among_var = 3;
488 else
489 among_var = find_among (z, a_0, 3); /* substring, line 37 */
490 if (!(among_var))
491 goto lab0;
492 z->ket = z->c; /* ], line 37 */
493 switch (among_var)
494 {
495 case 0:
496 goto lab0;
497 case 1:
498 {
499 int ret = slice_from_s (z, 2, s_0); /* <-, line 38 */
500 if (ret < 0)
501 return ret;
502 }
503 break;
504 case 2:
505 {
506 int ret = slice_from_s (z, 2, s_1); /* <-, line 39 */
507 if (ret < 0)
508 return ret;
509 }
510 break;
511 case 3:
512 {
513 int ret = skip_utf8 (z->p, z->c, 0, z->l, 1);
514 if (ret < 0)
515 goto lab0;
516 z->c = ret; /* next, line 40 */
517 }
518 break;
519 }
520 continue;
521 lab0:
522 z->c = c1;
523 break;
524 }
525 return 1;
526}
527
528static int
530{
531 z->I[0] = z->l;
532 z->I[1] = z->l;
533 z->I[2] = z->l;
534 {
535 int c1 = z->c; /* do, line 50 */
536 {
537 int c2 = z->c; /* or, line 52 */
538 if (in_grouping_U (z, g_v, 97, 250, 0))
539 goto lab2;
540 {
541 int c3 = z->c; /* or, line 51 */
542 if (out_grouping_U (z, g_v, 97, 250, 0))
543 goto lab4;
544 { /* gopast *//* grouping v, line 51 */
545 int ret = out_grouping_U (z, g_v, 97, 250, 1);
546 if (ret < 0)
547 goto lab4;
548 z->c += ret;
549 }
550 goto lab3;
551 lab4:
552 z->c = c3;
553 if (in_grouping_U (z, g_v, 97, 250, 0))
554 goto lab2;
555 { /* gopast *//* non v, line 51 */
556 int ret = in_grouping_U (z, g_v, 97, 250, 1);
557 if (ret < 0)
558 goto lab2;
559 z->c += ret;
560 }
561 }
562 lab3:
563 goto lab1;
564 lab2:
565 z->c = c2;
566 if (out_grouping_U (z, g_v, 97, 250, 0))
567 goto lab0;
568 {
569 int c4 = z->c; /* or, line 53 */
570 if (out_grouping_U (z, g_v, 97, 250, 0))
571 goto lab6;
572 { /* gopast *//* grouping v, line 53 */
573 int ret = out_grouping_U (z, g_v, 97, 250, 1);
574 if (ret < 0)
575 goto lab6;
576 z->c += ret;
577 }
578 goto lab5;
579 lab6:
580 z->c = c4;
581 if (in_grouping_U (z, g_v, 97, 250, 0))
582 goto lab0;
583 {
584 int ret = skip_utf8 (z->p, z->c, 0, z->l, 1);
585 if (ret < 0)
586 goto lab0;
587 z->c = ret; /* next, line 53 */
588 }
589 }
590 lab5:
591 ;
592 }
593 lab1:
594 z->I[0] = z->c; /* setmark pV, line 54 */
595 lab0:
596 z->c = c1;
597 }
598 {
599 int c5 = z->c; /* do, line 56 */
600 { /* gopast *//* grouping v, line 57 */
601 int ret = out_grouping_U (z, g_v, 97, 250, 1);
602 if (ret < 0)
603 goto lab7;
604 z->c += ret;
605 }
606 { /* gopast *//* non v, line 57 */
607 int ret = in_grouping_U (z, g_v, 97, 250, 1);
608 if (ret < 0)
609 goto lab7;
610 z->c += ret;
611 }
612 z->I[1] = z->c; /* setmark p1, line 57 */
613 { /* gopast *//* grouping v, line 58 */
614 int ret = out_grouping_U (z, g_v, 97, 250, 1);
615 if (ret < 0)
616 goto lab7;
617 z->c += ret;
618 }
619 { /* gopast *//* non v, line 58 */
620 int ret = in_grouping_U (z, g_v, 97, 250, 1);
621 if (ret < 0)
622 goto lab7;
623 z->c += ret;
624 }
625 z->I[2] = z->c; /* setmark p2, line 58 */
626 lab7:
627 z->c = c5;
628 }
629 return 1;
630}
631
632static int
634{
635 int among_var;
636 while (1)
637 { /* repeat, line 62 */
638 int c1 = z->c;
639 z->bra = z->c; /* [, line 63 */
640 if (z->c + 1 >= z->l || z->p[z->c + 1] != 126)
641 among_var = 3;
642 else
643 among_var = find_among (z, a_1, 3); /* substring, line 63 */
644 if (!(among_var))
645 goto lab0;
646 z->ket = z->c; /* ], line 63 */
647 switch (among_var)
648 {
649 case 0:
650 goto lab0;
651 case 1:
652 {
653 int ret = slice_from_s (z, 2, s_2); /* <-, line 64 */
654 if (ret < 0)
655 return ret;
656 }
657 break;
658 case 2:
659 {
660 int ret = slice_from_s (z, 2, s_3); /* <-, line 65 */
661 if (ret < 0)
662 return ret;
663 }
664 break;
665 case 3:
666 {
667 int ret = skip_utf8 (z->p, z->c, 0, z->l, 1);
668 if (ret < 0)
669 goto lab0;
670 z->c = ret; /* next, line 66 */
671 }
672 break;
673 }
674 continue;
675 lab0:
676 z->c = c1;
677 break;
678 }
679 return 1;
680}
681
682static int
683r_RV (struct SN_env *z)
684{
685 if (!(z->I[0] <= z->c))
686 return 0;
687 return 1;
688}
689
690static int
691r_R1 (struct SN_env *z)
692{
693 if (!(z->I[1] <= z->c))
694 return 0;
695 return 1;
696}
697
698static int
699r_R2 (struct SN_env *z)
700{
701 if (!(z->I[2] <= z->c))
702 return 0;
703 return 1;
704}
705
706static int
708{
709 int among_var;
710 z->ket = z->c; /* [, line 77 */
711 if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3
712 || !((839714 >> (z->p[z->c - 1] & 0x1f)) & 1))
713 return 0;
714 among_var = find_among_b (z, a_5, 45); /* substring, line 77 */
715 if (!(among_var))
716 return 0;
717 z->bra = z->c; /* ], line 77 */
718 switch (among_var)
719 {
720 case 0:
721 return 0;
722 case 1:
723 {
724 int ret = r_R2 (z);
725 if (ret == 0)
726 return 0; /* call R2, line 93 */
727 if (ret < 0)
728 return ret;
729 }
730 {
731 int ret = slice_del (z); /* delete, line 93 */
732 if (ret < 0)
733 return ret;
734 }
735 break;
736 case 2:
737 {
738 int ret = r_R2 (z);
739 if (ret == 0)
740 return 0; /* call R2, line 98 */
741 if (ret < 0)
742 return ret;
743 }
744 {
745 int ret = slice_from_s (z, 3, s_4); /* <-, line 98 */
746 if (ret < 0)
747 return ret;
748 }
749 break;
750 case 3:
751 {
752 int ret = r_R2 (z);
753 if (ret == 0)
754 return 0; /* call R2, line 102 */
755 if (ret < 0)
756 return ret;
757 }
758 {
759 int ret = slice_from_s (z, 1, s_5); /* <-, line 102 */
760 if (ret < 0)
761 return ret;
762 }
763 break;
764 case 4:
765 {
766 int ret = r_R2 (z);
767 if (ret == 0)
768 return 0; /* call R2, line 106 */
769 if (ret < 0)
770 return ret;
771 }
772 {
773 int ret = slice_from_s (z, 4, s_6); /* <-, line 106 */
774 if (ret < 0)
775 return ret;
776 }
777 break;
778 case 5:
779 {
780 int ret = r_R1 (z);
781 if (ret == 0)
782 return 0; /* call R1, line 110 */
783 if (ret < 0)
784 return ret;
785 }
786 {
787 int ret = slice_del (z); /* delete, line 110 */
788 if (ret < 0)
789 return ret;
790 }
791 {
792 int m_keep = z->l - z->c; /* (void) m_keep; *//* try, line 111 */
793 z->ket = z->c; /* [, line 112 */
794 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3
795 || !((4718616 >> (z->p[z->c - 1] & 0x1f)) & 1))
796 {
797 z->c = z->l - m_keep;
798 goto lab0;
799 }
800 among_var = find_among_b (z, a_2, 4); /* substring, line 112 */
801 if (!(among_var))
802 {
803 z->c = z->l - m_keep;
804 goto lab0;
805 }
806 z->bra = z->c; /* ], line 112 */
807 {
808 int ret = r_R2 (z);
809 if (ret == 0)
810 {
811 z->c = z->l - m_keep;
812 goto lab0;
813 } /* call R2, line 112 */
814 if (ret < 0)
815 return ret;
816 }
817 {
818 int ret = slice_del (z); /* delete, line 112 */
819 if (ret < 0)
820 return ret;
821 }
822 switch (among_var)
823 {
824 case 0:
825 {
826 z->c = z->l - m_keep;
827 goto lab0;
828 }
829 case 1:
830 z->ket = z->c; /* [, line 113 */
831 if (!(eq_s_b (z, 2, s_7)))
832 {
833 z->c = z->l - m_keep;
834 goto lab0;
835 }
836 z->bra = z->c; /* ], line 113 */
837 {
838 int ret = r_R2 (z);
839 if (ret == 0)
840 {
841 z->c = z->l - m_keep;
842 goto lab0;
843 } /* call R2, line 113 */
844 if (ret < 0)
845 return ret;
846 }
847 {
848 int ret = slice_del (z); /* delete, line 113 */
849 if (ret < 0)
850 return ret;
851 }
852 break;
853 }
854 lab0:
855 ;
856 }
857 break;
858 case 6:
859 {
860 int ret = r_R2 (z);
861 if (ret == 0)
862 return 0; /* call R2, line 122 */
863 if (ret < 0)
864 return ret;
865 }
866 {
867 int ret = slice_del (z); /* delete, line 122 */
868 if (ret < 0)
869 return ret;
870 }
871 {
872 int m_keep = z->l - z->c; /* (void) m_keep; *//* try, line 123 */
873 z->ket = z->c; /* [, line 124 */
874 if (z->c - 3 <= z->lb
875 || (z->p[z->c - 1] != 101 && z->p[z->c - 1] != 108))
876 {
877 z->c = z->l - m_keep;
878 goto lab1;
879 }
880 among_var = find_among_b (z, a_3, 3); /* substring, line 124 */
881 if (!(among_var))
882 {
883 z->c = z->l - m_keep;
884 goto lab1;
885 }
886 z->bra = z->c; /* ], line 124 */
887 switch (among_var)
888 {
889 case 0:
890 {
891 z->c = z->l - m_keep;
892 goto lab1;
893 }
894 case 1:
895 {
896 int ret = r_R2 (z);
897 if (ret == 0)
898 {
899 z->c = z->l - m_keep;
900 goto lab1;
901 } /* call R2, line 127 */
902 if (ret < 0)
903 return ret;
904 }
905 {
906 int ret = slice_del (z); /* delete, line 127 */
907 if (ret < 0)
908 return ret;
909 }
910 break;
911 }
912 lab1:
913 ;
914 }
915 break;
916 case 7:
917 {
918 int ret = r_R2 (z);
919 if (ret == 0)
920 return 0; /* call R2, line 134 */
921 if (ret < 0)
922 return ret;
923 }
924 {
925 int ret = slice_del (z); /* delete, line 134 */
926 if (ret < 0)
927 return ret;
928 }
929 {
930 int m_keep = z->l - z->c; /* (void) m_keep; *//* try, line 135 */
931 z->ket = z->c; /* [, line 136 */
932 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3
933 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1))
934 {
935 z->c = z->l - m_keep;
936 goto lab2;
937 }
938 among_var = find_among_b (z, a_4, 3); /* substring, line 136 */
939 if (!(among_var))
940 {
941 z->c = z->l - m_keep;
942 goto lab2;
943 }
944 z->bra = z->c; /* ], line 136 */
945 switch (among_var)
946 {
947 case 0:
948 {
949 z->c = z->l - m_keep;
950 goto lab2;
951 }
952 case 1:
953 {
954 int ret = r_R2 (z);
955 if (ret == 0)
956 {
957 z->c = z->l - m_keep;
958 goto lab2;
959 } /* call R2, line 139 */
960 if (ret < 0)
961 return ret;
962 }
963 {
964 int ret = slice_del (z); /* delete, line 139 */
965 if (ret < 0)
966 return ret;
967 }
968 break;
969 }
970 lab2:
971 ;
972 }
973 break;
974 case 8:
975 {
976 int ret = r_R2 (z);
977 if (ret == 0)
978 return 0; /* call R2, line 146 */
979 if (ret < 0)
980 return ret;
981 }
982 {
983 int ret = slice_del (z); /* delete, line 146 */
984 if (ret < 0)
985 return ret;
986 }
987 {
988 int m_keep = z->l - z->c; /* (void) m_keep; *//* try, line 147 */
989 z->ket = z->c; /* [, line 148 */
990 if (!(eq_s_b (z, 2, s_8)))
991 {
992 z->c = z->l - m_keep;
993 goto lab3;
994 }
995 z->bra = z->c; /* ], line 148 */
996 {
997 int ret = r_R2 (z);
998 if (ret == 0)
999 {
1000 z->c = z->l - m_keep;
1001 goto lab3;
1002 } /* call R2, line 148 */
1003 if (ret < 0)
1004 return ret;
1005 }
1006 {
1007 int ret = slice_del (z); /* delete, line 148 */
1008 if (ret < 0)
1009 return ret;
1010 }
1011 lab3:
1012 ;
1013 }
1014 break;
1015 case 9:
1016 {
1017 int ret = r_RV (z);
1018 if (ret == 0)
1019 return 0; /* call RV, line 153 */
1020 if (ret < 0)
1021 return ret;
1022 }
1023 if (!(eq_s_b (z, 1, s_9)))
1024 return 0;
1025 {
1026 int ret = slice_from_s (z, 2, s_10); /* <-, line 154 */
1027 if (ret < 0)
1028 return ret;
1029 }
1030 break;
1031 }
1032 return 1;
1033}
1034
1035static int
1037{
1038 int among_var;
1039 {
1040 int mlimit; /* setlimit, line 159 */
1041 int m1 = z->l - z->c;
1042 (void) m1;
1043 if (z->c < z->I[0])
1044 return 0;
1045 z->c = z->I[0]; /* tomark, line 159 */
1046 mlimit = z->lb;
1047 z->lb = z->c;
1048 z->c = z->l - m1;
1049 z->ket = z->c; /* [, line 160 */
1050 among_var = find_among_b (z, a_6, 120); /* substring, line 160 */
1051 if (!(among_var))
1052 {
1053 z->lb = mlimit;
1054 return 0;
1055 }
1056 z->bra = z->c; /* ], line 160 */
1057 switch (among_var)
1058 {
1059 case 0:
1060 {
1061 z->lb = mlimit;
1062 return 0;
1063 }
1064 case 1:
1065 {
1066 int ret = slice_del (z); /* delete, line 179 */
1067 if (ret < 0)
1068 return ret;
1069 }
1070 break;
1071 }
1072 z->lb = mlimit;
1073 }
1074 return 1;
1075}
1076
1077static int
1079{
1080 int among_var;
1081 z->ket = z->c; /* [, line 184 */
1082 among_var = find_among_b (z, a_7, 7); /* substring, line 184 */
1083 if (!(among_var))
1084 return 0;
1085 z->bra = z->c; /* ], line 184 */
1086 switch (among_var)
1087 {
1088 case 0:
1089 return 0;
1090 case 1:
1091 {
1092 int ret = r_RV (z);
1093 if (ret == 0)
1094 return 0; /* call RV, line 187 */
1095 if (ret < 0)
1096 return ret;
1097 }
1098 {
1099 int ret = slice_del (z); /* delete, line 187 */
1100 if (ret < 0)
1101 return ret;
1102 }
1103 break;
1104 }
1105 return 1;
1106}
1107
1108static int
1110{
1111 int among_var;
1112 z->ket = z->c; /* [, line 192 */
1113 among_var = find_among_b (z, a_8, 4); /* substring, line 192 */
1114 if (!(among_var))
1115 return 0;
1116 z->bra = z->c; /* ], line 192 */
1117 switch (among_var)
1118 {
1119 case 0:
1120 return 0;
1121 case 1:
1122 {
1123 int ret = r_RV (z);
1124 if (ret == 0)
1125 return 0; /* call RV, line 194 */
1126 if (ret < 0)
1127 return ret;
1128 }
1129 {
1130 int ret = slice_del (z); /* delete, line 194 */
1131 if (ret < 0)
1132 return ret;
1133 }
1134 z->ket = z->c; /* [, line 194 */
1135 {
1136 int m1 = z->l - z->c;
1137 (void) m1; /* or, line 194 */
1138 if (!(eq_s_b (z, 1, s_11)))
1139 goto lab1;
1140 z->bra = z->c; /* ], line 194 */
1141 {
1142 int m_test = z->l - z->c; /* test, line 194 */
1143 if (!(eq_s_b (z, 1, s_12)))
1144 goto lab1;
1145 z->c = z->l - m_test;
1146 }
1147 goto lab0;
1148 lab1:
1149 z->c = z->l - m1;
1150 if (!(eq_s_b (z, 1, s_13)))
1151 return 0;
1152 z->bra = z->c; /* ], line 195 */
1153 {
1154 int m_test = z->l - z->c; /* test, line 195 */
1155 if (!(eq_s_b (z, 1, s_14)))
1156 return 0;
1157 z->c = z->l - m_test;
1158 }
1159 }
1160 lab0:
1161 {
1162 int ret = r_RV (z);
1163 if (ret == 0)
1164 return 0; /* call RV, line 195 */
1165 if (ret < 0)
1166 return ret;
1167 }
1168 {
1169 int ret = slice_del (z); /* delete, line 195 */
1170 if (ret < 0)
1171 return ret;
1172 }
1173 break;
1174 case 2:
1175 {
1176 int ret = slice_from_s (z, 1, s_15); /* <-, line 196 */
1177 if (ret < 0)
1178 return ret;
1179 }
1180 break;
1181 }
1182 return 1;
1183}
1184
1185extern int
1187{
1188 {
1189 int c1 = z->c; /* do, line 202 */
1190 {
1191 int ret = r_prelude (z);
1192 if (ret == 0)
1193 goto lab0; /* call prelude, line 202 */
1194 if (ret < 0)
1195 return ret;
1196 }
1197 lab0:
1198 z->c = c1;
1199 }
1200 {
1201 int c2 = z->c; /* do, line 203 */
1202 {
1203 int ret = r_mark_regions (z);
1204 if (ret == 0)
1205 goto lab1; /* call mark_regions, line 203 */
1206 if (ret < 0)
1207 return ret;
1208 }
1209 lab1:
1210 z->c = c2;
1211 }
1212 z->lb = z->c;
1213 z->c = z->l; /* backwards, line 204 */
1214
1215 {
1216 int m3 = z->l - z->c;
1217 (void) m3; /* do, line 205 */
1218 {
1219 int m4 = z->l - z->c;
1220 (void) m4; /* or, line 209 */
1221 {
1222 int m5 = z->l - z->c;
1223 (void) m5; /* and, line 207 */
1224 {
1225 int m6 = z->l - z->c;
1226 (void) m6; /* or, line 206 */
1227 {
1228 int ret = r_standard_suffix (z);
1229 if (ret == 0)
1230 goto lab6; /* call standard_suffix, line 206 */
1231 if (ret < 0)
1232 return ret;
1233 }
1234 goto lab5;
1235 lab6:
1236 z->c = z->l - m6;
1237 {
1238 int ret = r_verb_suffix (z);
1239 if (ret == 0)
1240 goto lab4; /* call verb_suffix, line 206 */
1241 if (ret < 0)
1242 return ret;
1243 }
1244 }
1245 lab5:
1246 z->c = z->l - m5;
1247 {
1248 int m7 = z->l - z->c;
1249 (void) m7; /* do, line 207 */
1250 z->ket = z->c; /* [, line 207 */
1251 if (!(eq_s_b (z, 1, s_16)))
1252 goto lab7;
1253 z->bra = z->c; /* ], line 207 */
1254 {
1255 int m_test = z->l - z->c; /* test, line 207 */
1256 if (!(eq_s_b (z, 1, s_17)))
1257 goto lab7;
1258 z->c = z->l - m_test;
1259 }
1260 {
1261 int ret = r_RV (z);
1262 if (ret == 0)
1263 goto lab7; /* call RV, line 207 */
1264 if (ret < 0)
1265 return ret;
1266 }
1267 {
1268 int ret = slice_del (z); /* delete, line 207 */
1269 if (ret < 0)
1270 return ret;
1271 }
1272 lab7:
1273 z->c = z->l - m7;
1274 }
1275 }
1276 goto lab3;
1277 lab4:
1278 z->c = z->l - m4;
1279 {
1280 int ret = r_residual_suffix (z);
1281 if (ret == 0)
1282 goto lab2; /* call residual_suffix, line 209 */
1283 if (ret < 0)
1284 return ret;
1285 }
1286 }
1287 lab3:
1288 lab2:
1289 z->c = z->l - m3;
1290 }
1291 {
1292 int m8 = z->l - z->c;
1293 (void) m8; /* do, line 211 */
1294 {
1295 int ret = r_residual_form (z);
1296 if (ret == 0)
1297 goto lab8; /* call residual_form, line 211 */
1298 if (ret < 0)
1299 return ret;
1300 }
1301 lab8:
1302 z->c = z->l - m8;
1303 }
1304 z->c = z->lb;
1305 {
1306 int c9 = z->c; /* do, line 213 */
1307 {
1308 int ret = r_postlude (z);
1309 if (ret == 0)
1310 goto lab9; /* call postlude, line 213 */
1311 if (ret < 0)
1312 return ret;
1313 }
1314 lab9:
1315 z->c = c9;
1316 }
1317 return 1;
1318}
1319
1320extern struct SN_env *
1322{
1323 return SN_create_env (0, 3, 0);
1324}
1325
1326extern void
1328{
1329 SN_close_env (z, 0);
1330}
struct SN_env * SN_create_env(int S_size, int I_size, int B_size)
Definition api.c:6
void SN_close_env(struct SN_env *z, int S_size)
Definition api.c:50
unsigned char symbol
Definition api.h:2
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition utilities.c:400
int out_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition utilities.c:170
int slice_del(struct SN_env *z)
Definition utilities.c:573
int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition utilities.c:134
int skip_utf8(const symbol *p, int c, int lb, int l, int n)
Definition utilities.c:42
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition utilities.c:290
int find_among(struct SN_env *z, const struct among *v, int v_size)
Definition utilities.c:312
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition utilities.c:559
static const symbol s_5_26[7]
static const symbol s_6_16[2]
static const symbol s_2[]
static const symbol s_6_72[3]
static const symbol s_6_70[5]
static const symbol s_5_37[5]
static const symbol s_6_40[4]
static const symbol s_6_50[3]
static const symbol s_5_23[6]
static const symbol s_5_20[6]
static const symbol s_5_30[5]
struct SN_env * portuguese_UTF_8_create_env(void)
static const symbol s_7_3[2]
static const symbol s_5_14[5]
static const symbol s_6_56[4]
static const symbol s_6_106[4]
static const symbol s_2_2[2]
static const symbol s_6_48[4]
static const symbol s_3_2[5]
static const symbol s_6_76[5]
static const symbol s_6_24[5]
static const symbol s_8_2[2]
static const symbol s_4[]
static const struct among a_8[4]
static const symbol s_6_55[4]
static const symbol s_6_104[8]
static const symbol s_5_16[6]
static const symbol s_5_6[4]
static const symbol s_5_22[3]
static const symbol s_6_67[5]
static const symbol s_5_39[4]
static const symbol s_5_27[4]
static const symbol s_6_59[5]
static const symbol s_6_62[4]
static const symbol s_1_2[2]
static const symbol s_6_87[7]
static const symbol s_7_2[1]
static const symbol s_6_44[2]
static const symbol s_6_29[2]
static const symbol s_6_34[5]
static const symbol s_6_1[3]
static const symbol s_6_63[4]
static const symbol s_6_112[5]
static const symbol s_6_92[7]
static const symbol s_6_43[5]
static int r_standard_suffix(struct SN_env *z)
static const symbol s_6_33[5]
static const struct among a_4[3]
static const symbol s_0_1[2]
static const symbol s_4_1[4]
static const symbol s_6_119[4]
static const symbol s_6_73[3]
static const symbol s_6_60[5]
static const symbol s_6_47[2]
static const symbol s_6_85[7]
static const symbol s_6_57[4]
static const symbol s_2_0[2]
static const symbol s_6_45[2]
static const symbol s_6_97[8]
static const symbol s_6_102[6]
static const symbol s_6_108[5]
static const symbol s_5_40[5]
static const symbol s_6_52[5]
static const struct among a_0[3]
static const symbol s_6_38[4]
static const symbol s_5_10[5]
static const symbol s_3_0[4]
static const symbol s_5_12[5]
static const symbol s_7_5[2]
static const symbol s_6[]
static const symbol s_5_25[4]
static int r_verb_suffix(struct SN_env *z)
static const symbol s_7_1[1]
static const symbol s_5_38[7]
static const symbol s_3[]
static const symbol s_6_116[2]
static const symbol s_6_6[3]
static const symbol s_6_103[8]
static const symbol s_7_6[2]
static const symbol s_6_82[7]
static const symbol s_6_3[4]
static const symbol s_6_39[4]
static const symbol s_5_17[3]
static const symbol s_6_66[5]
static const symbol s_6_46[2]
static const symbol s_6_105[8]
static const symbol s_6_91[7]
static const symbol s_6_12[4]
static const struct among a_3[3]
static const symbol s_6_32[4]
static int r_R2(struct SN_env *z)
static const symbol s_5_19[3]
static const symbol s_5_0[3]
static const symbol s_6_75[5]
static const symbol s_7[]
static const symbol s_5_7[3]
static const symbol s_5_1[6]
static const symbol s_6_90[4]
static const symbol s_6_26[4]
static const symbol s_6_84[5]
static const symbol s_13[]
static const symbol s_6_54[4]
static const symbol s_5_42[7]
static const symbol s_6_110[5]
static const symbol s_6_69[5]
static const symbol s_6_21[3]
static const symbol s_5_33[7]
static const symbol s_6_27[4]
static const symbol s_6_22[5]
static const symbol s_1_1[2]
static const symbol s_6_114[2]
static const symbol s_6_23[5]
static const symbol s_6_80[7]
static const symbol s_6_83[6]
static const symbol s_6_115[2]
static const symbol s_6_18[4]
static const symbol s_6_4[4]
static const symbol s_6_9[3]
static const symbol s_6_93[7]
static const symbol s_6_61[5]
static const symbol s_6_77[6]
static const symbol s_5_4[5]
void portuguese_UTF_8_close_env(struct SN_env *z)
static int r_RV(struct SN_env *z)
static const symbol s_8_3[2]
static const symbol s_6_19[4]
static const symbol s_6_20[2]
static const symbol s_5_32[4]
static const symbol s_5_3[3]
static const symbol s_5_36[6]
static const symbol s_6_31[4]
static const symbol s_6_107[5]
static const symbol s_6_100[6]
static const symbol s_6_65[5]
static const symbol s_6_2[2]
static const symbol s_6_7[3]
static const symbol s_6_30[4]
static const symbol s_6_51[5]
static int r_R1(struct SN_env *z)
static const symbol s_6_74[5]
static const symbol s_5_34[6]
static const symbol s_16[]
static int r_postlude(struct SN_env *z)
static const symbol s_14[]
static const symbol s_6_109[5]
static const symbol s_5_31[4]
static const struct among a_7[7]
static const symbol s_5_41[4]
static int r_prelude(struct SN_env *z)
static const symbol s_6_79[6]
static const symbol s_2_3[2]
static const symbol s_4_2[2]
static const symbol s_6_118[4]
static const struct among a_6[120]
static const symbol s_6_117[4]
static const symbol s_6_10[4]
static const symbol s_6_17[4]
static const symbol s_10[]
static const struct among a_1[3]
static const struct among a_2[4]
static const symbol s_6_88[4]
static const symbol s_1[]
static const symbol s_7_4[2]
static const symbol s_6_41[5]
static const symbol s_5_44[4]
static const symbol s_6_35[5]
static const symbol s_6_8[3]
static const symbol s_6_96[8]
static const symbol s_3_1[4]
static const symbol s_4_0[2]
static const symbol s_5_43[7]
static const symbol s_6_36[3]
static const symbol s_6_89[4]
static const symbol s_6_14[4]
static int r_mark_regions(struct SN_env *z)
static const symbol s_6_13[4]
static const symbol s_6_71[2]
static const symbol s_11[]
static const symbol s_12[]
static const symbol s_6_95[6]
static const symbol s_5_21[6]
static const symbol s_5_8[3]
static const symbol s_5_13[6]
static const symbol s_8_1[2]
static const symbol s_6_15[4]
static const symbol s_6_0[3]
static const symbol s_5_35[7]
static int r_residual_form(struct SN_env *z)
static const symbol s_7_0[1]
static const symbol s_6_49[4]
static const symbol s_6_101[6]
static const symbol s_6_81[7]
static const symbol s_6_68[5]
static const symbol s_0_2[2]
static const symbol s_6_42[5]
static const symbol s_6_25[4]
static const symbol s_6_86[7]
static const symbol s_6_99[4]
static const symbol s_17[]
static const symbol s_5_2[6]
static const symbol s_6_94[7]
static const symbol s_6_58[2]
static const symbol s_6_98[8]
static const symbol s_6_37[3]
static const symbol s_6_28[4]
static const symbol s_5_29[4]
static const symbol s_6_11[4]
static const symbol s_5_5[3]
static const symbol s_2_1[2]
static const symbol s_6_113[5]
static const unsigned char g_v[]
int portuguese_UTF_8_stem(struct SN_env *z)
static const symbol s_5_11[4]
static const symbol s_5_18[4]
static int r_residual_suffix(struct SN_env *z)
static const symbol s_6_111[5]
static const symbol s_6_64[4]
static const symbol s_6_78[6]
static const symbol s_8[]
static const symbol s_9[]
static const symbol s_5_9[6]
static const symbol s_5_28[6]
static const symbol s_5_15[5]
static const symbol s_6_53[5]
static const symbol s_6_5[4]
static const symbol s_5[]
static const symbol s_8_0[1]
static const symbol s_15[]
static const symbol s_5_24[4]
static const struct among a_5[45]
static const symbol s_0[]
Definition api.h:14
int lb
Definition api.h:16
symbol * p
Definition api.h:15
int * I
Definition api.h:18
int ket
Definition api.h:16
int c
Definition api.h:16
int bra
Definition api.h:16
int l
Definition api.h:16
Definition header.h:16