PostgreSQL Source Code  git master
stem_UTF_8_yiddish.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_envyiddish_UTF_8_create_env (void)
 
void yiddish_UTF_8_close_env (struct SN_env *z)
 
int yiddish_UTF_8_stem (struct SN_env *z)
 

Function Documentation

◆ yiddish_UTF_8_close_env()

void yiddish_UTF_8_close_env ( struct SN_env z)

Definition at line 1232 of file stem_UTF_8_yiddish.c.

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

References SN_close_env().

◆ yiddish_UTF_8_create_env()

struct SN_env* yiddish_UTF_8_create_env ( void  )

Definition at line 1230 of file stem_UTF_8_yiddish.c.

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

References SN_create_env().

◆ yiddish_UTF_8_stem()

int yiddish_UTF_8_stem ( struct SN_env z)

Definition at line 1209 of file stem_UTF_8_yiddish.c.

1209  {
1210 
1211  { int ret = r_prelude(z);
1212  if (ret < 0) return ret;
1213  }
1214  { int c1 = z->c;
1215  { int ret = r_mark_regions(z);
1216  if (ret < 0) return ret;
1217  }
1218  z->c = c1;
1219  }
1220  z->lb = z->c; z->c = z->l;
1221 
1222 
1223  { int ret = r_standard_suffix(z);
1224  if (ret < 0) return ret;
1225  }
1226  z->c = z->lb;
1227  return 1;
1228 }
static int r_standard_suffix(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_prelude(), and r_standard_suffix().