7#include "snowball_runtime.h"
47{ 3,
s_0_1, -1, -1, 0},
48{ 2,
s_0_2, -2, -1, 0},
49{ 2,
s_0_3, -3, -1, 0},
50{ 3,
s_0_4, -4, -1, 0},
51{ 3,
s_0_5, -5, -1, 0},
52{ 3,
s_0_6, -6, -1, 0},
54{ 2,
s_0_8, -8, -1, 0},
55{ 2,
s_0_9, -9, -1, 0},
70static const symbol s_1_7[6] = {
'h',
'e',
't',
'e',
'n',
'e' };
83static const symbol s_1_20[7] = {
'h',
'e',
't',
'e',
'n',
'e',
's' };
100{ 6,
s_1_7, -1, 1, 0},
101{ 4,
s_1_8, -7, 4, 0},
127{ 2,
s_2_0, 0, -1, 0},
144{ 4,
s_3_1, -1, 1, 0},
146{ 3,
s_3_3, -1, 1, 0},
147{ 3,
s_3_4, -2, 1, 0},
148{ 4,
s_3_5, -1, 1, 0},
151{ 4,
s_3_8, -1, 1, 0},
152{ 4,
s_3_9, -2, 1, 0},
156static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 2, 142 };
158static const unsigned char g_s_ending[] = { 119, 125, 148, 1 };
165 if (z->
c + 3 > z->
l)
return 0;
172 if (ret < 0)
return 0;
177 if (ret < 0)
return 0;
181 if (((
SN_local *)z)->i_p1 >= i_x)
goto lab0;
191 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
194 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1851426 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = v_1;
return 0; }
196 if (!among_var) { z->lb = v_1;
return 0; }
204 if (ret < 0)
return ret;
208 if (z->
c <= z->
lb || z->
p[z->
c - 1] >> 5 != 3 || !((5318672 >> (z->
p[z->
c - 1] & 0x1f)) & 1)) among_var = 1;
else
214 if (ret < 0)
return ret;
221 int v_2 = z->
l - z->
c;
226 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'r')
goto lab1;
229 int v_3 = z->
l - z->
c;
230 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'e')
goto lab2;
239 if (z->
c <= z->
lb || z->
p[z->
c - 1] !=
'k')
return 0;
245 if (ret < 0)
return ret;
251 if (ret < 0)
return ret;
260 int v_1 = z->
l - z->
c;
263 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
266 if (z->c - 1 <= z->lb || z->p[z->c - 1] != 116) { z->lb = v_2;
return 0; }
273 if (z->
c <= z->
lb)
return 0;
278 if (ret < 0)
return ret;
286 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
289 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4718720 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = v_1;
return 0; }
296 if (ret < 0)
return ret;
306 if (ret < 0)
return ret;
310 z->
lb = z->
c; z->
c = z->
l;
312 int v_2 = z->
l - z->
c;
315 if (ret < 0)
return ret;
320 int v_3 = z->
l - z->
c;
323 if (ret < 0)
return ret;
328 int v_4 = z->
l - z->
c;
331 if (ret < 0)
return ret;
void SN_delete_env(struct SN_env *z)
struct SN_env * SN_new_env(int alloc_size)
int norwegian_ISO_8859_1_stem(struct SN_env *z)
static const struct among a_2[2]
static const symbol s_3_5[4]
static const symbol s_0_11[3]
static const symbol s_1_24[3]
static const symbol s_1_9[2]
static const symbol s_1_14[1]
static const symbol s_3_7[3]
static const symbol s_1_6[3]
static const symbol s_1_5[3]
static const symbol s_0_5[3]
static const symbol s_0_8[2]
static const symbol s_0_10[3]
static int r_other_suffix(struct SN_env *z)
static int r_consonant_pair(struct SN_env *z)
void norwegian_ISO_8859_1_close_env(struct SN_env *z)
static const struct among a_0[15]
static const symbol s_2_0[2]
static int r_main_suffix(struct SN_env *z)
static const symbol s_1_3[4]
static const symbol s_1_27[3]
static const symbol s_1_25[2]
static const symbol s_1_4[4]
static const symbol s_0_12[1]
static const symbol s_3_0[3]
static const symbol s_1_15[2]
static const symbol s_0_13[3]
static const symbol s_1_17[4]
static const symbol s_3_9[4]
static const symbol s_1_20[7]
static const symbol s_1_28[3]
static const symbol s_1_21[3]
static const symbol s_0_1[3]
static const symbol s_3_6[3]
static const symbol s_1_23[3]
static const symbol s_3_10[7]
static const symbol s_1_11[2]
static const symbol s_1_13[5]
static const symbol s_1_18[5]
static const symbol s_0_7[4]
static const symbol s_1_1[1]
static const symbol s_0_14[3]
static const symbol s_3_4[3]
static const symbol s_1_2[3]
static const symbol s_3_1[4]
static const symbol s_3_3[3]
static const symbol s_1_0[1]
static const symbol s_1_26[3]
static int r_mark_regions(struct SN_env *z)
static const symbol s_1_22[6]
static const symbol s_3_8[4]
static const symbol s_0_6[3]
struct SN_env * norwegian_ISO_8859_1_create_env(void)
static const symbol s_0_2[2]
static const symbol s_1_10[5]
static const symbol s_1_16[2]
static const struct among a_1[29]
static const struct among a_3[11]
static const symbol s_1_7[6]
static const symbol s_0_3[2]
static const symbol s_2_1[2]
static const unsigned char g_v[]
static const unsigned char g_s_ending[]
static const symbol s_1_8[4]
static const symbol s_1_19[4]
static const symbol s_0_9[2]
static const symbol s_3_2[2]
static const symbol s_1_12[2]
static const symbol s_0[]
static const symbol s_0_4[3]
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 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)