PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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

◆ dutch_UTF_8_close_env()

void dutch_UTF_8_close_env ( struct SN_env z)

Definition at line 620 of file stem_UTF_8_dutch.c.

620{ SN_close_env(z, 0); }
void SN_close_env(struct SN_env *z, int S_size)
Definition: api.c:34

References SN_close_env().

◆ dutch_UTF_8_create_env()

struct SN_env * dutch_UTF_8_create_env ( void  )

Definition at line 618 of file stem_UTF_8_dutch.c.

618{ return SN_create_env(0, 4); }
struct SN_env * SN_create_env(int S_size, int I_size)
Definition: api.c:3

References SN_create_env().

◆ dutch_UTF_8_stem()

int dutch_UTF_8_stem ( struct SN_env z)

Definition at line 589 of file stem_UTF_8_dutch.c.

589 {
590 { int c1 = z->c;
591 { int ret = r_prelude(z);
592 if (ret < 0) return ret;
593 }
594 z->c = c1;
595 }
596 { int c2 = z->c;
597 { int ret = r_mark_regions(z);
598 if (ret < 0) return ret;
599 }
600 z->c = c2;
601 }
602 z->lb = z->c; z->c = z->l;
603
604
605 { int ret = r_standard_suffix(z);
606 if (ret < 0) return ret;
607 }
608 z->c = z->lb;
609 { int c3 = z->c;
610 { int ret = r_postlude(z);
611 if (ret < 0) return ret;
612 }
613 z->c = c3;
614 }
615 return 1;
616}
static int r_standard_suffix(struct SN_env *z)
static int r_postlude(struct SN_env *z)
static int r_prelude(struct SN_env *z)
static int r_mark_regions(struct SN_env *z)
int lb
Definition: api.h:16
int c
Definition: api.h:16
int l
Definition: api.h:16

References SN_env::c, SN_env::l, SN_env::lb, r_mark_regions(), r_postlude(), r_prelude(), and r_standard_suffix().