Go to the source code of this file.
Functions | |
struct SN_env * | german_ISO_8859_1_create_env (void) |
void | german_ISO_8859_1_close_env (struct SN_env *z) |
int | german_ISO_8859_1_stem (struct SN_env *z) |
void german_ISO_8859_1_close_env | ( | struct SN_env * | z | ) |
Definition at line 502 of file stem_ISO_8859_1_german.c.
References SN_close_env().
{ SN_close_env(z, 0); }
struct SN_env* german_ISO_8859_1_create_env | ( | void | ) | [read] |
Definition at line 500 of file stem_ISO_8859_1_german.c.
References SN_create_env().
{ return SN_create_env(0, 3, 0); }
int german_ISO_8859_1_stem | ( | struct SN_env * | z | ) |
Definition at line 461 of file stem_ISO_8859_1_german.c.
References SN_env::c, SN_env::l, SN_env::lb, r_mark_regions(), r_postlude(), r_prelude(), and r_standard_suffix().
{ { int c1 = z->c; /* do, line 125 */ { int ret = r_prelude(z); if (ret == 0) goto lab0; /* call prelude, line 125 */ if (ret < 0) return ret; } lab0: z->c = c1; } { int c2 = z->c; /* do, line 126 */ { int ret = r_mark_regions(z); if (ret == 0) goto lab1; /* call mark_regions, line 126 */ if (ret < 0) return ret; } lab1: z->c = c2; } z->lb = z->c; z->c = z->l; /* backwards, line 127 */ { int m3 = z->l - z->c; (void)m3; /* do, line 128 */ { int ret = r_standard_suffix(z); if (ret == 0) goto lab2; /* call standard_suffix, line 128 */ if (ret < 0) return ret; } lab2: z->c = z->l - m3; } z->c = z->lb; { int c4 = z->c; /* do, line 129 */ { int ret = r_postlude(z); if (ret == 0) goto lab3; /* call postlude, line 129 */ if (ret < 0) return ret; } lab3: z->c = c4; } return 1; }