PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 1235 of file stem_UTF_8_yiddish.c.

1235{ 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 1233 of file stem_UTF_8_yiddish.c.

1233{ 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 1212 of file stem_UTF_8_yiddish.c.

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