xapian-core  2.0.0
nepali.cc
Go to the documentation of this file.
1 /* Generated from nepali.sbl by Snowball 3.0.0 - https://snowballstem.org/ */
2 
3 #include <config.h>
4 
5 #define SNOWBALL_RUNTIME_THROW_EXCEPTIONS
6 #include "nepali.h"
7 
8 #include <stddef.h>
9 
11 
12 static int r_remove_category_3(struct SN_env * z);
13 static int r_remove_category_2(struct SN_env * z);
14 static int r_remove_category_1(struct SN_env * z);
15 
16 static const symbol s_0[] = { 0xE0, 0xA4, 0x8F };
17 static const symbol s_1[] = { 0xE0, 0xA5, 0x87 };
18 static const symbol s_2[] = { 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8C };
19 static const symbol s_3[] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C };
20 static const symbol s_4[] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8C };
21 static const symbol s_5[] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA5, 0x87 };
22 static const symbol s_6[] = { 0xE0, 0xA4, 0xA4, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xB0 };
23 
24 static const symbol s_0_0[6] = { 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x80 };
25 static const symbol s_0_1[9] = { 0xE0, 0xA4, 0xB2, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0x87 };
26 static const symbol s_0_2[6] = { 0xE0, 0xA4, 0xB2, 0xE0, 0xA5, 0x87 };
27 static const symbol s_0_3[9] = { 0xE0, 0xA4, 0xB2, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0x88 };
28 static const symbol s_0_4[6] = { 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x88 };
29 static const symbol s_0_5[12] = { 0xE0, 0xA4, 0xB8, 0xE0, 0xA4, 0x81, 0xE0, 0xA4, 0x97, 0xE0, 0xA5, 0x88 };
30 static const symbol s_0_6[6] = { 0xE0, 0xA4, 0xAE, 0xE0, 0xA5, 0x88 };
31 static const symbol s_0_7[6] = { 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B };
32 static const symbol s_0_8[9] = { 0xE0, 0xA4, 0xB8, 0xE0, 0xA4, 0x81, 0xE0, 0xA4, 0x97 };
33 static const symbol s_0_9[9] = { 0xE0, 0xA4, 0xB8, 0xE0, 0xA4, 0x82, 0xE0, 0xA4, 0x97 };
34 static const symbol s_0_10[18] = { 0xE0, 0xA4, 0xAE, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0xB0, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xAB, 0xE0, 0xA4, 0xA4 };
35 static const symbol s_0_11[6] = { 0xE0, 0xA4, 0xB0, 0xE0, 0xA4, 0xA4 };
36 static const symbol s_0_12[6] = { 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE };
37 static const symbol s_0_13[6] = { 0xE0, 0xA4, 0xAE, 0xE0, 0xA4, 0xBE };
38 static const symbol s_0_14[18] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xB5, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0xB0, 0xE0, 0xA4, 0xBE };
39 static const symbol s_0_15[6] = { 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBF };
40 static const symbol s_0_16[9] = { 0xE0, 0xA4, 0xAA, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xBF };
41 static const struct among a_0[17] = {
42 { 6, s_0_0, 0, 2, 0},
43 { 9, s_0_1, 0, 1, 0},
44 { 6, s_0_2, 0, 1, 0},
45 { 9, s_0_3, 0, 1, 0},
46 { 6, s_0_4, 0, 2, 0},
47 { 12, s_0_5, 0, 1, 0},
48 { 6, s_0_6, 0, 1, 0},
49 { 6, s_0_7, 0, 2, 0},
50 { 9, s_0_8, 0, 1, 0},
51 { 9, s_0_9, 0, 1, 0},
52 { 18, s_0_10, 0, 1, 0},
53 { 6, s_0_11, 0, 1, 0},
54 { 6, s_0_12, 0, 2, 0},
55 { 6, s_0_13, 0, 1, 0},
56 { 18, s_0_14, 0, 1, 0},
57 { 6, s_0_15, 0, 2, 0},
58 { 9, s_0_16, 0, 1, 0}
59 };
60 
61 static const symbol s_1_0[3] = { 0xE0, 0xA4, 0x81 };
62 static const symbol s_1_1[3] = { 0xE0, 0xA4, 0x82 };
63 static const symbol s_1_2[3] = { 0xE0, 0xA5, 0x88 };
64 static const struct among a_1[3] = {
65 { 3, s_1_0, 0, 1, 0},
66 { 3, s_1_1, 0, 1, 0},
67 { 3, s_1_2, 0, 2, 0}
68 };
69 
70 static const symbol s_2_0[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x80 };
71 static const symbol s_2_1[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x80 };
72 static const symbol s_2_2[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x80 };
73 static const symbol s_2_3[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x80 };
74 static const symbol s_2_4[12] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x96, 0xE0, 0xA5, 0x80 };
75 static const symbol s_2_5[6] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA5, 0x80 };
76 static const symbol s_2_6[6] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x80 };
77 static const symbol s_2_7[6] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x81 };
78 static const symbol s_2_8[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x81 };
79 static const symbol s_2_9[12] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x81 };
80 static const symbol s_2_10[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x81 };
81 static const symbol s_2_11[6] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x81 };
82 static const symbol s_2_12[9] = { 0xE0, 0xA4, 0xB9, 0xE0, 0xA4, 0xB0, 0xE0, 0xA5, 0x81 };
83 static const symbol s_2_13[9] = { 0xE0, 0xA4, 0xB9, 0xE0, 0xA4, 0xB0, 0xE0, 0xA5, 0x82 };
84 static const symbol s_2_14[6] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x87 };
85 static const symbol s_2_15[6] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA5, 0x87 };
86 static const symbol s_2_16[6] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87 };
87 static const symbol s_2_17[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x88 };
88 static const symbol s_2_18[12] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x88 };
89 static const symbol s_2_19[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x88 };
90 static const symbol s_2_20[6] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x88 };
91 static const symbol s_2_21[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x88 };
92 static const symbol s_2_22[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x88 };
93 static const symbol s_2_23[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B };
94 static const symbol s_2_24[12] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B };
95 static const symbol s_2_25[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B };
96 static const symbol s_2_26[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B };
97 static const symbol s_2_27[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA5, 0x8B };
98 static const symbol s_2_28[6] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x8B };
99 static const symbol s_2_29[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x8B };
100 static const symbol s_2_30[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x8B };
101 static const symbol s_2_31[6] = { 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B };
102 static const symbol s_2_32[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B };
103 static const symbol s_2_33[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B };
104 static const symbol s_2_34[9] = { 0xE0, 0xA4, 0xAD, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B };
105 static const symbol s_2_35[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B };
106 static const symbol s_2_36[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B };
107 static const symbol s_2_37[12] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8B };
108 static const symbol s_2_38[6] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C };
109 static const symbol s_2_39[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C };
110 static const symbol s_2_40[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C };
111 static const symbol s_2_41[12] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C };
112 static const symbol s_2_42[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C };
113 static const symbol s_2_43[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8C };
114 static const symbol s_2_44[6] = { 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8C };
115 static const symbol s_2_45[12] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8C };
116 static const symbol s_2_46[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8C };
117 static const symbol s_2_47[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xAF, 0xE0, 0xA5, 0x8C };
118 static const symbol s_2_48[9] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D };
119 static const symbol s_2_49[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D };
120 static const symbol s_2_50[12] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D };
121 static const symbol s_2_51[15] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D };
122 static const symbol s_2_52[12] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D };
123 static const symbol s_2_53[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D };
124 static const symbol s_2_54[12] = { 0xE0, 0xA4, 0xB2, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D };
125 static const symbol s_2_55[12] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D };
126 static const symbol s_2_56[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D };
127 static const symbol s_2_57[9] = { 0xE0, 0xA4, 0xAA, 0xE0, 0xA4, 0xB0, 0xE0, 0xA5, 0x8D };
128 static const symbol s_2_58[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
129 static const symbol s_2_59[15] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
130 static const symbol s_2_60[12] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
131 static const symbol s_2_61[12] = { 0xE0, 0xA4, 0xB9, 0xE0, 0xA5, 0x8B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
132 static const symbol s_2_62[9] = { 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
133 static const symbol s_2_63[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
134 static const symbol s_2_64[12] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
135 static const symbol s_2_65[15] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
136 static const symbol s_2_66[12] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
137 static const symbol s_2_67[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x9B, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
138 static const symbol s_2_68[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
139 static const symbol s_2_69[12] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xB8, 0xE0, 0xA5, 0x8D };
140 static const symbol s_2_70[9] = { 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x8F };
141 static const symbol s_2_71[3] = { 0xE0, 0xA4, 0x9B };
142 static const symbol s_2_72[6] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x9B };
143 static const symbol s_2_73[6] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B };
144 static const symbol s_2_74[9] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B };
145 static const symbol s_2_75[15] = { 0xE0, 0xA4, 0xB9, 0xE0, 0xA5, 0x81, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x9B };
146 static const symbol s_2_76[15] = { 0xE0, 0xA4, 0xB9, 0xE0, 0xA5, 0x81, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0x9B };
147 static const symbol s_2_77[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0x9B };
148 static const symbol s_2_78[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x8D, 0xE0, 0xA4, 0x9B };
149 static const symbol s_2_79[6] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x9B };
150 static const symbol s_2_80[6] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x9B };
151 static const symbol s_2_81[9] = { 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE };
152 static const symbol s_2_82[12] = { 0xE0, 0xA4, 0xA8, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE };
153 static const symbol s_2_83[9] = { 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE };
154 static const symbol s_2_84[12] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE };
155 static const symbol s_2_85[12] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0x8F, 0xE0, 0xA4, 0x95, 0xE0, 0xA4, 0xBE };
156 static const symbol s_2_86[6] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA4, 0xBE };
157 static const symbol s_2_87[9] = { 0xE0, 0xA4, 0x87, 0xE0, 0xA4, 0xA6, 0xE0, 0xA4, 0xBE };
158 static const symbol s_2_88[9] = { 0xE0, 0xA4, 0xBF, 0xE0, 0xA4, 0xA6, 0xE0, 0xA4, 0xBE };
159 static const symbol s_2_89[12] = { 0xE0, 0xA4, 0xA6, 0xE0, 0xA5, 0x87, 0xE0, 0xA4, 0x96, 0xE0, 0xA4, 0xBF };
160 static const symbol s_2_90[12] = { 0xE0, 0xA4, 0xAE, 0xE0, 0xA4, 0xBE, 0xE0, 0xA4, 0xA5, 0xE0, 0xA4, 0xBF };
161 static const struct among a_2[91] = {
162 { 9, s_2_0, 0, 1, 0},
163 { 9, s_2_1, 0, 1, 0},
164 { 12, s_2_2, -1, 1, 0},
165 { 12, s_2_3, -2, 1, 0},
166 { 12, s_2_4, 0, 1, 0},
167 { 6, s_2_5, 0, 1, 0},
168 { 6, s_2_6, 0, 1, 0},
169 { 6, s_2_7, 0, 1, 0},
170 { 9, s_2_8, -1, 1, 0},
171 { 12, s_2_9, -1, 1, 0},
172 { 9, s_2_10, -3, 1, 0},
173 { 6, s_2_11, 0, 1, 0},
174 { 9, s_2_12, 0, 1, 0},
175 { 9, s_2_13, 0, 1, 0},
176 { 6, s_2_14, 0, 1, 0},
177 { 6, s_2_15, 0, 1, 0},
178 { 6, s_2_16, 0, 1, 0},
179 { 9, s_2_17, 0, 1, 0},
180 { 12, s_2_18, -1, 1, 0},
181 { 9, s_2_19, 0, 1, 0},
182 { 6, s_2_20, 0, 1, 0},
183 { 9, s_2_21, -1, 1, 0},
184 { 9, s_2_22, -2, 1, 0},
185 { 9, s_2_23, 0, 1, 0},
186 { 12, s_2_24, -1, 1, 0},
187 { 9, s_2_25, 0, 1, 0},
188 { 12, s_2_26, -1, 1, 0},
189 { 12, s_2_27, -2, 1, 0},
190 { 6, s_2_28, 0, 1, 0},
191 { 9, s_2_29, -1, 1, 0},
192 { 9, s_2_30, -2, 1, 0},
193 { 6, s_2_31, 0, 1, 0},
194 { 9, s_2_32, -1, 1, 0},
195 { 12, s_2_33, -2, 1, 0},
196 { 9, s_2_34, -3, 1, 0},
197 { 9, s_2_35, -4, 1, 0},
198 { 12, s_2_36, -1, 1, 0},
199 { 12, s_2_37, -2, 1, 0},
200 { 6, s_2_38, 0, 1, 0},
201 { 9, s_2_39, -1, 1, 0},
202 { 9, s_2_40, -2, 1, 0},
203 { 12, s_2_41, -1, 1, 0},
204 { 9, s_2_42, -4, 1, 0},
205 { 9, s_2_43, -5, 1, 0},
206 { 6, s_2_44, 0, 1, 0},
207 { 12, s_2_45, -1, 1, 0},
208 { 12, s_2_46, -2, 1, 0},
209 { 12, s_2_47, -3, 1, 0},
210 { 9, s_2_48, 0, 1, 0},
211 { 12, s_2_49, -1, 1, 0},
212 { 12, s_2_50, -2, 1, 0},
213 { 15, s_2_51, -1, 1, 0},
214 { 12, s_2_52, -4, 1, 0},
215 { 12, s_2_53, -5, 1, 0},
216 { 12, s_2_54, 0, 1, 0},
217 { 12, s_2_55, 0, 1, 0},
218 { 12, s_2_56, 0, 1, 0},
219 { 9, s_2_57, 0, 1, 0},
220 { 9, s_2_58, 0, 1, 0},
221 { 15, s_2_59, -1, 1, 0},
222 { 12, s_2_60, 0, 1, 0},
223 { 12, s_2_61, 0, 1, 0},
224 { 9, s_2_62, 0, 1, 0},
225 { 12, s_2_63, -1, 1, 0},
226 { 12, s_2_64, -2, 1, 0},
227 { 15, s_2_65, -1, 1, 0},
228 { 12, s_2_66, -4, 1, 0},
229 { 12, s_2_67, -5, 1, 0},
230 { 9, s_2_68, 0, 1, 0},
231 { 12, s_2_69, -1, 1, 0},
232 { 9, s_2_70, 0, 1, 0},
233 { 3, s_2_71, 0, 1, 0},
234 { 6, s_2_72, -1, 1, 0},
235 { 6, s_2_73, -2, 1, 0},
236 { 9, s_2_74, -1, 1, 0},
237 { 15, s_2_75, -1, 1, 0},
238 { 15, s_2_76, -5, 1, 0},
239 { 12, s_2_77, -6, 1, 0},
240 { 12, s_2_78, -7, 1, 0},
241 { 6, s_2_79, -8, 1, 0},
242 { 6, s_2_80, -9, 1, 0},
243 { 9, s_2_81, 0, 1, 0},
244 { 12, s_2_82, -1, 1, 0},
245 { 9, s_2_83, 0, 1, 0},
246 { 12, s_2_84, -1, 1, 0},
247 { 12, s_2_85, -2, 1, 0},
248 { 6, s_2_86, 0, 1, 0},
249 { 9, s_2_87, -1, 1, 0},
250 { 9, s_2_88, -2, 1, 0},
251 { 12, s_2_89, 0, 1, 0},
252 { 12, s_2_90, 0, 1, 0}
253 };
254 
255 static int r_remove_category_1(struct SN_env * z) {
256  int among_var;
257  z->ket = z->c;
258  among_var = find_among_b(z, a_0, 17, 0);
259  if (!among_var) return 0;
260  z->bra = z->c;
261  switch (among_var) {
262  case 1:
263  slice_del(z);
264  break;
265  case 2:
266  do {
267  int v_1 = z->l - z->c;
268  if (!(eq_s_b(z, 3, s_0))) goto lab0;
269  break;
270  lab0:
271  z->c = z->l - v_1;
272  if (!(eq_s_b(z, 3, s_1))) goto lab1;
273  break;
274  lab1:
275  z->c = z->l - v_1;
276  slice_del(z);
277  } while (0);
278  break;
279  }
280  return 1;
281 }
282 
283 static int r_remove_category_2(struct SN_env * z) {
284  int among_var;
285  z->ket = z->c;
286  if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 4 || !((262 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
287  among_var = find_among_b(z, a_1, 3, 0);
288  if (!among_var) return 0;
289  z->bra = z->c;
290  switch (among_var) {
291  case 1:
292  do {
293  int v_1 = z->l - z->c;
294  if (!(eq_s_b(z, 6, s_2))) goto lab0;
295  break;
296  lab0:
297  z->c = z->l - v_1;
298  if (!(eq_s_b(z, 6, s_3))) goto lab1;
299  break;
300  lab1:
301  z->c = z->l - v_1;
302  if (!(eq_s_b(z, 6, s_4))) goto lab2;
303  break;
304  lab2:
305  z->c = z->l - v_1;
306  if (!(eq_s_b(z, 6, s_5))) return 0;
307  } while (0);
308  slice_del(z);
309  break;
310  case 2:
311  if (!(eq_s_b(z, 9, s_6))) return 0;
312  slice_del(z);
313  break;
314  }
315  return 1;
316 }
317 
318 static int r_remove_category_3(struct SN_env * z) {
319  z->ket = z->c;
320  if (!find_among_b(z, a_2, 91, 0)) return 0;
321  z->bra = z->c;
322  slice_del(z);
323  return 1;
324 }
325 
327  z->lb = z->c; z->c = z->l;
328  {
329  int v_1 = z->l - z->c;
331  z->c = z->l - v_1;
332  }
333  while (1) {
334  int v_2 = z->l - z->c;
335  {
336  int v_3 = z->l - z->c;
338  z->c = z->l - v_3;
339  }
340  if (!r_remove_category_3(z)) goto lab0;
341  continue;
342  lab0:
343  z->c = z->l - v_2;
344  break;
345  }
346  z->c = z->lb;
347  return 1;
348 }
unsigned char symbol
Definition: api.h:4
static int stem(struct SN_env *z)
Definition: nepali.cc:326
static const symbol s_2_35[9]
Definition: nepali.cc:105
static const symbol s_2_13[9]
Definition: nepali.cc:83
static const symbol s_2_87[9]
Definition: nepali.cc:157
static const symbol s_2_34[9]
Definition: nepali.cc:104
static const symbol s_2_17[9]
Definition: nepali.cc:87
static const symbol s_2_72[6]
Definition: nepali.cc:142
static const symbol s_2[]
Definition: nepali.cc:18
static const symbol s_2_47[12]
Definition: nepali.cc:117
static const symbol s_2_38[6]
Definition: nepali.cc:108
static const symbol s_2_55[12]
Definition: nepali.cc:125
static const symbol s_2_28[6]
Definition: nepali.cc:98
static const symbol s_2_27[12]
Definition: nepali.cc:97
static const symbol s_0_0[6]
Definition: nepali.cc:24
static const symbol s_2_41[12]
Definition: nepali.cc:111
static const symbol s_2_57[9]
Definition: nepali.cc:127
static const symbol s_2_9[12]
Definition: nepali.cc:79
static const symbol s_4[]
Definition: nepali.cc:20
static const symbol s_2_20[6]
Definition: nepali.cc:90
static const symbol s_2_39[9]
Definition: nepali.cc:109
static const symbol s_2_79[6]
Definition: nepali.cc:149
static const symbol s_2_82[12]
Definition: nepali.cc:152
static const symbol s_2_21[9]
Definition: nepali.cc:91
static const symbol s_2_36[12]
Definition: nepali.cc:106
static int r_remove_category_1(struct SN_env *z)
Definition: nepali.cc:255
static const symbol s_2_29[9]
Definition: nepali.cc:99
static const symbol s_2_49[12]
Definition: nepali.cc:119
static const symbol s_2_69[12]
Definition: nepali.cc:139
static const symbol s_2_4[12]
Definition: nepali.cc:74
static const symbol s_2_59[15]
Definition: nepali.cc:129
static const symbol s_2_86[6]
Definition: nepali.cc:156
static const symbol s_2_80[6]
Definition: nepali.cc:150
static const symbol s_2_18[12]
Definition: nepali.cc:88
static const symbol s_2_19[9]
Definition: nepali.cc:89
static const symbol s_0_12[6]
Definition: nepali.cc:36
static const symbol s_2_48[9]
Definition: nepali.cc:118
static const symbol s_2_52[12]
Definition: nepali.cc:122
static const symbol s_0_16[9]
Definition: nepali.cc:40
static const symbol s_2_78[12]
Definition: nepali.cc:148
static const symbol s_2_63[12]
Definition: nepali.cc:133
static const symbol s_2_58[9]
Definition: nepali.cc:128
static const symbol s_2_62[9]
Definition: nepali.cc:132
static const symbol s_2_3[12]
Definition: nepali.cc:73
static const symbol s_2_90[12]
Definition: nepali.cc:160
static const symbol s_2_85[12]
Definition: nepali.cc:155
static const symbol s_2_51[15]
Definition: nepali.cc:121
static const symbol s_2_30[9]
Definition: nepali.cc:100
static const symbol s_0_5[12]
Definition: nepali.cc:29
static const symbol s_6[]
Definition: nepali.cc:22
static int r_remove_category_2(struct SN_env *z)
Definition: nepali.cc:283
static const symbol s_2_65[15]
Definition: nepali.cc:135
static const symbol s_2_81[9]
Definition: nepali.cc:151
static const symbol s_3[]
Definition: nepali.cc:19
static const symbol s_2_14[6]
Definition: nepali.cc:84
static const symbol s_0_9[9]
Definition: nepali.cc:33
static const symbol s_0_1[9]
Definition: nepali.cc:25
static int r_remove_category_3(struct SN_env *z)
Definition: nepali.cc:318
static const symbol s_2_67[12]
Definition: nepali.cc:137
static const symbol s_2_75[15]
Definition: nepali.cc:145
static const symbol s_2_64[12]
Definition: nepali.cc:134
static const symbol s_2_70[9]
Definition: nepali.cc:140
static const symbol s_2_45[12]
Definition: nepali.cc:115
static const symbol s_0_15[6]
Definition: nepali.cc:39
static const symbol s_2_23[9]
Definition: nepali.cc:93
static const symbol s_2_7[6]
Definition: nepali.cc:77
static const symbol s_0_3[9]
Definition: nepali.cc:27
static const symbol s_0_2[6]
Definition: nepali.cc:26
static const symbol s_2_68[9]
Definition: nepali.cc:138
static const symbol s_2_2[12]
Definition: nepali.cc:72
static const symbol s_2_76[15]
Definition: nepali.cc:146
static const symbol s_2_43[9]
Definition: nepali.cc:113
static const symbol s_0_4[6]
Definition: nepali.cc:28
static const symbol s_2_10[9]
Definition: nepali.cc:80
static const symbol s_2_53[12]
Definition: nepali.cc:123
static const symbol s_2_89[12]
Definition: nepali.cc:159
static const symbol s_2_37[12]
Definition: nepali.cc:107
static const symbol s_2_77[12]
Definition: nepali.cc:147
static const symbol s_2_50[12]
Definition: nepali.cc:120
static const symbol s_2_6[6]
Definition: nepali.cc:76
static const symbol s_2_61[12]
Definition: nepali.cc:131
static const symbol s_2_12[9]
Definition: nepali.cc:82
static const symbol s_0_8[9]
Definition: nepali.cc:32
static const symbol s_2_44[6]
Definition: nepali.cc:114
static const symbol s_2_31[6]
Definition: nepali.cc:101
static const struct among a_1[3]
Definition: nepali.cc:64
static const symbol s_0_13[6]
Definition: nepali.cc:37
static const symbol s_1[]
Definition: nepali.cc:17
static const symbol s_2_66[12]
Definition: nepali.cc:136
static const symbol s_1_2[3]
Definition: nepali.cc:63
static const symbol s_0_7[6]
Definition: nepali.cc:31
static const symbol s_2_56[12]
Definition: nepali.cc:126
static const symbol s_2_22[9]
Definition: nepali.cc:92
static const symbol s_2_74[9]
Definition: nepali.cc:144
static const struct among a_2[91]
Definition: nepali.cc:161
static const symbol s_2_0[9]
Definition: nepali.cc:70
static const symbol s_2_24[12]
Definition: nepali.cc:94
static const symbol s_2_73[6]
Definition: nepali.cc:143
static const symbol s_1_0[3]
Definition: nepali.cc:61
static const symbol s_0_6[6]
Definition: nepali.cc:30
static const symbol s_2_25[9]
Definition: nepali.cc:95
static const symbol s_2_40[9]
Definition: nepali.cc:110
static const symbol s_2_46[12]
Definition: nepali.cc:116
static const symbol s_2_42[9]
Definition: nepali.cc:112
static const symbol s_1_1[3]
Definition: nepali.cc:62
static const symbol s_2_33[12]
Definition: nepali.cc:103
static const symbol s_2_60[12]
Definition: nepali.cc:130
static const symbol s_2_26[12]
Definition: nepali.cc:96
static const symbol s_2_8[9]
Definition: nepali.cc:78
static const symbol s_0_14[18]
Definition: nepali.cc:38
static const symbol s_0_10[18]
Definition: nepali.cc:34
static const symbol s_2_1[9]
Definition: nepali.cc:71
static const symbol s_2_32[9]
Definition: nepali.cc:102
static const symbol s_2_83[9]
Definition: nepali.cc:153
static const symbol s_2_54[12]
Definition: nepali.cc:124
static const symbol s_2_88[9]
Definition: nepali.cc:158
static const symbol s_2_11[6]
Definition: nepali.cc:81
static const struct among a_0[17]
Definition: nepali.cc:41
static const symbol s_5[]
Definition: nepali.cc:21
static const symbol s_2_84[12]
Definition: nepali.cc:154
Xapian::Internal::Snowball::Nepali::SN_local SN_local
Definition: nepali.cc:10
static const symbol s_2_15[6]
Definition: nepali.cc:85
static const symbol s_2_5[6]
Definition: nepali.cc:75
static const symbol s_0_11[6]
Definition: nepali.cc:35
static const symbol s_2_16[6]
Definition: nepali.cc:86
static const symbol s_0[]
Definition: nepali.cc:16
static const symbol s_2_71[3]
Definition: nepali.cc:141
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.cc:243
SNOWBALL_ERR slice_del(struct SN_env *z)
Definition: utilities.cc:450
int find_among_b(struct SN_env *z, const struct among *v, int v_size, int(*)(struct SN_env *))
Definition: utilities.cc:322
Definition: api.h:15
int lb
Definition: api.h:17
symbol * p
Definition: api.h:16
int ket
Definition: api.h:17
int c
Definition: api.h:17
int bra
Definition: api.h:17
int l
Definition: api.h:17
Definition: header.h:256