7#include "snowball_runtime.h"
33static const symbol s_2[] = {
'l', 0xC3, 0xB8,
's' };
41static const symbol s_0_6[6] = {
'e',
'r',
'e',
'n',
'd',
'e' };
55static const symbol s_0_20[7] = {
'e',
'r',
'e',
'n',
'd',
'e',
's' };
107{ 2,
s_1_0, 0, -1, 0},
108{ 2,
s_1_1, 0, -1, 0},
109{ 2,
s_1_2, 0, -1, 0},
120{ 3,
s_2_1, -1, 1, 0},
121{ 4,
s_2_2, -1, 1, 0},
126static const unsigned char g_c[] = { 119, 223, 119, 1 };
128static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 128 };
130static const unsigned char g_s_ending[] = { 239, 254, 42, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16 };
139 if (ret < 0)
return 0;
147 if (ret < 0)
return 0;
152 if (ret < 0)
return 0;
156 if (((
SN_local *)z)->i_p1 >= i_x)
goto lab0;
166 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
169 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1851440 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = v_1;
return 0; }
171 if (!among_var) { z->lb = v_1;
return 0; }
179 if (ret < 0)
return ret;
186 if (ret < 0)
return ret;
195 int v_1 = z->
l - z->
c;
198 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
201 if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 116)) { z->lb = v_2;
return 0; }
210 if (ret < 0)
return 0;
216 if (ret < 0)
return ret;
224 int v_1 = z->
l - z->
c;
231 if (ret < 0)
return ret;
238 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
241 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1572992 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = v_2;
return 0; }
243 if (!among_var) { z->lb = v_2;
return 0; }
251 if (ret < 0)
return ret;
254 int v_3 = z->
l - z->
c;
257 if (ret < 0)
return ret;
265 if (ret < 0)
return ret;
275 if (z->
c < ((
SN_local *)z)->i_p1)
return 0;
282 if (ret < 0)
return ret;
289 if (ret < 0)
return ret;
299 if (ret < 0)
return ret;
303 z->
lb = z->
c; z->
c = z->
l;
305 int v_2 = z->
l - z->
c;
308 if (ret < 0)
return ret;
313 int v_3 = z->
l - z->
c;
316 if (ret < 0)
return ret;
321 int v_4 = z->
l - z->
c;
324 if (ret < 0)
return ret;
329 int v_5 = z->
l - z->
c;
332 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_0_24[3]
static const struct among a_2[5]
static const symbol s_0_2[4]
static const symbol s_2[]
static const symbol s_0_15[4]
static const unsigned char g_c[]
static const struct among a_0[32]
static const symbol s_0_13[2]
static const symbol s_0_20[7]
static const symbol s_1_2[2]
static const symbol s_0_14[5]
static int r_other_suffix(struct SN_env *z)
static int r_consonant_pair(struct SN_env *z)
static const symbol s_0_12[4]
static const symbol s_2_3[3]
static const symbol s_0_31[4]
static const symbol s_2_0[2]
static int r_main_suffix(struct SN_env *z)
static const struct among a_1[4]
static const symbol s_1_3[2]
static const symbol s_2_1[3]
static const symbol s_1_0[2]
void danish_UTF_8_close_env(struct SN_env *z)
static const symbol s_0_5[4]
static const symbol s_2_2[4]
static const symbol s_0_11[5]
static const symbol s_0_1[5]
static const symbol s_0_30[2]
static const symbol s_2_4[5]
static const symbol s_0_17[4]
static const symbol s_1_1[2]
static const symbol s_0_0[3]
static int r_undouble(struct SN_env *z)
int danish_UTF_8_stem(struct SN_env *z)
static const symbol s_0_19[5]
static const symbol s_0_18[2]
static const symbol s_0_23[4]
static const symbol s_0_27[3]
static const symbol s_0_16[1]
static const symbol s_0_28[3]
static const symbol s_0_29[5]
static const symbol s_0_9[3]
struct SN_env * danish_UTF_8_create_env(void)
static const symbol s_0_22[5]
static const symbol s_1[]
static int r_mark_regions(struct SN_env *z)
static const symbol s_0_3[1]
static const symbol s_0_6[6]
static const symbol s_0_8[4]
static const symbol s_0_25[6]
static const symbol s_0_7[3]
static const symbol s_0_26[5]
static const symbol s_0_10[2]
static const unsigned char g_v[]
static const unsigned char g_s_ending[]
static const symbol s_0_21[4]
static const symbol s_0[]
static const symbol s_0_4[5]
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)
int eq_v_b(struct SN_env *z, const symbol *p)
SNOWBALL_ERR slice_from_s(struct SN_env *z, int s_size, const symbol *s)
SNOWBALL_ERR slice_to(struct SN_env *z, symbol **p)
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 skip_utf8(const symbol *p, int c, int limit, int n)