PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
stem_ISO_8859_1_irish.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_envirish_ISO_8859_1_create_env (void)
 
void irish_ISO_8859_1_close_env (struct SN_env *z)
 
int irish_ISO_8859_1_stem (struct SN_env *z)
 

Function Documentation

◆ irish_ISO_8859_1_close_env()

void irish_ISO_8859_1_close_env ( struct SN_env z)

Definition at line 470 of file stem_ISO_8859_1_irish.c.

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

References SN_close_env().

◆ irish_ISO_8859_1_create_env()

struct SN_env * irish_ISO_8859_1_create_env ( void  )

Definition at line 468 of file stem_ISO_8859_1_irish.c.

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

References SN_create_env().

◆ irish_ISO_8859_1_stem()

int irish_ISO_8859_1_stem ( struct SN_env z)

Definition at line 433 of file stem_ISO_8859_1_irish.c.

433 {
434 { int c1 = z->c;
435 { int ret = r_initial_morph(z);
436 if (ret < 0) return ret;
437 }
438 z->c = c1;
439 }
440
441 { int ret = r_mark_regions(z);
442 if (ret < 0) return ret;
443 }
444 z->lb = z->c; z->c = z->l;
445
446 { int m2 = z->l - z->c; (void)m2;
447 { int ret = r_noun_sfx(z);
448 if (ret < 0) return ret;
449 }
450 z->c = z->l - m2;
451 }
452 { int m3 = z->l - z->c; (void)m3;
453 { int ret = r_deriv(z);
454 if (ret < 0) return ret;
455 }
456 z->c = z->l - m3;
457 }
458 { int m4 = z->l - z->c; (void)m4;
459 { int ret = r_verb_sfx(z);
460 if (ret < 0) return ret;
461 }
462 z->c = z->l - m4;
463 }
464 z->c = z->lb;
465 return 1;
466}
static int r_noun_sfx(struct SN_env *z)
static int r_deriv(struct SN_env *z)
static int r_initial_morph(struct SN_env *z)
static int r_verb_sfx(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_deriv(), r_initial_morph(), r_mark_regions(), r_noun_sfx(), and r_verb_sfx().