Age Owner Branch data TLA Line data Source code
1 : : /* Generated by Snowball 2.2.0 - https://snowballstem.org/ */
2 : :
3 : : #include "header.h"
4 : :
5 : : #ifdef __cplusplus
6 : : extern "C" {
7 : : #endif
8 : : extern int portuguese_UTF_8_stem(struct SN_env * z);
9 : : #ifdef __cplusplus
10 : : }
11 : : #endif
12 : : static int r_residual_form(struct SN_env * z);
13 : : static int r_residual_suffix(struct SN_env * z);
14 : : static int r_verb_suffix(struct SN_env * z);
15 : : static int r_standard_suffix(struct SN_env * z);
16 : : static int r_R2(struct SN_env * z);
17 : : static int r_R1(struct SN_env * z);
18 : : static int r_RV(struct SN_env * z);
19 : : static int r_mark_regions(struct SN_env * z);
20 : : static int r_postlude(struct SN_env * z);
21 : : static int r_prelude(struct SN_env * z);
22 : : #ifdef __cplusplus
23 : : extern "C" {
24 : : #endif
25 : :
26 : :
27 : : extern struct SN_env * portuguese_UTF_8_create_env(void);
28 : : extern void portuguese_UTF_8_close_env(struct SN_env * z);
29 : :
30 : :
31 : : #ifdef __cplusplus
32 : : }
33 : : #endif
34 : : static const symbol s_0_1[2] = { 0xC3, 0xA3 };
35 : : static const symbol s_0_2[2] = { 0xC3, 0xB5 };
36 : :
37 : : static const struct among a_0[3] =
38 : : {
39 : : { 0, 0, -1, 3, 0},
40 : : { 2, s_0_1, 0, 1, 0},
41 : : { 2, s_0_2, 0, 2, 0}
42 : : };
43 : :
44 : : static const symbol s_1_1[2] = { 'a', '~' };
45 : : static const symbol s_1_2[2] = { 'o', '~' };
46 : :
47 : : static const struct among a_1[3] =
48 : : {
49 : : { 0, 0, -1, 3, 0},
50 : : { 2, s_1_1, 0, 1, 0},
51 : : { 2, s_1_2, 0, 2, 0}
52 : : };
53 : :
54 : : static const symbol s_2_0[2] = { 'i', 'c' };
55 : : static const symbol s_2_1[2] = { 'a', 'd' };
56 : : static const symbol s_2_2[2] = { 'o', 's' };
57 : : static const symbol s_2_3[2] = { 'i', 'v' };
58 : :
59 : : static const struct among a_2[4] =
60 : : {
61 : : { 2, s_2_0, -1, -1, 0},
62 : : { 2, s_2_1, -1, -1, 0},
63 : : { 2, s_2_2, -1, -1, 0},
64 : : { 2, s_2_3, -1, 1, 0}
65 : : };
66 : :
67 : : static const symbol s_3_0[4] = { 'a', 'n', 't', 'e' };
68 : : static const symbol s_3_1[4] = { 'a', 'v', 'e', 'l' };
69 : : static const symbol s_3_2[5] = { 0xC3, 0xAD, 'v', 'e', 'l' };
70 : :
71 : : static const struct among a_3[3] =
72 : : {
73 : : { 4, s_3_0, -1, 1, 0},
74 : : { 4, s_3_1, -1, 1, 0},
75 : : { 5, s_3_2, -1, 1, 0}
76 : : };
77 : :
78 : : static const symbol s_4_0[2] = { 'i', 'c' };
79 : : static const symbol s_4_1[4] = { 'a', 'b', 'i', 'l' };
80 : : static const symbol s_4_2[2] = { 'i', 'v' };
81 : :
82 : : static const struct among a_4[3] =
83 : : {
84 : : { 2, s_4_0, -1, 1, 0},
85 : : { 4, s_4_1, -1, 1, 0},
86 : : { 2, s_4_2, -1, 1, 0}
87 : : };
88 : :
89 : : static const symbol s_5_0[3] = { 'i', 'c', 'a' };
90 : : static const symbol s_5_1[6] = { 0xC3, 0xA2, 'n', 'c', 'i', 'a' };
91 : : static const symbol s_5_2[6] = { 0xC3, 0xAA, 'n', 'c', 'i', 'a' };
92 : : static const symbol s_5_3[5] = { 'l', 'o', 'g', 'i', 'a' };
93 : : static const symbol s_5_4[3] = { 'i', 'r', 'a' };
94 : : static const symbol s_5_5[5] = { 'a', 'd', 'o', 'r', 'a' };
95 : : static const symbol s_5_6[3] = { 'o', 's', 'a' };
96 : : static const symbol s_5_7[4] = { 'i', 's', 't', 'a' };
97 : : static const symbol s_5_8[3] = { 'i', 'v', 'a' };
98 : : static const symbol s_5_9[3] = { 'e', 'z', 'a' };
99 : : static const symbol s_5_10[5] = { 'i', 'd', 'a', 'd', 'e' };
100 : : static const symbol s_5_11[4] = { 'a', 'n', 't', 'e' };
101 : : static const symbol s_5_12[5] = { 'm', 'e', 'n', 't', 'e' };
102 : : static const symbol s_5_13[6] = { 'a', 'm', 'e', 'n', 't', 'e' };
103 : : static const symbol s_5_14[5] = { 0xC3, 0xA1, 'v', 'e', 'l' };
104 : : static const symbol s_5_15[5] = { 0xC3, 0xAD, 'v', 'e', 'l' };
105 : : static const symbol s_5_16[3] = { 'i', 'c', 'o' };
106 : : static const symbol s_5_17[4] = { 'i', 's', 'm', 'o' };
107 : : static const symbol s_5_18[3] = { 'o', 's', 'o' };
108 : : static const symbol s_5_19[6] = { 'a', 'm', 'e', 'n', 't', 'o' };
109 : : static const symbol s_5_20[6] = { 'i', 'm', 'e', 'n', 't', 'o' };
110 : : static const symbol s_5_21[3] = { 'i', 'v', 'o' };
111 : : static const symbol s_5_22[6] = { 'a', 0xC3, 0xA7, 'a', '~', 'o' };
112 : : static const symbol s_5_23[6] = { 'u', 0xC3, 0xA7, 'a', '~', 'o' };
113 : : static const symbol s_5_24[4] = { 'a', 'd', 'o', 'r' };
114 : : static const symbol s_5_25[4] = { 'i', 'c', 'a', 's' };
115 : : static const symbol s_5_26[7] = { 0xC3, 0xAA, 'n', 'c', 'i', 'a', 's' };
116 : : static const symbol s_5_27[6] = { 'l', 'o', 'g', 'i', 'a', 's' };
117 : : static const symbol s_5_28[4] = { 'i', 'r', 'a', 's' };
118 : : static const symbol s_5_29[6] = { 'a', 'd', 'o', 'r', 'a', 's' };
119 : : static const symbol s_5_30[4] = { 'o', 's', 'a', 's' };
120 : : static const symbol s_5_31[5] = { 'i', 's', 't', 'a', 's' };
121 : : static const symbol s_5_32[4] = { 'i', 'v', 'a', 's' };
122 : : static const symbol s_5_33[4] = { 'e', 'z', 'a', 's' };
123 : : static const symbol s_5_34[6] = { 'i', 'd', 'a', 'd', 'e', 's' };
124 : : static const symbol s_5_35[6] = { 'a', 'd', 'o', 'r', 'e', 's' };
125 : : static const symbol s_5_36[5] = { 'a', 'n', 't', 'e', 's' };
126 : : static const symbol s_5_37[7] = { 'a', 0xC3, 0xA7, 'o', '~', 'e', 's' };
127 : : static const symbol s_5_38[7] = { 'u', 0xC3, 0xA7, 'o', '~', 'e', 's' };
128 : : static const symbol s_5_39[4] = { 'i', 'c', 'o', 's' };
129 : : static const symbol s_5_40[5] = { 'i', 's', 'm', 'o', 's' };
130 : : static const symbol s_5_41[4] = { 'o', 's', 'o', 's' };
131 : : static const symbol s_5_42[7] = { 'a', 'm', 'e', 'n', 't', 'o', 's' };
132 : : static const symbol s_5_43[7] = { 'i', 'm', 'e', 'n', 't', 'o', 's' };
133 : : static const symbol s_5_44[4] = { 'i', 'v', 'o', 's' };
134 : :
135 : : static const struct among a_5[45] =
136 : : {
137 : : { 3, s_5_0, -1, 1, 0},
138 : : { 6, s_5_1, -1, 1, 0},
139 : : { 6, s_5_2, -1, 4, 0},
140 : : { 5, s_5_3, -1, 2, 0},
141 : : { 3, s_5_4, -1, 9, 0},
142 : : { 5, s_5_5, -1, 1, 0},
143 : : { 3, s_5_6, -1, 1, 0},
144 : : { 4, s_5_7, -1, 1, 0},
145 : : { 3, s_5_8, -1, 8, 0},
146 : : { 3, s_5_9, -1, 1, 0},
147 : : { 5, s_5_10, -1, 7, 0},
148 : : { 4, s_5_11, -1, 1, 0},
149 : : { 5, s_5_12, -1, 6, 0},
150 : : { 6, s_5_13, 12, 5, 0},
151 : : { 5, s_5_14, -1, 1, 0},
152 : : { 5, s_5_15, -1, 1, 0},
153 : : { 3, s_5_16, -1, 1, 0},
154 : : { 4, s_5_17, -1, 1, 0},
155 : : { 3, s_5_18, -1, 1, 0},
156 : : { 6, s_5_19, -1, 1, 0},
157 : : { 6, s_5_20, -1, 1, 0},
158 : : { 3, s_5_21, -1, 8, 0},
159 : : { 6, s_5_22, -1, 1, 0},
160 : : { 6, s_5_23, -1, 3, 0},
161 : : { 4, s_5_24, -1, 1, 0},
162 : : { 4, s_5_25, -1, 1, 0},
163 : : { 7, s_5_26, -1, 4, 0},
164 : : { 6, s_5_27, -1, 2, 0},
165 : : { 4, s_5_28, -1, 9, 0},
166 : : { 6, s_5_29, -1, 1, 0},
167 : : { 4, s_5_30, -1, 1, 0},
168 : : { 5, s_5_31, -1, 1, 0},
169 : : { 4, s_5_32, -1, 8, 0},
170 : : { 4, s_5_33, -1, 1, 0},
171 : : { 6, s_5_34, -1, 7, 0},
172 : : { 6, s_5_35, -1, 1, 0},
173 : : { 5, s_5_36, -1, 1, 0},
174 : : { 7, s_5_37, -1, 1, 0},
175 : : { 7, s_5_38, -1, 3, 0},
176 : : { 4, s_5_39, -1, 1, 0},
177 : : { 5, s_5_40, -1, 1, 0},
178 : : { 4, s_5_41, -1, 1, 0},
179 : : { 7, s_5_42, -1, 1, 0},
180 : : { 7, s_5_43, -1, 1, 0},
181 : : { 4, s_5_44, -1, 8, 0}
182 : : };
183 : :
184 : : static const symbol s_6_0[3] = { 'a', 'd', 'a' };
185 : : static const symbol s_6_1[3] = { 'i', 'd', 'a' };
186 : : static const symbol s_6_2[2] = { 'i', 'a' };
187 : : static const symbol s_6_3[4] = { 'a', 'r', 'i', 'a' };
188 : : static const symbol s_6_4[4] = { 'e', 'r', 'i', 'a' };
189 : : static const symbol s_6_5[4] = { 'i', 'r', 'i', 'a' };
190 : : static const symbol s_6_6[3] = { 'a', 'r', 'a' };
191 : : static const symbol s_6_7[3] = { 'e', 'r', 'a' };
192 : : static const symbol s_6_8[3] = { 'i', 'r', 'a' };
193 : : static const symbol s_6_9[3] = { 'a', 'v', 'a' };
194 : : static const symbol s_6_10[4] = { 'a', 's', 's', 'e' };
195 : : static const symbol s_6_11[4] = { 'e', 's', 's', 'e' };
196 : : static const symbol s_6_12[4] = { 'i', 's', 's', 'e' };
197 : : static const symbol s_6_13[4] = { 'a', 's', 't', 'e' };
198 : : static const symbol s_6_14[4] = { 'e', 's', 't', 'e' };
199 : : static const symbol s_6_15[4] = { 'i', 's', 't', 'e' };
200 : : static const symbol s_6_16[2] = { 'e', 'i' };
201 : : static const symbol s_6_17[4] = { 'a', 'r', 'e', 'i' };
202 : : static const symbol s_6_18[4] = { 'e', 'r', 'e', 'i' };
203 : : static const symbol s_6_19[4] = { 'i', 'r', 'e', 'i' };
204 : : static const symbol s_6_20[2] = { 'a', 'm' };
205 : : static const symbol s_6_21[3] = { 'i', 'a', 'm' };
206 : : static const symbol s_6_22[5] = { 'a', 'r', 'i', 'a', 'm' };
207 : : static const symbol s_6_23[5] = { 'e', 'r', 'i', 'a', 'm' };
208 : : static const symbol s_6_24[5] = { 'i', 'r', 'i', 'a', 'm' };
209 : : static const symbol s_6_25[4] = { 'a', 'r', 'a', 'm' };
210 : : static const symbol s_6_26[4] = { 'e', 'r', 'a', 'm' };
211 : : static const symbol s_6_27[4] = { 'i', 'r', 'a', 'm' };
212 : : static const symbol s_6_28[4] = { 'a', 'v', 'a', 'm' };
213 : : static const symbol s_6_29[2] = { 'e', 'm' };
214 : : static const symbol s_6_30[4] = { 'a', 'r', 'e', 'm' };
215 : : static const symbol s_6_31[4] = { 'e', 'r', 'e', 'm' };
216 : : static const symbol s_6_32[4] = { 'i', 'r', 'e', 'm' };
217 : : static const symbol s_6_33[5] = { 'a', 's', 's', 'e', 'm' };
218 : : static const symbol s_6_34[5] = { 'e', 's', 's', 'e', 'm' };
219 : : static const symbol s_6_35[5] = { 'i', 's', 's', 'e', 'm' };
220 : : static const symbol s_6_36[3] = { 'a', 'd', 'o' };
221 : : static const symbol s_6_37[3] = { 'i', 'd', 'o' };
222 : : static const symbol s_6_38[4] = { 'a', 'n', 'd', 'o' };
223 : : static const symbol s_6_39[4] = { 'e', 'n', 'd', 'o' };
224 : : static const symbol s_6_40[4] = { 'i', 'n', 'd', 'o' };
225 : : static const symbol s_6_41[5] = { 'a', 'r', 'a', '~', 'o' };
226 : : static const symbol s_6_42[5] = { 'e', 'r', 'a', '~', 'o' };
227 : : static const symbol s_6_43[5] = { 'i', 'r', 'a', '~', 'o' };
228 : : static const symbol s_6_44[2] = { 'a', 'r' };
229 : : static const symbol s_6_45[2] = { 'e', 'r' };
230 : : static const symbol s_6_46[2] = { 'i', 'r' };
231 : : static const symbol s_6_47[2] = { 'a', 's' };
232 : : static const symbol s_6_48[4] = { 'a', 'd', 'a', 's' };
233 : : static const symbol s_6_49[4] = { 'i', 'd', 'a', 's' };
234 : : static const symbol s_6_50[3] = { 'i', 'a', 's' };
235 : : static const symbol s_6_51[5] = { 'a', 'r', 'i', 'a', 's' };
236 : : static const symbol s_6_52[5] = { 'e', 'r', 'i', 'a', 's' };
237 : : static const symbol s_6_53[5] = { 'i', 'r', 'i', 'a', 's' };
238 : : static const symbol s_6_54[4] = { 'a', 'r', 'a', 's' };
239 : : static const symbol s_6_55[4] = { 'e', 'r', 'a', 's' };
240 : : static const symbol s_6_56[4] = { 'i', 'r', 'a', 's' };
241 : : static const symbol s_6_57[4] = { 'a', 'v', 'a', 's' };
242 : : static const symbol s_6_58[2] = { 'e', 's' };
243 : : static const symbol s_6_59[5] = { 'a', 'r', 'd', 'e', 's' };
244 : : static const symbol s_6_60[5] = { 'e', 'r', 'd', 'e', 's' };
245 : : static const symbol s_6_61[5] = { 'i', 'r', 'd', 'e', 's' };
246 : : static const symbol s_6_62[4] = { 'a', 'r', 'e', 's' };
247 : : static const symbol s_6_63[4] = { 'e', 'r', 'e', 's' };
248 : : static const symbol s_6_64[4] = { 'i', 'r', 'e', 's' };
249 : : static const symbol s_6_65[5] = { 'a', 's', 's', 'e', 's' };
250 : : static const symbol s_6_66[5] = { 'e', 's', 's', 'e', 's' };
251 : : static const symbol s_6_67[5] = { 'i', 's', 's', 'e', 's' };
252 : : static const symbol s_6_68[5] = { 'a', 's', 't', 'e', 's' };
253 : : static const symbol s_6_69[5] = { 'e', 's', 't', 'e', 's' };
254 : : static const symbol s_6_70[5] = { 'i', 's', 't', 'e', 's' };
255 : : static const symbol s_6_71[2] = { 'i', 's' };
256 : : static const symbol s_6_72[3] = { 'a', 'i', 's' };
257 : : static const symbol s_6_73[3] = { 'e', 'i', 's' };
258 : : static const symbol s_6_74[5] = { 'a', 'r', 'e', 'i', 's' };
259 : : static const symbol s_6_75[5] = { 'e', 'r', 'e', 'i', 's' };
260 : : static const symbol s_6_76[5] = { 'i', 'r', 'e', 'i', 's' };
261 : : static const symbol s_6_77[6] = { 0xC3, 0xA1, 'r', 'e', 'i', 's' };
262 : : static const symbol s_6_78[6] = { 0xC3, 0xA9, 'r', 'e', 'i', 's' };
263 : : static const symbol s_6_79[6] = { 0xC3, 0xAD, 'r', 'e', 'i', 's' };
264 : : static const symbol s_6_80[7] = { 0xC3, 0xA1, 's', 's', 'e', 'i', 's' };
265 : : static const symbol s_6_81[7] = { 0xC3, 0xA9, 's', 's', 'e', 'i', 's' };
266 : : static const symbol s_6_82[7] = { 0xC3, 0xAD, 's', 's', 'e', 'i', 's' };
267 : : static const symbol s_6_83[6] = { 0xC3, 0xA1, 'v', 'e', 'i', 's' };
268 : : static const symbol s_6_84[5] = { 0xC3, 0xAD, 'e', 'i', 's' };
269 : : static const symbol s_6_85[7] = { 'a', 'r', 0xC3, 0xAD, 'e', 'i', 's' };
270 : : static const symbol s_6_86[7] = { 'e', 'r', 0xC3, 0xAD, 'e', 'i', 's' };
271 : : static const symbol s_6_87[7] = { 'i', 'r', 0xC3, 0xAD, 'e', 'i', 's' };
272 : : static const symbol s_6_88[4] = { 'a', 'd', 'o', 's' };
273 : : static const symbol s_6_89[4] = { 'i', 'd', 'o', 's' };
274 : : static const symbol s_6_90[4] = { 'a', 'm', 'o', 's' };
275 : : static const symbol s_6_91[7] = { 0xC3, 0xA1, 'r', 'a', 'm', 'o', 's' };
276 : : static const symbol s_6_92[7] = { 0xC3, 0xA9, 'r', 'a', 'm', 'o', 's' };
277 : : static const symbol s_6_93[7] = { 0xC3, 0xAD, 'r', 'a', 'm', 'o', 's' };
278 : : static const symbol s_6_94[7] = { 0xC3, 0xA1, 'v', 'a', 'm', 'o', 's' };
279 : : static const symbol s_6_95[6] = { 0xC3, 0xAD, 'a', 'm', 'o', 's' };
280 : : static const symbol s_6_96[8] = { 'a', 'r', 0xC3, 0xAD, 'a', 'm', 'o', 's' };
281 : : static const symbol s_6_97[8] = { 'e', 'r', 0xC3, 0xAD, 'a', 'm', 'o', 's' };
282 : : static const symbol s_6_98[8] = { 'i', 'r', 0xC3, 0xAD, 'a', 'm', 'o', 's' };
283 : : static const symbol s_6_99[4] = { 'e', 'm', 'o', 's' };
284 : : static const symbol s_6_100[6] = { 'a', 'r', 'e', 'm', 'o', 's' };
285 : : static const symbol s_6_101[6] = { 'e', 'r', 'e', 'm', 'o', 's' };
286 : : static const symbol s_6_102[6] = { 'i', 'r', 'e', 'm', 'o', 's' };
287 : : static const symbol s_6_103[8] = { 0xC3, 0xA1, 's', 's', 'e', 'm', 'o', 's' };
288 : : static const symbol s_6_104[8] = { 0xC3, 0xAA, 's', 's', 'e', 'm', 'o', 's' };
289 : : static const symbol s_6_105[8] = { 0xC3, 0xAD, 's', 's', 'e', 'm', 'o', 's' };
290 : : static const symbol s_6_106[4] = { 'i', 'm', 'o', 's' };
291 : : static const symbol s_6_107[5] = { 'a', 'r', 'm', 'o', 's' };
292 : : static const symbol s_6_108[5] = { 'e', 'r', 'm', 'o', 's' };
293 : : static const symbol s_6_109[5] = { 'i', 'r', 'm', 'o', 's' };
294 : : static const symbol s_6_110[5] = { 0xC3, 0xA1, 'm', 'o', 's' };
295 : : static const symbol s_6_111[5] = { 'a', 'r', 0xC3, 0xA1, 's' };
296 : : static const symbol s_6_112[5] = { 'e', 'r', 0xC3, 0xA1, 's' };
297 : : static const symbol s_6_113[5] = { 'i', 'r', 0xC3, 0xA1, 's' };
298 : : static const symbol s_6_114[2] = { 'e', 'u' };
299 : : static const symbol s_6_115[2] = { 'i', 'u' };
300 : : static const symbol s_6_116[2] = { 'o', 'u' };
301 : : static const symbol s_6_117[4] = { 'a', 'r', 0xC3, 0xA1 };
302 : : static const symbol s_6_118[4] = { 'e', 'r', 0xC3, 0xA1 };
303 : : static const symbol s_6_119[4] = { 'i', 'r', 0xC3, 0xA1 };
304 : :
305 : : static const struct among a_6[120] =
306 : : {
307 : : { 3, s_6_0, -1, 1, 0},
308 : : { 3, s_6_1, -1, 1, 0},
309 : : { 2, s_6_2, -1, 1, 0},
310 : : { 4, s_6_3, 2, 1, 0},
311 : : { 4, s_6_4, 2, 1, 0},
312 : : { 4, s_6_5, 2, 1, 0},
313 : : { 3, s_6_6, -1, 1, 0},
314 : : { 3, s_6_7, -1, 1, 0},
315 : : { 3, s_6_8, -1, 1, 0},
316 : : { 3, s_6_9, -1, 1, 0},
317 : : { 4, s_6_10, -1, 1, 0},
318 : : { 4, s_6_11, -1, 1, 0},
319 : : { 4, s_6_12, -1, 1, 0},
320 : : { 4, s_6_13, -1, 1, 0},
321 : : { 4, s_6_14, -1, 1, 0},
322 : : { 4, s_6_15, -1, 1, 0},
323 : : { 2, s_6_16, -1, 1, 0},
324 : : { 4, s_6_17, 16, 1, 0},
325 : : { 4, s_6_18, 16, 1, 0},
326 : : { 4, s_6_19, 16, 1, 0},
327 : : { 2, s_6_20, -1, 1, 0},
328 : : { 3, s_6_21, 20, 1, 0},
329 : : { 5, s_6_22, 21, 1, 0},
330 : : { 5, s_6_23, 21, 1, 0},
331 : : { 5, s_6_24, 21, 1, 0},
332 : : { 4, s_6_25, 20, 1, 0},
333 : : { 4, s_6_26, 20, 1, 0},
334 : : { 4, s_6_27, 20, 1, 0},
335 : : { 4, s_6_28, 20, 1, 0},
336 : : { 2, s_6_29, -1, 1, 0},
337 : : { 4, s_6_30, 29, 1, 0},
338 : : { 4, s_6_31, 29, 1, 0},
339 : : { 4, s_6_32, 29, 1, 0},
340 : : { 5, s_6_33, 29, 1, 0},
341 : : { 5, s_6_34, 29, 1, 0},
342 : : { 5, s_6_35, 29, 1, 0},
343 : : { 3, s_6_36, -1, 1, 0},
344 : : { 3, s_6_37, -1, 1, 0},
345 : : { 4, s_6_38, -1, 1, 0},
346 : : { 4, s_6_39, -1, 1, 0},
347 : : { 4, s_6_40, -1, 1, 0},
348 : : { 5, s_6_41, -1, 1, 0},
349 : : { 5, s_6_42, -1, 1, 0},
350 : : { 5, s_6_43, -1, 1, 0},
351 : : { 2, s_6_44, -1, 1, 0},
352 : : { 2, s_6_45, -1, 1, 0},
353 : : { 2, s_6_46, -1, 1, 0},
354 : : { 2, s_6_47, -1, 1, 0},
355 : : { 4, s_6_48, 47, 1, 0},
356 : : { 4, s_6_49, 47, 1, 0},
357 : : { 3, s_6_50, 47, 1, 0},
358 : : { 5, s_6_51, 50, 1, 0},
359 : : { 5, s_6_52, 50, 1, 0},
360 : : { 5, s_6_53, 50, 1, 0},
361 : : { 4, s_6_54, 47, 1, 0},
362 : : { 4, s_6_55, 47, 1, 0},
363 : : { 4, s_6_56, 47, 1, 0},
364 : : { 4, s_6_57, 47, 1, 0},
365 : : { 2, s_6_58, -1, 1, 0},
366 : : { 5, s_6_59, 58, 1, 0},
367 : : { 5, s_6_60, 58, 1, 0},
368 : : { 5, s_6_61, 58, 1, 0},
369 : : { 4, s_6_62, 58, 1, 0},
370 : : { 4, s_6_63, 58, 1, 0},
371 : : { 4, s_6_64, 58, 1, 0},
372 : : { 5, s_6_65, 58, 1, 0},
373 : : { 5, s_6_66, 58, 1, 0},
374 : : { 5, s_6_67, 58, 1, 0},
375 : : { 5, s_6_68, 58, 1, 0},
376 : : { 5, s_6_69, 58, 1, 0},
377 : : { 5, s_6_70, 58, 1, 0},
378 : : { 2, s_6_71, -1, 1, 0},
379 : : { 3, s_6_72, 71, 1, 0},
380 : : { 3, s_6_73, 71, 1, 0},
381 : : { 5, s_6_74, 73, 1, 0},
382 : : { 5, s_6_75, 73, 1, 0},
383 : : { 5, s_6_76, 73, 1, 0},
384 : : { 6, s_6_77, 73, 1, 0},
385 : : { 6, s_6_78, 73, 1, 0},
386 : : { 6, s_6_79, 73, 1, 0},
387 : : { 7, s_6_80, 73, 1, 0},
388 : : { 7, s_6_81, 73, 1, 0},
389 : : { 7, s_6_82, 73, 1, 0},
390 : : { 6, s_6_83, 73, 1, 0},
391 : : { 5, s_6_84, 73, 1, 0},
392 : : { 7, s_6_85, 84, 1, 0},
393 : : { 7, s_6_86, 84, 1, 0},
394 : : { 7, s_6_87, 84, 1, 0},
395 : : { 4, s_6_88, -1, 1, 0},
396 : : { 4, s_6_89, -1, 1, 0},
397 : : { 4, s_6_90, -1, 1, 0},
398 : : { 7, s_6_91, 90, 1, 0},
399 : : { 7, s_6_92, 90, 1, 0},
400 : : { 7, s_6_93, 90, 1, 0},
401 : : { 7, s_6_94, 90, 1, 0},
402 : : { 6, s_6_95, 90, 1, 0},
403 : : { 8, s_6_96, 95, 1, 0},
404 : : { 8, s_6_97, 95, 1, 0},
405 : : { 8, s_6_98, 95, 1, 0},
406 : : { 4, s_6_99, -1, 1, 0},
407 : : { 6, s_6_100, 99, 1, 0},
408 : : { 6, s_6_101, 99, 1, 0},
409 : : { 6, s_6_102, 99, 1, 0},
410 : : { 8, s_6_103, 99, 1, 0},
411 : : { 8, s_6_104, 99, 1, 0},
412 : : { 8, s_6_105, 99, 1, 0},
413 : : { 4, s_6_106, -1, 1, 0},
414 : : { 5, s_6_107, -1, 1, 0},
415 : : { 5, s_6_108, -1, 1, 0},
416 : : { 5, s_6_109, -1, 1, 0},
417 : : { 5, s_6_110, -1, 1, 0},
418 : : { 5, s_6_111, -1, 1, 0},
419 : : { 5, s_6_112, -1, 1, 0},
420 : : { 5, s_6_113, -1, 1, 0},
421 : : { 2, s_6_114, -1, 1, 0},
422 : : { 2, s_6_115, -1, 1, 0},
423 : : { 2, s_6_116, -1, 1, 0},
424 : : { 4, s_6_117, -1, 1, 0},
425 : : { 4, s_6_118, -1, 1, 0},
426 : : { 4, s_6_119, -1, 1, 0}
427 : : };
428 : :
429 : : static const symbol s_7_0[1] = { 'a' };
430 : : static const symbol s_7_1[1] = { 'i' };
431 : : static const symbol s_7_2[1] = { 'o' };
432 : : static const symbol s_7_3[2] = { 'o', 's' };
433 : : static const symbol s_7_4[2] = { 0xC3, 0xA1 };
434 : : static const symbol s_7_5[2] = { 0xC3, 0xAD };
435 : : static const symbol s_7_6[2] = { 0xC3, 0xB3 };
436 : :
437 : : static const struct among a_7[7] =
438 : : {
439 : : { 1, s_7_0, -1, 1, 0},
440 : : { 1, s_7_1, -1, 1, 0},
441 : : { 1, s_7_2, -1, 1, 0},
442 : : { 2, s_7_3, -1, 1, 0},
443 : : { 2, s_7_4, -1, 1, 0},
444 : : { 2, s_7_5, -1, 1, 0},
445 : : { 2, s_7_6, -1, 1, 0}
446 : : };
447 : :
448 : : static const symbol s_8_0[1] = { 'e' };
449 : : static const symbol s_8_1[2] = { 0xC3, 0xA7 };
450 : : static const symbol s_8_2[2] = { 0xC3, 0xA9 };
451 : : static const symbol s_8_3[2] = { 0xC3, 0xAA };
452 : :
453 : : static const struct among a_8[4] =
454 : : {
455 : : { 1, s_8_0, -1, 1, 0},
456 : : { 2, s_8_1, -1, 2, 0},
457 : : { 2, s_8_2, -1, 1, 0},
458 : : { 2, s_8_3, -1, 1, 0}
459 : : };
460 : :
461 : : static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 19, 12, 2 };
462 : :
463 : : static const symbol s_0[] = { 'a', '~' };
464 : : static const symbol s_1[] = { 'o', '~' };
465 : : static const symbol s_2[] = { 0xC3, 0xA3 };
466 : : static const symbol s_3[] = { 0xC3, 0xB5 };
467 : : static const symbol s_4[] = { 'l', 'o', 'g' };
468 : : static const symbol s_5[] = { 'u' };
469 : : static const symbol s_6[] = { 'e', 'n', 't', 'e' };
470 : : static const symbol s_7[] = { 'a', 't' };
471 : : static const symbol s_8[] = { 'a', 't' };
472 : : static const symbol s_9[] = { 'i', 'r' };
473 : : static const symbol s_10[] = { 'c' };
474 : :
1660 peter@eisentraut.org 475 :UBC 0 : static int r_prelude(struct SN_env * z) {
476 : : int among_var;
477 : 0 : while(1) {
478 : 0 : int c1 = z->c;
479 : 0 : z->bra = z->c;
480 [ # # # # : 0 : if (z->c + 1 >= z->l || (z->p[z->c + 1] != 163 && z->p[z->c + 1] != 181)) among_var = 3; else
# # ]
2539 tgl@sss.pgh.pa.us 481 : 0 : among_var = find_among(z, a_0, 3);
1660 peter@eisentraut.org 482 : 0 : z->ket = z->c;
483 [ # # # # ]: 0 : switch (among_var) {
6591 tgl@sss.pgh.pa.us 484 : 0 : case 1:
1660 peter@eisentraut.org 485 : 0 : { int ret = slice_from_s(z, 2, s_0);
6591 tgl@sss.pgh.pa.us 486 [ # # ]: 0 : if (ret < 0) return ret;
487 : : }
488 : 0 : break;
489 : 0 : case 2:
1660 peter@eisentraut.org 490 : 0 : { int ret = slice_from_s(z, 2, s_1);
6591 tgl@sss.pgh.pa.us 491 [ # # ]: 0 : if (ret < 0) return ret;
492 : : }
493 : 0 : break;
494 : 0 : case 3:
1660 peter@eisentraut.org 495 : 0 : { int ret = skip_utf8(z->p, z->c, z->l, 1);
6591 tgl@sss.pgh.pa.us 496 [ # # ]: 0 : if (ret < 0) goto lab0;
1660 peter@eisentraut.org 497 : 0 : z->c = ret;
498 : : }
6591 tgl@sss.pgh.pa.us 499 : 0 : break;
500 : : }
501 : 0 : continue;
502 : 0 : lab0:
503 : 0 : z->c = c1;
504 : 0 : break;
505 : : }
506 : 0 : return 1;
507 : : }
508 : :
1660 peter@eisentraut.org 509 : 0 : static int r_mark_regions(struct SN_env * z) {
510 : 0 : z->I[2] = z->l;
511 : 0 : z->I[1] = z->l;
512 : 0 : z->I[0] = z->l;
513 : 0 : { int c1 = z->c;
514 : 0 : { int c2 = z->c;
515 [ # # ]: 0 : if (in_grouping_U(z, g_v, 97, 250, 0)) goto lab2;
516 : 0 : { int c3 = z->c;
517 [ # # ]: 0 : if (out_grouping_U(z, g_v, 97, 250, 0)) goto lab4;
518 : :
519 : : {
6591 tgl@sss.pgh.pa.us 520 : 0 : int ret = out_grouping_U(z, g_v, 97, 250, 1);
521 [ # # ]: 0 : if (ret < 0) goto lab4;
522 : 0 : z->c += ret;
523 : : }
524 : 0 : goto lab3;
525 : 0 : lab4:
526 : 0 : z->c = c3;
1660 peter@eisentraut.org 527 [ # # ]: 0 : if (in_grouping_U(z, g_v, 97, 250, 0)) goto lab2;
528 : :
529 : : {
6591 tgl@sss.pgh.pa.us 530 : 0 : int ret = in_grouping_U(z, g_v, 97, 250, 1);
531 [ # # ]: 0 : if (ret < 0) goto lab2;
532 : 0 : z->c += ret;
533 : : }
534 : : }
535 : 0 : lab3:
536 : 0 : goto lab1;
537 : 0 : lab2:
538 : 0 : z->c = c2;
1660 peter@eisentraut.org 539 [ # # ]: 0 : if (out_grouping_U(z, g_v, 97, 250, 0)) goto lab0;
540 : 0 : { int c4 = z->c;
541 [ # # ]: 0 : if (out_grouping_U(z, g_v, 97, 250, 0)) goto lab6;
542 : :
543 : : {
6591 tgl@sss.pgh.pa.us 544 : 0 : int ret = out_grouping_U(z, g_v, 97, 250, 1);
545 [ # # ]: 0 : if (ret < 0) goto lab6;
546 : 0 : z->c += ret;
547 : : }
548 : 0 : goto lab5;
549 : 0 : lab6:
550 : 0 : z->c = c4;
1660 peter@eisentraut.org 551 [ # # ]: 0 : if (in_grouping_U(z, g_v, 97, 250, 0)) goto lab0;
552 : 0 : { int ret = skip_utf8(z->p, z->c, z->l, 1);
6591 tgl@sss.pgh.pa.us 553 [ # # ]: 0 : if (ret < 0) goto lab0;
1660 peter@eisentraut.org 554 : 0 : z->c = ret;
555 : : }
556 : : }
6591 tgl@sss.pgh.pa.us 557 : 0 : lab5:
558 : : ;
559 : : }
560 : 0 : lab1:
1660 peter@eisentraut.org 561 : 0 : z->I[2] = z->c;
6591 tgl@sss.pgh.pa.us 562 : 0 : lab0:
563 : 0 : z->c = c1;
564 : : }
1660 peter@eisentraut.org 565 : 0 : { int c5 = z->c;
566 : :
567 : : {
6591 tgl@sss.pgh.pa.us 568 : 0 : int ret = out_grouping_U(z, g_v, 97, 250, 1);
569 [ # # ]: 0 : if (ret < 0) goto lab7;
570 : 0 : z->c += ret;
571 : : }
572 : :
573 : : {
574 : 0 : int ret = in_grouping_U(z, g_v, 97, 250, 1);
575 [ # # ]: 0 : if (ret < 0) goto lab7;
576 : 0 : z->c += ret;
577 : : }
1660 peter@eisentraut.org 578 : 0 : z->I[1] = z->c;
579 : :
580 : : {
6591 tgl@sss.pgh.pa.us 581 : 0 : int ret = out_grouping_U(z, g_v, 97, 250, 1);
582 [ # # ]: 0 : if (ret < 0) goto lab7;
583 : 0 : z->c += ret;
584 : : }
585 : :
586 : : {
587 : 0 : int ret = in_grouping_U(z, g_v, 97, 250, 1);
588 [ # # ]: 0 : if (ret < 0) goto lab7;
589 : 0 : z->c += ret;
590 : : }
1660 peter@eisentraut.org 591 : 0 : z->I[0] = z->c;
6591 tgl@sss.pgh.pa.us 592 : 0 : lab7:
593 : 0 : z->c = c5;
594 : : }
595 : 0 : return 1;
596 : : }
597 : :
1660 peter@eisentraut.org 598 : 0 : static int r_postlude(struct SN_env * z) {
599 : : int among_var;
600 : 0 : while(1) {
601 : 0 : int c1 = z->c;
602 : 0 : z->bra = z->c;
603 [ # # # # ]: 0 : if (z->c + 1 >= z->l || z->p[z->c + 1] != 126) among_var = 3; else
2539 tgl@sss.pgh.pa.us 604 : 0 : among_var = find_among(z, a_1, 3);
1660 peter@eisentraut.org 605 : 0 : z->ket = z->c;
606 [ # # # # ]: 0 : switch (among_var) {
6591 tgl@sss.pgh.pa.us 607 : 0 : case 1:
1660 peter@eisentraut.org 608 : 0 : { int ret = slice_from_s(z, 2, s_2);
6591 tgl@sss.pgh.pa.us 609 [ # # ]: 0 : if (ret < 0) return ret;
610 : : }
611 : 0 : break;
612 : 0 : case 2:
1660 peter@eisentraut.org 613 : 0 : { int ret = slice_from_s(z, 2, s_3);
6591 tgl@sss.pgh.pa.us 614 [ # # ]: 0 : if (ret < 0) return ret;
615 : : }
616 : 0 : break;
617 : 0 : case 3:
1660 peter@eisentraut.org 618 : 0 : { int ret = skip_utf8(z->p, z->c, z->l, 1);
6591 tgl@sss.pgh.pa.us 619 [ # # ]: 0 : if (ret < 0) goto lab0;
1660 peter@eisentraut.org 620 : 0 : z->c = ret;
621 : : }
6591 tgl@sss.pgh.pa.us 622 : 0 : break;
623 : : }
624 : 0 : continue;
625 : 0 : lab0:
626 : 0 : z->c = c1;
627 : 0 : break;
628 : : }
629 : 0 : return 1;
630 : : }
631 : :
1660 peter@eisentraut.org 632 : 0 : static int r_RV(struct SN_env * z) {
200 tgl@sss.pgh.pa.us 633 : 0 : return z->I[2] <= z->c;
634 : : }
635 : :
1660 peter@eisentraut.org 636 : 0 : static int r_R1(struct SN_env * z) {
200 tgl@sss.pgh.pa.us 637 : 0 : return z->I[1] <= z->c;
638 : : }
639 : :
1660 peter@eisentraut.org 640 : 0 : static int r_R2(struct SN_env * z) {
200 tgl@sss.pgh.pa.us 641 : 0 : return z->I[0] <= z->c;
642 : : }
643 : :
1660 peter@eisentraut.org 644 : 0 : static int r_standard_suffix(struct SN_env * z) {
645 : : int among_var;
646 : 0 : z->ket = z->c;
647 [ # # # # : 0 : if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((823330 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
# # ]
2539 tgl@sss.pgh.pa.us 648 : 0 : among_var = find_among_b(z, a_5, 45);
200 649 [ # # ]: 0 : if (!among_var) return 0;
1660 peter@eisentraut.org 650 : 0 : z->bra = z->c;
651 [ # # # # : 0 : switch (among_var) {
# # # # #
# ]
6591 tgl@sss.pgh.pa.us 652 : 0 : case 1:
1660 peter@eisentraut.org 653 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 654 [ # # ]: 0 : if (ret <= 0) return ret;
655 : : }
1660 peter@eisentraut.org 656 : 0 : { int ret = slice_del(z);
6591 tgl@sss.pgh.pa.us 657 [ # # ]: 0 : if (ret < 0) return ret;
658 : : }
659 : 0 : break;
660 : 0 : case 2:
1660 peter@eisentraut.org 661 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 662 [ # # ]: 0 : if (ret <= 0) return ret;
663 : : }
1660 peter@eisentraut.org 664 : 0 : { int ret = slice_from_s(z, 3, s_4);
6591 tgl@sss.pgh.pa.us 665 [ # # ]: 0 : if (ret < 0) return ret;
666 : : }
667 : 0 : break;
668 : 0 : case 3:
1660 peter@eisentraut.org 669 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 670 [ # # ]: 0 : if (ret <= 0) return ret;
671 : : }
1660 peter@eisentraut.org 672 : 0 : { int ret = slice_from_s(z, 1, s_5);
6591 tgl@sss.pgh.pa.us 673 [ # # ]: 0 : if (ret < 0) return ret;
674 : : }
675 : 0 : break;
676 : 0 : case 4:
1660 peter@eisentraut.org 677 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 678 [ # # ]: 0 : if (ret <= 0) return ret;
679 : : }
1660 peter@eisentraut.org 680 : 0 : { int ret = slice_from_s(z, 4, s_6);
6591 tgl@sss.pgh.pa.us 681 [ # # ]: 0 : if (ret < 0) return ret;
682 : : }
683 : 0 : break;
684 : 0 : case 5:
1660 peter@eisentraut.org 685 : 0 : { int ret = r_R1(z);
2539 tgl@sss.pgh.pa.us 686 [ # # ]: 0 : if (ret <= 0) return ret;
687 : : }
1660 peter@eisentraut.org 688 : 0 : { int ret = slice_del(z);
6591 tgl@sss.pgh.pa.us 689 [ # # ]: 0 : if (ret < 0) return ret;
690 : : }
1660 peter@eisentraut.org 691 : 0 : { int m1 = z->l - z->c; (void)m1;
692 : 0 : z->ket = z->c;
693 [ # # # # : 0 : if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4718616 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m1; goto lab0; }
# # ]
2539 tgl@sss.pgh.pa.us 694 : 0 : among_var = find_among_b(z, a_2, 4);
200 695 [ # # ]: 0 : if (!among_var) { z->c = z->l - m1; goto lab0; }
1660 peter@eisentraut.org 696 : 0 : z->bra = z->c;
697 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 698 [ # # ]: 0 : if (ret == 0) { z->c = z->l - m1; goto lab0; }
6591 699 [ # # ]: 0 : if (ret < 0) return ret;
700 : : }
1660 peter@eisentraut.org 701 : 0 : { int ret = slice_del(z);
6591 tgl@sss.pgh.pa.us 702 [ # # ]: 0 : if (ret < 0) return ret;
703 : : }
1660 peter@eisentraut.org 704 [ # # ]: 0 : switch (among_var) {
6591 tgl@sss.pgh.pa.us 705 : 0 : case 1:
1660 peter@eisentraut.org 706 : 0 : z->ket = z->c;
707 [ # # ]: 0 : if (!(eq_s_b(z, 2, s_7))) { z->c = z->l - m1; goto lab0; }
708 : 0 : z->bra = z->c;
709 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 710 [ # # ]: 0 : if (ret == 0) { z->c = z->l - m1; goto lab0; }
6591 711 [ # # ]: 0 : if (ret < 0) return ret;
712 : : }
1660 peter@eisentraut.org 713 : 0 : { int ret = slice_del(z);
6591 tgl@sss.pgh.pa.us 714 [ # # ]: 0 : if (ret < 0) return ret;
715 : : }
716 : 0 : break;
717 : : }
718 : 0 : lab0:
719 : : ;
720 : : }
721 : 0 : break;
722 : 0 : case 6:
1660 peter@eisentraut.org 723 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 724 [ # # ]: 0 : if (ret <= 0) return ret;
725 : : }
1660 peter@eisentraut.org 726 : 0 : { int ret = slice_del(z);
6591 tgl@sss.pgh.pa.us 727 [ # # ]: 0 : if (ret < 0) return ret;
728 : : }
1660 peter@eisentraut.org 729 : 0 : { int m2 = z->l - z->c; (void)m2;
730 : 0 : z->ket = z->c;
731 [ # # # # : 0 : if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 101 && z->p[z->c - 1] != 108)) { z->c = z->l - m2; goto lab1; }
# # ]
200 tgl@sss.pgh.pa.us 732 [ # # ]: 0 : if (!find_among_b(z, a_3, 3)) { z->c = z->l - m2; goto lab1; }
1660 peter@eisentraut.org 733 : 0 : z->bra = z->c;
734 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 735 [ # # ]: 0 : if (ret == 0) { z->c = z->l - m2; goto lab1; }
736 [ # # ]: 0 : if (ret < 0) return ret;
737 : : }
1660 peter@eisentraut.org 738 : 0 : { int ret = slice_del(z);
2539 tgl@sss.pgh.pa.us 739 [ # # ]: 0 : if (ret < 0) return ret;
740 : : }
6591 741 : 0 : lab1:
742 : : ;
743 : : }
744 : 0 : break;
745 : 0 : case 7:
1660 peter@eisentraut.org 746 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 747 [ # # ]: 0 : if (ret <= 0) return ret;
748 : : }
1660 peter@eisentraut.org 749 : 0 : { int ret = slice_del(z);
6591 tgl@sss.pgh.pa.us 750 [ # # ]: 0 : if (ret < 0) return ret;
751 : : }
1660 peter@eisentraut.org 752 : 0 : { int m3 = z->l - z->c; (void)m3;
753 : 0 : z->ket = z->c;
754 [ # # # # : 0 : if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m3; goto lab2; }
# # ]
200 tgl@sss.pgh.pa.us 755 [ # # ]: 0 : if (!find_among_b(z, a_4, 3)) { z->c = z->l - m3; goto lab2; }
1660 peter@eisentraut.org 756 : 0 : z->bra = z->c;
757 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 758 [ # # ]: 0 : if (ret == 0) { z->c = z->l - m3; goto lab2; }
759 [ # # ]: 0 : if (ret < 0) return ret;
760 : : }
1660 peter@eisentraut.org 761 : 0 : { int ret = slice_del(z);
2539 tgl@sss.pgh.pa.us 762 [ # # ]: 0 : if (ret < 0) return ret;
763 : : }
6591 764 : 0 : lab2:
765 : : ;
766 : : }
767 : 0 : break;
768 : 0 : case 8:
1660 peter@eisentraut.org 769 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 770 [ # # ]: 0 : if (ret <= 0) return ret;
771 : : }
1660 peter@eisentraut.org 772 : 0 : { int ret = slice_del(z);
6591 tgl@sss.pgh.pa.us 773 [ # # ]: 0 : if (ret < 0) return ret;
774 : : }
1660 peter@eisentraut.org 775 : 0 : { int m4 = z->l - z->c; (void)m4;
776 : 0 : z->ket = z->c;
777 [ # # ]: 0 : if (!(eq_s_b(z, 2, s_8))) { z->c = z->l - m4; goto lab3; }
778 : 0 : z->bra = z->c;
779 : 0 : { int ret = r_R2(z);
2539 tgl@sss.pgh.pa.us 780 [ # # ]: 0 : if (ret == 0) { z->c = z->l - m4; goto lab3; }
6591 781 [ # # ]: 0 : if (ret < 0) return ret;
782 : : }
1660 peter@eisentraut.org 783 : 0 : { int ret = slice_del(z);
6591 tgl@sss.pgh.pa.us 784 [ # # ]: 0 : if (ret < 0) return ret;
785 : : }
786 : 0 : lab3:
787 : : ;
788 : : }
789 : 0 : break;
790 : 0 : case 9:
1660 peter@eisentraut.org 791 : 0 : { int ret = r_RV(z);
2539 tgl@sss.pgh.pa.us 792 [ # # ]: 0 : if (ret <= 0) return ret;
793 : : }
1660 peter@eisentraut.org 794 [ # # # # ]: 0 : if (z->c <= z->lb || z->p[z->c - 1] != 'e') return 0;
2539 tgl@sss.pgh.pa.us 795 : 0 : z->c--;
1660 peter@eisentraut.org 796 : 0 : { int ret = slice_from_s(z, 2, s_9);
6591 tgl@sss.pgh.pa.us 797 [ # # ]: 0 : if (ret < 0) return ret;
798 : : }
799 : 0 : break;
800 : : }
801 : 0 : return 1;
802 : : }
803 : :
1660 peter@eisentraut.org 804 : 0 : static int r_verb_suffix(struct SN_env * z) {
805 : :
806 : : { int mlimit1;
807 [ # # ]: 0 : if (z->c < z->I[2]) return 0;
808 : 0 : mlimit1 = z->lb; z->lb = z->I[2];
809 : 0 : z->ket = z->c;
200 tgl@sss.pgh.pa.us 810 [ # # ]: 0 : if (!find_among_b(z, a_6, 120)) { z->lb = mlimit1; return 0; }
1660 peter@eisentraut.org 811 : 0 : z->bra = z->c;
812 : 0 : { int ret = slice_del(z);
2539 tgl@sss.pgh.pa.us 813 [ # # ]: 0 : if (ret < 0) return ret;
814 : : }
815 : 0 : z->lb = mlimit1;
816 : : }
6591 817 : 0 : return 1;
818 : : }
819 : :
1660 peter@eisentraut.org 820 : 0 : static int r_residual_suffix(struct SN_env * z) {
821 : 0 : z->ket = z->c;
200 tgl@sss.pgh.pa.us 822 [ # # ]: 0 : if (!find_among_b(z, a_7, 7)) return 0;
1660 peter@eisentraut.org 823 : 0 : z->bra = z->c;
824 : 0 : { int ret = r_RV(z);
2539 tgl@sss.pgh.pa.us 825 [ # # ]: 0 : if (ret <= 0) return ret;
826 : : }
1660 peter@eisentraut.org 827 : 0 : { int ret = slice_del(z);
2539 tgl@sss.pgh.pa.us 828 [ # # ]: 0 : if (ret < 0) return ret;
829 : : }
6591 830 : 0 : return 1;
831 : : }
832 : :
1660 peter@eisentraut.org 833 : 0 : static int r_residual_form(struct SN_env * z) {
834 : : int among_var;
835 : 0 : z->ket = z->c;
836 : 0 : among_var = find_among_b(z, a_8, 4);
200 tgl@sss.pgh.pa.us 837 [ # # ]: 0 : if (!among_var) return 0;
1660 peter@eisentraut.org 838 : 0 : z->bra = z->c;
839 [ # # # ]: 0 : switch (among_var) {
6591 tgl@sss.pgh.pa.us 840 : 0 : case 1:
1660 peter@eisentraut.org 841 : 0 : { int ret = r_RV(z);
2539 tgl@sss.pgh.pa.us 842 [ # # ]: 0 : if (ret <= 0) return ret;
843 : : }
1660 peter@eisentraut.org 844 : 0 : { int ret = slice_del(z);
6591 tgl@sss.pgh.pa.us 845 [ # # ]: 0 : if (ret < 0) return ret;
846 : : }
1660 peter@eisentraut.org 847 : 0 : z->ket = z->c;
848 : 0 : { int m1 = z->l - z->c; (void)m1;
849 [ # # # # ]: 0 : if (z->c <= z->lb || z->p[z->c - 1] != 'u') goto lab1;
2539 tgl@sss.pgh.pa.us 850 : 0 : z->c--;
1660 peter@eisentraut.org 851 : 0 : z->bra = z->c;
852 : 0 : { int m_test2 = z->l - z->c;
853 [ # # # # ]: 0 : if (z->c <= z->lb || z->p[z->c - 1] != 'g') goto lab1;
2539 tgl@sss.pgh.pa.us 854 : 0 : z->c--;
855 : 0 : z->c = z->l - m_test2;
856 : : }
6591 857 : 0 : goto lab0;
858 : 0 : lab1:
859 : 0 : z->c = z->l - m1;
1660 peter@eisentraut.org 860 [ # # # # ]: 0 : if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0;
2539 tgl@sss.pgh.pa.us 861 : 0 : z->c--;
1660 peter@eisentraut.org 862 : 0 : z->bra = z->c;
863 : 0 : { int m_test3 = z->l - z->c;
864 [ # # # # ]: 0 : if (z->c <= z->lb || z->p[z->c - 1] != 'c') return 0;
2539 tgl@sss.pgh.pa.us 865 : 0 : z->c--;
866 : 0 : z->c = z->l - m_test3;
867 : : }
868 : : }
6591 869 : 0 : lab0:
1660 peter@eisentraut.org 870 : 0 : { int ret = r_RV(z);
2539 tgl@sss.pgh.pa.us 871 [ # # ]: 0 : if (ret <= 0) return ret;
872 : : }
1660 peter@eisentraut.org 873 : 0 : { int ret = slice_del(z);
6591 tgl@sss.pgh.pa.us 874 [ # # ]: 0 : if (ret < 0) return ret;
875 : : }
876 : 0 : break;
877 : 0 : case 2:
1660 peter@eisentraut.org 878 : 0 : { int ret = slice_from_s(z, 1, s_10);
6591 tgl@sss.pgh.pa.us 879 [ # # ]: 0 : if (ret < 0) return ret;
880 : : }
881 : 0 : break;
882 : : }
883 : 0 : return 1;
884 : : }
885 : :
1660 peter@eisentraut.org 886 : 0 : extern int portuguese_UTF_8_stem(struct SN_env * z) {
887 : 0 : { int c1 = z->c;
888 : 0 : { int ret = r_prelude(z);
6591 tgl@sss.pgh.pa.us 889 [ # # ]: 0 : if (ret < 0) return ret;
890 : : }
891 : 0 : z->c = c1;
892 : : }
893 : :
1660 peter@eisentraut.org 894 : 0 : { int ret = r_mark_regions(z);
2539 tgl@sss.pgh.pa.us 895 [ # # ]: 0 : if (ret < 0) return ret;
896 : : }
1660 peter@eisentraut.org 897 : 0 : z->lb = z->c; z->c = z->l;
898 : :
899 : 0 : { int m2 = z->l - z->c; (void)m2;
900 : 0 : { int m3 = z->l - z->c; (void)m3;
901 : 0 : { int m4 = z->l - z->c; (void)m4;
902 : 0 : { int m5 = z->l - z->c; (void)m5;
903 : 0 : { int ret = r_standard_suffix(z);
1916 904 [ # # ]: 0 : if (ret == 0) goto lab4;
6591 tgl@sss.pgh.pa.us 905 [ # # ]: 0 : if (ret < 0) return ret;
906 : : }
1916 peter@eisentraut.org 907 : 0 : goto lab3;
908 : 0 : lab4:
2539 tgl@sss.pgh.pa.us 909 : 0 : z->c = z->l - m5;
1660 peter@eisentraut.org 910 : 0 : { int ret = r_verb_suffix(z);
1916 911 [ # # ]: 0 : if (ret == 0) goto lab2;
6591 tgl@sss.pgh.pa.us 912 [ # # ]: 0 : if (ret < 0) return ret;
913 : : }
914 : : }
1916 peter@eisentraut.org 915 : 0 : lab3:
2539 tgl@sss.pgh.pa.us 916 : 0 : z->c = z->l - m4;
1660 peter@eisentraut.org 917 : 0 : { int m6 = z->l - z->c; (void)m6;
918 : 0 : z->ket = z->c;
919 [ # # # # ]: 0 : if (z->c <= z->lb || z->p[z->c - 1] != 'i') goto lab5;
2539 tgl@sss.pgh.pa.us 920 : 0 : z->c--;
1660 peter@eisentraut.org 921 : 0 : z->bra = z->c;
922 : 0 : { int m_test7 = z->l - z->c;
923 [ # # # # ]: 0 : if (z->c <= z->lb || z->p[z->c - 1] != 'c') goto lab5;
2539 tgl@sss.pgh.pa.us 924 : 0 : z->c--;
925 : 0 : z->c = z->l - m_test7;
926 : : }
1660 peter@eisentraut.org 927 : 0 : { int ret = r_RV(z);
1916 928 [ # # ]: 0 : if (ret == 0) goto lab5;
6591 tgl@sss.pgh.pa.us 929 [ # # ]: 0 : if (ret < 0) return ret;
930 : : }
1660 peter@eisentraut.org 931 : 0 : { int ret = slice_del(z);
6591 tgl@sss.pgh.pa.us 932 [ # # ]: 0 : if (ret < 0) return ret;
933 : : }
1916 peter@eisentraut.org 934 : 0 : lab5:
2539 tgl@sss.pgh.pa.us 935 : 0 : z->c = z->l - m6;
936 : : }
937 : : }
1916 peter@eisentraut.org 938 : 0 : goto lab1;
939 : 0 : lab2:
2539 tgl@sss.pgh.pa.us 940 : 0 : z->c = z->l - m3;
1660 peter@eisentraut.org 941 : 0 : { int ret = r_residual_suffix(z);
1916 942 [ # # ]: 0 : if (ret == 0) goto lab0;
6591 tgl@sss.pgh.pa.us 943 [ # # ]: 0 : if (ret < 0) return ret;
944 : : }
945 : : }
1916 peter@eisentraut.org 946 : 0 : lab1:
947 : 0 : lab0:
2539 tgl@sss.pgh.pa.us 948 : 0 : z->c = z->l - m2;
949 : : }
1660 peter@eisentraut.org 950 : 0 : { int m8 = z->l - z->c; (void)m8;
951 : 0 : { int ret = r_residual_form(z);
6591 tgl@sss.pgh.pa.us 952 [ # # ]: 0 : if (ret < 0) return ret;
953 : : }
954 : 0 : z->c = z->l - m8;
955 : : }
956 : 0 : z->c = z->lb;
1660 peter@eisentraut.org 957 : 0 : { int c9 = z->c;
958 : 0 : { int ret = r_postlude(z);
6591 tgl@sss.pgh.pa.us 959 [ # # ]: 0 : if (ret < 0) return ret;
960 : : }
961 : 0 : z->c = c9;
962 : : }
963 : 0 : return 1;
964 : : }
965 : :
1660 peter@eisentraut.org 966 : 0 : extern struct SN_env * portuguese_UTF_8_create_env(void) { return SN_create_env(0, 3); }
967 : :
6591 tgl@sss.pgh.pa.us 968 : 0 : extern void portuguese_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); }
969 : :
|