PostgreSQL Source Code  git master
stem_UTF_8_german.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_envgerman_UTF_8_create_env (void)
 
void german_UTF_8_close_env (struct SN_env *z)
 
int german_UTF_8_stem (struct SN_env *z)
 

Function Documentation

◆ german_UTF_8_close_env()

void german_UTF_8_close_env ( struct SN_env z)

Definition at line 499 of file stem_UTF_8_german.c.

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

References SN_close_env().

◆ german_UTF_8_create_env()

struct SN_env* german_UTF_8_create_env ( void  )

Definition at line 497 of file stem_UTF_8_german.c.

497 { 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().

◆ german_UTF_8_stem()

int german_UTF_8_stem ( struct SN_env z)

Definition at line 468 of file stem_UTF_8_german.c.

468  {
469  { int c1 = z->c;
470  { int ret = r_prelude(z);
471  if (ret < 0) return ret;
472  }
473  z->c = c1;
474  }
475  { int c2 = z->c;
476  { int ret = r_mark_regions(z);
477  if (ret < 0) return ret;
478  }
479  z->c = c2;
480  }
481  z->lb = z->c; z->c = z->l;
482 
483 
484  { int ret = r_standard_suffix(z);
485  if (ret < 0) return ret;
486  }
487  z->c = z->lb;
488  { int c3 = z->c;
489  { int ret = r_postlude(z);
490  if (ret < 0) return ret;
491  }
492  z->c = c3;
493  }
494  return 1;
495 }
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().