xapian-core  1.4.20
armenian.cc
Go to the documentation of this file.
1 /* Generated by Snowball 2.0.0 - https://snowballstem.org/ */
2 
3 
4 #include <config.h>
5 #include <limits.h>
6 #include "armenian.h"
7 
8 static const symbol s_pool[] = {
9 #define s_0_0 0
10 0xD5, 0xA2, 0xD5, 0xA1, 0xD6, 0x80,
11 #define s_0_1 (s_0_2 + 2)
12 #define s_0_2 6
13 0xD5, 0xA5, 0xD6, 0x80, 0xD5, 0xB8, 0xD6, 0x80, 0xD5, 0xA4,
14 #define s_0_3 16
15 0xD5, 0xA1, 0xD5, 0xAC, 0xD5, 0xAB,
16 #define s_0_4 22
17 0xD5, 0xA1, 0xD5, 0xAF, 0xD5, 0xAB,
18 #define s_0_5 28
19 0xD5, 0xB8, 0xD6, 0x80, 0xD5, 0xA1, 0xD5, 0xAF,
20 #define s_0_6 36
21 0xD5, 0xA5, 0xD5, 0xB2,
22 #define s_0_7 40
23 0xD5, 0xBE, 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xB6,
24 #define s_0_8 48
25 0xD5, 0xA1, 0xD6, 0x80, 0xD5, 0xA1, 0xD5, 0xB6,
26 #define s_0_9 56
27 0xD5, 0xA1, 0xD5, 0xAF, 0xD5, 0xA1, 0xD5, 0xB6,
28 #define s_0_10 (s_0_11 + 4)
29 #define s_0_11 64
30 0xD5, 0xA5, 0xD6, 0x80, 0xD5, 0xA5, 0xD5, 0xB6,
31 #define s_0_12 72
32 0xD5, 0xA5, 0xD5, 0xAF, 0xD5, 0xA5, 0xD5, 0xB6,
33 #define s_0_13 80
34 0xD5, 0xB8, 0xD6, 0x80, 0xD5, 0xA7, 0xD5, 0xB6,
35 #define s_0_14 (s_0_15 + 2)
36 #define s_0_15 88
37 0xD5, 0xA3, 0xD5, 0xAB, 0xD5, 0xB6,
38 #define s_0_16 94
39 0xD5, 0xB8, 0xD5, 0xBE, 0xD5, 0xAB, 0xD5, 0xB6,
40 #define s_0_17 102
41 0xD5, 0xAC, 0xD5, 0xA1, 0xD5, 0xB5, 0xD5, 0xB6,
42 #define s_0_18 110
43 0xD5, 0xBA, 0xD5, 0xA5, 0xD5, 0xBD,
44 #define s_0_19 116
45 0xD5, 0xAB, 0xD5, 0xBE,
46 #define s_0_20 120
47 0xD5, 0xA1, 0xD5, 0xBF,
48 #define s_0_21 124
49 0xD5, 0xA1, 0xD5, 0xBE, 0xD5, 0xA5, 0xD5, 0xBF,
50 #define s_0_22 132
51 0xD5, 0xAF, 0xD5, 0xB8, 0xD5, 0xBF,
52 #define s_1_0 (s_1_1 + 4)
53 #define s_1_1 138
54 0xD5, 0xA1, 0xD6, 0x81, 0xD5, 0xA1, 0xD6, 0x80,
55 #define s_1_2 146
56 0xD5, 0xA5, 0xD6, 0x81, 0xD5, 0xA1, 0xD6, 0x80,
57 #define s_1_3 154
58 0xD5, 0xA1, 0xD6, 0x81, 0xD6, 0x80, 0xD5, 0xAB, 0xD6, 0x80,
59 #define s_1_4 164
60 0xD5, 0xA1, 0xD6, 0x81, 0xD5, 0xAB, 0xD6, 0x80,
61 #define s_1_5 (s_1_6 + 2)
62 #define s_1_6 172
63 0xD5, 0xBE, 0xD5, 0xA5, 0xD6, 0x81, 0xD5, 0xAB, 0xD6, 0x80,
64 #define s_1_7 182
65 0xD5, 0xA1, 0xD5, 0xAC, 0xD5, 0xB8, 0xD6, 0x82, 0xD6, 0x81,
66 #define s_1_8 192
67 0xD5, 0xA5, 0xD5, 0xAC, 0xD5, 0xB8, 0xD6, 0x82, 0xD6, 0x81,
68 #define s_1_9 s_1_1
69 #define s_1_10 s_1_2
70 #define s_1_11 202
71 0xD5, 0xA1, 0xD6, 0x81, 0xD6, 0x80, 0xD5, 0xA5, 0xD6, 0x81,
72 #define s_1_12 s_1_7
73 #define s_1_13 s_1_8
74 #define s_1_14 (s_1_15 + 2)
75 #define s_1_15 (s_1_16 + 2)
76 #define s_1_16 212
77 0xD5, 0xA1, 0xD6, 0x81, 0xD5, 0xA1, 0xD6, 0x84,
78 #define s_1_17 220
79 0xD5, 0xA1, 0xD6, 0x81, 0xD6, 0x80, 0xD5, 0xAB, 0xD6, 0x84,
80 #define s_1_18 230
81 0xD5, 0xA1, 0xD6, 0x81, 0xD5, 0xAB, 0xD6, 0x84,
82 #define s_1_19 (s_1_20 + 2)
83 #define s_1_20 238
84 0xD5, 0xBE, 0xD5, 0xA5, 0xD6, 0x81, 0xD5, 0xAB, 0xD6, 0x84,
85 #define s_1_21 (s_1_22 + 2)
86 #define s_1_22 (s_1_23 + 2)
87 #define s_1_23 248
88 0xD5, 0xA1, 0xD6, 0x81, 0xD5, 0xA1, 0xD5, 0xB6, 0xD6, 0x84,
89 #define s_1_24 258
90 0xD5, 0xA1, 0xD6, 0x81, 0xD6, 0x80, 0xD5, 0xAB, 0xD5, 0xB6, 0xD6, 0x84,
91 #define s_1_25 270
92 0xD5, 0xA1, 0xD6, 0x81, 0xD5, 0xAB, 0xD5, 0xB6, 0xD6, 0x84,
93 #define s_1_26 (s_1_27 + 2)
94 #define s_1_27 280
95 0xD5, 0xBE, 0xD5, 0xA5, 0xD6, 0x81, 0xD5, 0xAB, 0xD5, 0xB6, 0xD6, 0x84,
96 #define s_1_28 s_1_0
97 #define s_1_29 s_1_1
98 #define s_1_30 s_1_2
99 #define s_1_31 s_1_6
100 #define s_1_32 s_1_3
101 #define s_1_33 s_1_4
102 #define s_1_34 s_1_5
103 #define s_1_35 s_1_6
104 #define s_1_36 s_1_7
105 #define s_1_37 292
106 0xD5, 0xA8, 0xD5, 0xA1, 0xD5, 0xAC,
107 #define s_1_38 298
108 0xD5, 0xA1, 0xD6, 0x81, 0xD5, 0xB6, 0xD5, 0xA1, 0xD5, 0xAC,
109 #define s_1_39 308
110 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xA1, 0xD5, 0xAC,
111 #define s_1_40 316
112 0xD5, 0xA5, 0xD5, 0xB6, 0xD5, 0xA1, 0xD5, 0xAC,
113 #define s_1_41 s_1_8
114 #define s_1_42 324
115 0xD5, 0xA8, 0xD5, 0xA5, 0xD5, 0xAC,
116 #define s_1_43 (s_1_44 + 2)
117 #define s_1_44 (s_1_45 + 2)
118 #define s_1_45 330
119 0xD5, 0xA5, 0xD6, 0x81, 0xD5, 0xB6, 0xD5, 0xA5, 0xD5, 0xAC,
120 #define s_1_46 340
121 0xD5, 0xB9, 0xD5, 0xA5, 0xD5, 0xAC,
122 #define s_1_47 (s_1_48 + 4)
123 #define s_1_48 346
124 0xD5, 0xA1, 0xD6, 0x81, 0xD5, 0xBE, 0xD5, 0xA5, 0xD5, 0xAC,
125 #define s_1_49 356
126 0xD5, 0xA5, 0xD6, 0x81, 0xD5, 0xBE, 0xD5, 0xA5, 0xD5, 0xAC,
127 #define s_1_50 (s_1_51 + 2)
128 #define s_1_51 366
129 0xD5, 0xA1, 0xD5, 0xBF, 0xD5, 0xA5, 0xD5, 0xAC,
130 #define s_1_52 (s_1_53 + 2)
131 #define s_1_53 374
132 0xD5, 0xAF, 0xD5, 0xB8, 0xD5, 0xBF, 0xD5, 0xA5, 0xD5, 0xAC,
133 #define s_1_54 384
134 0xD5, 0xBE, 0xD5, 0xA1, 0xD5, 0xAE,
135 #define s_1_55 (s_1_56 + 2)
136 #define s_1_56 390
137 0xD5, 0xBE, 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xB4,
138 #define s_1_57 s_1_21
139 #define s_1_58 s_1_22
140 #define s_1_59 s_1_23
141 #define s_1_60 s_1_24
142 #define s_1_61 s_1_25
143 #define s_1_62 s_1_26
144 #define s_1_63 s_1_27
145 #define s_1_64 398
146 0xD5, 0xA1, 0xD5, 0xAC, 0xD5, 0xAB, 0xD5, 0xBD,
147 #define s_1_65 406
148 0xD5, 0xA5, 0xD5, 0xAC, 0xD5, 0xAB, 0xD5, 0xBD,
149 #define s_1_66 (s_1_67 + 4)
150 #define s_1_67 414
151 0xD5, 0xA1, 0xD6, 0x81, 0xD5, 0xA1, 0xD5, 0xBE,
152 #define s_1_68 422
153 0xD5, 0xA5, 0xD6, 0x81, 0xD5, 0xA1, 0xD5, 0xBE,
154 #define s_1_69 430
155 0xD5, 0xA1, 0xD5, 0xAC, 0xD5, 0xB8, 0xD5, 0xBE,
156 #define s_1_70 438
157 0xD5, 0xA5, 0xD5, 0xAC, 0xD5, 0xB8, 0xD5, 0xBE,
158 #define s_2_0 446
159 0xD5, 0xA3, 0xD5, 0xA1, 0xD6, 0x80,
160 #define s_2_1 (s_2_2 + 2)
161 #define s_2_2 452
162 0xD5, 0xA1, 0xD5, 0xBE, 0xD5, 0xB8, 0xD6, 0x80,
163 #define s_2_3 460
164 0xD5, 0xA1, 0xD5, 0xB6, 0xD6, 0x85, 0xD6, 0x81,
165 #define s_2_4 468
166 0xD5, 0xB8, 0xD6, 0x81,
167 #define s_2_5 s_2_13
168 #define s_2_6 (s_2_7 + 4)
169 #define s_2_7 472
170 0xD5, 0xA1, 0xD6, 0x80, 0xD6, 0x84,
171 #define s_2_8 478
172 0xD5, 0xB9, 0xD5, 0xA5, 0xD6, 0x84,
173 #define s_2_9 (s_2_10 + 4)
174 #define s_2_10 484
175 0xD5, 0xA1, 0xD5, 0xAC, 0xD5, 0xAB, 0xD6, 0x84,
176 #define s_2_11 492
177 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xAB, 0xD6, 0x84,
178 #define s_2_12 500
179 0xD5, 0xBE, 0xD5, 0xA1, 0xD5, 0xAE, 0xD6, 0x84,
180 #define s_2_13 508
181 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xB5, 0xD6, 0x84,
182 #define s_2_14 (s_2_15 + 2)
183 #define s_2_15 516
184 0xD5, 0xB4, 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xB6, 0xD6, 0x84,
185 #define s_2_16 526
186 0xD5, 0xA5, 0xD5, 0xB6, 0xD6, 0x84,
187 #define s_2_17 532
188 0xD5, 0xB8, 0xD5, 0xB6, 0xD6, 0x84,
189 #define s_2_18 538
190 0xD5, 0xAB, 0xD5, 0xB9, 0xD6, 0x84,
191 #define s_2_19 544
192 0xD5, 0xB8, 0xD6, 0x80, 0xD5, 0xA4,
193 #define s_2_20 550
194 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xB5, 0xD5, 0xA9,
195 #define s_2_21 558
196 0xD6, 0x81, 0xD5, 0xAB,
197 #define s_2_22 562
198 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xB0, 0xD5, 0xAB,
199 #define s_2_23 570
200 0xD5, 0xAB, 0xD5, 0xAC,
201 #define s_2_24 574
202 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xAF,
203 #define s_2_25 (s_2_26 + 2)
204 #define s_2_26 580
205 0xD5, 0xB5, 0xD5, 0xA1, 0xD5, 0xAF,
206 #define s_2_27 586
207 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xA1, 0xD5, 0xAF,
208 #define s_2_28 594
209 0xD5, 0xAB, 0xD5, 0xAF,
210 #define s_2_29 (s_2_30 + 6)
211 #define s_2_30 598
212 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xA9, 0xD5, 0xB5, 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xB6,
213 #define s_2_31 s_2_3
214 #define s_2_32 612
215 0xD5, 0xA1, 0xD6, 0x80, 0xD5, 0xA1, 0xD5, 0xB6,
216 #define s_2_33 620
217 0xD5, 0xBA, 0xD5, 0xA1, 0xD5, 0xB6,
218 #define s_2_34 626
219 0xD5, 0xBD, 0xD5, 0xBF, 0xD5, 0xA1, 0xD5, 0xB6,
220 #define s_2_35 634
221 0xD5, 0xA5, 0xD5, 0xB2, 0xD5, 0xA7, 0xD5, 0xB6,
222 #define s_2_36 642
223 0xD5, 0xA1, 0xD5, 0xAE, 0xD5, 0xB8,
224 #define s_2_37 s_2_18
225 #define s_2_38 s_2_39
226 #define s_2_39 648
227 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xBD, 0xD5, 0xBF,
228 #define s_3_0 (s_3_1 + 2)
229 #define s_3_1 s_3_6
230 #define s_3_2 (s_3_3 + 4)
231 #define s_3_3 656
232 0xD5, 0xB8, 0xD6, 0x82, 0xD6, 0x81,
233 #define s_3_4 (s_3_5 + 4)
234 #define s_3_5 (s_3_6 + 2)
235 #define s_3_6 662
236 0xD5, 0xB6, 0xD5, 0xA5, 0xD6, 0x80, 0xD5, 0xAB, 0xD6, 0x81,
237 #define s_3_7 672
238 0xD6, 0x81, 0xD5, 0xAB, 0xD6, 0x81,
239 #define s_3_8 678
240 0xD5, 0xBE, 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xAB, 0xD6, 0x81,
241 #define s_3_9 688
242 0xD5, 0xB8, 0xD5, 0xBB, 0xD5, 0xAB, 0xD6, 0x81,
243 #define s_3_10 696
244 0xD5, 0xBE, 0xD5, 0xAB, 0xD6, 0x81,
245 #define s_3_11 702
246 0xD5, 0xB8, 0xD6, 0x81,
247 #define s_3_12 706
248 0xD5, 0xBD, 0xD5, 0xA1,
249 #define s_3_13 s_3_8
250 #define s_3_14 710
251 0xD5, 0xA1, 0xD5, 0xB4, 0xD5, 0xA2,
252 #define s_3_15 (s_3_16 + 4)
253 #define s_3_16 (s_3_17 + 2)
254 #define s_3_17 716
255 0xD5, 0xB6, 0xD5, 0xA5, 0xD6, 0x80, 0xD5, 0xA4,
256 #define s_3_18 724
257 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xA4,
258 #define s_3_19 (s_3_20 + 8)
259 #define s_3_20 730
260 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xA9, 0xD5, 0xB5, 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xA4,
261 #define s_3_21 744
262 0xD5, 0xBE, 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xA4,
263 #define s_3_22 752
264 0xD5, 0xB8, 0xD5, 0xBB, 0xD5, 0xA4,
265 #define s_3_23 (s_3_24 + 4)
266 #define s_3_24 (s_3_25 + 2)
267 #define s_3_25 758
268 0xD5, 0xB6, 0xD5, 0xA5, 0xD6, 0x80, 0xD5, 0xA8,
269 #define s_3_26 (s_3_27 + 8)
270 #define s_3_27 766
271 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xA9, 0xD5, 0xB5, 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xA8,
272 #define s_3_28 780
273 0xD5, 0xBE, 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xA8,
274 #define s_3_29 788
275 0xD5, 0xB8, 0xD5, 0xBB, 0xD5, 0xA8,
276 #define s_3_30 s_3_4
277 #define s_3_31 s_3_5
278 #define s_3_32 s_3_6
279 #define s_3_33 s_3_10
280 #define s_3_34 (s_3_35 + 2)
281 #define s_3_35 794
282 0xD5, 0xB6, 0xD5, 0xA5, 0xD6, 0x80, 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xB4,
283 #define s_3_36 806
284 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xB4,
285 #define s_3_37 s_3_1
286 #define s_3_38 (s_3_39 + 2)
287 #define s_3_39 816
288 0xD5, 0xB6, 0xD5, 0xA5, 0xD6, 0x80, 0xD5, 0xB6,
289 #define s_3_40 824
290 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xB6,
291 #define s_3_41 (s_3_8 + 2)
292 #define s_3_42 s_3_20
293 #define s_3_43 s_3_8
294 #define s_3_44 (s_3_45 + 4)
295 #define s_3_45 (s_3_46 + 2)
296 #define s_3_46 830
297 0xD5, 0xB6, 0xD5, 0xA5, 0xD6, 0x80, 0xD5, 0xAB, 0xD5, 0xB6,
298 #define s_3_47 840
299 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xA9, 0xD5, 0xB5, 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xB6,
300 #define s_3_48 s_3_9
301 #define s_3_49 854
302 0xD5, 0xB8, 0xD6, 0x82, 0xD5, 0xA9, 0xD5, 0xB5, 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xBD,
303 #define s_3_50 868
304 0xD5, 0xBE, 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xBD,
305 #define s_3_51 876
306 0xD5, 0xB8, 0xD5, 0xBB, 0xD5, 0xBD,
307 #define s_3_52 (s_3_53 + 4)
308 #define s_3_53 (s_3_54 + 2)
309 #define s_3_54 882
310 0xD5, 0xB6, 0xD5, 0xA5, 0xD6, 0x80, 0xD5, 0xB8, 0xD5, 0xBE,
311 #define s_3_55 892
312 0xD5, 0xA1, 0xD5, 0xB6, 0xD5, 0xB8, 0xD5, 0xBE,
313 #define s_3_56 900
314 0xD5, 0xBE, 0xD5, 0xB8, 0xD5, 0xBE,
315 };
316 
317 
318 static const struct among a_0[23] =
319 {
320 /* 0 */ { 6, s_0_0, -1, 1},
321 /* 1 */ { 8, s_0_1, -1, 1},
322 /* 2 */ { 10, s_0_2, 1, 1},
323 /* 3 */ { 6, s_0_3, -1, 1},
324 /* 4 */ { 6, s_0_4, -1, 1},
325 /* 5 */ { 8, s_0_5, -1, 1},
326 /* 6 */ { 4, s_0_6, -1, 1},
327 /* 7 */ { 8, s_0_7, -1, 1},
328 /* 8 */ { 8, s_0_8, -1, 1},
329 /* 9 */ { 8, s_0_9, -1, 1},
330 /* 10 */ { 4, s_0_10, -1, 1},
331 /* 11 */ { 8, s_0_11, 10, 1},
332 /* 12 */ { 8, s_0_12, 10, 1},
333 /* 13 */ { 8, s_0_13, -1, 1},
334 /* 14 */ { 4, s_0_14, -1, 1},
335 /* 15 */ { 6, s_0_15, 14, 1},
336 /* 16 */ { 8, s_0_16, 14, 1},
337 /* 17 */ { 8, s_0_17, -1, 1},
338 /* 18 */ { 6, s_0_18, -1, 1},
339 /* 19 */ { 4, s_0_19, -1, 1},
340 /* 20 */ { 4, s_0_20, -1, 1},
341 /* 21 */ { 8, s_0_21, -1, 1},
342 /* 22 */ { 6, s_0_22, -1, 1}
343 };
344 
345 
346 static const struct among a_1[71] =
347 {
348 /* 0 */ { 4, s_1_0, -1, 1},
349 /* 1 */ { 8, s_1_1, 0, 1},
350 /* 2 */ { 8, s_1_2, 0, 1},
351 /* 3 */ { 10, s_1_3, -1, 1},
352 /* 4 */ { 8, s_1_4, -1, 1},
353 /* 5 */ { 8, s_1_5, -1, 1},
354 /* 6 */ { 10, s_1_6, 5, 1},
355 /* 7 */ { 10, s_1_7, -1, 1},
356 /* 8 */ { 10, s_1_8, -1, 1},
357 /* 9 */ { 4, s_1_9, -1, 1},
358 /* 10 */ { 4, s_1_10, -1, 1},
359 /* 11 */ { 10, s_1_11, 10, 1},
360 /* 12 */ { 8, s_1_12, -1, 1},
361 /* 13 */ { 8, s_1_13, -1, 1},
362 /* 14 */ { 4, s_1_14, -1, 1},
363 /* 15 */ { 6, s_1_15, 14, 1},
364 /* 16 */ { 8, s_1_16, 15, 1},
365 /* 17 */ { 10, s_1_17, -1, 1},
366 /* 18 */ { 8, s_1_18, -1, 1},
367 /* 19 */ { 8, s_1_19, -1, 1},
368 /* 20 */ { 10, s_1_20, 19, 1},
369 /* 21 */ { 6, s_1_21, -1, 1},
370 /* 22 */ { 8, s_1_22, 21, 1},
371 /* 23 */ { 10, s_1_23, 22, 1},
372 /* 24 */ { 12, s_1_24, -1, 1},
373 /* 25 */ { 10, s_1_25, -1, 1},
374 /* 26 */ { 10, s_1_26, -1, 1},
375 /* 27 */ { 12, s_1_27, 26, 1},
376 /* 28 */ { 2, s_1_28, -1, 1},
377 /* 29 */ { 6, s_1_29, 28, 1},
378 /* 30 */ { 6, s_1_30, 28, 1},
379 /* 31 */ { 4, s_1_31, -1, 1},
380 /* 32 */ { 8, s_1_32, -1, 1},
381 /* 33 */ { 6, s_1_33, -1, 1},
382 /* 34 */ { 6, s_1_34, -1, 1},
383 /* 35 */ { 8, s_1_35, 34, 1},
384 /* 36 */ { 4, s_1_36, -1, 1},
385 /* 37 */ { 6, s_1_37, 36, 1},
386 /* 38 */ { 10, s_1_38, 36, 1},
387 /* 39 */ { 8, s_1_39, 36, 1},
388 /* 40 */ { 8, s_1_40, 36, 1},
389 /* 41 */ { 4, s_1_41, -1, 1},
390 /* 42 */ { 6, s_1_42, 41, 1},
391 /* 43 */ { 6, s_1_43, 41, 1},
392 /* 44 */ { 8, s_1_44, 43, 1},
393 /* 45 */ { 10, s_1_45, 44, 1},
394 /* 46 */ { 6, s_1_46, 41, 1},
395 /* 47 */ { 6, s_1_47, 41, 1},
396 /* 48 */ { 10, s_1_48, 47, 1},
397 /* 49 */ { 10, s_1_49, 47, 1},
398 /* 50 */ { 6, s_1_50, 41, 1},
399 /* 51 */ { 8, s_1_51, 50, 1},
400 /* 52 */ { 8, s_1_52, 50, 1},
401 /* 53 */ { 10, s_1_53, 52, 1},
402 /* 54 */ { 6, s_1_54, -1, 1},
403 /* 55 */ { 6, s_1_55, -1, 1},
404 /* 56 */ { 8, s_1_56, 55, 1},
405 /* 57 */ { 4, s_1_57, -1, 1},
406 /* 58 */ { 6, s_1_58, 57, 1},
407 /* 59 */ { 8, s_1_59, 58, 1},
408 /* 60 */ { 10, s_1_60, -1, 1},
409 /* 61 */ { 8, s_1_61, -1, 1},
410 /* 62 */ { 8, s_1_62, -1, 1},
411 /* 63 */ { 10, s_1_63, 62, 1},
412 /* 64 */ { 8, s_1_64, -1, 1},
413 /* 65 */ { 8, s_1_65, -1, 1},
414 /* 66 */ { 4, s_1_66, -1, 1},
415 /* 67 */ { 8, s_1_67, 66, 1},
416 /* 68 */ { 8, s_1_68, 66, 1},
417 /* 69 */ { 8, s_1_69, -1, 1},
418 /* 70 */ { 8, s_1_70, -1, 1}
419 };
420 
421 
422 static const struct among a_2[40] =
423 {
424 /* 0 */ { 6, s_2_0, -1, 1},
425 /* 1 */ { 6, s_2_1, -1, 1},
426 /* 2 */ { 8, s_2_2, 1, 1},
427 /* 3 */ { 8, s_2_3, -1, 1},
428 /* 4 */ { 4, s_2_4, -1, 1},
429 /* 5 */ { 4, s_2_5, -1, 1},
430 /* 6 */ { 2, s_2_6, -1, 1},
431 /* 7 */ { 6, s_2_7, 6, 1},
432 /* 8 */ { 6, s_2_8, 6, 1},
433 /* 9 */ { 4, s_2_9, 6, 1},
434 /* 10 */ { 8, s_2_10, 9, 1},
435 /* 11 */ { 8, s_2_11, 9, 1},
436 /* 12 */ { 8, s_2_12, 6, 1},
437 /* 13 */ { 8, s_2_13, 6, 1},
438 /* 14 */ { 8, s_2_14, 6, 1},
439 /* 15 */ { 10, s_2_15, 14, 1},
440 /* 16 */ { 6, s_2_16, 6, 1},
441 /* 17 */ { 6, s_2_17, 6, 1},
442 /* 18 */ { 6, s_2_18, 6, 1},
443 /* 19 */ { 6, s_2_19, -1, 1},
444 /* 20 */ { 8, s_2_20, -1, 1},
445 /* 21 */ { 4, s_2_21, -1, 1},
446 /* 22 */ { 8, s_2_22, -1, 1},
447 /* 23 */ { 4, s_2_23, -1, 1},
448 /* 24 */ { 6, s_2_24, -1, 1},
449 /* 25 */ { 4, s_2_25, -1, 1},
450 /* 26 */ { 6, s_2_26, 25, 1},
451 /* 27 */ { 8, s_2_27, 25, 1},
452 /* 28 */ { 4, s_2_28, -1, 1},
453 /* 29 */ { 8, s_2_29, -1, 1},
454 /* 30 */ { 14, s_2_30, 29, 1},
455 /* 31 */ { 4, s_2_31, -1, 1},
456 /* 32 */ { 8, s_2_32, 31, 1},
457 /* 33 */ { 6, s_2_33, 31, 1},
458 /* 34 */ { 8, s_2_34, 31, 1},
459 /* 35 */ { 8, s_2_35, -1, 1},
460 /* 36 */ { 6, s_2_36, -1, 1},
461 /* 37 */ { 4, s_2_37, -1, 1},
462 /* 38 */ { 6, s_2_38, -1, 1},
463 /* 39 */ { 8, s_2_39, -1, 1}
464 };
465 
466 
467 static const struct among a_3[57] =
468 {
469 /* 0 */ { 4, s_3_0, -1, 1},
470 /* 1 */ { 6, s_3_1, 0, 1},
471 /* 2 */ { 2, s_3_2, -1, 1},
472 /* 3 */ { 6, s_3_3, 2, 1},
473 /* 4 */ { 4, s_3_4, 2, 1},
474 /* 5 */ { 8, s_3_5, 4, 1},
475 /* 6 */ { 10, s_3_6, 5, 1},
476 /* 7 */ { 6, s_3_7, 4, 1},
477 /* 8 */ { 10, s_3_8, 4, 1},
478 /* 9 */ { 8, s_3_9, 4, 1},
479 /* 10 */ { 6, s_3_10, 4, 1},
480 /* 11 */ { 4, s_3_11, 2, 1},
481 /* 12 */ { 4, s_3_12, -1, 1},
482 /* 13 */ { 4, s_3_13, -1, 1},
483 /* 14 */ { 6, s_3_14, -1, 1},
484 /* 15 */ { 2, s_3_15, -1, 1},
485 /* 16 */ { 6, s_3_16, 15, 1},
486 /* 17 */ { 8, s_3_17, 16, 1},
487 /* 18 */ { 6, s_3_18, 15, 1},
488 /* 19 */ { 6, s_3_19, 15, 1},
489 /* 20 */ { 14, s_3_20, 19, 1},
490 /* 21 */ { 8, s_3_21, 19, 1},
491 /* 22 */ { 6, s_3_22, 15, 1},
492 /* 23 */ { 2, s_3_23, -1, 1},
493 /* 24 */ { 6, s_3_24, 23, 1},
494 /* 25 */ { 8, s_3_25, 24, 1},
495 /* 26 */ { 6, s_3_26, 23, 1},
496 /* 27 */ { 14, s_3_27, 26, 1},
497 /* 28 */ { 8, s_3_28, 26, 1},
498 /* 29 */ { 6, s_3_29, 23, 1},
499 /* 30 */ { 2, s_3_30, -1, 1},
500 /* 31 */ { 6, s_3_31, 30, 1},
501 /* 32 */ { 8, s_3_32, 31, 1},
502 /* 33 */ { 4, s_3_33, 30, 1},
503 /* 34 */ { 10, s_3_34, -1, 1},
504 /* 35 */ { 12, s_3_35, 34, 1},
505 /* 36 */ { 10, s_3_36, -1, 1},
506 /* 37 */ { 2, s_3_37, -1, 1},
507 /* 38 */ { 6, s_3_38, 37, 1},
508 /* 39 */ { 8, s_3_39, 38, 1},
509 /* 40 */ { 6, s_3_40, 37, 1},
510 /* 41 */ { 4, s_3_41, 37, 1},
511 /* 42 */ { 12, s_3_42, 41, 1},
512 /* 43 */ { 6, s_3_43, 41, 1},
513 /* 44 */ { 4, s_3_44, 37, 1},
514 /* 45 */ { 8, s_3_45, 44, 1},
515 /* 46 */ { 10, s_3_46, 45, 1},
516 /* 47 */ { 14, s_3_47, 37, 1},
517 /* 48 */ { 4, s_3_48, -1, 1},
518 /* 49 */ { 14, s_3_49, -1, 1},
519 /* 50 */ { 8, s_3_50, -1, 1},
520 /* 51 */ { 6, s_3_51, -1, 1},
521 /* 52 */ { 4, s_3_52, -1, 1},
522 /* 53 */ { 8, s_3_53, 52, 1},
523 /* 54 */ { 10, s_3_54, 53, 1},
524 /* 55 */ { 8, s_3_55, 52, 1},
525 /* 56 */ { 6, s_3_56, 52, 1}
526 };
527 
528 static const unsigned char g_v[] = { 209, 4, 128, 0, 18 };
529 
530 
532  I_pV = l;
533  I_p2 = l;
534  { int c1 = c;
535  {
536  int ret = out_grouping_U(g_v, 1377, 1413, 1);
537  if (ret < 0) goto lab0;
538  c += ret;
539  }
540  I_pV = c;
541  {
542  int ret = in_grouping_U(g_v, 1377, 1413, 1);
543  if (ret < 0) goto lab0;
544  c += ret;
545  }
546  {
547  int ret = out_grouping_U(g_v, 1377, 1413, 1);
548  if (ret < 0) goto lab0;
549  c += ret;
550  }
551  {
552  int ret = in_grouping_U(g_v, 1377, 1413, 1);
553  if (ret < 0) goto lab0;
554  c += ret;
555  }
556  I_p2 = c;
557  lab0:
558  c = c1;
559  }
560  return 1;
561 }
562 
564  if (!(I_p2 <= c)) return 0;
565  return 1;
566 }
567 
569  ket = c;
570  if (!(find_among_b(s_pool, a_0, 23, 0, 0))) return 0;
571  bra = c;
572  { int ret = slice_del();
573  if (ret < 0) return ret;
574  }
575  return 1;
576 }
577 
579  ket = c;
580  if (!(find_among_b(s_pool, a_1, 71, 0, 0))) return 0;
581  bra = c;
582  { int ret = slice_del();
583  if (ret < 0) return ret;
584  }
585  return 1;
586 }
587 
589  ket = c;
590  if (!(find_among_b(s_pool, a_2, 40, 0, 0))) return 0;
591  bra = c;
592  { int ret = slice_del();
593  if (ret < 0) return ret;
594  }
595  return 1;
596 }
597 
599  ket = c;
600  if (!(find_among_b(s_pool, a_3, 57, 0, 0))) return 0;
601  bra = c;
602  { int ret = r_R2();
603  if (ret <= 0) return ret;
604  }
605  { int ret = slice_del();
606  if (ret < 0) return ret;
607  }
608  return 1;
609 }
610 
612 
613  { int ret = r_mark_regions();
614  if (ret < 0) return ret;
615  }
616  lb = c; c = l;
617 
618 
619  { int mlimit1;
620  if (c < I_pV) return 0;
621  mlimit1 = lb; lb = I_pV;
622  { int m2 = l - c; (void)m2;
623  { int ret = r_ending();
624  if (ret < 0) return ret;
625  }
626  c = l - m2;
627  }
628  { int m3 = l - c; (void)m3;
629  { int ret = r_verb();
630  if (ret < 0) return ret;
631  }
632  c = l - m3;
633  }
634  { int m4 = l - c; (void)m4;
635  { int ret = r_adjective();
636  if (ret < 0) return ret;
637  }
638  c = l - m4;
639  }
640  { int m5 = l - c; (void)m5;
641  { int ret = r_noun();
642  if (ret < 0) return ret;
643  }
644  c = l - m5;
645  }
646  lb = mlimit1;
647  }
648  c = lb;
649  return 1;
650 }
651 
653  : I_p2(0), I_pV(0)
654 {
655 }
656 
658 {
659 }
660 
661 std::string
663 {
664  return "armenian";
665 }
#define s_2_35
#define s_1_68
#define s_1_50
static const struct among a_3[57]
Definition: armenian.cc:467
#define s_1_7
#define s_0_17
#define s_1_15
#define s_3_12
#define s_1_30
#define s_1_37
#define s_2_13
#define s_3_51
#define s_1_24
#define s_1_38
#define s_1_4
#define s_3_49
#define s_1_28
#define s_3_7
#define s_1_48
int find_among_b(const symbol *pool, const struct among *v, int v_size, const unsigned char *fnum, const among_function *f)
#define s_3_45
#define s_3_31
#define s_1_59
#define s_1_40
#define s_2_12
#define s_0_18
static const struct among a_0[23]
Definition: armenian.cc:318
int stem()
Virtual method implemented by the subclass to actually do the work.
Definition: armenian.cc:611
#define s_2_26
#define s_1_46
#define s_3_0
#define s_2_0
#define s_0_16
#define s_2_31
#define s_0_13
#define s_1_34
#define s_1_51
static const symbol s_pool[]
Definition: armenian.cc:8
#define s_3_38
#define s_3_4
#define s_1_16
#define s_2_32
#define s_1_6
#define s_3_29
#define s_2_39
#define s_1_55
#define s_1_2
#define s_0_11
#define s_1_31
#define s_3_15
#define s_3_1
#define s_1_19
#define s_3_9
#define s_1_10
#define s_1_29
#define s_1_23
#define s_3_13
#define s_3_48
#define s_1_63
#define s_1_64
#define s_2_10
#define s_1_44
#define s_2_1
#define s_1_53
#define s_2_29
#define s_3_16
#define s_1_54
#define s_1_21
#define s_0_19
#define s_0_14
#define s_3_56
#define s_1_17
#define s_3_37
#define s_3_17
#define s_3_32
#define s_2_24
#define s_2_3
#define s_1_25
#define s_2_23
#define s_2_20
#define s_2_7
#define s_2_16
#define s_2_22
#define s_1_66
#define s_1_9
#define s_3_24
#define s_0_2
#define s_3_33
#define s_0_12
#define s_2_25
static const unsigned char g_v[]
Definition: armenian.cc:528
#define s_0_6
#define s_3_10
#define s_1_22
#define s_3_25
#define s_1_70
#define s_2_4
#define s_1_5
#define s_1_35
#define s_1_62
#define s_3_34
#define s_3_6
#define s_1_27
#define s_2_21
#define s_2_11
#define s_2_18
#define s_3_21
#define s_1_69
#define s_2_14
#define s_3_20
#define s_2_6
unsigned short symbol
Definition: header.h:6
#define s_0_15
#define s_3_47
#define s_3_19
#define s_2_27
#define s_0_20
#define s_1_0
#define s_2_38
#define s_3_50
#define s_3_44
static const struct among a_2[40]
Definition: armenian.cc:422
#define s_3_11
#define s_1_57
#define s_1_11
#define s_1_14
Definition: header.h:191
#define s_1_33
#define s_2_9
#define s_1_42
#define s_1_65
#define s_3_52
#define s_1_20
#define s_1_47
#define s_3_26
#define s_0_7
#define s_0_8
#define s_1_13
#define s_1_12
#define s_3_28
#define s_3_41
#define s_1_45
#define s_2_19
#define s_2_2
#define s_0_1
#define s_3_18
#define s_0_5
#define s_1_36
#define s_3_36
#define s_1_52
#define s_0_9
#define s_2_33
#define s_2_36
#define s_3_55
#define s_3_35
#define s_3_8
#define s_3_14
static const struct among a_1[71]
Definition: armenian.cc:346
#define s_1_18
#define s_1_56
#define s_1_1
#define s_2_30
#define s_0_22
#define s_1_26
#define s_3_22
#define s_1_67
#define s_3_53
#define s_1_3
int out_grouping_U(const unsigned char *s, int min, int max, int repeat)
#define s_1_43
#define s_3_43
#define s_1_41
#define s_2_37
#define s_3_39
#define s_2_8
#define s_2_15
#define s_2_5
#define s_0_4
#define s_1_61
#define s_3_40
#define s_3_42
std::string get_description() const
Return a string describing this object.
Definition: armenian.cc:662
#define s_1_58
#define s_3_3
#define s_1_49
#define s_3_5
#define s_3_30
#define s_3_2
#define s_2_28
#define s_1_32
#define s_0_21
#define s_0_3
#define s_1_60
#define s_0_10
#define s_0_0
#define s_3_54
#define s_2_17
#define s_3_27
int in_grouping_U(const unsigned char *s, int min, int max, int repeat)
#define s_1_8
#define s_1_39
#define s_2_34
#define s_3_46
#define s_3_23