PostgreSQL Source Code  git master
stem_ISO_8859_1_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_ISO_8859_1_create_env (void)
 
void dutch_ISO_8859_1_close_env (struct SN_env *z)
 
int dutch_ISO_8859_1_stem (struct SN_env *z)
 

Function Documentation

◆ dutch_ISO_8859_1_close_env()

void dutch_ISO_8859_1_close_env ( struct SN_env z)

Definition at line 623 of file stem_ISO_8859_1_dutch.c.

References SN_close_env().

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

◆ dutch_ISO_8859_1_create_env()

struct SN_env* dutch_ISO_8859_1_create_env ( void  )

Definition at line 621 of file stem_ISO_8859_1_dutch.c.

References SN_create_env().

621 { return SN_create_env(0, 2, 1); }
struct SN_env * SN_create_env(int S_size, int I_size, int B_size)
Definition: api.c:3

◆ dutch_ISO_8859_1_stem()

int dutch_ISO_8859_1_stem ( struct SN_env z)

Definition at line 582 of file stem_ISO_8859_1_dutch.c.

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

582  {
583  { int c1 = z->c; /* do, line 159 */
584  { int ret = r_prelude(z);
585  if (ret == 0) goto lab0; /* call prelude, line 159 */
586  if (ret < 0) return ret;
587  }
588  lab0:
589  z->c = c1;
590  }
591  { int c2 = z->c; /* do, line 160 */
592  { int ret = r_mark_regions(z);
593  if (ret == 0) goto lab1; /* call mark_regions, line 160 */
594  if (ret < 0) return ret;
595  }
596  lab1:
597  z->c = c2;
598  }
599  z->lb = z->c; z->c = z->l; /* backwards, line 161 */
600 
601  { int m3 = z->l - z->c; (void)m3; /* do, line 162 */
602  { int ret = r_standard_suffix(z);
603  if (ret == 0) goto lab2; /* call standard_suffix, line 162 */
604  if (ret < 0) return ret;
605  }
606  lab2:
607  z->c = z->l - m3;
608  }
609  z->c = z->lb;
610  { int c4 = z->c; /* do, line 163 */
611  { int ret = r_postlude(z);
612  if (ret == 0) goto lab3; /* call postlude, line 163 */
613  if (ret < 0) return ret;
614  }
615  lab3:
616  z->c = c4;
617  }
618  return 1;
619 }
static int r_prelude(struct SN_env *z)
static int r_mark_regions(struct SN_env *z)
int c
Definition: api.h:16
static int r_postlude(struct SN_env *z)
int lb
Definition: api.h:16
static int r_standard_suffix(struct SN_env *z)
int l
Definition: api.h:16