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 1338 of file stem_UTF_8_yiddish.c.

1338 {
1339 SN_delete_env(z);
1340}
void SN_delete_env(struct SN_env *z)
Definition: api.c:18

References SN_delete_env().

◆ yiddish_UTF_8_create_env()

struct SN_env * yiddish_UTF_8_create_env ( void  )

Definition at line 1330 of file stem_UTF_8_yiddish.c.

1330 {
1331 struct SN_env * z = SN_new_env(sizeof(SN_local));
1332 if (z) {
1333 ((SN_local *)z)->i_p1 = 0;
1334 }
1335 return z;
1336}
struct SN_env * SN_new_env(int alloc_size)
Definition: api.c:5
Definition: api.h:15

References SN_new_env().

◆ yiddish_UTF_8_stem()

int yiddish_UTF_8_stem ( struct SN_env z)

Definition at line 1308 of file stem_UTF_8_yiddish.c.

1308 {
1309 {
1310 int ret = r_prelude(z);
1311 if (ret < 0) return ret;
1312 }
1313 {
1314 int v_1 = z->c;
1315 {
1316 int ret = r_mark_regions(z);
1317 if (ret < 0) return ret;
1318 }
1319 z->c = v_1;
1320 }
1321 z->lb = z->c; z->c = z->l;
1322 {
1323 int ret = r_standard_suffix(z);
1324 if (ret < 0) return ret;
1325 }
1326 z->c = z->lb;
1327 return 1;
1328}
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:17
int c
Definition: api.h:17
int l
Definition: api.h:17

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