PostgreSQL Source Code  git master
stem_UTF_8_hungarian.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_envhungarian_UTF_8_create_env (void)
 
void hungarian_UTF_8_close_env (struct SN_env *z)
 
int hungarian_UTF_8_stem (struct SN_env *z)
 

Function Documentation

◆ hungarian_UTF_8_close_env()

void hungarian_UTF_8_close_env ( struct SN_env z)

Definition at line 867 of file stem_UTF_8_hungarian.c.

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

References SN_close_env().

◆ hungarian_UTF_8_create_env()

struct SN_env* hungarian_UTF_8_create_env ( void  )

Definition at line 865 of file stem_UTF_8_hungarian.c.

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

References SN_create_env().

◆ hungarian_UTF_8_stem()

int hungarian_UTF_8_stem ( struct SN_env z)

Definition at line 798 of file stem_UTF_8_hungarian.c.

798  {
799  { int c1 = z->c;
800  { int ret = r_mark_regions(z);
801  if (ret < 0) return ret;
802  }
803  z->c = c1;
804  }
805  z->lb = z->c; z->c = z->l;
806 
807  { int m2 = z->l - z->c; (void)m2;
808  { int ret = r_instrum(z);
809  if (ret < 0) return ret;
810  }
811  z->c = z->l - m2;
812  }
813  { int m3 = z->l - z->c; (void)m3;
814  { int ret = r_case(z);
815  if (ret < 0) return ret;
816  }
817  z->c = z->l - m3;
818  }
819  { int m4 = z->l - z->c; (void)m4;
820  { int ret = r_case_special(z);
821  if (ret < 0) return ret;
822  }
823  z->c = z->l - m4;
824  }
825  { int m5 = z->l - z->c; (void)m5;
826  { int ret = r_case_other(z);
827  if (ret < 0) return ret;
828  }
829  z->c = z->l - m5;
830  }
831  { int m6 = z->l - z->c; (void)m6;
832  { int ret = r_factive(z);
833  if (ret < 0) return ret;
834  }
835  z->c = z->l - m6;
836  }
837  { int m7 = z->l - z->c; (void)m7;
838  { int ret = r_owned(z);
839  if (ret < 0) return ret;
840  }
841  z->c = z->l - m7;
842  }
843  { int m8 = z->l - z->c; (void)m8;
844  { int ret = r_sing_owner(z);
845  if (ret < 0) return ret;
846  }
847  z->c = z->l - m8;
848  }
849  { int m9 = z->l - z->c; (void)m9;
850  { int ret = r_plur_owner(z);
851  if (ret < 0) return ret;
852  }
853  z->c = z->l - m9;
854  }
855  { int m10 = z->l - z->c; (void)m10;
856  { int ret = r_plural(z);
857  if (ret < 0) return ret;
858  }
859  z->c = z->l - m10;
860  }
861  z->c = z->lb;
862  return 1;
863 }
static int r_case(struct SN_env *z)
static int r_factive(struct SN_env *z)
static int r_instrum(struct SN_env *z)
static int r_plur_owner(struct SN_env *z)
static int r_owned(struct SN_env *z)
static int r_case_other(struct SN_env *z)
static int r_plural(struct SN_env *z)
static int r_sing_owner(struct SN_env *z)
static int r_mark_regions(struct SN_env *z)
static int r_case_special(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_case(), r_case_other(), r_case_special(), r_factive(), r_instrum(), r_mark_regions(), r_owned(), r_plur_owner(), r_plural(), and r_sing_owner().