5 #define SNOWBALL_RUNTIME_THROW_EXCEPTIONS
58 static const struct among a_3[10] = {
62 { 3,
s_3_3, -1, 5, 0},
63 { 3,
s_3_4, -2, 2, 0},
64 { 4,
s_3_5, -1, 1, 0},
67 { 4,
s_3_8, -1, 3, 0},
78 static const unsigned char g_vowel[] = { 17, 65, 16 };
83 if (z->
c <= z->
lb || (z->
p[z->
c - 1] != 105 && z->
p[z->
c - 1] != 110))
return 0;
85 if (!among_var)
return 0;
90 int v_1 = z->
l - z->
c;
91 if (((
SN_local *)z)->i_prefix == 3)
goto lab0;
92 if (((
SN_local *)z)->i_prefix == 2)
goto lab0;
93 if (z->c <= z->lb || z->p[z->c - 1] !=
'k')
goto lab0;
99 if (((
SN_local *)z)->i_prefix == 1)
return 0;
103 if (((
SN_local *)z)->i_prefix > 2)
return 0;
104 if (z->c <= z->lb || z->p[z->c - 1] !=
's')
goto lab1;
118 if (z->
c + 1 >= z->
l || z->
p[z->
c + 1] != 101)
return 0;
120 if (!among_var)
return 0;
125 if (z->
c == z->
l || z->
p[z->
c] !=
'r')
goto lab0;
132 if (z->
c == z->
l || z->
p[z->
c] !=
'l')
goto lab1;
135 if (!(
eq_s(z, 4,
s_0)))
goto lab1;
146 if (z->
c == z->
l || z->
p[z->
c] !=
'r')
goto lab2;
152 if (z->
c == z->
l || z->
p[z->
c] !=
'l')
goto lab3;
155 if (!(
eq_s(z, 4,
s_1)))
goto lab3;
161 if (!(
eq_s(z, 2,
s_2)))
return 0;
180 if (ret < 0)
goto lab1;
191 if (((
SN_local *)z)->i_measure < 3)
return 0;
193 z->
lb = z->
c; z->
c = z->
l;
195 int v_3 = z->
l - z->
c;
197 if (z->
c - 2 <= z->
lb || (z->
p[z->
c - 1] != 104 && z->
p[z->
c - 1] != 110))
goto lab2;
205 if (((
SN_local *)z)->i_measure < 3)
return 0;
207 int v_4 = z->
l - z->
c;
209 if (z->
c - 1 <= z->
lb || (z->
p[z->
c - 1] != 97 && z->
p[z->
c - 1] != 117))
goto lab3;
218 if (((
SN_local *)z)->i_measure < 3)
return 0;
224 if (z->
c + 1 >= z->
l || (z->
p[z->
c + 1] != 105 && z->
p[z->
c + 1] != 101))
goto lab4;
226 if (!among_var)
goto lab4;
237 if (z->
c == z->
l || z->
p[z->
c] !=
'y')
goto lab5;
264 if (z->
c == z->
l || z->
p[z->
c] !=
'y')
goto lab6;
322 if (((
SN_local *)z)->i_measure < 3)
goto lab9;
323 z->lb = z->c; z->c = z->l;
328 if (((
SN_local *)z)->i_measure < 3)
goto lab9;
345 if (((
SN_local *)z)->i_measure < 3)
goto lab10;
346 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 const symbol s_4_1[2]
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 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)
int find_among_b(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))
SNOWBALL_ERR slice_del(struct SN_env *z)
int find_among(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))