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;
308 if (z->
c <= z->
lb)
return 0;
313 if (ret < 0)
return ret;
317 if (z->
c != ((
SN_local *)z)->i_p1)
return 0;
319 int v_3 = z->l - z->c;
322 if (ret <= 0)
return ret;
330 if (ret < 0)
return ret;
342 int v_1 = z->
l - z->
c;
343 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'y')
goto lab0;
348 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'Y')
return 0;
354 if (ret < 0)
return 0;
359 if (ret < 0)
return ret;
367 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((815616 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
369 if (!among_var)
return 0;
373 if (ret <= 0)
return ret;
379 if (ret < 0)
return ret;
385 if (ret < 0)
return ret;
391 if (ret < 0)
return ret;
397 if (ret < 0)
return ret;
403 if (ret < 0)
return ret;
409 if (ret < 0)
return ret;
415 if (ret < 0)
return ret;
421 if (ret < 0)
return ret;
427 if (ret < 0)
return ret;
433 if (ret < 0)
return ret;
439 if (ret < 0)
return ret;
445 if (ret < 0)
return ret;
451 if (ret < 0)
return ret;
461 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((528928 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
463 if (!among_var)
return 0;
467 if (ret <= 0)
return ret;
473 if (ret < 0)
return ret;
479 if (ret < 0)
return ret;
485 if (ret < 0)
return ret;
495 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((3961384 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
497 if (!among_var)
return 0;
501 if (ret <= 0)
return ret;
507 if (ret < 0)
return ret;
512 int v_1 = z->
l - z->
c;
513 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
's')
goto lab0;
518 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
't')
return 0;
523 if (ret < 0)
return ret;
532 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
return 0;
538 if (ret == 0)
goto lab0;
539 if (ret < 0)
return ret;
545 if (ret <= 0)
return ret;
548 int v_1 = z->
l - z->
c;
551 if (ret == 0)
goto lab1;
552 if (ret < 0)
return ret;
561 if (ret < 0)
return ret;
568 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'l')
return 0;
573 if (ret <= 0)
return ret;
575 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'l')
return 0;
579 if (ret < 0)
return ret;
590 if (z->
c == z->
l || z->
p[z->
c] !=
'y')
goto lab0;
595 if (ret < 0)
return ret;
609 if (z->
c == z->
l || z->
p[z->
c] !=
'y')
goto lab3;
616 if (z->
c >= z->
l)
goto lab2;
621 if (ret < 0)
return ret;
637 if (ret < 0)
goto lab4;
642 if (ret < 0)
goto lab4;
648 if (ret < 0)
goto lab4;
653 if (ret < 0)
goto lab4;
660 z->
lb = z->
c; z->
c = z->
l;
662 int v_6 = z->
l - z->
c;
665 if (ret < 0)
return ret;
670 int v_7 = z->
l - z->
c;
673 if (ret < 0)
return ret;
678 int v_8 = z->
l - z->
c;
681 if (ret < 0)
return ret;
686 int v_9 = z->
l - z->
c;
689 if (ret < 0)
return ret;
694 int v_10 = z->
l - z->
c;
697 if (ret < 0)
return ret;
702 int v_11 = z->
l - z->
c;
705 if (ret < 0)
return ret;
710 int v_12 = z->
l - z->
c;
713 if (ret < 0)
return ret;
718 int v_13 = z->
l - z->
c;
721 if (ret < 0)
return ret;
728 if (!b_Y_found)
goto lab5;
734 if (z->
c == z->
l || z->
p[z->
c] !=
'Y')
goto lab7;
741 if (z->
c >= z->
l)
goto lab6;
746 if (ret < 0)
return ret;
void SN_delete_env(struct SN_env *z)
struct SN_env * SN_new_env(int alloc_size)
int porter_ISO_8859_1_stem(struct SN_env *z)
static const symbol s_0_2[4]
static const symbol s_1_5[2]
static const symbol s_2[]
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]
void porter_ISO_8859_1_close_env(struct SN_env *z)
static const symbol s_4_4[4]
static const symbol s_2_0[2]
struct SN_env * porter_ISO_8859_1_create_env(void)
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[]
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]
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]
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 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 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 in_grouping_b(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)