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

Function Documentation

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

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

Definition at line 500 of file stem_ISO_8859_1_german.c.

References SN_create_env().

500 { return SN_create_env(0, 3, 0); }
struct SN_env * SN_create_env(int S_size, int I_size, int B_size)
Definition: api.c:3
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().

461  {
462  { int c1 = z->c; /* do, line 125 */
463  { int ret = r_prelude(z);
464  if (ret == 0) goto lab0; /* call prelude, line 125 */
465  if (ret < 0) return ret;
466  }
467  lab0:
468  z->c = c1;
469  }
470  { int c2 = z->c; /* do, line 126 */
471  { int ret = r_mark_regions(z);
472  if (ret == 0) goto lab1; /* call mark_regions, line 126 */
473  if (ret < 0) return ret;
474  }
475  lab1:
476  z->c = c2;
477  }
478  z->lb = z->c; z->c = z->l; /* backwards, line 127 */
479 
480  { int m3 = z->l - z->c; (void)m3; /* do, line 128 */
481  { int ret = r_standard_suffix(z);
482  if (ret == 0) goto lab2; /* call standard_suffix, line 128 */
483  if (ret < 0) return ret;
484  }
485  lab2:
486  z->c = z->l - m3;
487  }
488  z->c = z->lb;
489  { int c4 = z->c; /* do, line 129 */
490  { int ret = r_postlude(z);
491  if (ret == 0) goto lab3; /* call postlude, line 129 */
492  if (ret < 0) return ret;
493  }
494  lab3:
495  z->c = c4;
496  }
497  return 1;
498 }
static int r_mark_regions(struct SN_env *z)
int c
Definition: api.h:16
static int r_prelude(struct SN_env *z)
int lb
Definition: api.h:16
static int r_postlude(struct SN_env *z)
static int r_standard_suffix(struct SN_env *z)
int l
Definition: api.h:16