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

868{ 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 866 of file stem_UTF_8_hungarian.c.

866{ 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 799 of file stem_UTF_8_hungarian.c.

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