7#include "snowball_runtime.h"
102{ 5,
s_3_3, -1, 1, 0},
126{ 2,
s_5_0, 0, -1, 0},
127{ 2,
s_5_1, 0, -1, 0},
128{ 2,
s_5_2, 0, -1, 0},
132static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
134static const unsigned char g_v_I[] = { 1, 0, 0, 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
136static const unsigned char g_v_j[] = { 17, 67, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
145 if (z->
c >= z->
l || z->
p[z->
c + 0] >> 5 != 7 || !((340306450 >> (z->
p[z->
c + 0] & 0x1f)) & 1)) among_var = 6;
else
152 if (ret < 0)
return ret;
158 if (ret < 0)
return ret;
164 if (ret < 0)
return ret;
170 if (ret < 0)
return ret;
176 if (ret < 0)
return ret;
180 if (z->
c >= z->
l)
goto lab0;
194 if (z->
c == z->
l || z->
p[z->
c] !=
'y') { z->
c = v_3;
goto lab1; }
199 if (ret < 0)
return ret;
208 if (ret < 0)
goto lab2;
216 if (z->
c == z->
l || z->
p[z->
c] !=
'i')
goto lab4;
224 if (ret < 0)
return ret;
232 if (z->
c == z->
l || z->
p[z->
c] !=
'y') { z->
c = v_5;
goto lab3; }
237 if (ret < 0)
return ret;
257 if (z->
c + 3 > z->
l)
return 0;
264 if (ret < 0)
return 0;
269 if (ret < 0)
return 0;
273 if (((
SN_local *)z)->i_p1 >= i_x)
goto lab0;
278 if (ret < 0)
return 0;
283 if (ret < 0)
return 0;
295 if (z->
c >= z->
l || (z->
p[z->
c + 0] != 73 && z->
p[z->
c + 0] != 89)) among_var = 3;
else
302 if (ret < 0)
return ret;
308 if (ret < 0)
return ret;
312 if (z->
c >= z->
l)
goto lab0;
334 int v_1 = z->
l - z->
c;
335 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((1050640 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
340 if (z->
c <= z->
lb)
return 0;
345 if (ret < 0)
return ret;
353 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
return 0;
358 if (ret <= 0)
return ret;
361 int v_1 = z->
l - z->
c;
367 if (ret < 0)
return ret;
376 if (ret <= 0)
return ret;
379 int v_1 = z->
l - z->
c;
383 int v_2 = z->
l - z->
c;
392 if (ret < 0)
return ret;
400 int v_1 = z->
l - z->
c;
402 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((540704 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
goto lab0;
404 if (!among_var)
goto lab0;
410 if (ret == 0)
goto lab0;
411 if (ret < 0)
return ret;
415 if (ret < 0)
return ret;
421 if (ret == 0)
goto lab0;
422 if (ret < 0)
return ret;
428 if (ret == 0)
goto lab0;
429 if (ret < 0)
return ret;
434 if (ret < 0)
return ret;
442 int v_2 = z->
l - z->
c;
445 if (ret < 0)
return ret;
450 int v_3 = z->
l - z->
c;
456 if (ret == 0)
goto lab1;
457 if (ret < 0)
return ret;
460 int v_4 = z->
l - z->
c;
461 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'c')
goto lab2;
469 if (ret < 0)
return ret;
476 if (ret == 0)
goto lab1;
477 if (ret < 0)
return ret;
483 int v_5 = z->
l - z->
c;
485 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((264336 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
goto lab3;
487 if (!among_var)
goto lab3;
493 if (ret == 0)
goto lab3;
494 if (ret < 0)
return ret;
498 if (ret < 0)
return ret;
501 int v_6 = z->
l - z->
c;
507 if (ret == 0)
goto lab4;
508 if (ret < 0)
return ret;
511 int v_7 = z->
l - z->
c;
512 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
goto lab5;
520 if (ret < 0)
return ret;
527 if (ret == 0)
goto lab3;
528 if (ret < 0)
return ret;
535 if (ret == 0)
goto lab3;
536 if (ret < 0)
return ret;
539 int v_8 = z->
l - z->
c;
540 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
goto lab6;
548 if (ret < 0)
return ret;
554 if (ret == 0)
goto lab3;
555 if (ret < 0)
return ret;
559 if (ret < 0)
return ret;
563 if (ret == 0)
goto lab3;
564 if (ret < 0)
return ret;
570 if (ret == 0)
goto lab3;
571 if (ret < 0)
return ret;
575 if (ret < 0)
return ret;
581 if (ret == 0)
goto lab3;
582 if (ret < 0)
return ret;
584 if (!((
SN_local *)z)->b_e_found)
goto lab3;
587 if (ret < 0)
return ret;
595 int v_9 = z->
l - z->
c;
598 int v_10 = z->
l - z->
c;
599 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((2129954 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
goto lab7;
605 if (z->
c <= z->
lb)
goto lab7;
610 if (ret < 0)
return ret;
623 if (ret < 0)
return ret;
631 if (ret < 0)
return ret;
635 z->
lb = z->
c; z->
c = z->
l;
638 if (ret < 0)
return ret;
645 if (ret < 0)
return ret;
void SN_delete_env(struct SN_env *z)
struct SN_env * SN_new_env(int alloc_size)
static const struct among a_5[4]
static const symbol s_0_8[1]
static const symbol s_2[]
static const symbol s_2_2[2]
static const symbol s_4[]
static const unsigned char g_v_I[]
static const unsigned char g_v_j[]
static const symbol s_5_3[2]
static const symbol s_4_3[4]
static const symbol s_3_1[2]
static const symbol s_5_0[2]
static const symbol s_0_2[1]
static int r_standard_suffix(struct SN_env *z)
static int r_en_ending(struct SN_env *z)
static const symbol s_4_1[2]
static const symbol s_4_4[4]
static const symbol s_2_0[2]
static const struct among a_4[6]
static const symbol s_6[]
static const symbol s_0_6[1]
static const symbol s_3[]
static const symbol s_3_0[3]
struct SN_env * dutch_porter_ISO_8859_1_create_env(void)
static int r_R2(struct SN_env *z)
static const symbol s_7[]
static const symbol s_13[]
static const symbol s_0_4[1]
static int r_undouble(struct SN_env *z)
static const symbol s_0_9[1]
int dutch_porter_ISO_8859_1_stem(struct SN_env *z)
static const symbol s_4_5[3]
static const symbol s_0_10[1]
static int r_R1(struct SN_env *z)
static const symbol s_1_2[1]
static int r_postlude(struct SN_env *z)
static const symbol s_14[]
static int r_prelude(struct SN_env *z)
static const symbol s_0_7[1]
static const symbol s_10[]
static const symbol s_1_1[1]
static const struct among a_1[3]
static const symbol s_1[]
static const symbol s_0_5[1]
static const struct among a_2[3]
static const symbol s_5_2[2]
static const symbol s_3_3[5]
static int r_mark_regions(struct SN_env *z)
static const symbol s_11[]
static const symbol s_12[]
static const struct among a_0[11]
static const symbol s_0_3[1]
static const symbol s_0_1[1]
static const symbol s_3_4[1]
static const struct among a_3[5]
static const symbol s_5_1[2]
static int r_e_ending(struct SN_env *z)
void dutch_porter_ISO_8859_1_close_env(struct SN_env *z)
static const symbol s_2_1[2]
static const unsigned char g_v[]
static const symbol s_8[]
static const symbol s_9[]
static const symbol s_3_2[2]
static const symbol s_5[]
static const symbol s_4_2[3]
static const symbol s_4_0[3]
static const symbol s_0[]
SNOWBALL_ERR slice_from_s(struct SN_env *z, int s_size, const symbol *s)
int in_grouping(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
int out_grouping_b(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
int find_among_b(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
int out_grouping(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
SNOWBALL_ERR slice_del(struct SN_env *z)
int find_among(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))