7#include "snowball_runtime.h"
106{ 3,
s_2_1, -1, 1, 0},
136{ 5,
s_3_5, 0, 11, 0},
139{ 6,
s_3_8, 0, 13, 0},
140{ 5,
s_3_9, 0, 12, 0},
211static const unsigned char g_v[] = { 17, 65, 16, 1 };
213static const unsigned char g_v_WXY[] = { 1, 17, 65, 208, 1 };
232 if (z->
c <= z->
lb || z->
p[z->
c - 1] != 115)
return 0;
234 if (!among_var)
return 0;
240 if (ret < 0)
return ret;
246 if (ret < 0)
return ret;
252 if (ret < 0)
return ret;
262 if (z->
c - 1 <= z->
lb || (z->
p[z->
c - 1] != 100 && z->
p[z->
c - 1] != 103))
return 0;
264 if (!among_var)
return 0;
270 if (ret <= 0)
return ret;
274 if (ret < 0)
return ret;
279 int v_1 = z->
l - z->
c;
282 if (ret < 0)
return 0;
289 if (ret < 0)
return ret;
292 int v_2 = z->
l - z->
c;
293 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((68514004 >> (z->
p[z->
c - 1] & 0x1f)) & 1)) among_var = 3;
else
303 if (ret < 0)
return ret;
310 if (ret < 0)
return 0;
316 if (ret < 0)
return ret;
320 if (z->
c != ((
SN_local *)z)->i_p1)
return 0;
322 int v_3 = z->l - z->c;
325 if (ret <= 0)
return ret;
333 if (ret < 0)
return ret;
345 int v_1 = z->
l - z->
c;
346 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'y')
goto lab0;
351 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'Y')
return 0;
357 if (ret < 0)
return 0;
362 if (ret < 0)
return ret;
370 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((815616 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
372 if (!among_var)
return 0;
376 if (ret <= 0)
return ret;
382 if (ret < 0)
return ret;
388 if (ret < 0)
return ret;
394 if (ret < 0)
return ret;
400 if (ret < 0)
return ret;
406 if (ret < 0)
return ret;
412 if (ret < 0)
return ret;
418 if (ret < 0)
return ret;
424 if (ret < 0)
return ret;
430 if (ret < 0)
return ret;
436 if (ret < 0)
return ret;
442 if (ret < 0)
return ret;
448 if (ret < 0)
return ret;
454 if (ret < 0)
return ret;
464 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((528928 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
466 if (!among_var)
return 0;
470 if (ret <= 0)
return ret;
476 if (ret < 0)
return ret;
482 if (ret < 0)
return ret;
488 if (ret < 0)
return ret;
498 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((3961384 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
500 if (!among_var)
return 0;
504 if (ret <= 0)
return ret;
510 if (ret < 0)
return ret;
515 int v_1 = z->
l - z->
c;
516 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
's')
goto lab0;
521 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
't')
return 0;
526 if (ret < 0)
return ret;
535 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
return 0;
541 if (ret == 0)
goto lab0;
542 if (ret < 0)
return ret;
548 if (ret <= 0)
return ret;
551 int v_1 = z->
l - z->
c;
554 if (ret == 0)
goto lab1;
555 if (ret < 0)
return ret;
564 if (ret < 0)
return ret;
571 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'l')
return 0;
576 if (ret <= 0)
return ret;
578 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'l')
return 0;
582 if (ret < 0)
return ret;
593 if (z->
c == z->
l || z->
p[z->
c] !=
'y')
goto lab0;
598 if (ret < 0)
return ret;
612 if (z->
c == z->
l || z->
p[z->
c] !=
'y')
goto lab3;
621 if (ret < 0)
goto lab2;
627 if (ret < 0)
return ret;
643 if (ret < 0)
goto lab4;
648 if (ret < 0)
goto lab4;
654 if (ret < 0)
goto lab4;
659 if (ret < 0)
goto lab4;
666 z->
lb = z->
c; z->
c = z->
l;
668 int v_6 = z->
l - z->
c;
671 if (ret < 0)
return ret;
676 int v_7 = z->
l - z->
c;
679 if (ret < 0)
return ret;
684 int v_8 = z->
l - z->
c;
687 if (ret < 0)
return ret;
692 int v_9 = z->
l - z->
c;
695 if (ret < 0)
return ret;
700 int v_10 = z->
l - z->
c;
703 if (ret < 0)
return ret;
708 int v_11 = z->
l - z->
c;
711 if (ret < 0)
return ret;
716 int v_12 = z->
l - z->
c;
719 if (ret < 0)
return ret;
724 int v_13 = z->
l - z->
c;
727 if (ret < 0)
return ret;
734 if (!b_Y_found)
goto lab5;
740 if (z->
c == z->
l || z->
p[z->
c] !=
'Y')
goto lab7;
749 if (ret < 0)
goto lab6;
755 if (ret < 0)
return ret;
void SN_delete_env(struct SN_env *z)
struct SN_env * SN_new_env(int alloc_size)
static const symbol s_0_2[4]
static const symbol s_1_5[2]
static const symbol s_2[]
void porter_UTF_8_close_env(struct SN_env *z)
static const symbol s_5_6[3]
static const symbol s_3_12[5]
static const struct among a_3[20]
static const symbol s_3_8[6]
static const symbol s_4[]
static const symbol s_3_15[4]
static const symbol s_1_9[2]
static const symbol s_1_6[2]
static const symbol s_3_14[7]
static const symbol s_4_6[4]
static const symbol s_5_12[2]
static int r_Step_5b(struct SN_env *z)
static int r_Step_3(struct SN_env *z)
static const symbol s_1_2[2]
static const symbol s_0_0[1]
static const symbol s_5_0[2]
static const symbol s_4_3[5]
static const symbol s_4_4[4]
static const symbol s_2_0[2]
static const symbol s_1_3[2]
static const symbol s_2_1[3]
static const symbol s_3_0[4]
static const symbol s_3_6[5]
static const symbol s_6[]
static const symbol s_5_9[2]
static const symbol s_21[]
static const symbol s_3[]
struct SN_env * porter_UTF_8_create_env(void)
static const symbol s_3_4[4]
static const symbol s_5_17[5]
static int r_R2(struct SN_env *z)
static const symbol s_7[]
static const symbol s_5_7[3]
static const symbol s_13[]
static const symbol s_1_7[2]
int porter_UTF_8_stem(struct SN_env *z)
static const symbol s_1_1[2]
static const symbol s_20[]
static const symbol s_3_17[7]
static const symbol s_3_10[6]
static const symbol s_3_13[5]
static const symbol s_19[]
static const symbol s_23[]
static const symbol s_5_14[3]
static const symbol s_4_5[3]
static int r_Step_1c(struct SN_env *z)
static const symbol s_0_1[3]
static const unsigned char g_v_WXY[]
static int r_R1(struct SN_env *z)
static const symbol s_5_3[4]
static const symbol s_16[]
static const symbol s_5_4[4]
static const symbol s_14[]
static int r_Step_5a(struct SN_env *z)
static const symbol s_22[]
static const symbol s_1_11[2]
static const symbol s_4_0[5]
static const symbol s_10[]
static const struct among a_0[4]
static const symbol s_1_10[2]
static const symbol s_5_2[4]
static const symbol s_1[]
static const symbol s_3_19[7]
static int r_Step_1a(struct SN_env *z)
static int r_shortv(struct SN_env *z)
static const struct among a_2[3]
static const symbol s_1_8[2]
static const struct among a_5[19]
static const symbol s_3_1[4]
static const symbol s_1_4[2]
static const symbol s_3_3[3]
static const symbol s_3_9[5]
static const symbol s_2_2[3]
static const struct among a_1[13]
static const symbol s_11[]
static const symbol s_12[]
static const symbol s_5_8[3]
static const symbol s_3_18[7]
static const symbol s_5_11[3]
static int r_Step_4(struct SN_env *z)
static int r_Step_2(struct SN_env *z)
static const struct among a_4[7]
static const symbol s_5_16[4]
static const symbol s_5_15[3]
static const symbol s_18[]
static const symbol s_17[]
static const symbol s_5_13[3]
static int r_Step_1b(struct SN_env *z)
static const symbol s_0_3[2]
static const symbol s_3_2[4]
static const symbol s_5_5[3]
static const symbol s_5_10[3]
static const unsigned char g_v[]
static const symbol s_8[]
static const symbol s_9[]
static const symbol s_3_7[5]
static const symbol s_4_1[5]
static const symbol s_5[]
static const symbol s_5_18[2]
static const symbol s_3_5[5]
static const symbol s_15[]
static const symbol s_1_12[2]
static const symbol s_3_16[4]
static const symbol s_4_2[5]
static const symbol s_5_1[4]
static const symbol s_0[]
static const symbol s_3_11[7]
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 insert_s(struct SN_env *z, int bra, int ket, int s_size, const symbol *s)
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 in_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
int skip_b_utf8(const symbol *p, int c, int limit, int n)
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)