PostgreSQL Source Code  git master
stem_ISO_8859_1_english.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_envenglish_ISO_8859_1_create_env (void)
 
void english_ISO_8859_1_close_env (struct SN_env *z)
 
int english_ISO_8859_1_stem (struct SN_env *z)
 

Function Documentation

◆ english_ISO_8859_1_close_env()

void english_ISO_8859_1_close_env ( struct SN_env z)

Definition at line 1116 of file stem_ISO_8859_1_english.c.

References SN_close_env().

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

◆ english_ISO_8859_1_create_env()

struct SN_env* english_ISO_8859_1_create_env ( void  )

Definition at line 1114 of file stem_ISO_8859_1_english.c.

References SN_create_env().

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

◆ english_ISO_8859_1_stem()

int english_ISO_8859_1_stem ( struct SN_env z)

Definition at line 995 of file stem_ISO_8859_1_english.c.

References SN_env::c, SN_env::l, SN_env::lb, r_exception1(), r_exception2(), r_mark_regions(), r_postlude(), r_prelude(), r_Step_1a(), r_Step_1b(), r_Step_1c(), r_Step_2(), r_Step_3(), r_Step_4(), and r_Step_5().

995  {
996  { int c1 = z->c; /* or, line 207 */
997  { int ret = r_exception1(z);
998  if (ret == 0) goto lab1; /* call exception1, line 207 */
999  if (ret < 0) return ret;
1000  }
1001  goto lab0;
1002  lab1:
1003  z->c = c1;
1004  { int c2 = z->c; /* not, line 208 */
1005  { int ret = z->c + 3;
1006  if (0 > ret || ret > z->l) goto lab3;
1007  z->c = ret; /* hop, line 208 */
1008  }
1009  goto lab2;
1010  lab3:
1011  z->c = c2;
1012  }
1013  goto lab0;
1014  lab2:
1015  z->c = c1;
1016  { int c3 = z->c; /* do, line 209 */
1017  { int ret = r_prelude(z);
1018  if (ret == 0) goto lab4; /* call prelude, line 209 */
1019  if (ret < 0) return ret;
1020  }
1021  lab4:
1022  z->c = c3;
1023  }
1024  { int c4 = z->c; /* do, line 210 */
1025  { int ret = r_mark_regions(z);
1026  if (ret == 0) goto lab5; /* call mark_regions, line 210 */
1027  if (ret < 0) return ret;
1028  }
1029  lab5:
1030  z->c = c4;
1031  }
1032  z->lb = z->c; z->c = z->l; /* backwards, line 211 */
1033 
1034  { int m5 = z->l - z->c; (void)m5; /* do, line 213 */
1035  { int ret = r_Step_1a(z);
1036  if (ret == 0) goto lab6; /* call Step_1a, line 213 */
1037  if (ret < 0) return ret;
1038  }
1039  lab6:
1040  z->c = z->l - m5;
1041  }
1042  { int m6 = z->l - z->c; (void)m6; /* or, line 215 */
1043  { int ret = r_exception2(z);
1044  if (ret == 0) goto lab8; /* call exception2, line 215 */
1045  if (ret < 0) return ret;
1046  }
1047  goto lab7;
1048  lab8:
1049  z->c = z->l - m6;
1050  { int m7 = z->l - z->c; (void)m7; /* do, line 217 */
1051  { int ret = r_Step_1b(z);
1052  if (ret == 0) goto lab9; /* call Step_1b, line 217 */
1053  if (ret < 0) return ret;
1054  }
1055  lab9:
1056  z->c = z->l - m7;
1057  }
1058  { int m8 = z->l - z->c; (void)m8; /* do, line 218 */
1059  { int ret = r_Step_1c(z);
1060  if (ret == 0) goto lab10; /* call Step_1c, line 218 */
1061  if (ret < 0) return ret;
1062  }
1063  lab10:
1064  z->c = z->l - m8;
1065  }
1066  { int m9 = z->l - z->c; (void)m9; /* do, line 220 */
1067  { int ret = r_Step_2(z);
1068  if (ret == 0) goto lab11; /* call Step_2, line 220 */
1069  if (ret < 0) return ret;
1070  }
1071  lab11:
1072  z->c = z->l - m9;
1073  }
1074  { int m10 = z->l - z->c; (void)m10; /* do, line 221 */
1075  { int ret = r_Step_3(z);
1076  if (ret == 0) goto lab12; /* call Step_3, line 221 */
1077  if (ret < 0) return ret;
1078  }
1079  lab12:
1080  z->c = z->l - m10;
1081  }
1082  { int m11 = z->l - z->c; (void)m11; /* do, line 222 */
1083  { int ret = r_Step_4(z);
1084  if (ret == 0) goto lab13; /* call Step_4, line 222 */
1085  if (ret < 0) return ret;
1086  }
1087  lab13:
1088  z->c = z->l - m11;
1089  }
1090  { int m12 = z->l - z->c; (void)m12; /* do, line 224 */
1091  { int ret = r_Step_5(z);
1092  if (ret == 0) goto lab14; /* call Step_5, line 224 */
1093  if (ret < 0) return ret;
1094  }
1095  lab14:
1096  z->c = z->l - m12;
1097  }
1098  }
1099  lab7:
1100  z->c = z->lb;
1101  { int c13 = z->c; /* do, line 227 */
1102  { int ret = r_postlude(z);
1103  if (ret == 0) goto lab15; /* call postlude, line 227 */
1104  if (ret < 0) return ret;
1105  }
1106  lab15:
1107  z->c = c13;
1108  }
1109  }
1110 lab0:
1111  return 1;
1112 }
static int r_Step_1b(struct SN_env *z)
int c
Definition: api.h:16
int lb
Definition: api.h:16
static int r_exception2(struct SN_env *z)
static int r_postlude(struct SN_env *z)
static int r_Step_3(struct SN_env *z)
static int r_exception1(struct SN_env *z)
static int r_Step_1c(struct SN_env *z)
static int r_Step_5(struct SN_env *z)
static int r_Step_4(struct SN_env *z)
static int r_mark_regions(struct SN_env *z)
static int r_Step_2(struct SN_env *z)
static int r_Step_1a(struct SN_env *z)
int l
Definition: api.h:16
static int r_prelude(struct SN_env *z)