97static const symbol s_3_8[6] = {
'b',
'i',
'l',
'i',
't',
'i' };
112{ 4,
s_3_0, -1, 3, 0},
113{ 4,
s_3_1, -1, 2, 0},
114{ 4,
s_3_2, -1, 4, 0},
115{ 3,
s_3_3, -1, 6, 0},
116{ 4,
s_3_4, -1, 9, 0},
117{ 5,
s_3_5, -1, 11, 0},
118{ 5,
s_3_6, -1, 5, 0},
119{ 5,
s_3_7, -1, 9, 0},
120{ 6,
s_3_8, -1, 13, 0},
121{ 5,
s_3_9, -1, 12, 0},
144{ 5,
s_4_0, -1, 2, 0},
145{ 5,
s_4_1, -1, 3, 0},
146{ 5,
s_4_2, -1, 1, 0},
147{ 5,
s_4_3, -1, 2, 0},
148{ 4,
s_4_4, -1, 2, 0},
149{ 3,
s_4_5, -1, 3, 0},
175{ 2,
s_5_0, -1, 1, 0},
176{ 4,
s_5_1, -1, 1, 0},
177{ 4,
s_5_2, -1, 1, 0},
178{ 4,
s_5_3, -1, 1, 0},
179{ 4,
s_5_4, -1, 1, 0},
180{ 3,
s_5_5, -1, 1, 0},
181{ 3,
s_5_6, -1, 1, 0},
182{ 3,
s_5_7, -1, 1, 0},
183{ 3,
s_5_8, -1, 1, 0},
184{ 2,
s_5_9, -1, 1, 0},
196static const unsigned char g_v[] = { 17, 65, 16, 1 };
198static const unsigned char g_v_WXY[] = { 1, 17, 65, 208, 1 };
233 return z->
I[1] <= z->
c;
237 return z->
I[0] <= z->
c;
243 if (z->
c <= z->
lb || z->
p[z->
c - 1] != 115)
return 0;
245 if (!among_var)
return 0;
250 if (ret < 0)
return ret;
255 if (ret < 0)
return ret;
260 if (ret < 0)
return ret;
270 if (z->
c - 1 <= z->
lb || (z->
p[z->
c - 1] != 100 && z->
p[z->
c - 1] != 103))
return 0;
272 if (!among_var)
return 0;
277 if (ret <= 0)
return ret;
280 if (ret < 0)
return ret;
284 {
int m_test1 = z->
l - z->
c;
288 if (ret < 0)
return 0;
291 z->
c = z->
l - m_test1;
294 if (ret < 0)
return ret;
296 {
int m_test2 = z->
l - z->
c;
297 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
299 z->
c = z->
l - m_test2;
304 {
int saved_c = z->
c;
308 if (ret < 0)
return ret;
314 if (ret < 0)
return 0;
319 if (ret < 0)
return ret;
323 if (z->
c != z->
I[1])
return 0;
324 {
int m_test3 = z->
l - z->
c;
326 if (ret <= 0)
return ret;
328 z->
c = z->
l - m_test3;
331 {
int saved_c = z->
c;
335 if (ret < 0)
return ret;
346 {
int m1 = z->
l - z->
c; (void)m1;
347 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'y')
goto lab1;
352 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'Y')
return 0;
360 if (ret < 0)
return 0;
364 if (ret < 0)
return ret;
372 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((815616 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
374 if (!among_var)
return 0;
377 if (ret <= 0)
return ret;
382 if (ret < 0)
return ret;
387 if (ret < 0)
return ret;
392 if (ret < 0)
return ret;
397 if (ret < 0)
return ret;
402 if (ret < 0)
return ret;
407 if (ret < 0)
return ret;
412 if (ret < 0)
return ret;
417 if (ret < 0)
return ret;
422 if (ret < 0)
return ret;
427 if (ret < 0)
return ret;
432 if (ret < 0)
return ret;
437 if (ret < 0)
return ret;
442 if (ret < 0)
return ret;
452 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((528928 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
454 if (!among_var)
return 0;
457 if (ret <= 0)
return ret;
462 if (ret < 0)
return ret;
467 if (ret < 0)
return ret;
472 if (ret < 0)
return ret;
482 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((3961384 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
484 if (!among_var)
return 0;
487 if (ret <= 0)
return ret;
492 if (ret < 0)
return ret;
496 {
int m1 = z->
l - z->
c; (void)m1;
497 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
's')
goto lab1;
502 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
't')
return 0;
507 if (ret < 0)
return ret;
516 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
return 0;
521 if (ret == 0)
goto lab1;
522 if (ret < 0)
return ret;
527 if (ret <= 0)
return ret;
529 {
int m1 = z->
l - z->
c; (void)m1;
531 if (ret == 0)
goto lab2;
532 if (ret < 0)
return ret;
540 if (ret < 0)
return ret;
547 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'l')
return 0;
551 if (ret <= 0)
return ret;
553 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'l')
return 0;
556 if (ret < 0)
return ret;
565 if (z->
c == z->
l || z->
p[z->
c] !=
'y')
goto lab0;
569 if (ret < 0)
return ret;
582 if (z->
c == z->
l || z->
p[z->
c] !=
'y')
goto lab3;
590 if (ret < 0)
goto lab2;
595 if (ret < 0)
return ret;
611 if (ret < 0)
goto lab4;
617 if (ret < 0)
goto lab4;
624 if (ret < 0)
goto lab4;
630 if (ret < 0)
goto lab4;
637 z->
lb = z->
c; z->
c = z->
l;
639 {
int m6 = z->
l - z->
c; (void)m6;
641 if (ret < 0)
return ret;
645 {
int m7 = z->
l - z->
c; (void)m7;
647 if (ret < 0)
return ret;
651 {
int m8 = z->
l - z->
c; (void)m8;
653 if (ret < 0)
return ret;
657 {
int m9 = z->
l - z->
c; (void)m9;
659 if (ret < 0)
return ret;
663 {
int m10 = z->
l - z->
c; (void)m10;
665 if (ret < 0)
return ret;
669 {
int m11 = z->
l - z->
c; (void)m11;
671 if (ret < 0)
return ret;
675 {
int m12 = z->
l - z->
c; (void)m12;
677 if (ret < 0)
return ret;
681 {
int m13 = z->
l - z->
c; (void)m13;
683 if (ret < 0)
return ret;
689 if (!(z->
I[2]))
goto lab5;
695 if (z->
c == z->
l || z->
p[z->
c] !=
'Y')
goto lab7;
703 if (ret < 0)
goto lab6;
708 if (ret < 0)
return ret;
void SN_close_env(struct SN_env *z, int S_size)
struct SN_env * SN_create_env(int S_size, int I_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 find_among_b(struct SN_env *z, const struct among *v, int v_size)
int out_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
int insert_s(struct SN_env *z, int bra, int ket, int s_size, const symbol *s)
int slice_del(struct SN_env *z)
int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
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)
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 slice_from_s(struct SN_env *z, int s_size, const symbol *s)