PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
stem_ISO_8859_1_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_ISO_8859_1_create_env (void)
 
void hungarian_ISO_8859_1_close_env (struct SN_env *z)
 
int hungarian_ISO_8859_1_stem (struct SN_env *z)
 

Function Documentation

void hungarian_ISO_8859_1_close_env ( struct SN_env z)

Definition at line 1229 of file stem_ISO_8859_1_hungarian.c.

References SN_close_env().

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

Definition at line 1227 of file stem_ISO_8859_1_hungarian.c.

References SN_create_env().

1227 { 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
int hungarian_ISO_8859_1_stem ( struct SN_env z)

Definition at line 1140 of file stem_ISO_8859_1_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().

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