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