PostgreSQL Source Code  git master
stem_UTF_8_english.c File Reference
#include "header.h"
Include dependency graph for stem_UTF_8_english.c:

Go to the source code of this file.

Functions

int english_UTF_8_stem (struct SN_env *z)
 
static int r_exception2 (struct SN_env *z)
 
static int r_exception1 (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_Step_3 (struct SN_env *z)
 
static int r_Step_2 (struct SN_env *z)
 
static int r_Step_1c (struct SN_env *z)
 
static int r_Step_1b (struct SN_env *z)
 
static int r_Step_1a (struct SN_env *z)
 
static int r_R2 (struct SN_env *z)
 
static int r_R1 (struct SN_env *z)
 
static int r_shortv (struct SN_env *z)
 
static int r_mark_regions (struct SN_env *z)
 
static int r_postlude (struct SN_env *z)
 
static int r_prelude (struct SN_env *z)
 
struct SN_envenglish_UTF_8_create_env (void)
 
void english_UTF_8_close_env (struct SN_env *z)
 

Variables

static const symbol s_0_0 [5] = { 'a', 'r', 's', 'e', 'n' }
 
static const symbol s_0_1 [6] = { 'c', 'o', 'm', 'm', 'u', 'n' }
 
static const symbol s_0_2 [5] = { 'g', 'e', 'n', 'e', 'r' }
 
static const struct among a_0 [3]
 
static const symbol s_1_0 [1] = { '\'' }
 
static const symbol s_1_1 [3] = { '\'', 's', '\'' }
 
static const symbol s_1_2 [2] = { '\'', 's' }
 
static const struct among a_1 [3]
 
static const symbol s_2_0 [3] = { 'i', 'e', 'd' }
 
static const symbol s_2_1 [1] = { 's' }
 
static const symbol s_2_2 [3] = { 'i', 'e', 's' }
 
static const symbol s_2_3 [4] = { 's', 's', 'e', 's' }
 
static const symbol s_2_4 [2] = { 's', 's' }
 
static const symbol s_2_5 [2] = { 'u', 's' }
 
static const struct among a_2 [6]
 
static const symbol s_3_1 [2] = { 'b', 'b' }
 
static const symbol s_3_2 [2] = { 'd', 'd' }
 
static const symbol s_3_3 [2] = { 'f', 'f' }
 
static const symbol s_3_4 [2] = { 'g', 'g' }
 
static const symbol s_3_5 [2] = { 'b', 'l' }
 
static const symbol s_3_6 [2] = { 'm', 'm' }
 
static const symbol s_3_7 [2] = { 'n', 'n' }
 
static const symbol s_3_8 [2] = { 'p', 'p' }
 
static const symbol s_3_9 [2] = { 'r', 'r' }
 
static const symbol s_3_10 [2] = { 'a', 't' }
 
static const symbol s_3_11 [2] = { 't', 't' }
 
static const symbol s_3_12 [2] = { 'i', 'z' }
 
static const struct among a_3 [13]
 
static const symbol s_4_0 [2] = { 'e', 'd' }
 
static const symbol s_4_1 [3] = { 'e', 'e', 'd' }
 
static const symbol s_4_2 [3] = { 'i', 'n', 'g' }
 
static const symbol s_4_3 [4] = { 'e', 'd', 'l', 'y' }
 
static const symbol s_4_4 [5] = { 'e', 'e', 'd', 'l', 'y' }
 
static const symbol s_4_5 [5] = { 'i', 'n', 'g', 'l', 'y' }
 
static const struct among a_4 [6]
 
static const symbol s_5_0 [4] = { 'a', 'n', 'c', 'i' }
 
static const symbol s_5_1 [4] = { 'e', 'n', 'c', 'i' }
 
static const symbol s_5_2 [3] = { 'o', 'g', 'i' }
 
static const symbol s_5_3 [2] = { 'l', 'i' }
 
static const symbol s_5_4 [3] = { 'b', 'l', 'i' }
 
static const symbol s_5_5 [4] = { 'a', 'b', 'l', 'i' }
 
static const symbol s_5_6 [4] = { 'a', 'l', 'l', 'i' }
 
static const symbol s_5_7 [5] = { 'f', 'u', 'l', 'l', 'i' }
 
static const symbol s_5_8 [6] = { 'l', 'e', 's', 's', 'l', 'i' }
 
static const symbol s_5_9 [5] = { 'o', 'u', 's', 'l', 'i' }
 
static const symbol s_5_10 [5] = { 'e', 'n', 't', 'l', 'i' }
 
static const symbol s_5_11 [5] = { 'a', 'l', 'i', 't', 'i' }
 
static const symbol s_5_12 [6] = { 'b', 'i', 'l', 'i', 't', 'i' }
 
static const symbol s_5_13 [5] = { 'i', 'v', 'i', 't', 'i' }
 
static const symbol s_5_14 [6] = { 't', 'i', 'o', 'n', 'a', 'l' }
 
static const symbol s_5_15 [7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' }
 
static const symbol s_5_16 [5] = { 'a', 'l', 'i', 's', 'm' }
 
static const symbol s_5_17 [5] = { 'a', 't', 'i', 'o', 'n' }
 
static const symbol s_5_18 [7] = { 'i', 'z', 'a', 't', 'i', 'o', 'n' }
 
static const symbol s_5_19 [4] = { 'i', 'z', 'e', 'r' }
 
static const symbol s_5_20 [4] = { 'a', 't', 'o', 'r' }
 
static const symbol s_5_21 [7] = { 'i', 'v', 'e', 'n', 'e', 's', 's' }
 
static const symbol s_5_22 [7] = { 'f', 'u', 'l', 'n', 'e', 's', 's' }
 
static const symbol s_5_23 [7] = { 'o', 'u', 's', 'n', 'e', 's', 's' }
 
static const struct among a_5 [24]
 
static const symbol s_6_0 [5] = { 'i', 'c', 'a', 't', 'e' }
 
static const symbol s_6_1 [5] = { 'a', 't', 'i', 'v', 'e' }
 
static const symbol s_6_2 [5] = { 'a', 'l', 'i', 'z', 'e' }
 
static const symbol s_6_3 [5] = { 'i', 'c', 'i', 't', 'i' }
 
static const symbol s_6_4 [4] = { 'i', 'c', 'a', 'l' }
 
static const symbol s_6_5 [6] = { 't', 'i', 'o', 'n', 'a', 'l' }
 
static const symbol s_6_6 [7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' }
 
static const symbol s_6_7 [3] = { 'f', 'u', 'l' }
 
static const symbol s_6_8 [4] = { 'n', 'e', 's', 's' }
 
static const struct among a_6 [9]
 
static const symbol s_7_0 [2] = { 'i', 'c' }
 
static const symbol s_7_1 [4] = { 'a', 'n', 'c', 'e' }
 
static const symbol s_7_2 [4] = { 'e', 'n', 'c', 'e' }
 
static const symbol s_7_3 [4] = { 'a', 'b', 'l', 'e' }
 
static const symbol s_7_4 [4] = { 'i', 'b', 'l', 'e' }
 
static const symbol s_7_5 [3] = { 'a', 't', 'e' }
 
static const symbol s_7_6 [3] = { 'i', 'v', 'e' }
 
static const symbol s_7_7 [3] = { 'i', 'z', 'e' }
 
static const symbol s_7_8 [3] = { 'i', 't', 'i' }
 
static const symbol s_7_9 [2] = { 'a', 'l' }
 
static const symbol s_7_10 [3] = { 'i', 's', 'm' }
 
static const symbol s_7_11 [3] = { 'i', 'o', 'n' }
 
static const symbol s_7_12 [2] = { 'e', 'r' }
 
static const symbol s_7_13 [3] = { 'o', 'u', 's' }
 
static const symbol s_7_14 [3] = { 'a', 'n', 't' }
 
static const symbol s_7_15 [3] = { 'e', 'n', 't' }
 
static const symbol s_7_16 [4] = { 'm', 'e', 'n', 't' }
 
static const symbol s_7_17 [5] = { 'e', 'm', 'e', 'n', 't' }
 
static const struct among a_7 [18]
 
static const symbol s_8_0 [1] = { 'e' }
 
static const symbol s_8_1 [1] = { 'l' }
 
static const struct among a_8 [2]
 
static const symbol s_9_0 [7] = { 's', 'u', 'c', 'c', 'e', 'e', 'd' }
 
static const symbol s_9_1 [7] = { 'p', 'r', 'o', 'c', 'e', 'e', 'd' }
 
static const symbol s_9_2 [6] = { 'e', 'x', 'c', 'e', 'e', 'd' }
 
static const symbol s_9_3 [7] = { 'c', 'a', 'n', 'n', 'i', 'n', 'g' }
 
static const symbol s_9_4 [6] = { 'i', 'n', 'n', 'i', 'n', 'g' }
 
static const symbol s_9_5 [7] = { 'e', 'a', 'r', 'r', 'i', 'n', 'g' }
 
static const symbol s_9_6 [7] = { 'h', 'e', 'r', 'r', 'i', 'n', 'g' }
 
static const symbol s_9_7 [6] = { 'o', 'u', 't', 'i', 'n', 'g' }
 
static const struct among a_9 [8]
 
static const symbol s_10_0 [5] = { 'a', 'n', 'd', 'e', 's' }
 
static const symbol s_10_1 [5] = { 'a', 't', 'l', 'a', 's' }
 
static const symbol s_10_2 [4] = { 'b', 'i', 'a', 's' }
 
static const symbol s_10_3 [6] = { 'c', 'o', 's', 'm', 'o', 's' }
 
static const symbol s_10_4 [5] = { 'd', 'y', 'i', 'n', 'g' }
 
static const symbol s_10_5 [5] = { 'e', 'a', 'r', 'l', 'y' }
 
static const symbol s_10_6 [6] = { 'g', 'e', 'n', 't', 'l', 'y' }
 
static const symbol s_10_7 [4] = { 'h', 'o', 'w', 'e' }
 
static const symbol s_10_8 [4] = { 'i', 'd', 'l', 'y' }
 
static const symbol s_10_9 [5] = { 'l', 'y', 'i', 'n', 'g' }
 
static const symbol s_10_10 [4] = { 'n', 'e', 'w', 's' }
 
static const symbol s_10_11 [4] = { 'o', 'n', 'l', 'y' }
 
static const symbol s_10_12 [6] = { 's', 'i', 'n', 'g', 'l', 'y' }
 
static const symbol s_10_13 [5] = { 's', 'k', 'i', 'e', 's' }
 
static const symbol s_10_14 [4] = { 's', 'k', 'i', 's' }
 
static const symbol s_10_15 [3] = { 's', 'k', 'y' }
 
static const symbol s_10_16 [5] = { 't', 'y', 'i', 'n', 'g' }
 
static const symbol s_10_17 [4] = { 'u', 'g', 'l', 'y' }
 
static const struct among a_10 [18]
 
static const unsigned char g_v [] = { 17, 65, 16, 1 }
 
static const unsigned char g_v_WXY [] = { 1, 17, 65, 208, 1 }
 
static const unsigned char g_valid_LI [] = { 55, 141, 2 }
 
static const symbol s_0 [] = { '\'' }
 
static const symbol s_1 [] = { 'y' }
 
static const symbol s_2 [] = { 'Y' }
 
static const symbol s_3 [] = { 'y' }
 
static const symbol s_4 [] = { 'Y' }
 
static const symbol s_5 [] = { 's', 's' }
 
static const symbol s_6 [] = { 'i' }
 
static const symbol s_7 [] = { 'i', 'e' }
 
static const symbol s_8 [] = { 'e', 'e' }
 
static const symbol s_9 [] = { 'e' }
 
static const symbol s_10 [] = { 'e' }
 
static const symbol s_11 [] = { 'y' }
 
static const symbol s_12 [] = { 'Y' }
 
static const symbol s_13 [] = { 'i' }
 
static const symbol s_14 [] = { 't', 'i', 'o', 'n' }
 
static const symbol s_15 [] = { 'e', 'n', 'c', 'e' }
 
static const symbol s_16 [] = { 'a', 'n', 'c', 'e' }
 
static const symbol s_17 [] = { 'a', 'b', 'l', 'e' }
 
static const symbol s_18 [] = { 'e', 'n', 't' }
 
static const symbol s_19 [] = { 'i', 'z', 'e' }
 
static const symbol s_20 [] = { 'a', 't', 'e' }
 
static const symbol s_21 [] = { 'a', 'l' }
 
static const symbol s_22 [] = { 'f', 'u', 'l' }
 
static const symbol s_23 [] = { 'o', 'u', 's' }
 
static const symbol s_24 [] = { 'i', 'v', 'e' }
 
static const symbol s_25 [] = { 'b', 'l', 'e' }
 
static const symbol s_26 [] = { 'l' }
 
static const symbol s_27 [] = { 'o', 'g' }
 
static const symbol s_28 [] = { 'f', 'u', 'l' }
 
static const symbol s_29 [] = { 'l', 'e', 's', 's' }
 
static const symbol s_30 [] = { 't', 'i', 'o', 'n' }
 
static const symbol s_31 [] = { 'a', 't', 'e' }
 
static const symbol s_32 [] = { 'a', 'l' }
 
static const symbol s_33 [] = { 'i', 'c' }
 
static const symbol s_34 [] = { 's' }
 
static const symbol s_35 [] = { 't' }
 
static const symbol s_36 [] = { 'l' }
 
static const symbol s_37 [] = { 's', 'k', 'i' }
 
static const symbol s_38 [] = { 's', 'k', 'y' }
 
static const symbol s_39 [] = { 'd', 'i', 'e' }
 
static const symbol s_40 [] = { 'l', 'i', 'e' }
 
static const symbol s_41 [] = { 't', 'i', 'e' }
 
static const symbol s_42 [] = { 'i', 'd', 'l' }
 
static const symbol s_43 [] = { 'g', 'e', 'n', 't', 'l' }
 
static const symbol s_44 [] = { 'u', 'g', 'l', 'i' }
 
static const symbol s_45 [] = { 'e', 'a', 'r', 'l', 'i' }
 
static const symbol s_46 [] = { 'o', 'n', 'l', 'i' }
 
static const symbol s_47 [] = { 's', 'i', 'n', 'g', 'l' }
 
static const symbol s_48 [] = { 'Y' }
 
static const symbol s_49 [] = { 'y' }
 

Function Documentation

◆ english_UTF_8_close_env()

void english_UTF_8_close_env ( struct SN_env z)

Definition at line 1124 of file stem_UTF_8_english.c.

References SN_close_env().

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

◆ english_UTF_8_create_env()

struct SN_env * english_UTF_8_create_env ( void  )

Definition at line 1122 of file stem_UTF_8_english.c.

References SN_create_env().

1122 { 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_UTF_8_stem()

int english_UTF_8_stem ( struct SN_env z)

Definition at line 1003 of file stem_UTF_8_english.c.

References SN_env::c, SN_env::l, SN_env::lb, SN_env::p, 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(), r_Step_5(), and skip_utf8().

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

◆ r_exception1()

static int r_exception1 ( struct SN_env z)
static

Definition at line 905 of file stem_UTF_8_english.c.

References SN_env::bra, SN_env::c, find_among(), SN_env::ket, SN_env::l, SN_env::p, s_37, s_38, s_39, s_40, s_41, s_42, s_43, s_44, s_45, s_46, s_47, and slice_from_s().

Referenced by english_UTF_8_stem().

905  {
906  int among_var;
907  z->bra = z->c; /* [, line 170 */
908  if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3 || !((42750482 >> (z->p[z->c + 2] & 0x1f)) & 1)) return 0;
909  among_var = find_among(z, a_10, 18); /* substring, line 170 */
910  if (!(among_var)) return 0;
911  z->ket = z->c; /* ], line 170 */
912  if (z->c < z->l) return 0; /* atlimit, line 170 */
913  switch(among_var) {
914  case 0: return 0;
915  case 1:
916  { int ret = slice_from_s(z, 3, s_37); /* <-, line 174 */
917  if (ret < 0) return ret;
918  }
919  break;
920  case 2:
921  { int ret = slice_from_s(z, 3, s_38); /* <-, line 175 */
922  if (ret < 0) return ret;
923  }
924  break;
925  case 3:
926  { int ret = slice_from_s(z, 3, s_39); /* <-, line 176 */
927  if (ret < 0) return ret;
928  }
929  break;
930  case 4:
931  { int ret = slice_from_s(z, 3, s_40); /* <-, line 177 */
932  if (ret < 0) return ret;
933  }
934  break;
935  case 5:
936  { int ret = slice_from_s(z, 3, s_41); /* <-, line 178 */
937  if (ret < 0) return ret;
938  }
939  break;
940  case 6:
941  { int ret = slice_from_s(z, 3, s_42); /* <-, line 182 */
942  if (ret < 0) return ret;
943  }
944  break;
945  case 7:
946  { int ret = slice_from_s(z, 5, s_43); /* <-, line 183 */
947  if (ret < 0) return ret;
948  }
949  break;
950  case 8:
951  { int ret = slice_from_s(z, 4, s_44); /* <-, line 184 */
952  if (ret < 0) return ret;
953  }
954  break;
955  case 9:
956  { int ret = slice_from_s(z, 5, s_45); /* <-, line 185 */
957  if (ret < 0) return ret;
958  }
959  break;
960  case 10:
961  { int ret = slice_from_s(z, 4, s_46); /* <-, line 186 */
962  if (ret < 0) return ret;
963  }
964  break;
965  case 11:
966  { int ret = slice_from_s(z, 5, s_47); /* <-, line 187 */
967  if (ret < 0) return ret;
968  }
969  break;
970  }
971  return 1;
972 }
static const symbol s_44[]
static const symbol s_45[]
symbol * p
Definition: api.h:15
static const symbol s_46[]
static const struct among a_10[18]
int ket
Definition: api.h:16
int bra
Definition: api.h:16
static const symbol s_40[]
static const symbol s_42[]
int c
Definition: api.h:16
static const symbol s_43[]
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:392
static const symbol s_41[]
int find_among(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:207
static const symbol s_47[]
static const symbol s_39[]
static const symbol s_37[]
static const symbol s_38[]
int l
Definition: api.h:16

◆ r_exception2()

static int r_exception2 ( struct SN_env z)
static

Definition at line 896 of file stem_UTF_8_english.c.

References SN_env::bra, SN_env::c, find_among_b(), SN_env::ket, SN_env::lb, and SN_env::p.

Referenced by english_UTF_8_stem().

896  {
897  z->ket = z->c; /* [, line 158 */
898  if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 103)) return 0;
899  if (!(find_among_b(z, a_9, 8))) return 0; /* substring, line 158 */
900  z->bra = z->c; /* ], line 158 */
901  if (z->c > z->lb) return 0; /* atlimit, line 158 */
902  return 1;
903 }
symbol * p
Definition: api.h:15
int ket
Definition: api.h:16
int bra
Definition: api.h:16
static const struct among a_9[8]
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
int lb
Definition: api.h:16

◆ r_mark_regions()

static int r_mark_regions ( struct SN_env z)
static

Definition at line 426 of file stem_UTF_8_english.c.

References SN_env::c, find_among(), g_v, SN_env::I, in_grouping_U(), SN_env::l, out_grouping_U(), and SN_env::p.

Referenced by english_UTF_8_stem().

426  {
427  z->I[0] = z->l;
428  z->I[1] = z->l;
429  { int c1 = z->c; /* do, line 35 */
430  { int c2 = z->c; /* or, line 41 */
431  if (z->c + 4 >= z->l || z->p[z->c + 4] >> 5 != 3 || !((2375680 >> (z->p[z->c + 4] & 0x1f)) & 1)) goto lab2;
432  if (!(find_among(z, a_0, 3))) goto lab2; /* among, line 36 */
433  goto lab1;
434  lab2:
435  z->c = c2;
436  { /* gopast */ /* grouping v, line 41 */
437  int ret = out_grouping_U(z, g_v, 97, 121, 1);
438  if (ret < 0) goto lab0;
439  z->c += ret;
440  }
441  { /* gopast */ /* non v, line 41 */
442  int ret = in_grouping_U(z, g_v, 97, 121, 1);
443  if (ret < 0) goto lab0;
444  z->c += ret;
445  }
446  }
447  lab1:
448  z->I[0] = z->c; /* setmark p1, line 42 */
449  { /* gopast */ /* grouping v, line 43 */
450  int ret = out_grouping_U(z, g_v, 97, 121, 1);
451  if (ret < 0) goto lab0;
452  z->c += ret;
453  }
454  { /* gopast */ /* non v, line 43 */
455  int ret = in_grouping_U(z, g_v, 97, 121, 1);
456  if (ret < 0) goto lab0;
457  z->c += ret;
458  }
459  z->I[1] = z->c; /* setmark p2, line 43 */
460  lab0:
461  z->c = c1;
462  }
463  return 1;
464 }
symbol * p
Definition: api.h:15
int * I
Definition: api.h:18
int c
Definition: api.h:16
static const unsigned char g_v[]
int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:91
int find_among(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:207
int out_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:115
int l
Definition: api.h:16
static const struct among a_0[3]

◆ r_postlude()

static int r_postlude ( struct SN_env z)
static

Definition at line 974 of file stem_UTF_8_english.c.

References SN_env::B, SN_env::bra, SN_env::c, eq_s(), SN_env::ket, SN_env::l, SN_env::p, s_48, s_49, skip_utf8(), and slice_from_s().

Referenced by english_UTF_8_stem().

974  {
975  if (!(z->B[0])) return 0; /* Boolean test Y_found, line 203 */
976  while(1) { /* repeat, line 203 */
977  int c1 = z->c;
978  while(1) { /* goto, line 203 */
979  int c2 = z->c;
980  z->bra = z->c; /* [, line 203 */
981  if (!(eq_s(z, 1, s_48))) goto lab1;
982  z->ket = z->c; /* ], line 203 */
983  z->c = c2;
984  break;
985  lab1:
986  z->c = c2;
987  { int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
988  if (ret < 0) goto lab0;
989  z->c = ret; /* goto, line 203 */
990  }
991  }
992  { int ret = slice_from_s(z, 1, s_49); /* <-, line 203 */
993  if (ret < 0) return ret;
994  }
995  continue;
996  lab0:
997  z->c = c1;
998  break;
999  }
1000  return 1;
1001 }
symbol * p
Definition: api.h:15
int skip_utf8(const symbol *p, int c, int lb, int l, int n)
Definition: utilities.c:30
int ket
Definition: api.h:16
int bra
Definition: api.h:16
int c
Definition: api.h:16
int eq_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:189
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:392
static const symbol s_48[]
static const symbol s_49[]
unsigned char * B
Definition: api.h:19
int l
Definition: api.h:16

◆ r_prelude()

static int r_prelude ( struct SN_env z)
static

Definition at line 371 of file stem_UTF_8_english.c.

References SN_env::B, SN_env::bra, SN_env::c, eq_s(), g_v, in_grouping_U(), SN_env::ket, SN_env::l, SN_env::p, s_0, s_1, s_2, s_3, s_4, skip_utf8(), slice_del(), and slice_from_s().

Referenced by english_UTF_8_stem().

371  {
372  z->B[0] = 0; /* unset Y_found, line 26 */
373  { int c1 = z->c; /* do, line 27 */
374  z->bra = z->c; /* [, line 27 */
375  if (!(eq_s(z, 1, s_0))) goto lab0;
376  z->ket = z->c; /* ], line 27 */
377  { int ret = slice_del(z); /* delete, line 27 */
378  if (ret < 0) return ret;
379  }
380  lab0:
381  z->c = c1;
382  }
383  { int c2 = z->c; /* do, line 28 */
384  z->bra = z->c; /* [, line 28 */
385  if (!(eq_s(z, 1, s_1))) goto lab1;
386  z->ket = z->c; /* ], line 28 */
387  { int ret = slice_from_s(z, 1, s_2); /* <-, line 28 */
388  if (ret < 0) return ret;
389  }
390  z->B[0] = 1; /* set Y_found, line 28 */
391  lab1:
392  z->c = c2;
393  }
394  { int c3 = z->c; /* do, line 29 */
395  while(1) { /* repeat, line 29 */
396  int c4 = z->c;
397  while(1) { /* goto, line 29 */
398  int c5 = z->c;
399  if (in_grouping_U(z, g_v, 97, 121, 0)) goto lab4;
400  z->bra = z->c; /* [, line 29 */
401  if (!(eq_s(z, 1, s_3))) goto lab4;
402  z->ket = z->c; /* ], line 29 */
403  z->c = c5;
404  break;
405  lab4:
406  z->c = c5;
407  { int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
408  if (ret < 0) goto lab3;
409  z->c = ret; /* goto, line 29 */
410  }
411  }
412  { int ret = slice_from_s(z, 1, s_4); /* <-, line 29 */
413  if (ret < 0) return ret;
414  }
415  z->B[0] = 1; /* set Y_found, line 29 */
416  continue;
417  lab3:
418  z->c = c4;
419  break;
420  }
421  z->c = c3;
422  }
423  return 1;
424 }
symbol * p
Definition: api.h:15
int skip_utf8(const symbol *p, int c, int lb, int l, int n)
Definition: utilities.c:30
static const symbol s_1[]
static const symbol s_3[]
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
static const symbol s_0[]
int c
Definition: api.h:16
int eq_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:189
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:392
static const symbol s_4[]
static const unsigned char g_v[]
int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:91
unsigned char * B
Definition: api.h:19
static const symbol s_2[]
int l
Definition: api.h:16

◆ r_R1()

static int r_R1 ( struct SN_env z)
static

Definition at line 482 of file stem_UTF_8_english.c.

References SN_env::c, and SN_env::I.

Referenced by r_Step_1b(), r_Step_2(), r_Step_3(), and r_Step_5().

482  {
483  if (!(z->I[0] <= z->c)) return 0;
484  return 1;
485 }
int * I
Definition: api.h:18
int c
Definition: api.h:16

◆ r_R2()

static int r_R2 ( struct SN_env z)
static

Definition at line 487 of file stem_UTF_8_english.c.

References SN_env::c, and SN_env::I.

Referenced by r_Step_3(), r_Step_4(), and r_Step_5().

487  {
488  if (!(z->I[1] <= z->c)) return 0;
489  return 1;
490 }
int * I
Definition: api.h:18
int c
Definition: api.h:16

◆ r_shortv()

static int r_shortv ( struct SN_env z)
static

Definition at line 466 of file stem_UTF_8_english.c.

References SN_env::c, g_v, g_v_WXY, in_grouping_b_U(), SN_env::l, SN_env::lb, and out_grouping_b_U().

Referenced by r_Step_1b(), and r_Step_5().

466  {
467  { int m1 = z->l - z->c; (void)m1; /* or, line 51 */
468  if (out_grouping_b_U(z, g_v_WXY, 89, 121, 0)) goto lab1;
469  if (in_grouping_b_U(z, g_v, 97, 121, 0)) goto lab1;
470  if (out_grouping_b_U(z, g_v, 97, 121, 0)) goto lab1;
471  goto lab0;
472  lab1:
473  z->c = z->l - m1;
474  if (out_grouping_b_U(z, g_v, 97, 121, 0)) return 0;
475  if (in_grouping_b_U(z, g_v, 97, 121, 0)) return 0;
476  if (z->c > z->lb) return 0; /* atlimit, line 52 */
477  }
478 lab0:
479  return 1;
480 }
int c
Definition: api.h:16
int lb
Definition: api.h:16
static const unsigned char g_v[]
int in_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:103
int out_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:127
static const unsigned char g_v_WXY[]
int l
Definition: api.h:16

◆ r_Step_1a()

static int r_Step_1a ( struct SN_env z)
static

Definition at line 492 of file stem_UTF_8_english.c.

References SN_env::bra, SN_env::c, find_among_b(), g_v, SN_env::ket, SN_env::l, SN_env::lb, out_grouping_b_U(), SN_env::p, s_5, s_6, s_7, skip_utf8(), slice_del(), and slice_from_s().

Referenced by english_UTF_8_stem().

492  {
493  int among_var;
494  { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 59 */
495  z->ket = z->c; /* [, line 60 */
496  if (z->c <= z->lb || (z->p[z->c - 1] != 39 && z->p[z->c - 1] != 115)) { z->c = z->l - m_keep; goto lab0; }
497  among_var = find_among_b(z, a_1, 3); /* substring, line 60 */
498  if (!(among_var)) { z->c = z->l - m_keep; goto lab0; }
499  z->bra = z->c; /* ], line 60 */
500  switch(among_var) {
501  case 0: { z->c = z->l - m_keep; goto lab0; }
502  case 1:
503  { int ret = slice_del(z); /* delete, line 62 */
504  if (ret < 0) return ret;
505  }
506  break;
507  }
508  lab0:
509  ;
510  }
511  z->ket = z->c; /* [, line 65 */
512  if (z->c <= z->lb || (z->p[z->c - 1] != 100 && z->p[z->c - 1] != 115)) return 0;
513  among_var = find_among_b(z, a_2, 6); /* substring, line 65 */
514  if (!(among_var)) return 0;
515  z->bra = z->c; /* ], line 65 */
516  switch(among_var) {
517  case 0: return 0;
518  case 1:
519  { int ret = slice_from_s(z, 2, s_5); /* <-, line 66 */
520  if (ret < 0) return ret;
521  }
522  break;
523  case 2:
524  { int m1 = z->l - z->c; (void)m1; /* or, line 68 */
525  { int ret = skip_utf8(z->p, z->c, z->lb, z->l, - 2);
526  if (ret < 0) goto lab2;
527  z->c = ret; /* hop, line 68 */
528  }
529  { int ret = slice_from_s(z, 1, s_6); /* <-, line 68 */
530  if (ret < 0) return ret;
531  }
532  goto lab1;
533  lab2:
534  z->c = z->l - m1;
535  { int ret = slice_from_s(z, 2, s_7); /* <-, line 68 */
536  if (ret < 0) return ret;
537  }
538  }
539  lab1:
540  break;
541  case 3:
542  { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
543  if (ret < 0) return 0;
544  z->c = ret; /* next, line 69 */
545  }
546  { /* gopast */ /* grouping v, line 69 */
547  int ret = out_grouping_b_U(z, g_v, 97, 121, 1);
548  if (ret < 0) return 0;
549  z->c -= ret;
550  }
551  { int ret = slice_del(z); /* delete, line 69 */
552  if (ret < 0) return ret;
553  }
554  break;
555  }
556  return 1;
557 }
static const symbol s_6[]
int skip_utf8(const symbol *p, int c, int lb, int l, int n)
Definition: utilities.c:30
symbol * p
Definition: api.h:15
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
static const struct among a_1[3]
int c
Definition: api.h:16
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:392
int lb
Definition: api.h:16
static const unsigned char g_v[]
int out_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:127
static const symbol s_5[]
static const symbol s_7[]
static const struct among a_2[6]
int l
Definition: api.h:16

◆ r_Step_1b()

static int r_Step_1b ( struct SN_env z)
static

Definition at line 559 of file stem_UTF_8_english.c.

References SN_env::bra, SN_env::c, find_among_b(), g_v, SN_env::I, insert_s(), SN_env::ket, SN_env::l, SN_env::lb, out_grouping_b_U(), SN_env::p, r_R1(), r_shortv(), s_10, s_8, s_9, skip_utf8(), slice_del(), and slice_from_s().

Referenced by english_UTF_8_stem().

559  {
560  int among_var;
561  z->ket = z->c; /* [, line 75 */
562  if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((33554576 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
563  among_var = find_among_b(z, a_4, 6); /* substring, line 75 */
564  if (!(among_var)) return 0;
565  z->bra = z->c; /* ], line 75 */
566  switch(among_var) {
567  case 0: return 0;
568  case 1:
569  { int ret = r_R1(z);
570  if (ret == 0) return 0; /* call R1, line 77 */
571  if (ret < 0) return ret;
572  }
573  { int ret = slice_from_s(z, 2, s_8); /* <-, line 77 */
574  if (ret < 0) return ret;
575  }
576  break;
577  case 2:
578  { int m_test = z->l - z->c; /* test, line 80 */
579  { /* gopast */ /* grouping v, line 80 */
580  int ret = out_grouping_b_U(z, g_v, 97, 121, 1);
581  if (ret < 0) return 0;
582  z->c -= ret;
583  }
584  z->c = z->l - m_test;
585  }
586  { int ret = slice_del(z); /* delete, line 80 */
587  if (ret < 0) return ret;
588  }
589  { int m_test = z->l - z->c; /* test, line 81 */
590  if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68514004 >> (z->p[z->c - 1] & 0x1f)) & 1)) among_var = 3; else
591  among_var = find_among_b(z, a_3, 13); /* substring, line 81 */
592  if (!(among_var)) return 0;
593  z->c = z->l - m_test;
594  }
595  switch(among_var) {
596  case 0: return 0;
597  case 1:
598  { int c_keep = z->c;
599  int ret = insert_s(z, z->c, z->c, 1, s_9); /* <+, line 83 */
600  z->c = c_keep;
601  if (ret < 0) return ret;
602  }
603  break;
604  case 2:
605  z->ket = z->c; /* [, line 86 */
606  { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
607  if (ret < 0) return 0;
608  z->c = ret; /* next, line 86 */
609  }
610  z->bra = z->c; /* ], line 86 */
611  { int ret = slice_del(z); /* delete, line 86 */
612  if (ret < 0) return ret;
613  }
614  break;
615  case 3:
616  if (z->c != z->I[0]) return 0; /* atmark, line 87 */
617  { int m_test = z->l - z->c; /* test, line 87 */
618  { int ret = r_shortv(z);
619  if (ret == 0) return 0; /* call shortv, line 87 */
620  if (ret < 0) return ret;
621  }
622  z->c = z->l - m_test;
623  }
624  { int c_keep = z->c;
625  int ret = insert_s(z, z->c, z->c, 1, s_10); /* <+, line 87 */
626  z->c = c_keep;
627  if (ret < 0) return ret;
628  }
629  break;
630  }
631  break;
632  }
633  return 1;
634 }
int insert_s(struct SN_env *z, int bra, int ket, int s_size, const symbol *s)
Definition: utilities.c:405
int skip_utf8(const symbol *p, int c, int lb, int l, int n)
Definition: utilities.c:30
symbol * p
Definition: api.h:15
int * I
Definition: api.h:18
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:392
int lb
Definition: api.h:16
static const unsigned char g_v[]
static const symbol s_8[]
int out_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:127
static int r_shortv(struct SN_env *z)
static int r_R1(struct SN_env *z)
static const struct among a_3[13]
static const symbol s_10[]
static const symbol s_9[]
int l
Definition: api.h:16
static const struct among a_4[6]

◆ r_Step_1c()

static int r_Step_1c ( struct SN_env z)
static

Definition at line 636 of file stem_UTF_8_english.c.

References SN_env::bra, SN_env::c, eq_s_b(), g_v, SN_env::ket, SN_env::l, SN_env::lb, out_grouping_b_U(), s_11, s_12, s_13, and slice_from_s().

Referenced by english_UTF_8_stem().

636  {
637  z->ket = z->c; /* [, line 94 */
638  { int m1 = z->l - z->c; (void)m1; /* or, line 94 */
639  if (!(eq_s_b(z, 1, s_11))) goto lab1;
640  goto lab0;
641  lab1:
642  z->c = z->l - m1;
643  if (!(eq_s_b(z, 1, s_12))) return 0;
644  }
645 lab0:
646  z->bra = z->c; /* ], line 94 */
647  if (out_grouping_b_U(z, g_v, 97, 121, 0)) return 0;
648  { int m2 = z->l - z->c; (void)m2; /* not, line 95 */
649  if (z->c > z->lb) goto lab2; /* atlimit, line 95 */
650  return 0;
651  lab2:
652  z->c = z->l - m2;
653  }
654  { int ret = slice_from_s(z, 1, s_13); /* <-, line 96 */
655  if (ret < 0) return ret;
656  }
657  return 1;
658 }
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:194
static const symbol s_12[]
int ket
Definition: api.h:16
int bra
Definition: api.h:16
int c
Definition: api.h:16
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:392
int lb
Definition: api.h:16
static const unsigned char g_v[]
int out_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:127
static const symbol s_13[]
int l
Definition: api.h:16
static const symbol s_11[]

◆ r_Step_2()

static int r_Step_2 ( struct SN_env z)
static

Definition at line 660 of file stem_UTF_8_english.c.

References SN_env::bra, SN_env::c, eq_s_b(), find_among_b(), g_valid_LI, in_grouping_b_U(), SN_env::ket, SN_env::lb, SN_env::p, r_R1(), s_14, s_15, s_16, s_17, s_18, s_19, s_20, s_21, s_22, s_23, s_24, s_25, s_26, s_27, s_28, s_29, slice_del(), and slice_from_s().

Referenced by english_UTF_8_stem().

660  {
661  int among_var;
662  z->ket = z->c; /* [, line 100 */
663  if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((815616 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
664  among_var = find_among_b(z, a_5, 24); /* substring, line 100 */
665  if (!(among_var)) return 0;
666  z->bra = z->c; /* ], line 100 */
667  { int ret = r_R1(z);
668  if (ret == 0) return 0; /* call R1, line 100 */
669  if (ret < 0) return ret;
670  }
671  switch(among_var) {
672  case 0: return 0;
673  case 1:
674  { int ret = slice_from_s(z, 4, s_14); /* <-, line 101 */
675  if (ret < 0) return ret;
676  }
677  break;
678  case 2:
679  { int ret = slice_from_s(z, 4, s_15); /* <-, line 102 */
680  if (ret < 0) return ret;
681  }
682  break;
683  case 3:
684  { int ret = slice_from_s(z, 4, s_16); /* <-, line 103 */
685  if (ret < 0) return ret;
686  }
687  break;
688  case 4:
689  { int ret = slice_from_s(z, 4, s_17); /* <-, line 104 */
690  if (ret < 0) return ret;
691  }
692  break;
693  case 5:
694  { int ret = slice_from_s(z, 3, s_18); /* <-, line 105 */
695  if (ret < 0) return ret;
696  }
697  break;
698  case 6:
699  { int ret = slice_from_s(z, 3, s_19); /* <-, line 107 */
700  if (ret < 0) return ret;
701  }
702  break;
703  case 7:
704  { int ret = slice_from_s(z, 3, s_20); /* <-, line 109 */
705  if (ret < 0) return ret;
706  }
707  break;
708  case 8:
709  { int ret = slice_from_s(z, 2, s_21); /* <-, line 111 */
710  if (ret < 0) return ret;
711  }
712  break;
713  case 9:
714  { int ret = slice_from_s(z, 3, s_22); /* <-, line 112 */
715  if (ret < 0) return ret;
716  }
717  break;
718  case 10:
719  { int ret = slice_from_s(z, 3, s_23); /* <-, line 114 */
720  if (ret < 0) return ret;
721  }
722  break;
723  case 11:
724  { int ret = slice_from_s(z, 3, s_24); /* <-, line 116 */
725  if (ret < 0) return ret;
726  }
727  break;
728  case 12:
729  { int ret = slice_from_s(z, 3, s_25); /* <-, line 118 */
730  if (ret < 0) return ret;
731  }
732  break;
733  case 13:
734  if (!(eq_s_b(z, 1, s_26))) return 0;
735  { int ret = slice_from_s(z, 2, s_27); /* <-, line 119 */
736  if (ret < 0) return ret;
737  }
738  break;
739  case 14:
740  { int ret = slice_from_s(z, 3, s_28); /* <-, line 120 */
741  if (ret < 0) return ret;
742  }
743  break;
744  case 15:
745  { int ret = slice_from_s(z, 4, s_29); /* <-, line 121 */
746  if (ret < 0) return ret;
747  }
748  break;
749  case 16:
750  if (in_grouping_b_U(z, g_valid_LI, 99, 116, 0)) return 0;
751  { int ret = slice_del(z); /* delete, line 122 */
752  if (ret < 0) return ret;
753  }
754  break;
755  }
756  return 1;
757 }
static const symbol s_15[]
symbol * p
Definition: api.h:15
static const symbol s_22[]
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:194
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
static const symbol s_19[]
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
static const symbol s_27[]
static const symbol s_16[]
int c
Definition: api.h:16
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:392
static const symbol s_14[]
static const symbol s_18[]
static const symbol s_17[]
int lb
Definition: api.h:16
static const symbol s_21[]
static const struct among a_5[24]
static const symbol s_24[]
static const symbol s_25[]
int in_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:103
static const symbol s_28[]
static const symbol s_20[]
static int r_R1(struct SN_env *z)
static const unsigned char g_valid_LI[]
static const symbol s_23[]
static const symbol s_26[]
static const symbol s_29[]

◆ r_Step_3()

static int r_Step_3 ( struct SN_env z)
static

Definition at line 759 of file stem_UTF_8_english.c.

References SN_env::bra, SN_env::c, find_among_b(), SN_env::ket, SN_env::lb, SN_env::p, r_R1(), r_R2(), s_30, s_31, s_32, s_33, slice_del(), and slice_from_s().

Referenced by english_UTF_8_stem().

759  {
760  int among_var;
761  z->ket = z->c; /* [, line 127 */
762  if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((528928 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
763  among_var = find_among_b(z, a_6, 9); /* substring, line 127 */
764  if (!(among_var)) return 0;
765  z->bra = z->c; /* ], line 127 */
766  { int ret = r_R1(z);
767  if (ret == 0) return 0; /* call R1, line 127 */
768  if (ret < 0) return ret;
769  }
770  switch(among_var) {
771  case 0: return 0;
772  case 1:
773  { int ret = slice_from_s(z, 4, s_30); /* <-, line 128 */
774  if (ret < 0) return ret;
775  }
776  break;
777  case 2:
778  { int ret = slice_from_s(z, 3, s_31); /* <-, line 129 */
779  if (ret < 0) return ret;
780  }
781  break;
782  case 3:
783  { int ret = slice_from_s(z, 2, s_32); /* <-, line 130 */
784  if (ret < 0) return ret;
785  }
786  break;
787  case 4:
788  { int ret = slice_from_s(z, 2, s_33); /* <-, line 132 */
789  if (ret < 0) return ret;
790  }
791  break;
792  case 5:
793  { int ret = slice_del(z); /* delete, line 134 */
794  if (ret < 0) return ret;
795  }
796  break;
797  case 6:
798  { int ret = r_R2(z);
799  if (ret == 0) return 0; /* call R2, line 136 */
800  if (ret < 0) return ret;
801  }
802  { int ret = slice_del(z); /* delete, line 136 */
803  if (ret < 0) return ret;
804  }
805  break;
806  }
807  return 1;
808 }
symbol * p
Definition: api.h:15
static int r_R2(struct SN_env *z)
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:392
static const symbol s_30[]
int lb
Definition: api.h:16
static const symbol s_31[]
static const symbol s_32[]
static const struct among a_6[9]
static int r_R1(struct SN_env *z)
static const symbol s_33[]

◆ r_Step_4()

static int r_Step_4 ( struct SN_env z)
static

Definition at line 810 of file stem_UTF_8_english.c.

References SN_env::bra, SN_env::c, eq_s_b(), find_among_b(), SN_env::ket, SN_env::l, SN_env::lb, SN_env::p, r_R2(), s_34, s_35, and slice_del().

Referenced by english_UTF_8_stem().

810  {
811  int among_var;
812  z->ket = z->c; /* [, line 141 */
813  if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1864232 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
814  among_var = find_among_b(z, a_7, 18); /* substring, line 141 */
815  if (!(among_var)) return 0;
816  z->bra = z->c; /* ], line 141 */
817  { int ret = r_R2(z);
818  if (ret == 0) return 0; /* call R2, line 141 */
819  if (ret < 0) return ret;
820  }
821  switch(among_var) {
822  case 0: return 0;
823  case 1:
824  { int ret = slice_del(z); /* delete, line 144 */
825  if (ret < 0) return ret;
826  }
827  break;
828  case 2:
829  { int m1 = z->l - z->c; (void)m1; /* or, line 145 */
830  if (!(eq_s_b(z, 1, s_34))) goto lab1;
831  goto lab0;
832  lab1:
833  z->c = z->l - m1;
834  if (!(eq_s_b(z, 1, s_35))) return 0;
835  }
836  lab0:
837  { int ret = slice_del(z); /* delete, line 145 */
838  if (ret < 0) return ret;
839  }
840  break;
841  }
842  return 1;
843 }
symbol * p
Definition: api.h:15
static int r_R2(struct SN_env *z)
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:194
static const symbol s_35[]
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
int lb
Definition: api.h:16
static const struct among a_7[18]
int l
Definition: api.h:16
static const symbol s_34[]

◆ r_Step_5()

static int r_Step_5 ( struct SN_env z)
static

Definition at line 845 of file stem_UTF_8_english.c.

References SN_env::bra, SN_env::c, eq_s_b(), find_among_b(), SN_env::ket, SN_env::l, SN_env::lb, SN_env::p, r_R1(), r_R2(), r_shortv(), s_36, and slice_del().

Referenced by english_UTF_8_stem().

845  {
846  int among_var;
847  z->ket = z->c; /* [, line 150 */
848  if (z->c <= z->lb || (z->p[z->c - 1] != 101 && z->p[z->c - 1] != 108)) return 0;
849  among_var = find_among_b(z, a_8, 2); /* substring, line 150 */
850  if (!(among_var)) return 0;
851  z->bra = z->c; /* ], line 150 */
852  switch(among_var) {
853  case 0: return 0;
854  case 1:
855  { int m1 = z->l - z->c; (void)m1; /* or, line 151 */
856  { int ret = r_R2(z);
857  if (ret == 0) goto lab1; /* call R2, line 151 */
858  if (ret < 0) return ret;
859  }
860  goto lab0;
861  lab1:
862  z->c = z->l - m1;
863  { int ret = r_R1(z);
864  if (ret == 0) return 0; /* call R1, line 151 */
865  if (ret < 0) return ret;
866  }
867  { int m2 = z->l - z->c; (void)m2; /* not, line 151 */
868  { int ret = r_shortv(z);
869  if (ret == 0) goto lab2; /* call shortv, line 151 */
870  if (ret < 0) return ret;
871  }
872  return 0;
873  lab2:
874  z->c = z->l - m2;
875  }
876  }
877  lab0:
878  { int ret = slice_del(z); /* delete, line 151 */
879  if (ret < 0) return ret;
880  }
881  break;
882  case 2:
883  { int ret = r_R2(z);
884  if (ret == 0) return 0; /* call R2, line 152 */
885  if (ret < 0) return ret;
886  }
887  if (!(eq_s_b(z, 1, s_36))) return 0;
888  { int ret = slice_del(z); /* delete, line 152 */
889  if (ret < 0) return ret;
890  }
891  break;
892  }
893  return 1;
894 }
symbol * p
Definition: api.h:15
static int r_R2(struct SN_env *z)
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:194
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
static const symbol s_36[]
int c
Definition: api.h:16
int lb
Definition: api.h:16
static int r_shortv(struct SN_env *z)
static int r_R1(struct SN_env *z)
static const struct among a_8[2]
int l
Definition: api.h:16

Variable Documentation

◆ a_0

const struct among a_0[3]
static
Initial value:
=
{
{ 5, s_0_0, -1, -1, 0},
{ 6, s_0_1, -1, -1, 0},
{ 5, s_0_2, -1, -1, 0}
}
static const symbol s_0_1[6]
static const symbol s_0_2[5]
static const symbol s_0_0[5]

Definition at line 44 of file stem_UTF_8_english.c.

◆ a_1

const struct among a_1[3]
static
Initial value:
=
{
{ 1, s_1_0, -1, 1, 0},
{ 3, s_1_1, 0, 1, 0},
{ 2, s_1_2, -1, 1, 0}
}
static const symbol s_1_0[1]
static const symbol s_1_1[3]
static const symbol s_1_2[2]

Definition at line 55 of file stem_UTF_8_english.c.

◆ a_10

const struct among a_10[18]
static
Initial value:
=
{
{ 5, s_10_0, -1, -1, 0},
{ 5, s_10_1, -1, -1, 0},
{ 4, s_10_2, -1, -1, 0},
{ 6, s_10_3, -1, -1, 0},
{ 5, s_10_4, -1, 3, 0},
{ 5, s_10_5, -1, 9, 0},
{ 6, s_10_6, -1, 7, 0},
{ 4, s_10_7, -1, -1, 0},
{ 4, s_10_8, -1, 6, 0},
{ 5, s_10_9, -1, 4, 0},
{ 4, s_10_10, -1, -1, 0},
{ 4, s_10_11, -1, 10, 0},
{ 6, s_10_12, -1, 11, 0},
{ 5, s_10_13, -1, 2, 0},
{ 4, s_10_14, -1, 1, 0},
{ 3, s_10_15, -1, -1, 0},
{ 5, s_10_16, -1, 5, 0},
{ 4, s_10_17, -1, 8, 0}
}
static const symbol s_10_2[4]
static const symbol s_10_4[5]
static const symbol s_10_5[5]
static const symbol s_10_15[3]
static const symbol s_10_14[4]
static const symbol s_10_0[5]
static const symbol s_10_1[5]
static const symbol s_10_13[5]
static const symbol s_10_16[5]
static const symbol s_10_9[5]
static const symbol s_10_6[6]
static const symbol s_10_8[4]
static const symbol s_10_7[4]
static const symbol s_10_11[4]
static const symbol s_10_10[4]
static const symbol s_10_12[6]
static const symbol s_10_3[6]
static const symbol s_10_17[4]

Definition at line 292 of file stem_UTF_8_english.c.

◆ a_2

const struct among a_2[6]
static
Initial value:
=
{
{ 3, s_2_0, -1, 2, 0},
{ 1, s_2_1, -1, 3, 0},
{ 3, s_2_2, 1, 2, 0},
{ 4, s_2_3, 1, 1, 0},
{ 2, s_2_4, 1, -1, 0},
{ 2, s_2_5, 1, -1, 0}
}
static const symbol s_2_2[3]
static const symbol s_2_4[2]
static const symbol s_2_0[3]
static const symbol s_2_3[4]
static const symbol s_2_5[2]
static const symbol s_2_1[1]

Definition at line 69 of file stem_UTF_8_english.c.

◆ a_3

const struct among a_3[13]
static
Initial value:
=
{
{ 0, 0, -1, 3, 0},
{ 2, s_3_1, 0, 2, 0},
{ 2, s_3_2, 0, 2, 0},
{ 2, s_3_3, 0, 2, 0},
{ 2, s_3_4, 0, 2, 0},
{ 2, s_3_5, 0, 1, 0},
{ 2, s_3_6, 0, 2, 0},
{ 2, s_3_7, 0, 2, 0},
{ 2, s_3_8, 0, 2, 0},
{ 2, s_3_9, 0, 2, 0},
{ 2, s_3_10, 0, 1, 0},
{ 2, s_3_11, 0, 2, 0},
{ 2, s_3_12, 0, 1, 0}
}
static const symbol s_3_2[2]
static const symbol s_3_3[2]
static const symbol s_3_9[2]
static const symbol s_3_1[2]
static const symbol s_3_12[2]
static const symbol s_3_7[2]
static const symbol s_3_8[2]
static const symbol s_3_4[2]
static const symbol s_3_11[2]
static const symbol s_3_10[2]
static const symbol s_3_6[2]
static const symbol s_3_5[2]

Definition at line 92 of file stem_UTF_8_english.c.

◆ a_4

const struct among a_4[6]
static
Initial value:
=
{
{ 2, s_4_0, -1, 2, 0},
{ 3, s_4_1, 0, 1, 0},
{ 3, s_4_2, -1, 2, 0},
{ 4, s_4_3, -1, 2, 0},
{ 5, s_4_4, 3, 1, 0},
{ 5, s_4_5, -1, 2, 0}
}
static const symbol s_4_5[5]
static const symbol s_4_0[2]
static const symbol s_4_2[3]
static const symbol s_4_3[4]
static const symbol s_4_4[5]
static const symbol s_4_1[3]

Definition at line 116 of file stem_UTF_8_english.c.

◆ a_5

const struct among a_5[24]
static
Initial value:
=
{
{ 4, s_5_0, -1, 3, 0},
{ 4, s_5_1, -1, 2, 0},
{ 3, s_5_2, -1, 13, 0},
{ 2, s_5_3, -1, 16, 0},
{ 3, s_5_4, 3, 12, 0},
{ 4, s_5_5, 4, 4, 0},
{ 4, s_5_6, 3, 8, 0},
{ 5, s_5_7, 3, 14, 0},
{ 6, s_5_8, 3, 15, 0},
{ 5, s_5_9, 3, 10, 0},
{ 5, s_5_10, 3, 5, 0},
{ 5, s_5_11, -1, 8, 0},
{ 6, s_5_12, -1, 12, 0},
{ 5, s_5_13, -1, 11, 0},
{ 6, s_5_14, -1, 1, 0},
{ 7, s_5_15, 14, 7, 0},
{ 5, s_5_16, -1, 8, 0},
{ 5, s_5_17, -1, 7, 0},
{ 7, s_5_18, 17, 6, 0},
{ 4, s_5_19, -1, 6, 0},
{ 4, s_5_20, -1, 7, 0},
{ 7, s_5_21, -1, 11, 0},
{ 7, s_5_22, -1, 9, 0},
{ 7, s_5_23, -1, 10, 0}
}
static const symbol s_5_13[5]
static const symbol s_5_2[3]
static const symbol s_5_17[5]
static const symbol s_5_12[6]
static const symbol s_5_19[4]
static const symbol s_5_21[7]
static const symbol s_5_9[5]
static const symbol s_5_8[6]
static const symbol s_5_5[4]
static const symbol s_5_4[3]
static const symbol s_5_0[4]
static const symbol s_5_3[2]
static const symbol s_5_7[5]
static const symbol s_5_20[4]
static const symbol s_5_6[4]
static const symbol s_5_22[7]
static const symbol s_5_14[6]
static const symbol s_5_10[5]
static const symbol s_5_11[5]
static const symbol s_5_1[4]
static const symbol s_5_16[5]
static const symbol s_5_18[7]
static const symbol s_5_15[7]
static const symbol s_5_23[7]

Definition at line 151 of file stem_UTF_8_english.c.

◆ a_6

const struct among a_6[9]
static
Initial value:
=
{
{ 5, s_6_0, -1, 4, 0},
{ 5, s_6_1, -1, 6, 0},
{ 5, s_6_2, -1, 3, 0},
{ 5, s_6_3, -1, 4, 0},
{ 4, s_6_4, -1, 4, 0},
{ 6, s_6_5, -1, 1, 0},
{ 7, s_6_6, 5, 2, 0},
{ 3, s_6_7, -1, 5, 0},
{ 4, s_6_8, -1, 5, 0}
}
static const symbol s_6_8[4]
static const symbol s_6_0[5]
static const symbol s_6_4[4]
static const symbol s_6_6[7]
static const symbol s_6_2[5]
static const symbol s_6_7[3]
static const symbol s_6_5[6]
static const symbol s_6_3[5]
static const symbol s_6_1[5]

Definition at line 189 of file stem_UTF_8_english.c.

◆ a_7

const struct among a_7[18]
static
Initial value:
=
{
{ 2, s_7_0, -1, 1, 0},
{ 4, s_7_1, -1, 1, 0},
{ 4, s_7_2, -1, 1, 0},
{ 4, s_7_3, -1, 1, 0},
{ 4, s_7_4, -1, 1, 0},
{ 3, s_7_5, -1, 1, 0},
{ 3, s_7_6, -1, 1, 0},
{ 3, s_7_7, -1, 1, 0},
{ 3, s_7_8, -1, 1, 0},
{ 2, s_7_9, -1, 1, 0},
{ 3, s_7_10, -1, 1, 0},
{ 3, s_7_11, -1, 2, 0},
{ 2, s_7_12, -1, 1, 0},
{ 3, s_7_13, -1, 1, 0},
{ 3, s_7_14, -1, 1, 0},
{ 3, s_7_15, -1, 1, 0},
{ 4, s_7_16, 15, 1, 0},
{ 5, s_7_17, 16, 1, 0}
}
static const symbol s_7_17[5]
static const symbol s_7_4[4]
static const symbol s_7_0[2]
static const symbol s_7_5[3]
static const symbol s_7_10[3]
static const symbol s_7_14[3]
static const symbol s_7_13[3]
static const symbol s_7_16[4]
static const symbol s_7_2[4]
static const symbol s_7_9[2]
static const symbol s_7_7[3]
static const symbol s_7_1[4]
static const symbol s_7_12[2]
static const symbol s_7_15[3]
static const symbol s_7_11[3]
static const symbol s_7_8[3]
static const symbol s_7_6[3]
static const symbol s_7_3[4]

Definition at line 221 of file stem_UTF_8_english.c.

◆ a_8

const struct among a_8[2]
static
Initial value:
=
{
{ 1, s_8_0, -1, 1, 0},
{ 1, s_8_1, -1, 2, 0}
}
static const symbol s_8_1[1]
static const symbol s_8_0[1]

Definition at line 246 of file stem_UTF_8_english.c.

◆ a_9

const struct among a_9[8]
static
Initial value:
=
{
{ 7, s_9_0, -1, -1, 0},
{ 7, s_9_1, -1, -1, 0},
{ 6, s_9_2, -1, -1, 0},
{ 7, s_9_3, -1, -1, 0},
{ 6, s_9_4, -1, -1, 0},
{ 7, s_9_5, -1, -1, 0},
{ 7, s_9_6, -1, -1, 0},
{ 6, s_9_7, -1, -1, 0}
}
static const symbol s_9_4[6]
static const symbol s_9_6[7]
static const symbol s_9_0[7]
static const symbol s_9_2[6]
static const symbol s_9_1[7]
static const symbol s_9_5[7]
static const symbol s_9_7[6]
static const symbol s_9_3[7]

Definition at line 261 of file stem_UTF_8_english.c.

◆ g_v

const unsigned char g_v[] = { 17, 65, 16, 1 }
static

◆ g_v_WXY

const unsigned char g_v_WXY[] = { 1, 17, 65, 208, 1 }
static

Definition at line 316 of file stem_UTF_8_english.c.

Referenced by r_shortv().

◆ g_valid_LI

const unsigned char g_valid_LI[] = { 55, 141, 2 }
static

Definition at line 318 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_0

const symbol s_0[] = { '\'' }
static

Definition at line 320 of file stem_UTF_8_english.c.

Referenced by r_prelude().

◆ s_0_0

const symbol s_0_0[5] = { 'a', 'r', 's', 'e', 'n' }
static

Definition at line 40 of file stem_UTF_8_english.c.

◆ s_0_1

const symbol s_0_1[6] = { 'c', 'o', 'm', 'm', 'u', 'n' }
static

Definition at line 41 of file stem_UTF_8_english.c.

◆ s_0_2

const symbol s_0_2[5] = { 'g', 'e', 'n', 'e', 'r' }
static

Definition at line 42 of file stem_UTF_8_english.c.

◆ s_1

const symbol s_1[] = { 'y' }
static

Definition at line 321 of file stem_UTF_8_english.c.

Referenced by r_prelude().

◆ s_10

const symbol s_10[] = { 'e' }
static

Definition at line 330 of file stem_UTF_8_english.c.

Referenced by r_Step_1b().

◆ s_10_0

const symbol s_10_0[5] = { 'a', 'n', 'd', 'e', 's' }
static

Definition at line 273 of file stem_UTF_8_english.c.

◆ s_10_1

const symbol s_10_1[5] = { 'a', 't', 'l', 'a', 's' }
static

Definition at line 274 of file stem_UTF_8_english.c.

◆ s_10_10

const symbol s_10_10[4] = { 'n', 'e', 'w', 's' }
static

Definition at line 283 of file stem_UTF_8_english.c.

◆ s_10_11

const symbol s_10_11[4] = { 'o', 'n', 'l', 'y' }
static

Definition at line 284 of file stem_UTF_8_english.c.

◆ s_10_12

const symbol s_10_12[6] = { 's', 'i', 'n', 'g', 'l', 'y' }
static

Definition at line 285 of file stem_UTF_8_english.c.

◆ s_10_13

const symbol s_10_13[5] = { 's', 'k', 'i', 'e', 's' }
static

Definition at line 286 of file stem_UTF_8_english.c.

◆ s_10_14

const symbol s_10_14[4] = { 's', 'k', 'i', 's' }
static

Definition at line 287 of file stem_UTF_8_english.c.

◆ s_10_15

const symbol s_10_15[3] = { 's', 'k', 'y' }
static

Definition at line 288 of file stem_UTF_8_english.c.

◆ s_10_16

const symbol s_10_16[5] = { 't', 'y', 'i', 'n', 'g' }
static

Definition at line 289 of file stem_UTF_8_english.c.

◆ s_10_17

const symbol s_10_17[4] = { 'u', 'g', 'l', 'y' }
static

Definition at line 290 of file stem_UTF_8_english.c.

◆ s_10_2

const symbol s_10_2[4] = { 'b', 'i', 'a', 's' }
static

Definition at line 275 of file stem_UTF_8_english.c.

◆ s_10_3

const symbol s_10_3[6] = { 'c', 'o', 's', 'm', 'o', 's' }
static

Definition at line 276 of file stem_UTF_8_english.c.

◆ s_10_4

const symbol s_10_4[5] = { 'd', 'y', 'i', 'n', 'g' }
static

Definition at line 277 of file stem_UTF_8_english.c.

◆ s_10_5

const symbol s_10_5[5] = { 'e', 'a', 'r', 'l', 'y' }
static

Definition at line 278 of file stem_UTF_8_english.c.

◆ s_10_6

const symbol s_10_6[6] = { 'g', 'e', 'n', 't', 'l', 'y' }
static

Definition at line 279 of file stem_UTF_8_english.c.

◆ s_10_7

const symbol s_10_7[4] = { 'h', 'o', 'w', 'e' }
static

Definition at line 280 of file stem_UTF_8_english.c.

◆ s_10_8

const symbol s_10_8[4] = { 'i', 'd', 'l', 'y' }
static

Definition at line 281 of file stem_UTF_8_english.c.

◆ s_10_9

const symbol s_10_9[5] = { 'l', 'y', 'i', 'n', 'g' }
static

Definition at line 282 of file stem_UTF_8_english.c.

◆ s_11

const symbol s_11[] = { 'y' }
static

Definition at line 331 of file stem_UTF_8_english.c.

Referenced by r_Step_1c().

◆ s_12

const symbol s_12[] = { 'Y' }
static

Definition at line 332 of file stem_UTF_8_english.c.

Referenced by r_Step_1c().

◆ s_13

const symbol s_13[] = { 'i' }
static

Definition at line 333 of file stem_UTF_8_english.c.

Referenced by r_Step_1c().

◆ s_14

const symbol s_14[] = { 't', 'i', 'o', 'n' }
static

Definition at line 334 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_15

const symbol s_15[] = { 'e', 'n', 'c', 'e' }
static

Definition at line 335 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_16

const symbol s_16[] = { 'a', 'n', 'c', 'e' }
static

Definition at line 336 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_17

const symbol s_17[] = { 'a', 'b', 'l', 'e' }
static

Definition at line 337 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_18

const symbol s_18[] = { 'e', 'n', 't' }
static

Definition at line 338 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_19

const symbol s_19[] = { 'i', 'z', 'e' }
static

Definition at line 339 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_1_0

const symbol s_1_0[1] = { '\'' }
static

Definition at line 51 of file stem_UTF_8_english.c.

◆ s_1_1

const symbol s_1_1[3] = { '\'', 's', '\'' }
static

Definition at line 52 of file stem_UTF_8_english.c.

◆ s_1_2

const symbol s_1_2[2] = { '\'', 's' }
static

Definition at line 53 of file stem_UTF_8_english.c.

◆ s_2

const symbol s_2[] = { 'Y' }
static

Definition at line 322 of file stem_UTF_8_english.c.

Referenced by r_prelude().

◆ s_20

const symbol s_20[] = { 'a', 't', 'e' }
static

Definition at line 340 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_21

const symbol s_21[] = { 'a', 'l' }
static

Definition at line 341 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_22

const symbol s_22[] = { 'f', 'u', 'l' }
static

Definition at line 342 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_23

const symbol s_23[] = { 'o', 'u', 's' }
static

Definition at line 343 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_24

const symbol s_24[] = { 'i', 'v', 'e' }
static

Definition at line 344 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_25

const symbol s_25[] = { 'b', 'l', 'e' }
static

Definition at line 345 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_26

const symbol s_26[] = { 'l' }
static

Definition at line 346 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_27

const symbol s_27[] = { 'o', 'g' }
static

Definition at line 347 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_28

const symbol s_28[] = { 'f', 'u', 'l' }
static

Definition at line 348 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_29

const symbol s_29[] = { 'l', 'e', 's', 's' }
static

Definition at line 349 of file stem_UTF_8_english.c.

Referenced by r_Step_2().

◆ s_2_0

const symbol s_2_0[3] = { 'i', 'e', 'd' }
static

Definition at line 62 of file stem_UTF_8_english.c.

◆ s_2_1

const symbol s_2_1[1] = { 's' }
static

Definition at line 63 of file stem_UTF_8_english.c.

◆ s_2_2

const symbol s_2_2[3] = { 'i', 'e', 's' }
static

Definition at line 64 of file stem_UTF_8_english.c.

◆ s_2_3

const symbol s_2_3[4] = { 's', 's', 'e', 's' }
static

Definition at line 65 of file stem_UTF_8_english.c.

◆ s_2_4

const symbol s_2_4[2] = { 's', 's' }
static

Definition at line 66 of file stem_UTF_8_english.c.

◆ s_2_5

const symbol s_2_5[2] = { 'u', 's' }
static

Definition at line 67 of file stem_UTF_8_english.c.

◆ s_3

const symbol s_3[] = { 'y' }
static

Definition at line 323 of file stem_UTF_8_english.c.

Referenced by r_prelude().

◆ s_30

const symbol s_30[] = { 't', 'i', 'o', 'n' }
static

Definition at line 350 of file stem_UTF_8_english.c.

Referenced by r_Step_3().

◆ s_31

const symbol s_31[] = { 'a', 't', 'e' }
static

Definition at line 351 of file stem_UTF_8_english.c.

Referenced by r_Step_3().

◆ s_32

const symbol s_32[] = { 'a', 'l' }
static

Definition at line 352 of file stem_UTF_8_english.c.

Referenced by r_Step_3().

◆ s_33

const symbol s_33[] = { 'i', 'c' }
static

Definition at line 353 of file stem_UTF_8_english.c.

Referenced by r_Step_3().

◆ s_34

const symbol s_34[] = { 's' }
static

Definition at line 354 of file stem_UTF_8_english.c.

Referenced by r_Step_4().

◆ s_35

const symbol s_35[] = { 't' }
static

Definition at line 355 of file stem_UTF_8_english.c.

Referenced by r_Step_4().

◆ s_36

const symbol s_36[] = { 'l' }
static

Definition at line 356 of file stem_UTF_8_english.c.

Referenced by r_Step_5().

◆ s_37

const symbol s_37[] = { 's', 'k', 'i' }
static

Definition at line 357 of file stem_UTF_8_english.c.

Referenced by r_exception1().

◆ s_38

const symbol s_38[] = { 's', 'k', 'y' }
static

Definition at line 358 of file stem_UTF_8_english.c.

Referenced by r_exception1().

◆ s_39

const symbol s_39[] = { 'd', 'i', 'e' }
static

Definition at line 359 of file stem_UTF_8_english.c.

Referenced by r_exception1().

◆ s_3_1

const symbol s_3_1[2] = { 'b', 'b' }
static

Definition at line 79 of file stem_UTF_8_english.c.

◆ s_3_10

const symbol s_3_10[2] = { 'a', 't' }
static

Definition at line 88 of file stem_UTF_8_english.c.

◆ s_3_11

const symbol s_3_11[2] = { 't', 't' }
static

Definition at line 89 of file stem_UTF_8_english.c.

◆ s_3_12

const symbol s_3_12[2] = { 'i', 'z' }
static

Definition at line 90 of file stem_UTF_8_english.c.

◆ s_3_2

const symbol s_3_2[2] = { 'd', 'd' }
static

Definition at line 80 of file stem_UTF_8_english.c.

◆ s_3_3

const symbol s_3_3[2] = { 'f', 'f' }
static

Definition at line 81 of file stem_UTF_8_english.c.

◆ s_3_4

const symbol s_3_4[2] = { 'g', 'g' }
static

Definition at line 82 of file stem_UTF_8_english.c.

◆ s_3_5

const symbol s_3_5[2] = { 'b', 'l' }
static

Definition at line 83 of file stem_UTF_8_english.c.

◆ s_3_6

const symbol s_3_6[2] = { 'm', 'm' }
static

Definition at line 84 of file stem_UTF_8_english.c.

◆ s_3_7

const symbol s_3_7[2] = { 'n', 'n' }
static

Definition at line 85 of file stem_UTF_8_english.c.

◆ s_3_8

const symbol s_3_8[2] = { 'p', 'p' }
static

Definition at line 86 of file stem_UTF_8_english.c.

◆ s_3_9

const symbol s_3_9[2] = { 'r', 'r' }
static

Definition at line 87 of file stem_UTF_8_english.c.

◆ s_4

const symbol s_4[] = { 'Y' }
static

Definition at line 324 of file stem_UTF_8_english.c.

Referenced by r_prelude().

◆ s_40

const symbol s_40[] = { 'l', 'i', 'e' }
static

Definition at line 360 of file stem_UTF_8_english.c.

Referenced by r_exception1().

◆ s_41

const symbol s_41[] = { 't', 'i', 'e' }
static

Definition at line 361 of file stem_UTF_8_english.c.

Referenced by r_exception1().

◆ s_42

const symbol s_42[] = { 'i', 'd', 'l' }
static

Definition at line 362 of file stem_UTF_8_english.c.

Referenced by r_exception1().

◆ s_43

const symbol s_43[] = { 'g', 'e', 'n', 't', 'l' }
static

Definition at line 363 of file stem_UTF_8_english.c.

Referenced by r_exception1().

◆ s_44

const symbol s_44[] = { 'u', 'g', 'l', 'i' }
static

Definition at line 364 of file stem_UTF_8_english.c.

Referenced by r_exception1().

◆ s_45

const symbol s_45[] = { 'e', 'a', 'r', 'l', 'i' }
static

Definition at line 365 of file stem_UTF_8_english.c.

Referenced by r_exception1().

◆ s_46

const symbol s_46[] = { 'o', 'n', 'l', 'i' }
static

Definition at line 366 of file stem_UTF_8_english.c.

Referenced by r_exception1().

◆ s_47

const symbol s_47[] = { 's', 'i', 'n', 'g', 'l' }
static

Definition at line 367 of file stem_UTF_8_english.c.

Referenced by r_exception1().

◆ s_48

const symbol s_48[] = { 'Y' }
static

Definition at line 368 of file stem_UTF_8_english.c.

Referenced by r_postlude().

◆ s_49

const symbol s_49[] = { 'y' }
static

Definition at line 369 of file stem_UTF_8_english.c.

Referenced by r_postlude().

◆ s_4_0

const symbol s_4_0[2] = { 'e', 'd' }
static

Definition at line 109 of file stem_UTF_8_english.c.

◆ s_4_1

const symbol s_4_1[3] = { 'e', 'e', 'd' }
static

Definition at line 110 of file stem_UTF_8_english.c.

◆ s_4_2

const symbol s_4_2[3] = { 'i', 'n', 'g' }
static

Definition at line 111 of file stem_UTF_8_english.c.

◆ s_4_3

const symbol s_4_3[4] = { 'e', 'd', 'l', 'y' }
static

Definition at line 112 of file stem_UTF_8_english.c.

◆ s_4_4

const symbol s_4_4[5] = { 'e', 'e', 'd', 'l', 'y' }
static

Definition at line 113 of file stem_UTF_8_english.c.

◆ s_4_5

const symbol s_4_5[5] = { 'i', 'n', 'g', 'l', 'y' }
static

Definition at line 114 of file stem_UTF_8_english.c.

◆ s_5

const symbol s_5[] = { 's', 's' }
static

Definition at line 325 of file stem_UTF_8_english.c.

Referenced by r_Step_1a().

◆ s_5_0

const symbol s_5_0[4] = { 'a', 'n', 'c', 'i' }
static

Definition at line 126 of file stem_UTF_8_english.c.

◆ s_5_1

const symbol s_5_1[4] = { 'e', 'n', 'c', 'i' }
static

Definition at line 127 of file stem_UTF_8_english.c.

◆ s_5_10

const symbol s_5_10[5] = { 'e', 'n', 't', 'l', 'i' }
static

Definition at line 136 of file stem_UTF_8_english.c.

◆ s_5_11

const symbol s_5_11[5] = { 'a', 'l', 'i', 't', 'i' }
static

Definition at line 137 of file stem_UTF_8_english.c.

◆ s_5_12

const symbol s_5_12[6] = { 'b', 'i', 'l', 'i', 't', 'i' }
static

Definition at line 138 of file stem_UTF_8_english.c.

◆ s_5_13

const symbol s_5_13[5] = { 'i', 'v', 'i', 't', 'i' }
static

Definition at line 139 of file stem_UTF_8_english.c.

◆ s_5_14

const symbol s_5_14[6] = { 't', 'i', 'o', 'n', 'a', 'l' }
static

Definition at line 140 of file stem_UTF_8_english.c.

◆ s_5_15

const symbol s_5_15[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' }
static

Definition at line 141 of file stem_UTF_8_english.c.

◆ s_5_16

const symbol s_5_16[5] = { 'a', 'l', 'i', 's', 'm' }
static

Definition at line 142 of file stem_UTF_8_english.c.

◆ s_5_17

const symbol s_5_17[5] = { 'a', 't', 'i', 'o', 'n' }
static

Definition at line 143 of file stem_UTF_8_english.c.

◆ s_5_18

const symbol s_5_18[7] = { 'i', 'z', 'a', 't', 'i', 'o', 'n' }
static

Definition at line 144 of file stem_UTF_8_english.c.

◆ s_5_19

const symbol s_5_19[4] = { 'i', 'z', 'e', 'r' }
static

Definition at line 145 of file stem_UTF_8_english.c.

◆ s_5_2

const symbol s_5_2[3] = { 'o', 'g', 'i' }
static

Definition at line 128 of file stem_UTF_8_english.c.

◆ s_5_20

const symbol s_5_20[4] = { 'a', 't', 'o', 'r' }
static

Definition at line 146 of file stem_UTF_8_english.c.

◆ s_5_21

const symbol s_5_21[7] = { 'i', 'v', 'e', 'n', 'e', 's', 's' }
static

Definition at line 147 of file stem_UTF_8_english.c.

◆ s_5_22

const symbol s_5_22[7] = { 'f', 'u', 'l', 'n', 'e', 's', 's' }
static

Definition at line 148 of file stem_UTF_8_english.c.

◆ s_5_23

const symbol s_5_23[7] = { 'o', 'u', 's', 'n', 'e', 's', 's' }
static

Definition at line 149 of file stem_UTF_8_english.c.

◆ s_5_3

const symbol s_5_3[2] = { 'l', 'i' }
static

Definition at line 129 of file stem_UTF_8_english.c.

◆ s_5_4

const symbol s_5_4[3] = { 'b', 'l', 'i' }
static

Definition at line 130 of file stem_UTF_8_english.c.

◆ s_5_5

const symbol s_5_5[4] = { 'a', 'b', 'l', 'i' }
static

Definition at line 131 of file stem_UTF_8_english.c.

◆ s_5_6

const symbol s_5_6[4] = { 'a', 'l', 'l', 'i' }
static

Definition at line 132 of file stem_UTF_8_english.c.

◆ s_5_7

const symbol s_5_7[5] = { 'f', 'u', 'l', 'l', 'i' }
static

Definition at line 133 of file stem_UTF_8_english.c.

◆ s_5_8

const symbol s_5_8[6] = { 'l', 'e', 's', 's', 'l', 'i' }
static

Definition at line 134 of file stem_UTF_8_english.c.

◆ s_5_9

const symbol s_5_9[5] = { 'o', 'u', 's', 'l', 'i' }
static

Definition at line 135 of file stem_UTF_8_english.c.

◆ s_6

const symbol s_6[] = { 'i' }
static

Definition at line 326 of file stem_UTF_8_english.c.

Referenced by r_Step_1a().

◆ s_6_0

const symbol s_6_0[5] = { 'i', 'c', 'a', 't', 'e' }
static

Definition at line 179 of file stem_UTF_8_english.c.

◆ s_6_1

const symbol s_6_1[5] = { 'a', 't', 'i', 'v', 'e' }
static

Definition at line 180 of file stem_UTF_8_english.c.

◆ s_6_2

const symbol s_6_2[5] = { 'a', 'l', 'i', 'z', 'e' }
static

Definition at line 181 of file stem_UTF_8_english.c.

◆ s_6_3

const symbol s_6_3[5] = { 'i', 'c', 'i', 't', 'i' }
static

Definition at line 182 of file stem_UTF_8_english.c.

◆ s_6_4

const symbol s_6_4[4] = { 'i', 'c', 'a', 'l' }
static

Definition at line 183 of file stem_UTF_8_english.c.

◆ s_6_5

const symbol s_6_5[6] = { 't', 'i', 'o', 'n', 'a', 'l' }
static

Definition at line 184 of file stem_UTF_8_english.c.

◆ s_6_6

const symbol s_6_6[7] = { 'a', 't', 'i', 'o', 'n', 'a', 'l' }
static

Definition at line 185 of file stem_UTF_8_english.c.

◆ s_6_7

const symbol s_6_7[3] = { 'f', 'u', 'l' }
static

Definition at line 186 of file stem_UTF_8_english.c.

◆ s_6_8

const symbol s_6_8[4] = { 'n', 'e', 's', 's' }
static

Definition at line 187 of file stem_UTF_8_english.c.

◆ s_7

const symbol s_7[] = { 'i', 'e' }
static

Definition at line 327 of file stem_UTF_8_english.c.

Referenced by r_Step_1a().

◆ s_7_0

const symbol s_7_0[2] = { 'i', 'c' }
static

Definition at line 202 of file stem_UTF_8_english.c.

◆ s_7_1

const symbol s_7_1[4] = { 'a', 'n', 'c', 'e' }
static

Definition at line 203 of file stem_UTF_8_english.c.

◆ s_7_10

const symbol s_7_10[3] = { 'i', 's', 'm' }
static

Definition at line 212 of file stem_UTF_8_english.c.

◆ s_7_11

const symbol s_7_11[3] = { 'i', 'o', 'n' }
static

Definition at line 213 of file stem_UTF_8_english.c.

◆ s_7_12

const symbol s_7_12[2] = { 'e', 'r' }
static

Definition at line 214 of file stem_UTF_8_english.c.

◆ s_7_13

const symbol s_7_13[3] = { 'o', 'u', 's' }
static

Definition at line 215 of file stem_UTF_8_english.c.

◆ s_7_14

const symbol s_7_14[3] = { 'a', 'n', 't' }
static

Definition at line 216 of file stem_UTF_8_english.c.

◆ s_7_15

const symbol s_7_15[3] = { 'e', 'n', 't' }
static

Definition at line 217 of file stem_UTF_8_english.c.

◆ s_7_16

const symbol s_7_16[4] = { 'm', 'e', 'n', 't' }
static

Definition at line 218 of file stem_UTF_8_english.c.

◆ s_7_17

const symbol s_7_17[5] = { 'e', 'm', 'e', 'n', 't' }
static

Definition at line 219 of file stem_UTF_8_english.c.

◆ s_7_2

const symbol s_7_2[4] = { 'e', 'n', 'c', 'e' }
static

Definition at line 204 of file stem_UTF_8_english.c.

◆ s_7_3

const symbol s_7_3[4] = { 'a', 'b', 'l', 'e' }
static

Definition at line 205 of file stem_UTF_8_english.c.

◆ s_7_4

const symbol s_7_4[4] = { 'i', 'b', 'l', 'e' }
static

Definition at line 206 of file stem_UTF_8_english.c.

◆ s_7_5

const symbol s_7_5[3] = { 'a', 't', 'e' }
static

Definition at line 207 of file stem_UTF_8_english.c.

◆ s_7_6

const symbol s_7_6[3] = { 'i', 'v', 'e' }
static

Definition at line 208 of file stem_UTF_8_english.c.

◆ s_7_7

const symbol s_7_7[3] = { 'i', 'z', 'e' }
static

Definition at line 209 of file stem_UTF_8_english.c.

◆ s_7_8

const symbol s_7_8[3] = { 'i', 't', 'i' }
static

Definition at line 210 of file stem_UTF_8_english.c.

◆ s_7_9

const symbol s_7_9[2] = { 'a', 'l' }
static

Definition at line 211 of file stem_UTF_8_english.c.

◆ s_8

const symbol s_8[] = { 'e', 'e' }
static

Definition at line 328 of file stem_UTF_8_english.c.

Referenced by r_Step_1b().

◆ s_8_0

const symbol s_8_0[1] = { 'e' }
static

Definition at line 243 of file stem_UTF_8_english.c.

◆ s_8_1

const symbol s_8_1[1] = { 'l' }
static

Definition at line 244 of file stem_UTF_8_english.c.

◆ s_9

const symbol s_9[] = { 'e' }
static

Definition at line 329 of file stem_UTF_8_english.c.

Referenced by r_Step_1b().

◆ s_9_0

const symbol s_9_0[7] = { 's', 'u', 'c', 'c', 'e', 'e', 'd' }
static

Definition at line 252 of file stem_UTF_8_english.c.

◆ s_9_1

const symbol s_9_1[7] = { 'p', 'r', 'o', 'c', 'e', 'e', 'd' }
static

Definition at line 253 of file stem_UTF_8_english.c.

◆ s_9_2

const symbol s_9_2[6] = { 'e', 'x', 'c', 'e', 'e', 'd' }
static

Definition at line 254 of file stem_UTF_8_english.c.

◆ s_9_3

const symbol s_9_3[7] = { 'c', 'a', 'n', 'n', 'i', 'n', 'g' }
static

Definition at line 255 of file stem_UTF_8_english.c.

◆ s_9_4

const symbol s_9_4[6] = { 'i', 'n', 'n', 'i', 'n', 'g' }
static

Definition at line 256 of file stem_UTF_8_english.c.

◆ s_9_5

const symbol s_9_5[7] = { 'e', 'a', 'r', 'r', 'i', 'n', 'g' }
static

Definition at line 257 of file stem_UTF_8_english.c.

◆ s_9_6

const symbol s_9_6[7] = { 'h', 'e', 'r', 'r', 'i', 'n', 'g' }
static

Definition at line 258 of file stem_UTF_8_english.c.

◆ s_9_7

const symbol s_9_7[6] = { 'o', 'u', 't', 'i', 'n', 'g' }
static

Definition at line 259 of file stem_UTF_8_english.c.