5 #define SNOWBALL_RUNTIME_THROW_EXCEPTIONS
83 static const struct among a_0[10] = {
84 { 1,
s_0_0, 0, -1, 0},
85 { 1,
s_0_1, 0, -1, 0},
86 { 3,
s_0_2, 0, -1, 0},
87 { 3,
s_0_3, 0, -1, 0},
88 { 3,
s_0_4, 0, -1, 0},
89 { 3,
s_0_5, 0, -1, 0},
90 { 4,
s_0_6, 0, -1, 0},
91 { 4,
s_0_7, 0, -1, 0},
92 { 4,
s_0_8, 0, -1, 0},
99 { 4,
s_1_0, 0, -1, 0},
100 { 5,
s_1_1, 0, -1, 0}
107 static const struct among a_2[4] = {
108 { 2,
s_2_0, 0, -1, 0},
109 { 2,
s_2_1, 0, -1, 0},
110 { 3,
s_2_2, 0, -1, 0},
111 { 3,
s_2_3, 0, -1, 0}
118 static const struct among a_3[4] = {
119 { 2,
s_3_0, 0, -1, 0},
120 { 2,
s_3_1, 0, -1, 0},
121 { 3,
s_3_2, 0, -1, 0},
122 { 3,
s_3_3, 0, -1, 0}
127 static const struct among a_5[2] = {
128 { 2,
s_5_0, 0, -1, 0},
129 { 2,
s_5_1, 0, -1, 0}
136 static const struct among a_6[4] = {
137 { 2,
s_6_0, 0, -1, 0},
138 { 2,
s_6_1, 0, -1, 0},
139 { 2,
s_6_2, 0, -1, 0},
140 { 2,
s_6_3, 0, -1, 0}
145 static const struct among a_7[2] = {
146 { 3,
s_7_0, 0, -1, 0},
147 { 3,
s_7_1, 0, -1, 0}
154 static const struct among a_8[4] = {
155 { 3,
s_8_0, 0, -1, 0},
156 { 3,
s_8_1, 0, -1, 0},
157 { 3,
s_8_2, 0, -1, 0},
158 { 3,
s_8_3, 0, -1, 0}
163 static const struct among a_9[2] = {
164 { 4,
s_9_0, 0, -1, 0},
165 { 4,
s_9_1, 0, -1, 0}
217 static const symbol s_15_2[7] = {
's', 0xC4, 0xB1,
'n', 0xC4, 0xB1,
'z' };
218 static const symbol s_15_3[7] = {
's', 0xC3, 0xBC,
'n', 0xC3, 0xBC,
'z' };
263 static const symbol s_19_0[7] = {
'c',
'a',
's', 0xC4, 0xB1,
'n',
'a' };
378 static const unsigned char g_vowel[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 8, 0, 0, 0, 0, 0, 0, 1 };
380 static const unsigned char g_U[] = { 1, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1 };
382 static const unsigned char g_vowel1[] = { 1, 64, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 };
384 static const unsigned char g_vowel2[] = { 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 130 };
386 static const unsigned char g_vowel3[] = { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 };
396 int v_1 = z->
l - z->
c;
399 int v_2 = z->
l - z->
c;
400 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'a')
goto lab0;
406 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
goto lab1;
417 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'i')
goto lab3;
423 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'o')
goto lab4;
434 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'u')
goto lab6;
450 int v_1 = z->
l - z->
c;
451 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'n')
goto lab0;
454 int v_2 = z->
l - z->
c;
462 int v_3 = z->
l - z->
c;
463 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'n')
goto lab1;
470 int v_4 = z->
l - z->
c;
473 if (ret < 0)
return 0;
485 int v_1 = z->
l - z->
c;
486 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
's')
goto lab0;
489 int v_2 = z->
l - z->
c;
497 int v_3 = z->
l - z->
c;
498 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
's')
goto lab1;
505 int v_4 = z->
l - z->
c;
508 if (ret < 0)
return 0;
520 int v_1 = z->
l - z->
c;
521 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'y')
goto lab0;
524 int v_2 = z->
l - z->
c;
532 int v_3 = z->
l - z->
c;
533 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'y')
goto lab1;
540 int v_4 = z->
l - z->
c;
543 if (ret < 0)
return 0;
555 int v_1 = z->
l - z->
c;
558 int v_2 = z->
l - z->
c;
566 int v_3 = z->
l - z->
c;
573 int v_4 = z->
l - z->
c;
576 if (ret < 0)
return 0;
587 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((67133440 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
595 if (ret == 0)
return ret;
602 if (z->
c - 3 <= z->
lb || (z->
p[z->
c - 1] != 105 && z->
p[z->
c - 1] != 177))
return 0;
609 if (ret == 0)
return ret;
618 if (ret == 0)
return ret;
626 if (ret == 0)
return ret;
628 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] != 110)
return 0;
636 if (ret == 0)
return ret;
638 if (z->
c <= z->
lb || (z->
p[z->
c - 1] != 97 && z->
p[z->
c - 1] != 101))
return 0;
646 if (ret == 0)
return ret;
648 if (z->
c - 1 <= z->
lb || (z->
p[z->
c - 1] != 97 && z->
p[z->
c - 1] != 101))
return 0;
655 if (ret == 0)
return ret;
657 if (z->
c - 1 <= z->
lb || (z->
p[z->
c - 1] != 97 && z->
p[z->
c - 1] != 101))
return 0;
664 if (ret == 0)
return ret;
666 if (z->
c - 2 <= z->
lb || (z->
p[z->
c - 1] != 97 && z->
p[z->
c - 1] != 101))
return 0;
673 if (ret == 0)
return ret;
675 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] != 110)
return 0;
682 if (ret == 0)
return ret;
684 if (z->
c - 3 <= z->
lb || z->
p[z->
c - 1] != 110)
return 0;
691 if (ret == 0)
return ret;
693 if (z->
c - 1 <= z->
lb || (z->
p[z->
c - 1] != 97 && z->
p[z->
c - 1] != 101))
return 0;
705 if (ret == 0)
return ret;
707 if (z->
c - 1 <= z->
lb || (z->
p[z->
c - 1] != 97 && z->
p[z->
c - 1] != 101))
return 0;
715 if (ret == 0)
return ret;
717 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] != 109)
return 0;
725 if (ret == 0)
return ret;
727 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] != 110)
return 0;
734 if (ret == 0)
return ret;
736 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] != 122)
return 0;
742 if (z->
c - 4 <= z->
lb || z->
p[z->
c - 1] != 122)
return 0;
749 if (ret == 0)
return ret;
751 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] != 114)
return 0;
758 if (ret == 0)
return ret;
760 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] != 122)
return 0;
767 if (ret == 0)
return ret;
769 if (z->
c - 2 <= z->
lb || z->
p[z->
c - 1] != 114)
return 0;
774 if (z->
c - 5 <= z->
lb || (z->
p[z->
c - 1] != 97 && z->
p[z->
c - 1] != 101))
return 0;
781 if (ret == 0)
return ret;
788 if (z->
c - 1 <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((26658 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
return 0;
796 if (ret == 0)
return ret;
798 if (z->
c - 3 <= z->
lb || z->
p[z->
c - 1] != 159)
return 0;
810 ((
SN_local *)z)->b_continue_stemming_noun_suffixes =
true;
812 int v_1 = z->
l - z->
c;
814 int v_2 = z->
l - z->
c;
834 int v_3 = z->
l - z->
c;
864 int v_4 = z->
l - z->
c;
867 int v_5 = z->
l - z->
c;
885 ((
SN_local *)z)->b_continue_stemming_noun_suffixes =
false;
891 int v_6 = z->
l - z->
c;
902 int v_7 = z->
l - z->
c;
920 int v_8 = z->
l - z->
c;
931 if (ret == 0)
return ret;
936 int v_9 = z->
l - z->
c;
939 int v_10 = z->
l - z->
c;
975 if (ret == 0)
return ret;
978 int v_1 = z->
l - z->
c;
983 int v_2 = z->
l - z->
c;
986 int v_3 = z->
l - z->
c;
991 int v_4 = z->
l - z->
c;
1003 int v_5 = z->
l - z->
c;
1023 int v_6 = z->
l - z->
c;
1026 int v_7 = z->
l - z->
c;
1035 int v_8 = z->
l - z->
c;
1045 int v_9 = z->
l - z->
c;
1067 if (ret == 0)
return ret;
1070 int v_10 = z->
l - z->
c;
1081 int v_11 = z->
l - z->
c;
1083 if (!
r_mark_lAr(z)) { z->
c = z->
l - v_11;
goto lab13; }
1095 if (ret == 0)
return ret;
1104 int v_1 = z->
l - z->
c;
1110 int v_2 = z->
l - z->
c;
1123 int v_3 = z->
l - z->
c;
1125 int v_4 = z->
l - z->
c;
1135 int v_5 = z->
l - z->
c;
1145 int v_6 = z->
l - z->
c;
1171 int v_7 = z->
l - z->
c;
1179 int v_8 = z->
l - z->
c;
1190 int v_9 = z->
l - z->
c;
1209 int v_10 = z->
l - z->
c;
1217 int v_11 = z->
l - z->
c;
1222 int v_12 = z->
l - z->
c;
1224 if (!
r_mark_lAr(z)) { z->
c = z->
l - v_12;
goto lab16; }
1244 int v_13 = z->
l - z->
c;
1247 int v_14 = z->
l - z->
c;
1252 int v_15 = z->
l - z->
c;
1254 if (!
r_mark_lAr(z)) { z->
c = z->
l - v_15;
goto lab20; }
1268 int v_16 = z->
l - z->
c;
1286 int v_17 = z->
l - z->
c;
1296 int v_18 = z->
l - z->
c;
1298 int v_19 = z->
l - z->
c;
1309 int v_20 = z->
l - z->
c;
1319 int v_21 = z->
l - z->
c;
1321 if (!
r_mark_lAr(z)) { z->
c = z->
l - v_21;
goto lab29; }
1352 int v_22 = z->
l - z->
c;
1366 int v_23 = z->
l - z->
c;
1369 int v_24 = z->
l - z->
c;
1374 int v_25 = z->
l - z->
c;
1376 if (!
r_mark_lAr(z)) { z->
c = z->
l - v_25;
goto lab37; }
1383 if (!
r_mark_lAr(z)) { z->
c = z->
l - v_23;
goto lab35; }
1397 int v_26 = z->
l - z->
c;
1404 if (ret == 0)
return ret;
1410 int v_27 = z->
l - z->
c;
1412 if (!
r_mark_lAr(z)) { z->
c = z->
l - v_27;
goto lab39; }
1427 if (!among_var)
return 0;
1429 switch (among_var) {
1450 int v_1 = z->
l - z->
c;
1451 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'd')
goto lab0;
1456 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'g')
return 0;
1461 int v_2 = z->
l - z->
c;
1463 int v_3 = z->
l - z->
c;
1464 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'a')
goto lab2;
1476 int v_4 = z->
l - z->
c;
1477 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
goto lab4;
1482 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'i')
goto lab3;
1490 int v_5 = z->
l - z->
c;
1491 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'o')
goto lab6;
1496 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'u')
goto lab5;
1504 int v_6 = z->
l - z->
c;
1519 int v_1 = z->
l - z->
c;
1520 if (!(
eq_s_b(z, 3,
s_17))) { z->
c = z->
l - v_1;
goto lab0; }
1524 if (z->
c > z->
lb)
return 0;
1536 if (z->
c == z->
l || z->
p[z->
c] !=
'\'')
goto lab2;
1548 if (ret < 0)
goto lab0;
1561 if (ret < 0)
goto lab3;
1566 if (z->
c == z->
l || z->
p[z->
c] !=
'\'')
goto lab4;
1574 if (ret < 0)
goto lab3;
1592 int i;
for (i = 2; i > 0; i--) {
1595 if (ret < 0)
return 0;
1606 z->
lb = z->
c; z->
c = z->
l;
1608 int v_1 = z->
l - z->
c;
1615 int v_2 = z->
l - z->
c;
1620 int v_3 = z->
l - z->
c;
1632 if (ret == 0)
return ret;
1634 z->
lb = z->
c; z->
c = z->
l;
1636 int v_1 = z->
l - z->
c;
1640 if (!((
SN_local *)z)->b_continue_stemming_noun_suffixes)
return 0;
1642 int v_2 = z->
l - z->
c;
static int stem(struct SN_env *z)
int out_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 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_b(struct SN_env *z, const struct among *v, int v_size, int(*)(struct SN_env *))
static const symbol s_22_0[4]
static const symbol s_20_21[3]
static int r_mark_ymUs_(struct SN_env *z)
static int r_remove_proper_noun_suffix(struct SN_env *z)
static const symbol s_2[]
static const symbol s_13_3[4]
static int r_mark_suffix_with_optional_n_consonant(struct SN_env *z)
static int r_mark_nUz(struct SN_env *z)
static const symbol s_0_2[3]
static const symbol s_20_26[2]
static const symbol s_11_1[2]
static int r_mark_yken(struct SN_env *z)
static const symbol s_4[]
static const symbol s_20_0[2]
static int r_is_reserved_word(struct SN_env *z)
static const struct among a_8[4]
static const symbol s_3_2[3]
static const symbol s_12_0[2]
static const struct among a_19[2]
static const struct among a_12[4]
static const symbol s_20_24[4]
static const struct among a_17[4]
static const symbol s_17_3[4]
static const symbol s_15_2[7]
static const symbol s_0_5[3]
static int r_mark_suffix_with_optional_s_consonant(struct SN_env *z)
static const symbol s_20_13[3]
static const unsigned char g_vowel5[]
static int r_mark_nUn(struct SN_env *z)
static const symbol s_0_3[3]
static int r_mark_yUm(struct SN_env *z)
static const symbol s_3_1[2]
static const symbol s_13_0[3]
static const symbol s_0_0[1]
static int r_mark_sUn(struct SN_env *z)
static const symbol s_5_0[2]
static const symbol s_21_3[3]
static const struct among a_7[2]
static const symbol s_20_10[3]
static const symbol s_21_1[2]
static const symbol s_20_14[4]
static const unsigned char g_vowel2[]
static const symbol s_2_3[3]
static const symbol s_19_0[7]
static const symbol s_2_0[2]
static const struct among a_6[4]
static int r_append_U_to_stems_ending_with_d_or_g(struct SN_env *z)
static const struct among a_16[2]
static const symbol s_20_22[4]
static const symbol s_20_17[4]
static const symbol s_18_7[4]
static const struct among a_3[4]
static const symbol s_6[]
static const symbol s_21_6[3]
static int r_mark_DA(struct SN_env *z)
static const symbol s_3[]
static const symbol s_3_0[2]
static const symbol s_15_0[5]
static const symbol s_19_1[6]
static const symbol s_12_3[3]
static const symbol s_20_6[4]
static const symbol s_18_2[3]
static const symbol s_20_3[3]
static int r_mark_ylA(struct SN_env *z)
static const struct among a_22[4]
static const symbol s_20_31[3]
static int r_mark_yA(struct SN_env *z)
static const symbol s_7_1[3]
static int r_mark_ndA(struct SN_env *z)
static const symbol s_18_4[4]
static const symbol s_18_1[3]
static int r_mark_sU(struct SN_env *z)
static const struct among a_23[4]
static const symbol s_20_8[4]
static const struct among a_5[2]
static const symbol s_7[]
static const symbol s_8_0[3]
static const symbol s_13[]
static int r_mark_yU(struct SN_env *z)
static const symbol s_8_2[3]
static const symbol s_23_1[1]
static int r_mark_nA(struct SN_env *z)
static int r_mark_yUz(struct SN_env *z)
static const symbol s_20_27[2]
static const symbol s_23_2[1]
static const symbol s_18_3[3]
static const symbol s_13_1[3]
static const symbol s_20_19[3]
static const symbol s_20_30[3]
static const symbol s_17_0[3]
static const struct among a_11[2]
static const symbol s_14_0[2]
static int r_mark_cAsInA(struct SN_env *z)
static const struct among a_10[2]
static const symbol s_18_0[3]
static const symbol s_16_1[3]
static const symbol s_10_1[2]
static const symbol s_12_1[2]
static const symbol s_21_5[3]
static const symbol s_0_6[4]
static const symbol s_0_9[4]
static int r_mark_DAn(struct SN_env *z)
static const symbol s_7_0[3]
static int r_mark_lArI(struct SN_env *z)
static const symbol s_20_4[3]
static int r_check_vowel_harmony(struct SN_env *z)
static int r_mark_ndAn(struct SN_env *z)
static const struct among a_1[2]
static const symbol s_8_1[3]
static const symbol s_21_0[2]
static const symbol s_22_1[4]
static const symbol s_6_2[2]
static int r_mark_suffix_with_optional_y_consonant(struct SN_env *z)
static const symbol s_15_3[7]
static const struct among a_14[4]
static const symbol s_20_2[3]
static const symbol s_20_23[4]
static const symbol s_20_25[4]
static const symbol s_17_2[4]
static int r_mark_ki(struct SN_env *z)
static const symbol s_16[]
static int r_postlude(struct SN_env *z)
static const symbol s_14[]
static const unsigned char g_vowel1[]
static const struct among a_20[32]
static int r_mark_DUr(struct SN_env *z)
static const symbol s_15_1[5]
static const symbol s_9_0[4]
static int r_stem_nominal_verb_suffixes(struct SN_env *z)
static const struct among a_18[8]
static const struct among a_15[4]
static const symbol s_0_7[4]
static const symbol s_10[]
static int r_mark_yDU(struct SN_env *z)
static const struct among a_2[4]
static const symbol s_1[]
static const symbol s_20_9[4]
static const symbol s_21_7[3]
static const symbol s_9_1[4]
static const symbol s_20_28[3]
static const struct among a_13[4]
static const symbol s_14_2[3]
static const symbol s_20_20[3]
static const symbol s_3_3[3]
Xapian::Internal::Snowball::Turkish::SN_local SN_local
static const struct among a_9[2]
static const symbol s_17_1[3]
static const symbol s_2_2[3]
static const symbol s_20_1[2]
static int r_mark_lAr(struct SN_env *z)
static int r_mark_ysA(struct SN_env *z)
static const symbol s_20_5[3]
static const symbol s_11[]
static const symbol s_12[]
static int r_stem_suffix_chain_before_ki(struct SN_env *z)
static const symbol s_6_1[2]
static const unsigned char g_U[]
static const symbol s_20_18[3]
static const symbol s_6_3[2]
static int r_mark_suffix_with_optional_U_vowel(struct SN_env *z)
static const unsigned char g_vowel6[]
static int r_mark_nU(struct SN_env *z)
static const struct among a_21[8]
static const symbol s_21_4[3]
static const symbol s_20_7[4]
static const symbol s_23_0[1]
static const symbol s_0_1[1]
static const symbol s_0_8[4]
static int r_more_than_one_syllable_word(struct SN_env *z)
static int r_mark_possessives(struct SN_env *z)
static const symbol s_10_0[2]
static const struct among a_0[10]
static const symbol s_22_2[5]
static int r_mark_ncA(struct SN_env *z)
static const symbol s_20_12[3]
static const symbol s_5_1[2]
static const symbol s_18_5[4]
static const symbol s_1_1[5]
static const symbol s_20_29[3]
static const symbol s_18_6[4]
static const symbol s_17[]
static const unsigned char g_vowel4[]
static int r_post_process_last_consonants(struct SN_env *z)
static int r_stem_noun_suffixes(struct SN_env *z)
static const symbol s_22_3[5]
static const symbol s_14_1[2]
static const symbol s_13_2[4]
static int r_mark_sUnUz(struct SN_env *z)
static const symbol s_16_0[3]
static const unsigned char g_vowel[]
static const symbol s_21_2[3]
static const symbol s_2_1[2]
static const symbol s_14_3[3]
static const unsigned char g_vowel3[]
static const symbol s_6_0[2]
static const symbol s_12_2[3]
static const symbol s_8[]
static const symbol s_9[]
static const symbol s_20_15[4]
static const symbol s_5[]
static const symbol s_20_16[4]
static const symbol s_20_11[3]
static const symbol s_15[]
static const symbol s_8_3[3]
static const symbol s_11_0[2]
static const symbol s_1_0[4]
static const symbol s_23_3[2]
static const symbol s_0[]
static const symbol s_0_4[3]