7#include "snowball_runtime.h"
65{ 1,
s_0_1, -1, 13, 0},
70{ 1,
s_0_6, -6, 12, 0},
73{ 1,
s_0_9, -9, 12, 0},
92{ 2,
s_1_2, -1, -1, 0},
116{ 2,
s_2_0, 0, -1, 0},
117{ 2,
s_2_1, 0, -1, 0},
118{ 2,
s_2_2, 0, -1, 0},
119{ 2,
s_2_3, 0, -1, 0},
120{ 3,
s_2_4, -1, -1, 0},
121{ 4,
s_2_5, -2, -1, 0},
122{ 2,
s_2_6, 0, -1, 0},
123{ 2,
s_2_7, 0, -1, 0},
124{ 3,
s_2_8, -1, -1, 0},
125{ 2,
s_2_9, 0, -1, 0},
137static const symbol s_3_2[7] = {
'm',
'a',
'l',
'b',
'a',
'l',
'd' };
139static const symbol s_3_4[8] = {
'p',
'o',
's',
't',
'm',
'o',
'r',
'g' };
144static const symbol s_3_9[8] = {
't',
'u',
't', 0xC4, 0x89,
'i',
'r',
'k' };
149static const symbol s_3_14[10] = {
'a',
'n',
't',
'a', 0xC5, 0xAD,
'h',
'i',
'e',
'r' };
156{ 3,
s_3_0, 0, -1, 0},
157{ 4,
s_3_1, 0, -1, 0},
158{ 7,
s_3_2, -1, -1, 0},
159{ 4,
s_3_3, 0, -1, 0},
160{ 8,
s_3_4, -1, -1, 0},
161{ 3,
s_3_5, 0, -1, 0},
162{ 4,
s_3_6, 0, -1, 0},
163{ 3,
s_3_7, 0, -1, 0},
164{ 5,
s_3_8, 0, -1, 0},
165{ 8,
s_3_9, -1, -1, 0},
181{ 4,
s_4_0, 0, -1, 0},
187static const symbol s_5_2[8] = {
'h',
'a',
'l',
'e',
'l',
'u',
'j',
'a' };
192static const symbol s_5_7[6] = { 0xC4, 0xA5,
'a', 0xC4, 0xA5,
'a' };
198static const symbol s_5_13[9] = {
'd',
'i',
'r',
'l',
'i',
'd',
'i',
'd',
'i' };
210{ 3,
s_5_0, 0, -1, 0},
211{ 4,
s_5_1, -1, -1, 0},
212{ 8,
s_5_2, 0, -1, 0},
213{ 4,
s_5_3, 0, -1, 0},
214{ 6,
s_5_4, 0, -1, 0},
215{ 6,
s_5_5, 0, -1, 0},
216{ 4,
s_5_6, 0, -1, 0},
217{ 6,
s_5_7, 0, -1, 0},
218{ 4,
s_5_8, 0, -1, 0},
219{ 4,
s_5_9, 0, -1, 0},
240{ 3,
s_6_0, 0, -1, 0},
241{ 2,
s_6_1, 0, -1, 0},
248{ 3,
s_7_0, 0, -1, 0},
260{ 1,
s_8_0, 0, -1, 0},
261{ 4,
s_8_1, -1, -1, 0},
262{ 3,
s_8_2, 0, -1, 0},
263{ 1,
s_8_3, 0, -1, 0},
264{ 4,
s_8_4, -1, -1, 0},
265{ 4,
s_8_5, -2, -1, 0},
289{ 1,
s_9_0, 0, -1, 0},
290{ 1,
s_9_1, 0, -1, 0},
291{ 1,
s_9_2, 0, -1, 0},
293{ 2,
s_9_4, -1, -1, 0},
294{ 2,
s_9_5, -2, -1, 0},
296{ 2,
s_9_7, -1, -1, 0},
297{ 2,
s_9_8, -2, -1, 0},
298{ 2,
s_9_9, -3, 1, 0},
310static const unsigned char g_vowel[] = { 17, 65, 16 };
312static const unsigned char g_aou[] = { 1, 64, 16 };
314static const unsigned char g_digit[] = { 255, 3 };
329 if (ret < 0)
return ret;
335 if (ret < 0)
return ret;
341 if (ret < 0)
return ret;
347 if (ret < 0)
return ret;
353 if (ret < 0)
return ret;
359 if (ret < 0)
return ret;
365 if (ret < 0)
return ret;
372 if (ret < 0)
return ret;
379 if (ret < 0)
return ret;
386 if (ret < 0)
return ret;
393 if (ret < 0)
return ret;
406 if (ret < 0)
goto lab0;
421 if (z->
c == z->
l || z->
p[z->
c] !=
'\'')
return 0;
425 if (z->
c >= z->
l || z->
p[z->
c + 0] >> 5 != 3 || !((2130434 >> (z->
p[z->
c + 0] & 0x1f)) & 1))
return 0;
427 if (z->
c < z->
l)
return 0;
430 if (ret < 0)
return ret;
438 int v_1 = z->
l - z->
c;
439 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'n') { z->
c = z->
l - v_1;
goto lab0; }
445 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] != 105)
return 0;
448 int v_2 = z->
l - z->
c;
449 if (z->
c > z->
lb)
goto lab1;
453 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'-')
return 0;
458 if (ret < 0)
return ret;
465 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'\'')
return 0;
469 int v_1 = z->
l - z->
c;
470 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'l')
goto lab0;
472 if (z->
c > z->
lb)
goto lab0;
475 if (ret < 0)
return ret;
481 if (z->
c > z->
lb)
goto lab1;
484 if (ret < 0)
return ret;
489 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((68438676 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
goto lab2;
492 int v_2 = z->
l - z->
c;
493 if (z->
c > z->
lb)
goto lab3;
497 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'-')
goto lab2;
502 if (ret < 0)
return ret;
509 if (ret < 0)
return ret;
518 int v_1 = z->
l - z->
c;
519 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'n') { z->
c = z->
l - v_1;
goto lab0; }
525 int v_2 = z->
l - z->
c;
526 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'j') { z->
c = z->
l - v_2;
goto lab1; }
532 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] != 117)
return 0;
535 int v_3 = z->
l - z->
c;
536 if (z->
c > z->
lb)
goto lab2;
540 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'-')
return 0;
545 if (ret < 0)
return ret;
551 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((2672162 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
554 int v_1 = z->
l - z->
c;
555 if (z->
c > z->
lb)
goto lab0;
559 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'-')
return 0;
566 if (z->
c - 1 <= z->
lb || (z->
p[z->
c - 1] != 105 && z->
p[z->
c - 1] != 117))
return 0;
568 if (z->
c - 2 <= z->
lb || (z->
p[z->
c - 1] != 107 && z->
p[z->
c - 1] != 116))
return 0;
576 int v_1 = z->
l - z->
c;
578 int v_2 = z->
l - z->
c;
580 int v_3 = z->
l - z->
c;
581 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'n') { z->
c = z->
l - v_3;
goto lab1; }
587 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
goto lab0;
593 int v_4 = z->
l - z->
c;
594 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'n') { z->
c = z->
l - v_4;
goto lab2; }
600 int v_5 = z->
l - z->
c;
601 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'j') { z->
c = z->
l - v_5;
goto lab3; }
609 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'i')
return 0;
612 int v_6 = z->
l - z->
c;
618 int v_7 = z->
l - z->
c;
619 if (z->
c > z->
lb)
goto lab5;
623 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'-')
return 0;
630 if (ret < 0)
return ret;
637 int v_1 = z->
l - z->
c;
639 int i;
for (
i = 2;
i > 0;
i--) {
642 if (ret < 0)
goto lab0;
651 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'-')
goto lab2;
657 if (ret < 0)
goto lab1;
663 if (ret < 0)
goto lab1;
671 if (ret < 0)
return 0;
681 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((2672162 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
683 if (!among_var)
return 0;
687 int v_1 = z->
l - z->
c;
689 int v_2 = z->
l - z->
c;
690 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'-')
goto lab0;
702 int v_3 = z->
l - z->
c;
703 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'-') { z->
c = z->
l - v_3;
goto lab1; }
711 if (ret < 0)
return ret;
721 if (ret <= 0)
return ret;
729 if (ret < 0)
return ret;
733 z->
lb = z->
c; z->
c = z->
l;
735 int v_3 = z->
l - z->
c;
738 if (ret == 0)
goto lab0;
739 if (ret < 0)
return ret;
746 int v_4 = z->
l - z->
c;
749 if (ret < 0)
return ret;
754 int v_5 = z->
l - z->
c;
757 if (ret == 0)
goto lab1;
758 if (ret < 0)
return ret;
765 int v_6 = z->
l - z->
c;
768 if (ret == 0)
goto lab2;
769 if (ret < 0)
return ret;
776 int v_7 = z->
l - z->
c;
779 if (ret == 0)
goto lab3;
780 if (ret < 0)
return ret;
787 int v_8 = z->
l - z->
c;
790 if (ret == 0)
goto lab4;
791 if (ret < 0)
return ret;
798 int v_9 = z->
l - z->
c;
801 if (ret <= 0)
return ret;
807 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_2_12[3]
static const symbol s_8_6[2]
static const symbol s_1_5[2]
static const symbol s_2[]
static const symbol s_0_4[2]
static const unsigned char g_aou[]
static const symbol s_5_20[6]
static const symbol s_9_17[2]
static const symbol s_3_2[7]
static const struct among a_3[20]
static const struct among a_6[3]
static const symbol s_2_2[2]
static const symbol s_3_10[5]
static const symbol s_0_5[2]
static const symbol s_4[]
static const struct among a_9[19]
static const symbol s_4_1[3]
static const symbol s_5_16[6]
static const symbol s_3_7[3]
static const symbol s_5_6[4]
static const symbol s_5_22[3]
static const symbol s_0_13[2]
static const symbol s_9_0[1]
static const symbol s_2_9[2]
static const symbol s_5_17[4]
static const symbol s_3_14[10]
static int r_pronoun(struct SN_env *z)
static const symbol s_0_11[1]
static const symbol s_3_17[5]
static const symbol s_0_8[2]
static const symbol s_1_2[2]
static const symbol s_9_6[1]
static const struct among a_7[2]
static int r_standard_suffix(struct SN_env *z)
static int r_merged_numeral(struct SN_env *z)
static int r_correlative(struct SN_env *z)
static const symbol s_2_0[2]
static const symbol s_5_2[8]
static const symbol s_1_3[2]
static const symbol s_9_12[2]
static int r_ujn_suffix(struct SN_env *z)
static const symbol s_1_0[2]
static const symbol s_5_10[5]
static const symbol s_6[]
static const symbol s_0_15[2]
static const symbol s_0_6[1]
static const symbol s_9_15[2]
static const symbol s_7_1[4]
static int r_final_apostrophe(struct SN_env *z)
static const symbol s_1_4[1]
static const symbol s_3[]
static const symbol s_2_15[4]
static const symbol s_5_12[6]
static const symbol s_3_0[3]
static const symbol s_9_10[3]
static const symbol s_9_7[2]
static const symbol s_0_7[2]
static const symbol s_9_18[1]
static const symbol s_0_16[2]
static const symbol s_3_4[8]
static const symbol s_5_19[3]
static const symbol s_5_8[4]
static const symbol s_5_0[3]
static const symbol s_2_11[2]
static const symbol s_7[]
static const symbol s_13[]
static const symbol s_8_2[3]
static int r_uninflected(struct SN_env *z)
static const symbol s_5_18[5]
static const symbol s_6_2[3]
static const symbol s_0_9[1]
static const symbol s_3_6[4]
static int r_long_word(struct SN_env *z)
static const symbol s_2_10[2]
static const symbol s_3_12[4]
static const symbol s_9_14[2]
static const symbol s_7_0[3]
static const symbol s_3_11[5]
static const symbol s_3_9[8]
static const symbol s_2_14[3]
static const symbol s_3_3[4]
static const symbol s_5_23[3]
static const symbol s_8_4[4]
static const symbol s_0_10[1]
static const symbol s_5_4[6]
static const symbol s_2_4[3]
static const symbol s_5_3[4]
static const symbol s_9_9[2]
static const symbol s_5_5[6]
static const symbol s_16[]
static const symbol s_14[]
static const symbol s_3_5[3]
static const symbol s_9_8[2]
static const symbol s_4_0[4]
static const symbol s_5_15[6]
static const symbol s_9_5[2]
static const struct among a_4[2]
static const symbol s_9_1[1]
static const symbol s_2_3[2]
struct SN_env * esperanto_UTF_8_create_env(void)
static const symbol s_2_7[2]
static const symbol s_9_11[3]
static const symbol s_10[]
static const symbol s_1_1[1]
static const symbol s_9_2[1]
static const struct among a_5[24]
static const struct among a_1[6]
static const symbol s_3_19[4]
static const symbol s_1[]
static const symbol s_9_13[1]
static const symbol s_3_1[4]
static const symbol s_0_14[2]
static const symbol s_5_21[5]
static const unsigned char g_digit[]
static const symbol s_9_3[1]
static const struct among a_8[7]
static const symbol s_9_4[2]
static const struct among a_2[17]
static const symbol s_11[]
static const symbol s_12[]
static const symbol s_3_15[5]
static const symbol s_6_1[2]
static const symbol s_3_18[6]
static const symbol s_3_13[4]
static const symbol s_2_8[3]
static const symbol s_5_13[9]
static const symbol s_8_3[1]
static const symbol s_0_1[1]
static const symbol s_6_0[3]
void esperanto_UTF_8_close_env(struct SN_env *z)
static const symbol s_5_11[3]
static const symbol s_5_7[6]
static const symbol s_0_12[2]
static const symbol s_0_2[2]
static const symbol s_17[]
static const symbol s_8_1[4]
static int r_initial_apostrophe(struct SN_env *z)
static const symbol s_2_5[4]
static const symbol s_0_3[2]
static const unsigned char g_vowel[]
static const symbol s_5_14[6]
static const symbol s_2_6[2]
static const symbol s_2_1[2]
static int r_canonical_form(struct SN_env *z)
static const symbol s_3_8[5]
static const symbol s_8_5[4]
static const symbol s_8[]
static const symbol s_9[]
static const struct among a_0[17]
static const symbol s_5[]
static const symbol s_5_9[4]
static const symbol s_8_0[1]
static const symbol s_9_16[2]
static const symbol s_15[]
static const symbol s_3_16[5]
static const symbol s_2_13[3]
static const symbol s_5_1[4]
static const symbol s_2_16[6]
static const symbol s_0[]
int esperanto_UTF_8_stem(struct SN_env *z)
SNOWBALL_ERR slice_from_s(struct SN_env *z, int s_size, const symbol *s)
int eq_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)
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 *))