PostgreSQL Source Code  git master
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 612 of file stem_UTF_8_dutch.c.

612 { 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 610 of file stem_UTF_8_dutch.c.

610 { return SN_create_env(0, 3); }
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 581 of file stem_UTF_8_dutch.c.

581  {
582  { int c1 = z->c;
583  { int ret = r_prelude(z);
584  if (ret < 0) return ret;
585  }
586  z->c = c1;
587  }
588  { int c2 = z->c;
589  { int ret = r_mark_regions(z);
590  if (ret < 0) return ret;
591  }
592  z->c = c2;
593  }
594  z->lb = z->c; z->c = z->l;
595 
596 
597  { int ret = r_standard_suffix(z);
598  if (ret < 0) return ret;
599  }
600  z->c = z->lb;
601  { int c3 = z->c;
602  { int ret = r_postlude(z);
603  if (ret < 0) return ret;
604  }
605  z->c = c3;
606  }
607  return 1;
608 }
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().