Debian Codegraph @

src/backend/snowball/libstemmer/stem_ISO_8859_1_spanish.c

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