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 1233 of file stem_UTF_8_hungarian.c.

References SN_close_env().

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

◆ hungarian_UTF_8_create_env()

struct SN_env* hungarian_UTF_8_create_env ( void  )

Definition at line 1231 of file stem_UTF_8_hungarian.c.

References SN_create_env().

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

◆ hungarian_UTF_8_stem()

int hungarian_UTF_8_stem ( struct SN_env z)

Definition at line 1144 of file stem_UTF_8_hungarian.c.

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().

1144  {
1145  { int c1 = z->c; /* do, line 229 */
1146  { int ret = r_mark_regions(z);
1147  if (ret == 0) goto lab0; /* call mark_regions, line 229 */
1148  if (ret < 0) return ret;
1149  }
1150  lab0:
1151  z->c = c1;
1152  }
1153  z->lb = z->c; z->c = z->l; /* backwards, line 230 */
1154 
1155  { int m2 = z->l - z->c; (void)m2; /* do, line 231 */
1156  { int ret = r_instrum(z);
1157  if (ret == 0) goto lab1; /* call instrum, line 231 */
1158  if (ret < 0) return ret;
1159  }
1160  lab1:
1161  z->c = z->l - m2;
1162  }
1163  { int m3 = z->l - z->c; (void)m3; /* do, line 232 */
1164  { int ret = r_case(z);
1165  if (ret == 0) goto lab2; /* call case, line 232 */
1166  if (ret < 0) return ret;
1167  }
1168  lab2:
1169  z->c = z->l - m3;
1170  }
1171  { int m4 = z->l - z->c; (void)m4; /* do, line 233 */
1172  { int ret = r_case_special(z);
1173  if (ret == 0) goto lab3; /* call case_special, line 233 */
1174  if (ret < 0) return ret;
1175  }
1176  lab3:
1177  z->c = z->l - m4;
1178  }
1179  { int m5 = z->l - z->c; (void)m5; /* do, line 234 */
1180  { int ret = r_case_other(z);
1181  if (ret == 0) goto lab4; /* call case_other, line 234 */
1182  if (ret < 0) return ret;
1183  }
1184  lab4:
1185  z->c = z->l - m5;
1186  }
1187  { int m6 = z->l - z->c; (void)m6; /* do, line 235 */
1188  { int ret = r_factive(z);
1189  if (ret == 0) goto lab5; /* call factive, line 235 */
1190  if (ret < 0) return ret;
1191  }
1192  lab5:
1193  z->c = z->l - m6;
1194  }
1195  { int m7 = z->l - z->c; (void)m7; /* do, line 236 */
1196  { int ret = r_owned(z);
1197  if (ret == 0) goto lab6; /* call owned, line 236 */
1198  if (ret < 0) return ret;
1199  }
1200  lab6:
1201  z->c = z->l - m7;
1202  }
1203  { int m8 = z->l - z->c; (void)m8; /* do, line 237 */
1204  { int ret = r_sing_owner(z);
1205  if (ret == 0) goto lab7; /* call sing_owner, line 237 */
1206  if (ret < 0) return ret;
1207  }
1208  lab7:
1209  z->c = z->l - m8;
1210  }
1211  { int m9 = z->l - z->c; (void)m9; /* do, line 238 */
1212  { int ret = r_plur_owner(z);
1213  if (ret == 0) goto lab8; /* call plur_owner, line 238 */
1214  if (ret < 0) return ret;
1215  }
1216  lab8:
1217  z->c = z->l - m9;
1218  }
1219  { int m10 = z->l - z->c; (void)m10; /* do, line 239 */
1220  { int ret = r_plural(z);
1221  if (ret == 0) goto lab9; /* call plural, line 239 */
1222  if (ret < 0) return ret;
1223  }
1224  lab9:
1225  z->c = z->l - m10;
1226  }
1227  z->c = z->lb;
1228  return 1;
1229 }
static int r_plural(struct SN_env *z)
static int r_plur_owner(struct SN_env *z)
static int r_case_other(struct SN_env *z)
int c
Definition: api.h:16
static int r_case(struct SN_env *z)
static int r_instrum(struct SN_env *z)
int lb
Definition: api.h:16
static int r_owned(struct SN_env *z)
static int r_mark_regions(struct SN_env *z)
static int r_sing_owner(struct SN_env *z)
static int r_factive(struct SN_env *z)
static int r_case_special(struct SN_env *z)
int l
Definition: api.h:16