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 };
201 if (ret < 0)
return 0;
209 if (ret < 0)
return 0;
214 if (ret < 0)
return 0;
218 if (((
SN_local *)z)->i_p1 >= i_x)
goto lab0;
226 int v_1 = z->
l - z->
c;
229 if (z->
c > z->
lb)
goto lab0;
234 int v_2 = z->
l - z->
c;
235 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((1059076 >> (z->
p[z->
c - 1] & 0x1f)) & 1))
goto lab1;
249 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
252 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; }
254 if (!among_var) { z->lb = v_1;
return 0; }
262 if (ret < 0)
return ret;
267 int v_2 = z->
l - z->
c;
271 if (ret == 0)
goto lab0;
272 if (ret < 0)
return ret;
282 if (ret < 0)
return ret;
288 if (ret <= 0)
return ret;
292 if (ret < 0)
return ret;
302 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
305 int v_2 = z->l - z->c;
306 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; }
312 if (ret < 0) { z->lb = v_1;
return 0; }
318 if (ret < 0)
return ret;
330 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
333 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; }
335 if (!among_var) { z->lb = v_1;
return 0; }
343 if (ret < 0)
return ret;
350 if (ret < 0)
return ret;
356 if (ret < 0)
return ret;
368 if (ret < 0)
return ret;
372 z->
lb = z->
c; z->
c = z->
l;
374 int v_2 = z->
l - z->
c;
377 if (ret < 0)
return ret;
382 int v_3 = z->
l - z->
c;
385 if (ret < 0)
return ret;
390 int v_4 = z->
l - z->
c;
393 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)
int swedish_UTF_8_stem(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)
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_3_4[4]
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]
struct SN_env * swedish_UTF_8_create_env(void)
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_UTF_8_close_env(struct SN_env *z)
static const symbol s_2_3[2]
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_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]
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 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)