7#include "snowball_runtime.h"
82static const symbol s_1_3[7] = {
'h',
'e',
't',
'e',
'r',
'n',
'a' };
119{ 4,
s_1_1, -1, 1, 0},
120{ 4,
s_1_2, -2, 1, 0},
121{ 7,
s_1_3, -1, 1, 0},
122{ 4,
s_1_4, -4, 1, 0},
125{ 3,
s_1_7, -1, 1, 0},
126{ 4,
s_1_8, -2, 1, 0},
127{ 4,
s_1_9, -3, 1, 0},
166{ 2,
s_2_0, 0, -1, 0},
167{ 2,
s_2_1, 0, -1, 0},
168{ 2,
s_2_2, 0, -1, 0},
169{ 2,
s_2_3, 0, -1, 0},
170{ 2,
s_2_4, 0, -1, 0},
171{ 2,
s_2_5, 0, -1, 0},
182{ 3,
s_3_1, -1, 1, 0},
188static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 24, 0, 32 };
199 if (z->
c + 3 > z->
l)
return 0;
206 if (ret < 0)
return 0;
211 if (ret < 0)
return 0;
215 if (((
SN_local *)z)->i_p1 >= i_x)
goto lab0;
223 int v_1 = z->
l - z->
c;
226 if (z->
c > z->
lb)
goto lab0;
231 int v_2 = z->
l - z->
c;
232 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((1059076 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
goto lab1;
246 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
249 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1851442 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = v_1;
return 0; }
251 if (!among_var) { z->lb = v_1;
return 0; }
259 if (ret < 0)
return ret;
264 int v_2 = z->
l - z->
c;
268 if (ret == 0)
goto lab0;
269 if (ret < 0)
return ret;
279 if (ret < 0)
return ret;
285 if (ret <= 0)
return ret;
289 if (ret < 0)
return ret;
299 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
302 int v_2 = z->l - z->c;
303 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1064976 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = v_1;
return 0; }
307 if (z->c <= z->lb) { z->lb = v_1;
return 0; }
312 if (ret < 0)
return ret;
324 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
327 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1572992 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = v_1;
return 0; }
329 if (!among_var) { z->lb = v_1;
return 0; }
337 if (ret < 0)
return ret;
344 if (ret < 0)
return ret;
350 if (ret < 0)
return ret;
362 if (ret < 0)
return ret;
366 z->
lb = z->
c; z->
c = z->
l;
368 int v_2 = z->
l - z->
c;
371 if (ret < 0)
return ret;
376 int v_3 = z->
l - z->
c;
379 if (ret < 0)
return ret;
384 int v_4 = z->
l - z->
c;
387 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_1_5[2]
static const symbol s_2[]
static const symbol s_1_7[3]
static const symbol s_0_2[3]
static const symbol s_0_11[3]
static int r_et_condition(struct SN_env *z)
static const symbol s_1_3[7]
static const symbol s_2_2[2]
static const symbol s_2_5[2]
static const symbol s_1_35[5]
static const symbol s_3_2[3]
static const symbol s_1_10[3]
static const symbol s_1_34[2]
static const symbol s_0_5[3]
static const symbol s_0_3[3]
static const symbol s_0_17[3]
static const symbol s_1_31[6]
static int r_other_suffix(struct SN_env *z)
static const symbol s_1_18[2]
static int r_consonant_pair(struct SN_env *z)
static const struct among a_2[7]
static const symbol s_1_14[4]
static const symbol s_1_21[1]
static const symbol s_2_0[2]
static int r_main_suffix(struct SN_env *z)
int swedish_ISO_8859_1_stem(struct SN_env *z)
static const symbol s_1_16[3]
static const symbol s_0_12[3]
static const struct among a_1[38]
static const symbol s_1_36[3]
static const symbol s_1_4[4]
static const symbol s_1_23[5]
static const symbol s_3_0[2]
static const symbol s_0_13[3]
static const symbol s_0_10[4]
static const symbol s_0_8[3]
static const symbol s_1_20[2]
static const symbol s_3_1[3]
static const unsigned char g_ost_ending[]
static const symbol s_0_0[3]
static const symbol s_0_16[3]
static const symbol s_1_6[1]
static const symbol s_1_37[3]
static const struct among a_0[21]
static const symbol s_0_9[4]
static const symbol s_0_18[4]
static const symbol s_1_26[2]
static const symbol s_0_20[3]
static const symbol s_0_4[4]
static const symbol s_1_17[2]
static const symbol s_1_11[4]
void swedish_ISO_8859_1_close_env(struct SN_env *z)
static const symbol s_2_3[2]
struct SN_env * swedish_ISO_8859_1_create_env(void)
static const symbol s_1_13[5]
static const symbol s_1_27[4]
static const symbol s_0_14[3]
static const symbol s_2_4[2]
static const symbol s_1_1[4]
static const symbol s_1[]
static const symbol s_3_4[3]
static const symbol s_1_0[1]
static const symbol s_1_30[5]
static const symbol s_0_15[3]
static const symbol s_3_3[5]
static const symbol s_1_9[4]
static int r_mark_regions(struct SN_env *z)
static const symbol s_1_24[5]
static const symbol s_1_29[3]
static const symbol s_0_1[1]
static const symbol s_1_25[5]
static const struct among a_3[5]
static const symbol s_1_2[4]
static const symbol s_0_6[3]
static const symbol s_1_33[2]
static const symbol s_0_7[3]
static const symbol s_1_15[5]
static const symbol s_2_6[2]
static const symbol s_2_1[2]
static const unsigned char g_v[]
static const symbol s_1_22[2]
static const unsigned char g_s_ending[]
static const symbol s_1_8[4]
static const symbol s_1_19[5]
static const symbol s_1_12[2]
static const symbol s_0[]
static const symbol s_1_28[5]
static const symbol s_0_19[4]
static const symbol s_1_32[4]
SNOWBALL_ERR slice_from_s(struct SN_env *z, int s_size, const symbol *s)
int in_grouping(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
int out_grouping_b(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
int find_among_b(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
int out_grouping(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
SNOWBALL_ERR slice_del(struct SN_env *z)
int in_grouping_b(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)