5 #define SNOWBALL_RUNTIME_THROW_EXCEPTIONS
61 static const struct among a_3[10] = {
65 { 3,
s_3_3, -1, 5, 0},
66 { 3,
s_3_4, -2, 2, 0},
67 { 4,
s_3_5, -1, 1, 0},
70 { 4,
s_3_8, -1, 3, 0},
81 static const unsigned char g_vowel[] = { 17, 65, 16 };
85 if (z->
c - 2 <= z->
lb || (z->
p[z->
c - 1] != 104 && z->
p[z->
c - 1] != 110))
return 0;
95 if (z->
c - 1 <= z->
lb || (z->
p[z->
c - 1] != 97 && z->
p[z->
c - 1] != 117))
return 0;
106 if (z->
c <= z->
lb || (z->
p[z->
c - 1] != 105 && z->
p[z->
c - 1] != 110))
return 0;
108 if (!among_var)
return 0;
113 int v_1 = z->
l - z->
c;
114 if (((
SN_local *)z)->i_prefix == 3)
goto lab0;
115 if (((
SN_local *)z)->i_prefix == 2)
goto lab0;
116 if (z->c <= z->lb || z->p[z->c - 1] !=
'k')
goto lab0;
122 if (((
SN_local *)z)->i_prefix == 1)
return 0;
126 if (((
SN_local *)z)->i_prefix > 2)
return 0;
128 int v_2 = z->l - z->c;
129 if (z->c <= z->lb || z->p[z->c - 1] !=
's')
goto lab1;
145 if (z->
c + 1 >= z->
l || (z->
p[z->
c + 1] != 105 && z->
p[z->
c + 1] != 101))
return 0;
147 if (!among_var)
return 0;
158 if (z->
c == z->
l || z->
p[z->
c] !=
'y')
goto lab0;
185 if (z->
c == z->
l || z->
p[z->
c] !=
'y')
goto lab1;
245 if (z->
c + 1 >= z->
l || z->
p[z->
c + 1] != 101)
return 0;
247 if (!among_var)
return 0;
252 if (z->
c == z->
l || z->
p[z->
c] !=
'r')
goto lab0;
259 if (z->
c == z->
l || z->
p[z->
c] !=
'l')
goto lab1;
262 if (!(
eq_s(z, 4,
s_4)))
goto lab1;
273 if (z->
c == z->
l || z->
p[z->
c] !=
'r')
goto lab2;
279 if (z->
c == z->
l || z->
p[z->
c] !=
'l')
goto lab3;
282 if (!(
eq_s(z, 4,
s_5)))
goto lab3;
288 if (!(
eq_s(z, 2,
s_6)))
return 0;
306 if (ret < 0)
goto lab1;
317 if (((
SN_local *)z)->i_measure <= 2)
return 0;
319 z->
lb = z->
c; z->
c = z->
l;
321 int v_3 = z->
l - z->
c;
325 if (((
SN_local *)z)->i_measure <= 2)
return 0;
327 int v_4 = z->
l - z->
c;
332 if (((
SN_local *)z)->i_measure <= 2)
return 0;
342 if (((
SN_local *)z)->i_measure <= 2)
goto lab3;
343 z->lb = z->c; z->c = z->l;
348 if (((
SN_local *)z)->i_measure <= 2)
goto lab3;
365 if (((
SN_local *)z)->i_measure <= 2)
goto lab4;
366 z->lb = z->c; z->c = z->l;
static int stem(struct SN_env *z)
static const symbol s_2[]
static const symbol s_0_2[3]
static const struct among a_2[2]
static const symbol s_3_5[4]
static const symbol s_3_9[3]
static const symbol s_4[]
static const symbol s_3_7[3]
static const symbol s_1_2[2]
static const symbol s_3_1[2]
static int r_remove_particle(struct SN_env *z)
static const symbol s_4_1[2]
static int r_remove_first_order_prefix(struct SN_env *z)
static const symbol s_2_0[1]
static const struct among a_0[3]
static const symbol s_6[]
static int r_remove_suffix(struct SN_env *z)
Xapian::Internal::Snowball::Indonesian::SN_local SN_local
static const symbol s_3[]
static const symbol s_3_0[2]
static const symbol s_1_1[2]
static const symbol s_0_0[3]
static int r_remove_possessive_pronoun(struct SN_env *z)
static const symbol s_0_1[3]
static const struct among a_3[10]
static const symbol s_3_6[3]
static const struct among a_4[2]
static const struct among a_1[3]
static const symbol s_1[]
static const symbol s_3_4[3]
static const symbol s_3_3[3]
static const symbol s_4_0[2]
static const symbol s_1_0[3]
static const symbol s_3_8[4]
static int r_remove_second_order_prefix(struct SN_env *z)
static const unsigned char g_vowel[]
static const symbol s_2_1[2]
static const symbol s_3_2[2]
static const symbol s_5[]
static const symbol s_0[]
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 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)
SNOWBALL_ERR slice_del(struct SN_env *z)
int find_among_b(struct SN_env *z, const struct among *v, int v_size, int(*)(struct SN_env *))
int find_among(struct SN_env *z, const struct among *v, int v_size, int(*)(struct SN_env *))