Header And Logo

PostgreSQL
| The world's most advanced open source database.

Functions

stem_UTF_8_dutch.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct SN_envdutch_UTF_8_create_env (void)
void dutch_UTF_8_close_env (struct SN_env *z)
int dutch_UTF_8_stem (struct SN_env *z)

Function Documentation

void dutch_UTF_8_close_env ( struct SN_env z  ) 

Definition at line 633 of file stem_UTF_8_dutch.c.

References SN_close_env().

{ SN_close_env(z, 0); }

struct SN_env* dutch_UTF_8_create_env ( void   )  [read]

Definition at line 631 of file stem_UTF_8_dutch.c.

References SN_create_env().

{ return SN_create_env(0, 2, 1); }

int dutch_UTF_8_stem ( struct SN_env z  ) 

Definition at line 592 of file stem_UTF_8_dutch.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 159 */
        {   int ret = r_prelude(z);
            if (ret == 0) goto lab0; /* call prelude, line 159 */
            if (ret < 0) return ret;
        }
    lab0:
        z->c = c1;
    }
    {   int c2 = z->c; /* do, line 160 */
        {   int ret = r_mark_regions(z);
            if (ret == 0) goto lab1; /* call mark_regions, line 160 */
            if (ret < 0) return ret;
        }
    lab1:
        z->c = c2;
    }
    z->lb = z->c; z->c = z->l; /* backwards, line 161 */

    {   int m3 = z->l - z->c; (void)m3; /* do, line 162 */
        {   int ret = r_standard_suffix(z);
            if (ret == 0) goto lab2; /* call standard_suffix, line 162 */
            if (ret < 0) return ret;
        }
    lab2:
        z->c = z->l - m3;
    }
    z->c = z->lb;
    {   int c4 = z->c; /* do, line 163 */
        {   int ret = r_postlude(z);
            if (ret == 0) goto lab3; /* call postlude, line 163 */
            if (ret < 0) return ret;
        }
    lab3:
        z->c = c4;
    }
    return 1;
}