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