2
/* This file was generated automatically by the Snowball to ANSI C compiler */
6
extern int portuguese_stem(struct SN_env * z);
7
static int r_residual_form(struct SN_env * z);
8
static int r_residual_suffix(struct SN_env * z);
9
static int r_verb_suffix(struct SN_env * z);
10
static int r_standard_suffix(struct SN_env * z);
11
static int r_R2(struct SN_env * z);
12
static int r_R1(struct SN_env * z);
13
static int r_RV(struct SN_env * z);
14
static int r_mark_regions(struct SN_env * z);
15
static int r_postlude(struct SN_env * z);
16
static int r_prelude(struct SN_env * z);
18
extern struct SN_env * portuguese_create_env(void);
19
extern void portuguese_close_env(struct SN_env * z);
21
static symbol s_0_1[1] = { 227 };
22
static symbol s_0_2[1] = { 245 };
24
static struct among a_0[3] =
26
/* 0 */ { 0, 0, -1, 3, 0},
27
/* 1 */ { 1, s_0_1, 0, 1, 0},
28
/* 2 */ { 1, s_0_2, 0, 2, 0}
31
static symbol s_1_1[2] = { 'a', '~' };
32
static symbol s_1_2[2] = { 'o', '~' };
34
static struct among a_1[3] =
36
/* 0 */ { 0, 0, -1, 3, 0},
37
/* 1 */ { 2, s_1_1, 0, 1, 0},
38
/* 2 */ { 2, s_1_2, 0, 2, 0}
41
static symbol s_2_0[2] = { 'i', 'c' };
42
static symbol s_2_1[2] = { 'a', 'd' };
43
static symbol s_2_2[2] = { 'o', 's' };
44
static symbol s_2_3[2] = { 'i', 'v' };
46
static struct among a_2[4] =
48
/* 0 */ { 2, s_2_0, -1, -1, 0},
49
/* 1 */ { 2, s_2_1, -1, -1, 0},
50
/* 2 */ { 2, s_2_2, -1, -1, 0},
51
/* 3 */ { 2, s_2_3, -1, 1, 0}
54
static symbol s_3_0[4] = { 'a', 'v', 'e', 'l' };
55
static symbol s_3_1[4] = { 237, 'v', 'e', 'l' };
57
static struct among a_3[2] =
59
/* 0 */ { 4, s_3_0, -1, 1, 0},
60
/* 1 */ { 4, s_3_1, -1, 1, 0}
63
static symbol s_4_0[2] = { 'i', 'c' };
64
static symbol s_4_1[4] = { 'a', 'b', 'i', 'l' };
65
static symbol s_4_2[2] = { 'i', 'v' };
67
static struct among a_4[3] =
69
/* 0 */ { 2, s_4_0, -1, 1, 0},
70
/* 1 */ { 4, s_4_1, -1, 1, 0},
71
/* 2 */ { 2, s_4_2, -1, 1, 0}
74
static symbol s_5_0[3] = { 'i', 'c', 'a' };
75
static symbol s_5_1[5] = { 234, 'n', 'c', 'i', 'a' };
76
static symbol s_5_2[3] = { 'i', 'r', 'a' };
77
static symbol s_5_3[5] = { 'a', 'd', 'o', 'r', 'a' };
78
static symbol s_5_4[3] = { 'o', 's', 'a' };
79
static symbol s_5_5[4] = { 'i', 's', 't', 'a' };
80
static symbol s_5_6[3] = { 'i', 'v', 'a' };
81
static symbol s_5_7[3] = { 'e', 'z', 'a' };
82
static symbol s_5_8[5] = { 'l', 'o', 'g', 237, 'a' };
83
static symbol s_5_9[5] = { 'i', 'd', 'a', 'd', 'e' };
84
static symbol s_5_10[5] = { 'm', 'e', 'n', 't', 'e' };
85
static symbol s_5_11[6] = { 'a', 'm', 'e', 'n', 't', 'e' };
86
static symbol s_5_12[4] = { 225, 'v', 'e', 'l' };
87
static symbol s_5_13[4] = { 237, 'v', 'e', 'l' };
88
static symbol s_5_14[5] = { 'u', 'c', 'i', 243, 'n' };
89
static symbol s_5_15[3] = { 'i', 'c', 'o' };
90
static symbol s_5_16[4] = { 'i', 's', 'm', 'o' };
91
static symbol s_5_17[3] = { 'o', 's', 'o' };
92
static symbol s_5_18[6] = { 'a', 'm', 'e', 'n', 't', 'o' };
93
static symbol s_5_19[6] = { 'i', 'm', 'e', 'n', 't', 'o' };
94
static symbol s_5_20[3] = { 'i', 'v', 'o' };
95
static symbol s_5_21[5] = { 'a', 231, 'a', '~', 'o' };
96
static symbol s_5_22[4] = { 'a', 'd', 'o', 'r' };
97
static symbol s_5_23[4] = { 'i', 'c', 'a', 's' };
98
static symbol s_5_24[6] = { 234, 'n', 'c', 'i', 'a', 's' };
99
static symbol s_5_25[4] = { 'i', 'r', 'a', 's' };
100
static symbol s_5_26[6] = { 'a', 'd', 'o', 'r', 'a', 's' };
101
static symbol s_5_27[4] = { 'o', 's', 'a', 's' };
102
static symbol s_5_28[5] = { 'i', 's', 't', 'a', 's' };
103
static symbol s_5_29[4] = { 'i', 'v', 'a', 's' };
104
static symbol s_5_30[4] = { 'e', 'z', 'a', 's' };
105
static symbol s_5_31[6] = { 'l', 'o', 'g', 237, 'a', 's' };
106
static symbol s_5_32[6] = { 'i', 'd', 'a', 'd', 'e', 's' };
107
static symbol s_5_33[7] = { 'u', 'c', 'i', 'o', 'n', 'e', 's' };
108
static symbol s_5_34[6] = { 'a', 'd', 'o', 'r', 'e', 's' };
109
static symbol s_5_35[6] = { 'a', 231, 'o', '~', 'e', 's' };
110
static symbol s_5_36[4] = { 'i', 'c', 'o', 's' };
111
static symbol s_5_37[5] = { 'i', 's', 'm', 'o', 's' };
112
static symbol s_5_38[4] = { 'o', 's', 'o', 's' };
113
static symbol s_5_39[7] = { 'a', 'm', 'e', 'n', 't', 'o', 's' };
114
static symbol s_5_40[7] = { 'i', 'm', 'e', 'n', 't', 'o', 's' };
115
static symbol s_5_41[4] = { 'i', 'v', 'o', 's' };
117
static struct among a_5[42] =
119
/* 0 */ { 3, s_5_0, -1, 1, 0},
120
/* 1 */ { 5, s_5_1, -1, 4, 0},
121
/* 2 */ { 3, s_5_2, -1, 9, 0},
122
/* 3 */ { 5, s_5_3, -1, 1, 0},
123
/* 4 */ { 3, s_5_4, -1, 1, 0},
124
/* 5 */ { 4, s_5_5, -1, 1, 0},
125
/* 6 */ { 3, s_5_6, -1, 8, 0},
126
/* 7 */ { 3, s_5_7, -1, 1, 0},
127
/* 8 */ { 5, s_5_8, -1, 2, 0},
128
/* 9 */ { 5, s_5_9, -1, 7, 0},
129
/* 10 */ { 5, s_5_10, -1, 6, 0},
130
/* 11 */ { 6, s_5_11, 10, 5, 0},
131
/* 12 */ { 4, s_5_12, -1, 1, 0},
132
/* 13 */ { 4, s_5_13, -1, 1, 0},
133
/* 14 */ { 5, s_5_14, -1, 3, 0},
134
/* 15 */ { 3, s_5_15, -1, 1, 0},
135
/* 16 */ { 4, s_5_16, -1, 1, 0},
136
/* 17 */ { 3, s_5_17, -1, 1, 0},
137
/* 18 */ { 6, s_5_18, -1, 1, 0},
138
/* 19 */ { 6, s_5_19, -1, 1, 0},
139
/* 20 */ { 3, s_5_20, -1, 8, 0},
140
/* 21 */ { 5, s_5_21, -1, 1, 0},
141
/* 22 */ { 4, s_5_22, -1, 1, 0},
142
/* 23 */ { 4, s_5_23, -1, 1, 0},
143
/* 24 */ { 6, s_5_24, -1, 4, 0},
144
/* 25 */ { 4, s_5_25, -1, 9, 0},
145
/* 26 */ { 6, s_5_26, -1, 1, 0},
146
/* 27 */ { 4, s_5_27, -1, 1, 0},
147
/* 28 */ { 5, s_5_28, -1, 1, 0},
148
/* 29 */ { 4, s_5_29, -1, 8, 0},
149
/* 30 */ { 4, s_5_30, -1, 1, 0},
150
/* 31 */ { 6, s_5_31, -1, 2, 0},
151
/* 32 */ { 6, s_5_32, -1, 7, 0},
152
/* 33 */ { 7, s_5_33, -1, 3, 0},
153
/* 34 */ { 6, s_5_34, -1, 1, 0},
154
/* 35 */ { 6, s_5_35, -1, 1, 0},
155
/* 36 */ { 4, s_5_36, -1, 1, 0},
156
/* 37 */ { 5, s_5_37, -1, 1, 0},
157
/* 38 */ { 4, s_5_38, -1, 1, 0},
158
/* 39 */ { 7, s_5_39, -1, 1, 0},
159
/* 40 */ { 7, s_5_40, -1, 1, 0},
160
/* 41 */ { 4, s_5_41, -1, 8, 0}
163
static symbol s_6_0[3] = { 'a', 'd', 'a' };
164
static symbol s_6_1[3] = { 'i', 'd', 'a' };
165
static symbol s_6_2[2] = { 'i', 'a' };
166
static symbol s_6_3[4] = { 'a', 'r', 'i', 'a' };
167
static symbol s_6_4[4] = { 'e', 'r', 'i', 'a' };
168
static symbol s_6_5[4] = { 'i', 'r', 'i', 'a' };
169
static symbol s_6_6[3] = { 'a', 'r', 'a' };
170
static symbol s_6_7[3] = { 'e', 'r', 'a' };
171
static symbol s_6_8[3] = { 'i', 'r', 'a' };
172
static symbol s_6_9[3] = { 'a', 'v', 'a' };
173
static symbol s_6_10[4] = { 'a', 's', 's', 'e' };
174
static symbol s_6_11[4] = { 'e', 's', 's', 'e' };
175
static symbol s_6_12[4] = { 'i', 's', 's', 'e' };
176
static symbol s_6_13[4] = { 'a', 's', 't', 'e' };
177
static symbol s_6_14[4] = { 'e', 's', 't', 'e' };
178
static symbol s_6_15[4] = { 'i', 's', 't', 'e' };
179
static symbol s_6_16[2] = { 'e', 'i' };
180
static symbol s_6_17[4] = { 'a', 'r', 'e', 'i' };
181
static symbol s_6_18[4] = { 'e', 'r', 'e', 'i' };
182
static symbol s_6_19[4] = { 'i', 'r', 'e', 'i' };
183
static symbol s_6_20[2] = { 'a', 'm' };
184
static symbol s_6_21[3] = { 'i', 'a', 'm' };
185
static symbol s_6_22[5] = { 'a', 'r', 'i', 'a', 'm' };
186
static symbol s_6_23[5] = { 'e', 'r', 'i', 'a', 'm' };
187
static symbol s_6_24[5] = { 'i', 'r', 'i', 'a', 'm' };
188
static symbol s_6_25[4] = { 'a', 'r', 'a', 'm' };
189
static symbol s_6_26[4] = { 'e', 'r', 'a', 'm' };
190
static symbol s_6_27[4] = { 'i', 'r', 'a', 'm' };
191
static symbol s_6_28[4] = { 'a', 'v', 'a', 'm' };
192
static symbol s_6_29[2] = { 'e', 'm' };
193
static symbol s_6_30[4] = { 'a', 'r', 'e', 'm' };
194
static symbol s_6_31[4] = { 'e', 'r', 'e', 'm' };
195
static symbol s_6_32[4] = { 'i', 'r', 'e', 'm' };
196
static symbol s_6_33[5] = { 'a', 's', 's', 'e', 'm' };
197
static symbol s_6_34[5] = { 'e', 's', 's', 'e', 'm' };
198
static symbol s_6_35[5] = { 'i', 's', 's', 'e', 'm' };
199
static symbol s_6_36[3] = { 'a', 'd', 'o' };
200
static symbol s_6_37[3] = { 'i', 'd', 'o' };
201
static symbol s_6_38[4] = { 'a', 'n', 'd', 'o' };
202
static symbol s_6_39[4] = { 'e', 'n', 'd', 'o' };
203
static symbol s_6_40[4] = { 'i', 'n', 'd', 'o' };
204
static symbol s_6_41[5] = { 'a', 'r', 'a', '~', 'o' };
205
static symbol s_6_42[5] = { 'e', 'r', 'a', '~', 'o' };
206
static symbol s_6_43[5] = { 'i', 'r', 'a', '~', 'o' };
207
static symbol s_6_44[2] = { 'a', 'r' };
208
static symbol s_6_45[2] = { 'e', 'r' };
209
static symbol s_6_46[2] = { 'i', 'r' };
210
static symbol s_6_47[2] = { 'a', 's' };
211
static symbol s_6_48[4] = { 'a', 'd', 'a', 's' };
212
static symbol s_6_49[4] = { 'i', 'd', 'a', 's' };
213
static symbol s_6_50[3] = { 'i', 'a', 's' };
214
static symbol s_6_51[5] = { 'a', 'r', 'i', 'a', 's' };
215
static symbol s_6_52[5] = { 'e', 'r', 'i', 'a', 's' };
216
static symbol s_6_53[5] = { 'i', 'r', 'i', 'a', 's' };
217
static symbol s_6_54[4] = { 'a', 'r', 'a', 's' };
218
static symbol s_6_55[4] = { 'e', 'r', 'a', 's' };
219
static symbol s_6_56[4] = { 'i', 'r', 'a', 's' };
220
static symbol s_6_57[4] = { 'a', 'v', 'a', 's' };
221
static symbol s_6_58[2] = { 'e', 's' };
222
static symbol s_6_59[5] = { 'a', 'r', 'd', 'e', 's' };
223
static symbol s_6_60[5] = { 'e', 'r', 'd', 'e', 's' };
224
static symbol s_6_61[5] = { 'i', 'r', 'd', 'e', 's' };
225
static symbol s_6_62[4] = { 'a', 'r', 'e', 's' };
226
static symbol s_6_63[4] = { 'e', 'r', 'e', 's' };
227
static symbol s_6_64[4] = { 'i', 'r', 'e', 's' };
228
static symbol s_6_65[5] = { 'a', 's', 's', 'e', 's' };
229
static symbol s_6_66[5] = { 'e', 's', 's', 'e', 's' };
230
static symbol s_6_67[5] = { 'i', 's', 's', 'e', 's' };
231
static symbol s_6_68[5] = { 'a', 's', 't', 'e', 's' };
232
static symbol s_6_69[5] = { 'e', 's', 't', 'e', 's' };
233
static symbol s_6_70[5] = { 'i', 's', 't', 'e', 's' };
234
static symbol s_6_71[2] = { 'i', 's' };
235
static symbol s_6_72[3] = { 'a', 'i', 's' };
236
static symbol s_6_73[3] = { 'e', 'i', 's' };
237
static symbol s_6_74[5] = { 'a', 'r', 'e', 'i', 's' };
238
static symbol s_6_75[5] = { 'e', 'r', 'e', 'i', 's' };
239
static symbol s_6_76[5] = { 'i', 'r', 'e', 'i', 's' };
240
static symbol s_6_77[5] = { 225, 'r', 'e', 'i', 's' };
241
static symbol s_6_78[5] = { 233, 'r', 'e', 'i', 's' };
242
static symbol s_6_79[5] = { 237, 'r', 'e', 'i', 's' };
243
static symbol s_6_80[6] = { 225, 's', 's', 'e', 'i', 's' };
244
static symbol s_6_81[6] = { 233, 's', 's', 'e', 'i', 's' };
245
static symbol s_6_82[6] = { 237, 's', 's', 'e', 'i', 's' };
246
static symbol s_6_83[5] = { 225, 'v', 'e', 'i', 's' };
247
static symbol s_6_84[4] = { 237, 'e', 'i', 's' };
248
static symbol s_6_85[6] = { 'a', 'r', 237, 'e', 'i', 's' };
249
static symbol s_6_86[6] = { 'e', 'r', 237, 'e', 'i', 's' };
250
static symbol s_6_87[6] = { 'i', 'r', 237, 'e', 'i', 's' };
251
static symbol s_6_88[4] = { 'a', 'd', 'o', 's' };
252
static symbol s_6_89[4] = { 'i', 'd', 'o', 's' };
253
static symbol s_6_90[4] = { 'a', 'm', 'o', 's' };
254
static symbol s_6_91[6] = { 225, 'r', 'a', 'm', 'o', 's' };
255
static symbol s_6_92[6] = { 233, 'r', 'a', 'm', 'o', 's' };
256
static symbol s_6_93[6] = { 237, 'r', 'a', 'm', 'o', 's' };
257
static symbol s_6_94[6] = { 225, 'v', 'a', 'm', 'o', 's' };
258
static symbol s_6_95[5] = { 237, 'a', 'm', 'o', 's' };
259
static symbol s_6_96[7] = { 'a', 'r', 237, 'a', 'm', 'o', 's' };
260
static symbol s_6_97[7] = { 'e', 'r', 237, 'a', 'm', 'o', 's' };
261
static symbol s_6_98[7] = { 'i', 'r', 237, 'a', 'm', 'o', 's' };
262
static symbol s_6_99[4] = { 'e', 'm', 'o', 's' };
263
static symbol s_6_100[6] = { 'a', 'r', 'e', 'm', 'o', 's' };
264
static symbol s_6_101[6] = { 'e', 'r', 'e', 'm', 'o', 's' };
265
static symbol s_6_102[6] = { 'i', 'r', 'e', 'm', 'o', 's' };
266
static symbol s_6_103[7] = { 225, 's', 's', 'e', 'm', 'o', 's' };
267
static symbol s_6_104[7] = { 234, 's', 's', 'e', 'm', 'o', 's' };
268
static symbol s_6_105[7] = { 237, 's', 's', 'e', 'm', 'o', 's' };
269
static symbol s_6_106[4] = { 'i', 'm', 'o', 's' };
270
static symbol s_6_107[5] = { 'a', 'r', 'm', 'o', 's' };
271
static symbol s_6_108[5] = { 'e', 'r', 'm', 'o', 's' };
272
static symbol s_6_109[5] = { 'i', 'r', 'm', 'o', 's' };
273
static symbol s_6_110[4] = { 225, 'm', 'o', 's' };
274
static symbol s_6_111[4] = { 'a', 'r', 225, 's' };
275
static symbol s_6_112[4] = { 'e', 'r', 225, 's' };
276
static symbol s_6_113[4] = { 'i', 'r', 225, 's' };
277
static symbol s_6_114[2] = { 'e', 'u' };
278
static symbol s_6_115[2] = { 'i', 'u' };
279
static symbol s_6_116[2] = { 'o', 'u' };
280
static symbol s_6_117[3] = { 'a', 'r', 225 };
281
static symbol s_6_118[3] = { 'e', 'r', 225 };
282
static symbol s_6_119[3] = { 'i', 'r', 225 };
284
static struct among a_6[120] =
286
/* 0 */ { 3, s_6_0, -1, 1, 0},
287
/* 1 */ { 3, s_6_1, -1, 1, 0},
288
/* 2 */ { 2, s_6_2, -1, 1, 0},
289
/* 3 */ { 4, s_6_3, 2, 1, 0},
290
/* 4 */ { 4, s_6_4, 2, 1, 0},
291
/* 5 */ { 4, s_6_5, 2, 1, 0},
292
/* 6 */ { 3, s_6_6, -1, 1, 0},
293
/* 7 */ { 3, s_6_7, -1, 1, 0},
294
/* 8 */ { 3, s_6_8, -1, 1, 0},
295
/* 9 */ { 3, s_6_9, -1, 1, 0},
296
/* 10 */ { 4, s_6_10, -1, 1, 0},
297
/* 11 */ { 4, s_6_11, -1, 1, 0},
298
/* 12 */ { 4, s_6_12, -1, 1, 0},
299
/* 13 */ { 4, s_6_13, -1, 1, 0},
300
/* 14 */ { 4, s_6_14, -1, 1, 0},
301
/* 15 */ { 4, s_6_15, -1, 1, 0},
302
/* 16 */ { 2, s_6_16, -1, 1, 0},
303
/* 17 */ { 4, s_6_17, 16, 1, 0},
304
/* 18 */ { 4, s_6_18, 16, 1, 0},
305
/* 19 */ { 4, s_6_19, 16, 1, 0},
306
/* 20 */ { 2, s_6_20, -1, 1, 0},
307
/* 21 */ { 3, s_6_21, 20, 1, 0},
308
/* 22 */ { 5, s_6_22, 21, 1, 0},
309
/* 23 */ { 5, s_6_23, 21, 1, 0},
310
/* 24 */ { 5, s_6_24, 21, 1, 0},
311
/* 25 */ { 4, s_6_25, 20, 1, 0},
312
/* 26 */ { 4, s_6_26, 20, 1, 0},
313
/* 27 */ { 4, s_6_27, 20, 1, 0},
314
/* 28 */ { 4, s_6_28, 20, 1, 0},
315
/* 29 */ { 2, s_6_29, -1, 1, 0},
316
/* 30 */ { 4, s_6_30, 29, 1, 0},
317
/* 31 */ { 4, s_6_31, 29, 1, 0},
318
/* 32 */ { 4, s_6_32, 29, 1, 0},
319
/* 33 */ { 5, s_6_33, 29, 1, 0},
320
/* 34 */ { 5, s_6_34, 29, 1, 0},
321
/* 35 */ { 5, s_6_35, 29, 1, 0},
322
/* 36 */ { 3, s_6_36, -1, 1, 0},
323
/* 37 */ { 3, s_6_37, -1, 1, 0},
324
/* 38 */ { 4, s_6_38, -1, 1, 0},
325
/* 39 */ { 4, s_6_39, -1, 1, 0},
326
/* 40 */ { 4, s_6_40, -1, 1, 0},
327
/* 41 */ { 5, s_6_41, -1, 1, 0},
328
/* 42 */ { 5, s_6_42, -1, 1, 0},
329
/* 43 */ { 5, s_6_43, -1, 1, 0},
330
/* 44 */ { 2, s_6_44, -1, 1, 0},
331
/* 45 */ { 2, s_6_45, -1, 1, 0},
332
/* 46 */ { 2, s_6_46, -1, 1, 0},
333
/* 47 */ { 2, s_6_47, -1, 1, 0},
334
/* 48 */ { 4, s_6_48, 47, 1, 0},
335
/* 49 */ { 4, s_6_49, 47, 1, 0},
336
/* 50 */ { 3, s_6_50, 47, 1, 0},
337
/* 51 */ { 5, s_6_51, 50, 1, 0},
338
/* 52 */ { 5, s_6_52, 50, 1, 0},
339
/* 53 */ { 5, s_6_53, 50, 1, 0},
340
/* 54 */ { 4, s_6_54, 47, 1, 0},
341
/* 55 */ { 4, s_6_55, 47, 1, 0},
342
/* 56 */ { 4, s_6_56, 47, 1, 0},
343
/* 57 */ { 4, s_6_57, 47, 1, 0},
344
/* 58 */ { 2, s_6_58, -1, 1, 0},
345
/* 59 */ { 5, s_6_59, 58, 1, 0},
346
/* 60 */ { 5, s_6_60, 58, 1, 0},
347
/* 61 */ { 5, s_6_61, 58, 1, 0},
348
/* 62 */ { 4, s_6_62, 58, 1, 0},
349
/* 63 */ { 4, s_6_63, 58, 1, 0},
350
/* 64 */ { 4, s_6_64, 58, 1, 0},
351
/* 65 */ { 5, s_6_65, 58, 1, 0},
352
/* 66 */ { 5, s_6_66, 58, 1, 0},
353
/* 67 */ { 5, s_6_67, 58, 1, 0},
354
/* 68 */ { 5, s_6_68, 58, 1, 0},
355
/* 69 */ { 5, s_6_69, 58, 1, 0},
356
/* 70 */ { 5, s_6_70, 58, 1, 0},
357
/* 71 */ { 2, s_6_71, -1, 1, 0},
358
/* 72 */ { 3, s_6_72, 71, 1, 0},
359
/* 73 */ { 3, s_6_73, 71, 1, 0},
360
/* 74 */ { 5, s_6_74, 73, 1, 0},
361
/* 75 */ { 5, s_6_75, 73, 1, 0},
362
/* 76 */ { 5, s_6_76, 73, 1, 0},
363
/* 77 */ { 5, s_6_77, 73, 1, 0},
364
/* 78 */ { 5, s_6_78, 73, 1, 0},
365
/* 79 */ { 5, s_6_79, 73, 1, 0},
366
/* 80 */ { 6, s_6_80, 73, 1, 0},
367
/* 81 */ { 6, s_6_81, 73, 1, 0},
368
/* 82 */ { 6, s_6_82, 73, 1, 0},
369
/* 83 */ { 5, s_6_83, 73, 1, 0},
370
/* 84 */ { 4, s_6_84, 73, 1, 0},
371
/* 85 */ { 6, s_6_85, 84, 1, 0},
372
/* 86 */ { 6, s_6_86, 84, 1, 0},
373
/* 87 */ { 6, s_6_87, 84, 1, 0},
374
/* 88 */ { 4, s_6_88, -1, 1, 0},
375
/* 89 */ { 4, s_6_89, -1, 1, 0},
376
/* 90 */ { 4, s_6_90, -1, 1, 0},
377
/* 91 */ { 6, s_6_91, 90, 1, 0},
378
/* 92 */ { 6, s_6_92, 90, 1, 0},
379
/* 93 */ { 6, s_6_93, 90, 1, 0},
380
/* 94 */ { 6, s_6_94, 90, 1, 0},
381
/* 95 */ { 5, s_6_95, 90, 1, 0},
382
/* 96 */ { 7, s_6_96, 95, 1, 0},
383
/* 97 */ { 7, s_6_97, 95, 1, 0},
384
/* 98 */ { 7, s_6_98, 95, 1, 0},
385
/* 99 */ { 4, s_6_99, -1, 1, 0},
386
/*100 */ { 6, s_6_100, 99, 1, 0},
387
/*101 */ { 6, s_6_101, 99, 1, 0},
388
/*102 */ { 6, s_6_102, 99, 1, 0},
389
/*103 */ { 7, s_6_103, 99, 1, 0},
390
/*104 */ { 7, s_6_104, 99, 1, 0},
391
/*105 */ { 7, s_6_105, 99, 1, 0},
392
/*106 */ { 4, s_6_106, -1, 1, 0},
393
/*107 */ { 5, s_6_107, -1, 1, 0},
394
/*108 */ { 5, s_6_108, -1, 1, 0},
395
/*109 */ { 5, s_6_109, -1, 1, 0},
396
/*110 */ { 4, s_6_110, -1, 1, 0},
397
/*111 */ { 4, s_6_111, -1, 1, 0},
398
/*112 */ { 4, s_6_112, -1, 1, 0},
399
/*113 */ { 4, s_6_113, -1, 1, 0},
400
/*114 */ { 2, s_6_114, -1, 1, 0},
401
/*115 */ { 2, s_6_115, -1, 1, 0},
402
/*116 */ { 2, s_6_116, -1, 1, 0},
403
/*117 */ { 3, s_6_117, -1, 1, 0},
404
/*118 */ { 3, s_6_118, -1, 1, 0},
405
/*119 */ { 3, s_6_119, -1, 1, 0}
408
static symbol s_7_0[1] = { 'a' };
409
static symbol s_7_1[1] = { 'i' };
410
static symbol s_7_2[1] = { 'o' };
411
static symbol s_7_3[2] = { 'o', 's' };
412
static symbol s_7_4[1] = { 225 };
413
static symbol s_7_5[1] = { 237 };
414
static symbol s_7_6[1] = { 243 };
416
static struct among a_7[7] =
418
/* 0 */ { 1, s_7_0, -1, 1, 0},
419
/* 1 */ { 1, s_7_1, -1, 1, 0},
420
/* 2 */ { 1, s_7_2, -1, 1, 0},
421
/* 3 */ { 2, s_7_3, -1, 1, 0},
422
/* 4 */ { 1, s_7_4, -1, 1, 0},
423
/* 5 */ { 1, s_7_5, -1, 1, 0},
424
/* 6 */ { 1, s_7_6, -1, 1, 0}
427
static symbol s_8_0[1] = { 'e' };
428
static symbol s_8_1[1] = { 231 };
429
static symbol s_8_2[1] = { 233 };
430
static symbol s_8_3[1] = { 234 };
432
static struct among a_8[4] =
434
/* 0 */ { 1, s_8_0, -1, 1, 0},
435
/* 1 */ { 1, s_8_1, -1, 2, 0},
436
/* 2 */ { 1, s_8_2, -1, 1, 0},
437
/* 3 */ { 1, s_8_3, -1, 1, 0}
440
static unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 19, 12, 2 };
442
static symbol s_0[] = { 'a', '~' };
443
static symbol s_1[] = { 'o', '~' };
444
static symbol s_2[] = { 227 };
445
static symbol s_3[] = { 245 };
446
static symbol s_4[] = { 'l', 'o', 'g' };
447
static symbol s_5[] = { 'u' };
448
static symbol s_6[] = { 'e', 'n', 't', 'e' };
449
static symbol s_7[] = { 'a', 't' };
450
static symbol s_8[] = { 'a', 't' };
451
static symbol s_9[] = { 'e' };
452
static symbol s_10[] = { 'i', 'r' };
453
static symbol s_11[] = { 'u' };
454
static symbol s_12[] = { 'g' };
455
static symbol s_13[] = { 'i' };
456
static symbol s_14[] = { 'c' };
457
static symbol s_15[] = { 'c' };
458
static symbol s_16[] = { 'i' };
459
static symbol s_17[] = { 'c' };
461
static int r_prelude(struct SN_env * z) {
463
while(1) { /* repeat, line 36 */
465
z->bra = z->c; /* [, line 37 */
466
among_var = find_among(z, a_0, 3); /* substring, line 37 */
467
if (!(among_var)) goto lab0;
468
z->ket = z->c; /* ], line 37 */
472
slice_from_s(z, 2, s_0); /* <-, line 38 */
475
slice_from_s(z, 2, s_1); /* <-, line 39 */
478
if (z->c >= z->l) goto lab0;
479
z->c++; /* next, line 40 */
490
static int r_mark_regions(struct SN_env * z) {
494
{ int c = z->c; /* do, line 50 */
495
{ int c = z->c; /* or, line 52 */
496
if (!(in_grouping(z, g_v, 97, 250))) goto lab2;
497
{ int c = z->c; /* or, line 51 */
498
if (!(out_grouping(z, g_v, 97, 250))) goto lab4;
499
while(1) { /* gopast, line 51 */
500
if (!(in_grouping(z, g_v, 97, 250))) goto lab5;
503
if (z->c >= z->l) goto lab4;
509
if (!(in_grouping(z, g_v, 97, 250))) goto lab2;
510
while(1) { /* gopast, line 51 */
511
if (!(out_grouping(z, g_v, 97, 250))) goto lab6;
514
if (z->c >= z->l) goto lab2;
522
if (!(out_grouping(z, g_v, 97, 250))) goto lab0;
523
{ int c = z->c; /* or, line 53 */
524
if (!(out_grouping(z, g_v, 97, 250))) goto lab8;
525
while(1) { /* gopast, line 53 */
526
if (!(in_grouping(z, g_v, 97, 250))) goto lab9;
529
if (z->c >= z->l) goto lab8;
535
if (!(in_grouping(z, g_v, 97, 250))) goto lab0;
536
if (z->c >= z->l) goto lab0;
537
z->c++; /* next, line 53 */
543
z->I[0] = z->c; /* setmark pV, line 54 */
547
{ int c = z->c; /* do, line 56 */
548
while(1) { /* gopast, line 57 */
549
if (!(in_grouping(z, g_v, 97, 250))) goto lab11;
552
if (z->c >= z->l) goto lab10;
555
while(1) { /* gopast, line 57 */
556
if (!(out_grouping(z, g_v, 97, 250))) goto lab12;
559
if (z->c >= z->l) goto lab10;
562
z->I[1] = z->c; /* setmark p1, line 57 */
563
while(1) { /* gopast, line 58 */
564
if (!(in_grouping(z, g_v, 97, 250))) goto lab13;
567
if (z->c >= z->l) goto lab10;
570
while(1) { /* gopast, line 58 */
571
if (!(out_grouping(z, g_v, 97, 250))) goto lab14;
574
if (z->c >= z->l) goto lab10;
577
z->I[2] = z->c; /* setmark p2, line 58 */
584
static int r_postlude(struct SN_env * z) {
586
while(1) { /* repeat, line 62 */
588
z->bra = z->c; /* [, line 63 */
589
among_var = find_among(z, a_1, 3); /* substring, line 63 */
590
if (!(among_var)) goto lab0;
591
z->ket = z->c; /* ], line 63 */
595
slice_from_s(z, 1, s_2); /* <-, line 64 */
598
slice_from_s(z, 1, s_3); /* <-, line 65 */
601
if (z->c >= z->l) goto lab0;
602
z->c++; /* next, line 66 */
613
static int r_RV(struct SN_env * z) {
614
if (!(z->I[0] <= z->c)) return 0;
618
static int r_R1(struct SN_env * z) {
619
if (!(z->I[1] <= z->c)) return 0;
623
static int r_R2(struct SN_env * z) {
624
if (!(z->I[2] <= z->c)) return 0;
628
static int r_standard_suffix(struct SN_env * z) {
630
z->ket = z->c; /* [, line 77 */
631
among_var = find_among_b(z, a_5, 42); /* substring, line 77 */
632
if (!(among_var)) return 0;
633
z->bra = z->c; /* ], line 77 */
637
if (!r_R2(z)) return 0; /* call R2, line 92 */
638
slice_del(z); /* delete, line 92 */
641
if (!r_R2(z)) return 0; /* call R2, line 97 */
642
slice_from_s(z, 3, s_4); /* <-, line 97 */
645
if (!r_R2(z)) return 0; /* call R2, line 101 */
646
slice_from_s(z, 1, s_5); /* <-, line 101 */
649
if (!r_R2(z)) return 0; /* call R2, line 105 */
650
slice_from_s(z, 4, s_6); /* <-, line 105 */
653
if (!r_R1(z)) return 0; /* call R1, line 109 */
654
slice_del(z); /* delete, line 109 */
655
{ int m = z->l - z->c; /* try, line 110 */
656
z->ket = z->c; /* [, line 111 */
657
among_var = find_among_b(z, a_2, 4); /* substring, line 111 */
658
if (!(among_var)) { z->c = z->l - m; goto lab0; }
659
z->bra = z->c; /* ], line 111 */
660
if (!r_R2(z)) { z->c = z->l - m; goto lab0; } /* call R2, line 111 */
661
slice_del(z); /* delete, line 111 */
663
case 0: { z->c = z->l - m; goto lab0; }
665
z->ket = z->c; /* [, line 112 */
666
if (!(eq_s_b(z, 2, s_7))) { z->c = z->l - m; goto lab0; }
667
z->bra = z->c; /* ], line 112 */
668
if (!r_R2(z)) { z->c = z->l - m; goto lab0; } /* call R2, line 112 */
669
slice_del(z); /* delete, line 112 */
677
if (!r_R2(z)) return 0; /* call R2, line 121 */
678
slice_del(z); /* delete, line 121 */
679
{ int m = z->l - z->c; /* try, line 122 */
680
z->ket = z->c; /* [, line 123 */
681
among_var = find_among_b(z, a_3, 2); /* substring, line 123 */
682
if (!(among_var)) { z->c = z->l - m; goto lab1; }
683
z->bra = z->c; /* ], line 123 */
685
case 0: { z->c = z->l - m; goto lab1; }
687
if (!r_R2(z)) { z->c = z->l - m; goto lab1; } /* call R2, line 125 */
688
slice_del(z); /* delete, line 125 */
696
if (!r_R2(z)) return 0; /* call R2, line 132 */
697
slice_del(z); /* delete, line 132 */
698
{ int m = z->l - z->c; /* try, line 133 */
699
z->ket = z->c; /* [, line 134 */
700
among_var = find_among_b(z, a_4, 3); /* substring, line 134 */
701
if (!(among_var)) { z->c = z->l - m; goto lab2; }
702
z->bra = z->c; /* ], line 134 */
704
case 0: { z->c = z->l - m; goto lab2; }
706
if (!r_R2(z)) { z->c = z->l - m; goto lab2; } /* call R2, line 137 */
707
slice_del(z); /* delete, line 137 */
715
if (!r_R2(z)) return 0; /* call R2, line 144 */
716
slice_del(z); /* delete, line 144 */
717
{ int m = z->l - z->c; /* try, line 145 */
718
z->ket = z->c; /* [, line 146 */
719
if (!(eq_s_b(z, 2, s_8))) { z->c = z->l - m; goto lab3; }
720
z->bra = z->c; /* ], line 146 */
721
if (!r_R2(z)) { z->c = z->l - m; goto lab3; } /* call R2, line 146 */
722
slice_del(z); /* delete, line 146 */
728
if (!r_RV(z)) return 0; /* call RV, line 151 */
729
if (!(eq_s_b(z, 1, s_9))) return 0;
730
slice_from_s(z, 2, s_10); /* <-, line 152 */
736
static int r_verb_suffix(struct SN_env * z) {
738
{ int m = z->l - z->c; /* setlimit, line 157 */
740
if (z->c < z->I[0]) return 0;
741
z->c = z->I[0]; /* tomark, line 157 */
742
m3 = z->lb; z->lb = z->c;
744
z->ket = z->c; /* [, line 158 */
745
among_var = find_among_b(z, a_6, 120); /* substring, line 158 */
746
if (!(among_var)) { z->lb = m3; return 0; }
747
z->bra = z->c; /* ], line 158 */
749
case 0: { z->lb = m3; return 0; }
751
slice_del(z); /* delete, line 177 */
759
static int r_residual_suffix(struct SN_env * z) {
761
z->ket = z->c; /* [, line 182 */
762
among_var = find_among_b(z, a_7, 7); /* substring, line 182 */
763
if (!(among_var)) return 0;
764
z->bra = z->c; /* ], line 182 */
768
if (!r_RV(z)) return 0; /* call RV, line 185 */
769
slice_del(z); /* delete, line 185 */
775
static int r_residual_form(struct SN_env * z) {
777
z->ket = z->c; /* [, line 190 */
778
among_var = find_among_b(z, a_8, 4); /* substring, line 190 */
779
if (!(among_var)) return 0;
780
z->bra = z->c; /* ], line 190 */
784
if (!r_RV(z)) return 0; /* call RV, line 192 */
785
slice_del(z); /* delete, line 192 */
786
z->ket = z->c; /* [, line 192 */
787
{ int m = z->l - z->c; /* or, line 192 */
788
if (!(eq_s_b(z, 1, s_11))) goto lab1;
789
z->bra = z->c; /* ], line 192 */
790
{ int m_test = z->l - z->c; /* test, line 192 */
791
if (!(eq_s_b(z, 1, s_12))) goto lab1;
792
z->c = z->l - m_test;
797
if (!(eq_s_b(z, 1, s_13))) return 0;
798
z->bra = z->c; /* ], line 193 */
799
{ int m_test = z->l - z->c; /* test, line 193 */
800
if (!(eq_s_b(z, 1, s_14))) return 0;
801
z->c = z->l - m_test;
805
if (!r_RV(z)) return 0; /* call RV, line 193 */
806
slice_del(z); /* delete, line 193 */
809
slice_from_s(z, 1, s_15); /* <-, line 194 */
815
extern int portuguese_stem(struct SN_env * z) {
816
{ int c = z->c; /* do, line 200 */
817
if (!r_prelude(z)) goto lab0; /* call prelude, line 200 */
821
{ int c = z->c; /* do, line 201 */
822
if (!r_mark_regions(z)) goto lab1; /* call mark_regions, line 201 */
826
z->lb = z->c; z->c = z->l; /* backwards, line 202 */
828
{ int m = z->l - z->c; /* do, line 203 */
829
{ int m = z->l - z->c; /* or, line 207 */
830
{ int m = z->l - z->c; /* or, line 204 */
831
if (!r_standard_suffix(z)) goto lab6; /* call standard_suffix, line 204 */
835
if (!r_verb_suffix(z)) goto lab4; /* call verb_suffix, line 204 */
838
{ int m = z->l - z->c; /* do, line 205 */
839
z->ket = z->c; /* [, line 205 */
840
if (!(eq_s_b(z, 1, s_16))) goto lab7;
841
z->bra = z->c; /* ], line 205 */
842
{ int m_test = z->l - z->c; /* test, line 205 */
843
if (!(eq_s_b(z, 1, s_17))) goto lab7;
844
z->c = z->l - m_test;
846
if (!r_RV(z)) goto lab7; /* call RV, line 205 */
847
slice_del(z); /* delete, line 205 */
854
if (!r_residual_suffix(z)) goto lab2; /* call residual_suffix, line 207 */
860
{ int m = z->l - z->c; /* do, line 209 */
861
if (!r_residual_form(z)) goto lab8; /* call residual_form, line 209 */
866
{ int c = z->c; /* do, line 211 */
867
if (!r_postlude(z)) goto lab9; /* call postlude, line 211 */
874
extern struct SN_env * portuguese_create_env(void) { return SN_create_env(0, 3, 0); }
876
extern void portuguese_close_env(struct SN_env * z) { SN_close_env(z); }