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 + 1 >= z->
l || z->
p[z->
c + 1] >> 5 != 5 || !((340306450 >> (z->
p[z->
c + 1] & 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;
182 if (ret < 0)
goto lab0;
197 if (z->
c == z->
l || z->
p[z->
c] !=
'y') { z->
c = v_3;
goto lab1; }
202 if (ret < 0)
return ret;
211 if (ret < 0)
goto lab2;
219 if (z->
c == z->
l || z->
p[z->
c] !=
'i')
goto lab4;
227 if (ret < 0)
return ret;
235 if (z->
c == z->
l || z->
p[z->
c] !=
'y') { z->
c = v_5;
goto lab3; }
240 if (ret < 0)
return ret;
262 if (ret < 0)
return 0;
270 if (ret < 0)
return 0;
275 if (ret < 0)
return 0;
279 if (((
SN_local *)z)->i_p1 >= i_x)
goto lab0;
284 if (ret < 0)
return 0;
289 if (ret < 0)
return 0;
301 if (z->
c >= z->
l || (z->
p[z->
c + 0] != 73 && z->
p[z->
c + 0] != 89)) among_var = 3;
else
308 if (ret < 0)
return ret;
314 if (ret < 0)
return ret;
320 if (ret < 0)
goto lab0;
343 int v_1 = z->
l - z->
c;
344 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((1050640 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
351 if (ret < 0)
return 0;
357 if (ret < 0)
return ret;
365 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
return 0;
370 if (ret <= 0)
return ret;
373 int v_1 = z->
l - z->
c;
379 if (ret < 0)
return ret;
388 if (ret <= 0)
return ret;
391 int v_1 = z->
l - z->
c;
395 int v_2 = z->
l - z->
c;
404 if (ret < 0)
return ret;
412 int v_1 = z->
l - z->
c;
414 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((540704 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
goto lab0;
416 if (!among_var)
goto lab0;
422 if (ret == 0)
goto lab0;
423 if (ret < 0)
return ret;
427 if (ret < 0)
return ret;
433 if (ret == 0)
goto lab0;
434 if (ret < 0)
return ret;
440 if (ret == 0)
goto lab0;
441 if (ret < 0)
return ret;
446 if (ret < 0)
return ret;
454 int v_2 = z->
l - z->
c;
457 if (ret < 0)
return ret;
462 int v_3 = z->
l - z->
c;
468 if (ret == 0)
goto lab1;
469 if (ret < 0)
return ret;
472 int v_4 = z->
l - z->
c;
473 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'c')
goto lab2;
481 if (ret < 0)
return ret;
488 if (ret == 0)
goto lab1;
489 if (ret < 0)
return ret;
495 int v_5 = z->
l - z->
c;
497 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((264336 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
goto lab3;
499 if (!among_var)
goto lab3;
505 if (ret == 0)
goto lab3;
506 if (ret < 0)
return ret;
510 if (ret < 0)
return ret;
513 int v_6 = z->
l - z->
c;
519 if (ret == 0)
goto lab4;
520 if (ret < 0)
return ret;
523 int v_7 = z->
l - z->
c;
524 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
goto lab5;
532 if (ret < 0)
return ret;
539 if (ret == 0)
goto lab3;
540 if (ret < 0)
return ret;
547 if (ret == 0)
goto lab3;
548 if (ret < 0)
return ret;
551 int v_8 = z->
l - z->
c;
552 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
goto lab6;
560 if (ret < 0)
return ret;
566 if (ret == 0)
goto lab3;
567 if (ret < 0)
return ret;
571 if (ret < 0)
return ret;
575 if (ret == 0)
goto lab3;
576 if (ret < 0)
return ret;
582 if (ret == 0)
goto lab3;
583 if (ret < 0)
return ret;
587 if (ret < 0)
return ret;
593 if (ret == 0)
goto lab3;
594 if (ret < 0)
return ret;
596 if (!((
SN_local *)z)->b_e_found)
goto lab3;
599 if (ret < 0)
return ret;
607 int v_9 = z->
l - z->
c;
610 int v_10 = z->
l - z->
c;
611 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((2129954 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
goto lab7;
619 if (ret < 0)
goto lab7;
625 if (ret < 0)
return ret;
638 if (ret < 0)
return ret;
646 if (ret < 0)
return ret;
650 z->
lb = z->
c; z->
c = z->
l;
653 if (ret < 0)
return ret;
660 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_2[]
static const symbol s_0_4[2]
static const symbol s_2_2[2]
static const symbol s_0_5[2]
static const symbol s_4[]
static const unsigned char g_v_I[]
void dutch_porter_UTF_8_close_env(struct SN_env *z)
static const unsigned char g_v_j[]
static const symbol s_0_8[2]
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 int r_standard_suffix(struct SN_env *z)
static const symbol s_0_1[2]
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]
struct SN_env * dutch_porter_UTF_8_create_env(void)
static const symbol s_6[]
static const symbol s_3[]
static const symbol s_3_0[3]
static const symbol s_0_7[2]
static int r_R2(struct SN_env *z)
static const symbol s_7[]
static const symbol s_13[]
static int r_undouble(struct SN_env *z)
static const symbol s_4_5[3]
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_10[]
static const symbol s_1_1[1]
static const struct among a_1[3]
static const symbol s_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_6[2]
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)
static const symbol s_0_2[2]
static const symbol s_0_10[2]
static const symbol s_0_3[2]
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_0_9[2]
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[]
int dutch_porter_UTF_8_stem(struct SN_env *z)
int out_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
SNOWBALL_ERR slice_from_s(struct SN_env *z, int s_size, const symbol *s)
int find_among_b(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))
int skip_b_utf8(const symbol *p, int c, int limit, int n)
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
SNOWBALL_ERR slice_del(struct SN_env *z)
int out_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
int skip_utf8(const symbol *p, int c, int limit, int n)
int find_among(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))