1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
|
/* This file was generated automatically by the Snowball to ANSI C compiler */
#include "header.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int french_UTF_8_stem(struct SN_env * z);
#ifdef __cplusplus
}
#endif
static int r_un_accent(struct SN_env * z);
static int r_un_double(struct SN_env * z);
static int r_residual_suffix(struct SN_env * z);
static int r_verb_suffix(struct SN_env * z);
static int r_i_verb_suffix(struct SN_env * z);
static int r_standard_suffix(struct SN_env * z);
static int r_R2(struct SN_env * z);
static int r_R1(struct SN_env * z);
static int r_RV(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);
#ifdef __cplusplus
extern "C" {
#endif
extern struct SN_env * french_UTF_8_create_env(void);
extern void french_UTF_8_close_env(struct SN_env * z);
#ifdef __cplusplus
}
#endif
static const symbol s_0_0[3] = { 'c', 'o', 'l' };
static const symbol s_0_1[3] = { 'p', 'a', 'r' };
static const symbol s_0_2[3] = { 't', 'a', 'p' };
static const struct among a_0[3] =
{
/* 0 */ { 3, s_0_0, -1, -1, 0},
/* 1 */ { 3, s_0_1, -1, -1, 0},
/* 2 */ { 3, s_0_2, -1, -1, 0}
};
static const symbol s_1_1[1] = { 'I' };
static const symbol s_1_2[1] = { 'U' };
static const symbol s_1_3[1] = { 'Y' };
static const struct among a_1[4] =
{
/* 0 */ { 0, 0, -1, 4, 0},
/* 1 */ { 1, s_1_1, 0, 1, 0},
/* 2 */ { 1, s_1_2, 0, 2, 0},
/* 3 */ { 1, s_1_3, 0, 3, 0}
};
static const symbol s_2_0[3] = { 'i', 'q', 'U' };
static const symbol s_2_1[3] = { 'a', 'b', 'l' };
static const symbol s_2_2[4] = { 'I', 0xC3, 0xA8, 'r' };
static const symbol s_2_3[4] = { 'i', 0xC3, 0xA8, 'r' };
static const symbol s_2_4[3] = { 'e', 'u', 's' };
static const symbol s_2_5[2] = { 'i', 'v' };
static const struct among a_2[6] =
{
/* 0 */ { 3, s_2_0, -1, 3, 0},
/* 1 */ { 3, s_2_1, -1, 3, 0},
/* 2 */ { 4, s_2_2, -1, 4, 0},
/* 3 */ { 4, s_2_3, -1, 4, 0},
/* 4 */ { 3, s_2_4, -1, 2, 0},
/* 5 */ { 2, s_2_5, -1, 1, 0}
};
static const symbol s_3_0[2] = { 'i', 'c' };
static const symbol s_3_1[4] = { 'a', 'b', 'i', 'l' };
static const symbol s_3_2[2] = { 'i', 'v' };
static const struct among a_3[3] =
{
/* 0 */ { 2, s_3_0, -1, 2, 0},
/* 1 */ { 4, s_3_1, -1, 1, 0},
/* 2 */ { 2, s_3_2, -1, 3, 0}
};
static const symbol s_4_0[4] = { 'i', 'q', 'U', 'e' };
static const symbol s_4_1[6] = { 'a', 't', 'r', 'i', 'c', 'e' };
static const symbol s_4_2[4] = { 'a', 'n', 'c', 'e' };
static const symbol s_4_3[4] = { 'e', 'n', 'c', 'e' };
static const symbol s_4_4[5] = { 'l', 'o', 'g', 'i', 'e' };
static const symbol s_4_5[4] = { 'a', 'b', 'l', 'e' };
static const symbol s_4_6[4] = { 'i', 's', 'm', 'e' };
static const symbol s_4_7[4] = { 'e', 'u', 's', 'e' };
static const symbol s_4_8[4] = { 'i', 's', 't', 'e' };
static const symbol s_4_9[3] = { 'i', 'v', 'e' };
static const symbol s_4_10[2] = { 'i', 'f' };
static const symbol s_4_11[5] = { 'u', 's', 'i', 'o', 'n' };
static const symbol s_4_12[5] = { 'a', 't', 'i', 'o', 'n' };
static const symbol s_4_13[5] = { 'u', 't', 'i', 'o', 'n' };
static const symbol s_4_14[5] = { 'a', 't', 'e', 'u', 'r' };
static const symbol s_4_15[5] = { 'i', 'q', 'U', 'e', 's' };
static const symbol s_4_16[7] = { 'a', 't', 'r', 'i', 'c', 'e', 's' };
static const symbol s_4_17[5] = { 'a', 'n', 'c', 'e', 's' };
static const symbol s_4_18[5] = { 'e', 'n', 'c', 'e', 's' };
static const symbol s_4_19[6] = { 'l', 'o', 'g', 'i', 'e', 's' };
static const symbol s_4_20[5] = { 'a', 'b', 'l', 'e', 's' };
static const symbol s_4_21[5] = { 'i', 's', 'm', 'e', 's' };
static const symbol s_4_22[5] = { 'e', 'u', 's', 'e', 's' };
static const symbol s_4_23[5] = { 'i', 's', 't', 'e', 's' };
static const symbol s_4_24[4] = { 'i', 'v', 'e', 's' };
static const symbol s_4_25[3] = { 'i', 'f', 's' };
static const symbol s_4_26[6] = { 'u', 's', 'i', 'o', 'n', 's' };
static const symbol s_4_27[6] = { 'a', 't', 'i', 'o', 'n', 's' };
static const symbol s_4_28[6] = { 'u', 't', 'i', 'o', 'n', 's' };
static const symbol s_4_29[6] = { 'a', 't', 'e', 'u', 'r', 's' };
static const symbol s_4_30[5] = { 'm', 'e', 'n', 't', 's' };
static const symbol s_4_31[6] = { 'e', 'm', 'e', 'n', 't', 's' };
static const symbol s_4_32[9] = { 'i', 's', 's', 'e', 'm', 'e', 'n', 't', 's' };
static const symbol s_4_33[5] = { 'i', 't', 0xC3, 0xA9, 's' };
static const symbol s_4_34[4] = { 'm', 'e', 'n', 't' };
static const symbol s_4_35[5] = { 'e', 'm', 'e', 'n', 't' };
static const symbol s_4_36[8] = { 'i', 's', 's', 'e', 'm', 'e', 'n', 't' };
static const symbol s_4_37[6] = { 'a', 'm', 'm', 'e', 'n', 't' };
static const symbol s_4_38[6] = { 'e', 'm', 'm', 'e', 'n', 't' };
static const symbol s_4_39[3] = { 'a', 'u', 'x' };
static const symbol s_4_40[4] = { 'e', 'a', 'u', 'x' };
static const symbol s_4_41[3] = { 'e', 'u', 'x' };
static const symbol s_4_42[4] = { 'i', 't', 0xC3, 0xA9 };
static const struct among a_4[43] =
{
/* 0 */ { 4, s_4_0, -1, 1, 0},
/* 1 */ { 6, s_4_1, -1, 2, 0},
/* 2 */ { 4, s_4_2, -1, 1, 0},
/* 3 */ { 4, s_4_3, -1, 5, 0},
/* 4 */ { 5, s_4_4, -1, 3, 0},
/* 5 */ { 4, s_4_5, -1, 1, 0},
/* 6 */ { 4, s_4_6, -1, 1, 0},
/* 7 */ { 4, s_4_7, -1, 11, 0},
/* 8 */ { 4, s_4_8, -1, 1, 0},
/* 9 */ { 3, s_4_9, -1, 8, 0},
/* 10 */ { 2, s_4_10, -1, 8, 0},
/* 11 */ { 5, s_4_11, -1, 4, 0},
/* 12 */ { 5, s_4_12, -1, 2, 0},
/* 13 */ { 5, s_4_13, -1, 4, 0},
/* 14 */ { 5, s_4_14, -1, 2, 0},
/* 15 */ { 5, s_4_15, -1, 1, 0},
/* 16 */ { 7, s_4_16, -1, 2, 0},
/* 17 */ { 5, s_4_17, -1, 1, 0},
/* 18 */ { 5, s_4_18, -1, 5, 0},
/* 19 */ { 6, s_4_19, -1, 3, 0},
/* 20 */ { 5, s_4_20, -1, 1, 0},
/* 21 */ { 5, s_4_21, -1, 1, 0},
/* 22 */ { 5, s_4_22, -1, 11, 0},
/* 23 */ { 5, s_4_23, -1, 1, 0},
/* 24 */ { 4, s_4_24, -1, 8, 0},
/* 25 */ { 3, s_4_25, -1, 8, 0},
/* 26 */ { 6, s_4_26, -1, 4, 0},
/* 27 */ { 6, s_4_27, -1, 2, 0},
/* 28 */ { 6, s_4_28, -1, 4, 0},
/* 29 */ { 6, s_4_29, -1, 2, 0},
/* 30 */ { 5, s_4_30, -1, 15, 0},
/* 31 */ { 6, s_4_31, 30, 6, 0},
/* 32 */ { 9, s_4_32, 31, 12, 0},
/* 33 */ { 5, s_4_33, -1, 7, 0},
/* 34 */ { 4, s_4_34, -1, 15, 0},
/* 35 */ { 5, s_4_35, 34, 6, 0},
/* 36 */ { 8, s_4_36, 35, 12, 0},
/* 37 */ { 6, s_4_37, 34, 13, 0},
/* 38 */ { 6, s_4_38, 34, 14, 0},
/* 39 */ { 3, s_4_39, -1, 10, 0},
/* 40 */ { 4, s_4_40, 39, 9, 0},
/* 41 */ { 3, s_4_41, -1, 1, 0},
/* 42 */ { 4, s_4_42, -1, 7, 0}
};
static const symbol s_5_0[3] = { 'i', 'r', 'a' };
static const symbol s_5_1[2] = { 'i', 'e' };
static const symbol s_5_2[4] = { 'i', 's', 's', 'e' };
static const symbol s_5_3[7] = { 'i', 's', 's', 'a', 'n', 't', 'e' };
static const symbol s_5_4[1] = { 'i' };
static const symbol s_5_5[4] = { 'i', 'r', 'a', 'i' };
static const symbol s_5_6[2] = { 'i', 'r' };
static const symbol s_5_7[4] = { 'i', 'r', 'a', 's' };
static const symbol s_5_8[3] = { 'i', 'e', 's' };
static const symbol s_5_9[5] = { 0xC3, 0xAE, 'm', 'e', 's' };
static const symbol s_5_10[5] = { 'i', 's', 's', 'e', 's' };
static const symbol s_5_11[8] = { 'i', 's', 's', 'a', 'n', 't', 'e', 's' };
static const symbol s_5_12[5] = { 0xC3, 0xAE, 't', 'e', 's' };
static const symbol s_5_13[2] = { 'i', 's' };
static const symbol s_5_14[5] = { 'i', 'r', 'a', 'i', 's' };
static const symbol s_5_15[6] = { 'i', 's', 's', 'a', 'i', 's' };
static const symbol s_5_16[6] = { 'i', 'r', 'i', 'o', 'n', 's' };
static const symbol s_5_17[7] = { 'i', 's', 's', 'i', 'o', 'n', 's' };
static const symbol s_5_18[5] = { 'i', 'r', 'o', 'n', 's' };
static const symbol s_5_19[6] = { 'i', 's', 's', 'o', 'n', 's' };
static const symbol s_5_20[7] = { 'i', 's', 's', 'a', 'n', 't', 's' };
static const symbol s_5_21[2] = { 'i', 't' };
static const symbol s_5_22[5] = { 'i', 'r', 'a', 'i', 't' };
static const symbol s_5_23[6] = { 'i', 's', 's', 'a', 'i', 't' };
static const symbol s_5_24[6] = { 'i', 's', 's', 'a', 'n', 't' };
static const symbol s_5_25[7] = { 'i', 'r', 'a', 'I', 'e', 'n', 't' };
static const symbol s_5_26[8] = { 'i', 's', 's', 'a', 'I', 'e', 'n', 't' };
static const symbol s_5_27[5] = { 'i', 'r', 'e', 'n', 't' };
static const symbol s_5_28[6] = { 'i', 's', 's', 'e', 'n', 't' };
static const symbol s_5_29[5] = { 'i', 'r', 'o', 'n', 't' };
static const symbol s_5_30[3] = { 0xC3, 0xAE, 't' };
static const symbol s_5_31[5] = { 'i', 'r', 'i', 'e', 'z' };
static const symbol s_5_32[6] = { 'i', 's', 's', 'i', 'e', 'z' };
static const symbol s_5_33[4] = { 'i', 'r', 'e', 'z' };
static const symbol s_5_34[5] = { 'i', 's', 's', 'e', 'z' };
static const struct among a_5[35] =
{
/* 0 */ { 3, s_5_0, -1, 1, 0},
/* 1 */ { 2, s_5_1, -1, 1, 0},
/* 2 */ { 4, s_5_2, -1, 1, 0},
/* 3 */ { 7, s_5_3, -1, 1, 0},
/* 4 */ { 1, s_5_4, -1, 1, 0},
/* 5 */ { 4, s_5_5, 4, 1, 0},
/* 6 */ { 2, s_5_6, -1, 1, 0},
/* 7 */ { 4, s_5_7, -1, 1, 0},
/* 8 */ { 3, s_5_8, -1, 1, 0},
/* 9 */ { 5, s_5_9, -1, 1, 0},
/* 10 */ { 5, s_5_10, -1, 1, 0},
/* 11 */ { 8, s_5_11, -1, 1, 0},
/* 12 */ { 5, s_5_12, -1, 1, 0},
/* 13 */ { 2, s_5_13, -1, 1, 0},
/* 14 */ { 5, s_5_14, 13, 1, 0},
/* 15 */ { 6, s_5_15, 13, 1, 0},
/* 16 */ { 6, s_5_16, -1, 1, 0},
/* 17 */ { 7, s_5_17, -1, 1, 0},
/* 18 */ { 5, s_5_18, -1, 1, 0},
/* 19 */ { 6, s_5_19, -1, 1, 0},
/* 20 */ { 7, s_5_20, -1, 1, 0},
/* 21 */ { 2, s_5_21, -1, 1, 0},
/* 22 */ { 5, s_5_22, 21, 1, 0},
/* 23 */ { 6, s_5_23, 21, 1, 0},
/* 24 */ { 6, s_5_24, -1, 1, 0},
/* 25 */ { 7, s_5_25, -1, 1, 0},
/* 26 */ { 8, s_5_26, -1, 1, 0},
/* 27 */ { 5, s_5_27, -1, 1, 0},
/* 28 */ { 6, s_5_28, -1, 1, 0},
/* 29 */ { 5, s_5_29, -1, 1, 0},
/* 30 */ { 3, s_5_30, -1, 1, 0},
/* 31 */ { 5, s_5_31, -1, 1, 0},
/* 32 */ { 6, s_5_32, -1, 1, 0},
/* 33 */ { 4, s_5_33, -1, 1, 0},
/* 34 */ { 5, s_5_34, -1, 1, 0}
};
static const symbol s_6_0[1] = { 'a' };
static const symbol s_6_1[3] = { 'e', 'r', 'a' };
static const symbol s_6_2[4] = { 'a', 's', 's', 'e' };
static const symbol s_6_3[4] = { 'a', 'n', 't', 'e' };
static const symbol s_6_4[3] = { 0xC3, 0xA9, 'e' };
static const symbol s_6_5[2] = { 'a', 'i' };
static const symbol s_6_6[4] = { 'e', 'r', 'a', 'i' };
static const symbol s_6_7[2] = { 'e', 'r' };
static const symbol s_6_8[2] = { 'a', 's' };
static const symbol s_6_9[4] = { 'e', 'r', 'a', 's' };
static const symbol s_6_10[5] = { 0xC3, 0xA2, 'm', 'e', 's' };
static const symbol s_6_11[5] = { 'a', 's', 's', 'e', 's' };
static const symbol s_6_12[5] = { 'a', 'n', 't', 'e', 's' };
static const symbol s_6_13[5] = { 0xC3, 0xA2, 't', 'e', 's' };
static const symbol s_6_14[4] = { 0xC3, 0xA9, 'e', 's' };
static const symbol s_6_15[3] = { 'a', 'i', 's' };
static const symbol s_6_16[5] = { 'e', 'r', 'a', 'i', 's' };
static const symbol s_6_17[4] = { 'i', 'o', 'n', 's' };
static const symbol s_6_18[6] = { 'e', 'r', 'i', 'o', 'n', 's' };
static const symbol s_6_19[7] = { 'a', 's', 's', 'i', 'o', 'n', 's' };
static const symbol s_6_20[5] = { 'e', 'r', 'o', 'n', 's' };
static const symbol s_6_21[4] = { 'a', 'n', 't', 's' };
static const symbol s_6_22[3] = { 0xC3, 0xA9, 's' };
static const symbol s_6_23[3] = { 'a', 'i', 't' };
static const symbol s_6_24[5] = { 'e', 'r', 'a', 'i', 't' };
static const symbol s_6_25[3] = { 'a', 'n', 't' };
static const symbol s_6_26[5] = { 'a', 'I', 'e', 'n', 't' };
static const symbol s_6_27[7] = { 'e', 'r', 'a', 'I', 'e', 'n', 't' };
static const symbol s_6_28[6] = { 0xC3, 0xA8, 'r', 'e', 'n', 't' };
static const symbol s_6_29[6] = { 'a', 's', 's', 'e', 'n', 't' };
static const symbol s_6_30[5] = { 'e', 'r', 'o', 'n', 't' };
static const symbol s_6_31[3] = { 0xC3, 0xA2, 't' };
static const symbol s_6_32[2] = { 'e', 'z' };
static const symbol s_6_33[3] = { 'i', 'e', 'z' };
static const symbol s_6_34[5] = { 'e', 'r', 'i', 'e', 'z' };
static const symbol s_6_35[6] = { 'a', 's', 's', 'i', 'e', 'z' };
static const symbol s_6_36[4] = { 'e', 'r', 'e', 'z' };
static const symbol s_6_37[2] = { 0xC3, 0xA9 };
static const struct among a_6[38] =
{
/* 0 */ { 1, s_6_0, -1, 3, 0},
/* 1 */ { 3, s_6_1, 0, 2, 0},
/* 2 */ { 4, s_6_2, -1, 3, 0},
/* 3 */ { 4, s_6_3, -1, 3, 0},
/* 4 */ { 3, s_6_4, -1, 2, 0},
/* 5 */ { 2, s_6_5, -1, 3, 0},
/* 6 */ { 4, s_6_6, 5, 2, 0},
/* 7 */ { 2, s_6_7, -1, 2, 0},
/* 8 */ { 2, s_6_8, -1, 3, 0},
/* 9 */ { 4, s_6_9, 8, 2, 0},
/* 10 */ { 5, s_6_10, -1, 3, 0},
/* 11 */ { 5, s_6_11, -1, 3, 0},
/* 12 */ { 5, s_6_12, -1, 3, 0},
/* 13 */ { 5, s_6_13, -1, 3, 0},
/* 14 */ { 4, s_6_14, -1, 2, 0},
/* 15 */ { 3, s_6_15, -1, 3, 0},
/* 16 */ { 5, s_6_16, 15, 2, 0},
/* 17 */ { 4, s_6_17, -1, 1, 0},
/* 18 */ { 6, s_6_18, 17, 2, 0},
/* 19 */ { 7, s_6_19, 17, 3, 0},
/* 20 */ { 5, s_6_20, -1, 2, 0},
/* 21 */ { 4, s_6_21, -1, 3, 0},
/* 22 */ { 3, s_6_22, -1, 2, 0},
/* 23 */ { 3, s_6_23, -1, 3, 0},
/* 24 */ { 5, s_6_24, 23, 2, 0},
/* 25 */ { 3, s_6_25, -1, 3, 0},
/* 26 */ { 5, s_6_26, -1, 3, 0},
/* 27 */ { 7, s_6_27, 26, 2, 0},
/* 28 */ { 6, s_6_28, -1, 2, 0},
/* 29 */ { 6, s_6_29, -1, 3, 0},
/* 30 */ { 5, s_6_30, -1, 2, 0},
/* 31 */ { 3, s_6_31, -1, 3, 0},
/* 32 */ { 2, s_6_32, -1, 2, 0},
/* 33 */ { 3, s_6_33, 32, 2, 0},
/* 34 */ { 5, s_6_34, 33, 2, 0},
/* 35 */ { 6, s_6_35, 33, 3, 0},
/* 36 */ { 4, s_6_36, 32, 2, 0},
/* 37 */ { 2, s_6_37, -1, 2, 0}
};
static const symbol s_7_0[1] = { 'e' };
static const symbol s_7_1[5] = { 'I', 0xC3, 0xA8, 'r', 'e' };
static const symbol s_7_2[5] = { 'i', 0xC3, 0xA8, 'r', 'e' };
static const symbol s_7_3[3] = { 'i', 'o', 'n' };
static const symbol s_7_4[3] = { 'I', 'e', 'r' };
static const symbol s_7_5[3] = { 'i', 'e', 'r' };
static const symbol s_7_6[2] = { 0xC3, 0xAB };
static const struct among a_7[7] =
{
/* 0 */ { 1, s_7_0, -1, 3, 0},
/* 1 */ { 5, s_7_1, 0, 2, 0},
/* 2 */ { 5, s_7_2, 0, 2, 0},
/* 3 */ { 3, s_7_3, -1, 1, 0},
/* 4 */ { 3, s_7_4, -1, 2, 0},
/* 5 */ { 3, s_7_5, -1, 2, 0},
/* 6 */ { 2, s_7_6, -1, 4, 0}
};
static const symbol s_8_0[3] = { 'e', 'l', 'l' };
static const symbol s_8_1[4] = { 'e', 'i', 'l', 'l' };
static const symbol s_8_2[3] = { 'e', 'n', 'n' };
static const symbol s_8_3[3] = { 'o', 'n', 'n' };
static const symbol s_8_4[3] = { 'e', 't', 't' };
static const struct among a_8[5] =
{
/* 0 */ { 3, s_8_0, -1, -1, 0},
/* 1 */ { 4, s_8_1, -1, -1, 0},
/* 2 */ { 3, s_8_2, -1, -1, 0},
/* 3 */ { 3, s_8_3, -1, -1, 0},
/* 4 */ { 3, s_8_4, -1, -1, 0}
};
static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 130, 103, 8, 5 };
static const unsigned char g_keep_with_s[] = { 1, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
static const symbol s_0[] = { 'u' };
static const symbol s_1[] = { 'U' };
static const symbol s_2[] = { 'i' };
static const symbol s_3[] = { 'I' };
static const symbol s_4[] = { 'y' };
static const symbol s_5[] = { 'Y' };
static const symbol s_6[] = { 'y' };
static const symbol s_7[] = { 'Y' };
static const symbol s_8[] = { 'q' };
static const symbol s_9[] = { 'u' };
static const symbol s_10[] = { 'U' };
static const symbol s_11[] = { 'i' };
static const symbol s_12[] = { 'u' };
static const symbol s_13[] = { 'y' };
static const symbol s_14[] = { 'i', 'c' };
static const symbol s_15[] = { 'i', 'q', 'U' };
static const symbol s_16[] = { 'l', 'o', 'g' };
static const symbol s_17[] = { 'u' };
static const symbol s_18[] = { 'e', 'n', 't' };
static const symbol s_19[] = { 'a', 't' };
static const symbol s_20[] = { 'e', 'u', 'x' };
static const symbol s_21[] = { 'i' };
static const symbol s_22[] = { 'a', 'b', 'l' };
static const symbol s_23[] = { 'i', 'q', 'U' };
static const symbol s_24[] = { 'a', 't' };
static const symbol s_25[] = { 'i', 'c' };
static const symbol s_26[] = { 'i', 'q', 'U' };
static const symbol s_27[] = { 'e', 'a', 'u' };
static const symbol s_28[] = { 'a', 'l' };
static const symbol s_29[] = { 'e', 'u', 'x' };
static const symbol s_30[] = { 'a', 'n', 't' };
static const symbol s_31[] = { 'e', 'n', 't' };
static const symbol s_32[] = { 'e' };
static const symbol s_33[] = { 's' };
static const symbol s_34[] = { 's' };
static const symbol s_35[] = { 't' };
static const symbol s_36[] = { 'i' };
static const symbol s_37[] = { 'g', 'u' };
static const symbol s_38[] = { 0xC3, 0xA9 };
static const symbol s_39[] = { 0xC3, 0xA8 };
static const symbol s_40[] = { 'e' };
static const symbol s_41[] = { 'Y' };
static const symbol s_42[] = { 'i' };
static const symbol s_43[] = { 0xC3, 0xA7 };
static const symbol s_44[] = { 'c' };
static int r_prelude(struct SN_env * z) {
while(1) { /* repeat, line 38 */
int c1 = z->c;
while(1) { /* goto, line 38 */
int c2 = z->c;
{ int c3 = z->c; /* or, line 44 */
if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab3;
z->bra = z->c; /* [, line 40 */
{ int c4 = z->c; /* or, line 40 */
if (!(eq_s(z, 1, s_0))) goto lab5;
z->ket = z->c; /* ], line 40 */
if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab5;
{ int ret = slice_from_s(z, 1, s_1); /* <-, line 40 */
if (ret < 0) return ret;
}
goto lab4;
lab5:
z->c = c4;
if (!(eq_s(z, 1, s_2))) goto lab6;
z->ket = z->c; /* ], line 41 */
if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab6;
{ int ret = slice_from_s(z, 1, s_3); /* <-, line 41 */
if (ret < 0) return ret;
}
goto lab4;
lab6:
z->c = c4;
if (!(eq_s(z, 1, s_4))) goto lab3;
z->ket = z->c; /* ], line 42 */
{ int ret = slice_from_s(z, 1, s_5); /* <-, line 42 */
if (ret < 0) return ret;
}
}
lab4:
goto lab2;
lab3:
z->c = c3;
z->bra = z->c; /* [, line 45 */
if (!(eq_s(z, 1, s_6))) goto lab7;
z->ket = z->c; /* ], line 45 */
if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab7;
{ int ret = slice_from_s(z, 1, s_7); /* <-, line 45 */
if (ret < 0) return ret;
}
goto lab2;
lab7:
z->c = c3;
if (!(eq_s(z, 1, s_8))) goto lab1;
z->bra = z->c; /* [, line 47 */
if (!(eq_s(z, 1, s_9))) goto lab1;
z->ket = z->c; /* ], line 47 */
{ int ret = slice_from_s(z, 1, s_10); /* <-, line 47 */
if (ret < 0) return ret;
}
}
lab2:
z->c = c2;
break;
lab1:
z->c = c2;
{ int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0) goto lab0;
z->c = ret; /* goto, line 38 */
}
}
continue;
lab0:
z->c = c1;
break;
}
return 1;
}
static int r_mark_regions(struct SN_env * z) {
z->I[0] = z->l;
z->I[1] = z->l;
z->I[2] = z->l;
{ int c1 = z->c; /* do, line 56 */
{ int c2 = z->c; /* or, line 58 */
if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab2;
if (in_grouping_U(z, g_v, 97, 251, 0)) goto lab2;
{ int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0) goto lab2;
z->c = ret; /* next, line 57 */
}
goto lab1;
lab2:
z->c = c2;
if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3 || !((331776 >> (z->p[z->c + 2] & 0x1f)) & 1)) goto lab3;
if (!(find_among(z, a_0, 3))) goto lab3; /* among, line 59 */
goto lab1;
lab3:
z->c = c2;
{ int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0) goto lab0;
z->c = ret; /* next, line 66 */
}
{ /* gopast */ /* grouping v, line 66 */
int ret = out_grouping_U(z, g_v, 97, 251, 1);
if (ret < 0) goto lab0;
z->c += ret;
}
}
lab1:
z->I[0] = z->c; /* setmark pV, line 67 */
lab0:
z->c = c1;
}
{ int c3 = z->c; /* do, line 69 */
{ /* gopast */ /* grouping v, line 70 */
int ret = out_grouping_U(z, g_v, 97, 251, 1);
if (ret < 0) goto lab4;
z->c += ret;
}
{ /* gopast */ /* non v, line 70 */
int ret = in_grouping_U(z, g_v, 97, 251, 1);
if (ret < 0) goto lab4;
z->c += ret;
}
z->I[1] = z->c; /* setmark p1, line 70 */
{ /* gopast */ /* grouping v, line 71 */
int ret = out_grouping_U(z, g_v, 97, 251, 1);
if (ret < 0) goto lab4;
z->c += ret;
}
{ /* gopast */ /* non v, line 71 */
int ret = in_grouping_U(z, g_v, 97, 251, 1);
if (ret < 0) goto lab4;
z->c += ret;
}
z->I[2] = z->c; /* setmark p2, line 71 */
lab4:
z->c = c3;
}
return 1;
}
static int r_postlude(struct SN_env * z) {
int among_var;
while(1) { /* repeat, line 75 */
int c1 = z->c;
z->bra = z->c; /* [, line 77 */
if (z->c >= z->l || z->p[z->c + 0] >> 5 != 2 || !((35652096 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 4; else
among_var = find_among(z, a_1, 4); /* substring, line 77 */
if (!(among_var)) goto lab0;
z->ket = z->c; /* ], line 77 */
switch(among_var) {
case 0: goto lab0;
case 1:
{ int ret = slice_from_s(z, 1, s_11); /* <-, line 78 */
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_from_s(z, 1, s_12); /* <-, line 79 */
if (ret < 0) return ret;
}
break;
case 3:
{ int ret = slice_from_s(z, 1, s_13); /* <-, line 80 */
if (ret < 0) return ret;
}
break;
case 4:
{ int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0) goto lab0;
z->c = ret; /* next, line 81 */
}
break;
}
continue;
lab0:
z->c = c1;
break;
}
return 1;
}
static int r_RV(struct SN_env * z) {
if (!(z->I[0] <= z->c)) return 0;
return 1;
}
static int r_R1(struct SN_env * z) {
if (!(z->I[1] <= z->c)) return 0;
return 1;
}
static int r_R2(struct SN_env * z) {
if (!(z->I[2] <= z->c)) return 0;
return 1;
}
static int r_standard_suffix(struct SN_env * z) {
int among_var;
z->ket = z->c; /* [, line 92 */
among_var = find_among_b(z, a_4, 43); /* substring, line 92 */
if (!(among_var)) return 0;
z->bra = z->c; /* ], line 92 */
switch(among_var) {
case 0: return 0;
case 1:
{ int ret = r_R2(z);
if (ret == 0) return 0; /* call R2, line 96 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 96 */
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = r_R2(z);
if (ret == 0) return 0; /* call R2, line 99 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 99 */
if (ret < 0) return ret;
}
{ int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 100 */
z->ket = z->c; /* [, line 100 */
if (!(eq_s_b(z, 2, s_14))) { z->c = z->l - m_keep; goto lab0; }
z->bra = z->c; /* ], line 100 */
{ int m1 = z->l - z->c; (void)m1; /* or, line 100 */
{ int ret = r_R2(z);
if (ret == 0) goto lab2; /* call R2, line 100 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 100 */
if (ret < 0) return ret;
}
goto lab1;
lab2:
z->c = z->l - m1;
{ int ret = slice_from_s(z, 3, s_15); /* <-, line 100 */
if (ret < 0) return ret;
}
}
lab1:
lab0:
;
}
break;
case 3:
{ int ret = r_R2(z);
if (ret == 0) return 0; /* call R2, line 104 */
if (ret < 0) return ret;
}
{ int ret = slice_from_s(z, 3, s_16); /* <-, line 104 */
if (ret < 0) return ret;
}
break;
case 4:
{ int ret = r_R2(z);
if (ret == 0) return 0; /* call R2, line 107 */
if (ret < 0) return ret;
}
{ int ret = slice_from_s(z, 1, s_17); /* <-, line 107 */
if (ret < 0) return ret;
}
break;
case 5:
{ int ret = r_R2(z);
if (ret == 0) return 0; /* call R2, line 110 */
if (ret < 0) return ret;
}
{ int ret = slice_from_s(z, 3, s_18); /* <-, line 110 */
if (ret < 0) return ret;
}
break;
case 6:
{ int ret = r_RV(z);
if (ret == 0) return 0; /* call RV, line 114 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 114 */
if (ret < 0) return ret;
}
{ int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 115 */
z->ket = z->c; /* [, line 116 */
among_var = find_among_b(z, a_2, 6); /* substring, line 116 */
if (!(among_var)) { z->c = z->l - m_keep; goto lab3; }
z->bra = z->c; /* ], line 116 */
switch(among_var) {
case 0: { z->c = z->l - m_keep; goto lab3; }
case 1:
{ int ret = r_R2(z);
if (ret == 0) { z->c = z->l - m_keep; goto lab3; } /* call R2, line 117 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 117 */
if (ret < 0) return ret;
}
z->ket = z->c; /* [, line 117 */
if (!(eq_s_b(z, 2, s_19))) { z->c = z->l - m_keep; goto lab3; }
z->bra = z->c; /* ], line 117 */
{ int ret = r_R2(z);
if (ret == 0) { z->c = z->l - m_keep; goto lab3; } /* call R2, line 117 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 117 */
if (ret < 0) return ret;
}
break;
case 2:
{ int m2 = z->l - z->c; (void)m2; /* or, line 118 */
{ int ret = r_R2(z);
if (ret == 0) goto lab5; /* call R2, line 118 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 118 */
if (ret < 0) return ret;
}
goto lab4;
lab5:
z->c = z->l - m2;
{ int ret = r_R1(z);
if (ret == 0) { z->c = z->l - m_keep; goto lab3; } /* call R1, line 118 */
if (ret < 0) return ret;
}
{ int ret = slice_from_s(z, 3, s_20); /* <-, line 118 */
if (ret < 0) return ret;
}
}
lab4:
break;
case 3:
{ int ret = r_R2(z);
if (ret == 0) { z->c = z->l - m_keep; goto lab3; } /* call R2, line 120 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 120 */
if (ret < 0) return ret;
}
break;
case 4:
{ int ret = r_RV(z);
if (ret == 0) { z->c = z->l - m_keep; goto lab3; } /* call RV, line 122 */
if (ret < 0) return ret;
}
{ int ret = slice_from_s(z, 1, s_21); /* <-, line 122 */
if (ret < 0) return ret;
}
break;
}
lab3:
;
}
break;
case 7:
{ int ret = r_R2(z);
if (ret == 0) return 0; /* call R2, line 129 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 129 */
if (ret < 0) return ret;
}
{ int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 130 */
z->ket = z->c; /* [, line 131 */
if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m_keep; goto lab6; }
among_var = find_among_b(z, a_3, 3); /* substring, line 131 */
if (!(among_var)) { z->c = z->l - m_keep; goto lab6; }
z->bra = z->c; /* ], line 131 */
switch(among_var) {
case 0: { z->c = z->l - m_keep; goto lab6; }
case 1:
{ int m3 = z->l - z->c; (void)m3; /* or, line 132 */
{ int ret = r_R2(z);
if (ret == 0) goto lab8; /* call R2, line 132 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 132 */
if (ret < 0) return ret;
}
goto lab7;
lab8:
z->c = z->l - m3;
{ int ret = slice_from_s(z, 3, s_22); /* <-, line 132 */
if (ret < 0) return ret;
}
}
lab7:
break;
case 2:
{ int m4 = z->l - z->c; (void)m4; /* or, line 133 */
{ int ret = r_R2(z);
if (ret == 0) goto lab10; /* call R2, line 133 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 133 */
if (ret < 0) return ret;
}
goto lab9;
lab10:
z->c = z->l - m4;
{ int ret = slice_from_s(z, 3, s_23); /* <-, line 133 */
if (ret < 0) return ret;
}
}
lab9:
break;
case 3:
{ int ret = r_R2(z);
if (ret == 0) { z->c = z->l - m_keep; goto lab6; } /* call R2, line 134 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 134 */
if (ret < 0) return ret;
}
break;
}
lab6:
;
}
break;
case 8:
{ int ret = r_R2(z);
if (ret == 0) return 0; /* call R2, line 141 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 141 */
if (ret < 0) return ret;
}
{ int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 142 */
z->ket = z->c; /* [, line 142 */
if (!(eq_s_b(z, 2, s_24))) { z->c = z->l - m_keep; goto lab11; }
z->bra = z->c; /* ], line 142 */
{ int ret = r_R2(z);
if (ret == 0) { z->c = z->l - m_keep; goto lab11; } /* call R2, line 142 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 142 */
if (ret < 0) return ret;
}
z->ket = z->c; /* [, line 142 */
if (!(eq_s_b(z, 2, s_25))) { z->c = z->l - m_keep; goto lab11; }
z->bra = z->c; /* ], line 142 */
{ int m5 = z->l - z->c; (void)m5; /* or, line 142 */
{ int ret = r_R2(z);
if (ret == 0) goto lab13; /* call R2, line 142 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 142 */
if (ret < 0) return ret;
}
goto lab12;
lab13:
z->c = z->l - m5;
{ int ret = slice_from_s(z, 3, s_26); /* <-, line 142 */
if (ret < 0) return ret;
}
}
lab12:
lab11:
;
}
break;
case 9:
{ int ret = slice_from_s(z, 3, s_27); /* <-, line 144 */
if (ret < 0) return ret;
}
break;
case 10:
{ int ret = r_R1(z);
if (ret == 0) return 0; /* call R1, line 145 */
if (ret < 0) return ret;
}
{ int ret = slice_from_s(z, 2, s_28); /* <-, line 145 */
if (ret < 0) return ret;
}
break;
case 11:
{ int m6 = z->l - z->c; (void)m6; /* or, line 147 */
{ int ret = r_R2(z);
if (ret == 0) goto lab15; /* call R2, line 147 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 147 */
if (ret < 0) return ret;
}
goto lab14;
lab15:
z->c = z->l - m6;
{ int ret = r_R1(z);
if (ret == 0) return 0; /* call R1, line 147 */
if (ret < 0) return ret;
}
{ int ret = slice_from_s(z, 3, s_29); /* <-, line 147 */
if (ret < 0) return ret;
}
}
lab14:
break;
case 12:
{ int ret = r_R1(z);
if (ret == 0) return 0; /* call R1, line 150 */
if (ret < 0) return ret;
}
if (out_grouping_b_U(z, g_v, 97, 251, 0)) return 0;
{ int ret = slice_del(z); /* delete, line 150 */
if (ret < 0) return ret;
}
break;
case 13:
{ int ret = r_RV(z);
if (ret == 0) return 0; /* call RV, line 155 */
if (ret < 0) return ret;
}
{ int ret = slice_from_s(z, 3, s_30); /* <-, line 155 */
if (ret < 0) return ret;
}
return 0; /* fail, line 155 */
break;
case 14:
{ int ret = r_RV(z);
if (ret == 0) return 0; /* call RV, line 156 */
if (ret < 0) return ret;
}
{ int ret = slice_from_s(z, 3, s_31); /* <-, line 156 */
if (ret < 0) return ret;
}
return 0; /* fail, line 156 */
break;
case 15:
{ int m_test = z->l - z->c; /* test, line 158 */
if (in_grouping_b_U(z, g_v, 97, 251, 0)) return 0;
{ int ret = r_RV(z);
if (ret == 0) return 0; /* call RV, line 158 */
if (ret < 0) return ret;
}
z->c = z->l - m_test;
}
{ int ret = slice_del(z); /* delete, line 158 */
if (ret < 0) return ret;
}
return 0; /* fail, line 158 */
break;
}
return 1;
}
static int r_i_verb_suffix(struct SN_env * z) {
int among_var;
{ int mlimit; /* setlimit, line 163 */
int m1 = z->l - z->c; (void)m1;
if (z->c < z->I[0]) return 0;
z->c = z->I[0]; /* tomark, line 163 */
mlimit = z->lb; z->lb = z->c;
z->c = z->l - m1;
z->ket = z->c; /* [, line 164 */
if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68944418 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->lb = mlimit; return 0; }
among_var = find_among_b(z, a_5, 35); /* substring, line 164 */
if (!(among_var)) { z->lb = mlimit; return 0; }
z->bra = z->c; /* ], line 164 */
switch(among_var) {
case 0: { z->lb = mlimit; return 0; }
case 1:
if (out_grouping_b_U(z, g_v, 97, 251, 0)) { z->lb = mlimit; return 0; }
{ int ret = slice_del(z); /* delete, line 170 */
if (ret < 0) return ret;
}
break;
}
z->lb = mlimit;
}
return 1;
}
static int r_verb_suffix(struct SN_env * z) {
int among_var;
{ int mlimit; /* setlimit, line 174 */
int m1 = z->l - z->c; (void)m1;
if (z->c < z->I[0]) return 0;
z->c = z->I[0]; /* tomark, line 174 */
mlimit = z->lb; z->lb = z->c;
z->c = z->l - m1;
z->ket = z->c; /* [, line 175 */
among_var = find_among_b(z, a_6, 38); /* substring, line 175 */
if (!(among_var)) { z->lb = mlimit; return 0; }
z->bra = z->c; /* ], line 175 */
switch(among_var) {
case 0: { z->lb = mlimit; return 0; }
case 1:
{ int ret = r_R2(z);
if (ret == 0) { z->lb = mlimit; return 0; } /* call R2, line 177 */
if (ret < 0) return ret;
}
{ int ret = slice_del(z); /* delete, line 177 */
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_del(z); /* delete, line 185 */
if (ret < 0) return ret;
}
break;
case 3:
{ int ret = slice_del(z); /* delete, line 190 */
if (ret < 0) return ret;
}
{ int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 191 */
z->ket = z->c; /* [, line 191 */
if (!(eq_s_b(z, 1, s_32))) { z->c = z->l - m_keep; goto lab0; }
z->bra = z->c; /* ], line 191 */
{ int ret = slice_del(z); /* delete, line 191 */
if (ret < 0) return ret;
}
lab0:
;
}
break;
}
z->lb = mlimit;
}
return 1;
}
static int r_residual_suffix(struct SN_env * z) {
int among_var;
{ int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 199 */
z->ket = z->c; /* [, line 199 */
if (!(eq_s_b(z, 1, s_33))) { z->c = z->l - m_keep; goto lab0; }
z->bra = z->c; /* ], line 199 */
{ int m_test = z->l - z->c; /* test, line 199 */
if (out_grouping_b_U(z, g_keep_with_s, 97, 232, 0)) { z->c = z->l - m_keep; goto lab0; }
z->c = z->l - m_test;
}
{ int ret = slice_del(z); /* delete, line 199 */
if (ret < 0) return ret;
}
lab0:
;
}
{ int mlimit; /* setlimit, line 200 */
int m1 = z->l - z->c; (void)m1;
if (z->c < z->I[0]) return 0;
z->c = z->I[0]; /* tomark, line 200 */
mlimit = z->lb; z->lb = z->c;
z->c = z->l - m1;
z->ket = z->c; /* [, line 201 */
among_var = find_among_b(z, a_7, 7); /* substring, line 201 */
if (!(among_var)) { z->lb = mlimit; return 0; }
z->bra = z->c; /* ], line 201 */
switch(among_var) {
case 0: { z->lb = mlimit; return 0; }
case 1:
{ int ret = r_R2(z);
if (ret == 0) { z->lb = mlimit; return 0; } /* call R2, line 202 */
if (ret < 0) return ret;
}
{ int m2 = z->l - z->c; (void)m2; /* or, line 202 */
if (!(eq_s_b(z, 1, s_34))) goto lab2;
goto lab1;
lab2:
z->c = z->l - m2;
if (!(eq_s_b(z, 1, s_35))) { z->lb = mlimit; return 0; }
}
lab1:
{ int ret = slice_del(z); /* delete, line 202 */
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_from_s(z, 1, s_36); /* <-, line 204 */
if (ret < 0) return ret;
}
break;
case 3:
{ int ret = slice_del(z); /* delete, line 205 */
if (ret < 0) return ret;
}
break;
case 4:
if (!(eq_s_b(z, 2, s_37))) { z->lb = mlimit; return 0; }
{ int ret = slice_del(z); /* delete, line 206 */
if (ret < 0) return ret;
}
break;
}
z->lb = mlimit;
}
return 1;
}
static int r_un_double(struct SN_env * z) {
{ int m_test = z->l - z->c; /* test, line 212 */
if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1069056 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
if (!(find_among_b(z, a_8, 5))) return 0; /* among, line 212 */
z->c = z->l - m_test;
}
z->ket = z->c; /* [, line 212 */
{ int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
if (ret < 0) return 0;
z->c = ret; /* next, line 212 */
}
z->bra = z->c; /* ], line 212 */
{ int ret = slice_del(z); /* delete, line 212 */
if (ret < 0) return ret;
}
return 1;
}
static int r_un_accent(struct SN_env * z) {
{ int i = 1;
while(1) { /* atleast, line 216 */
if (out_grouping_b_U(z, g_v, 97, 251, 0)) goto lab0;
i--;
continue;
lab0:
break;
}
if (i > 0) return 0;
}
z->ket = z->c; /* [, line 217 */
{ int m1 = z->l - z->c; (void)m1; /* or, line 217 */
if (!(eq_s_b(z, 2, s_38))) goto lab2;
goto lab1;
lab2:
z->c = z->l - m1;
if (!(eq_s_b(z, 2, s_39))) return 0;
}
lab1:
z->bra = z->c; /* ], line 217 */
{ int ret = slice_from_s(z, 1, s_40); /* <-, line 217 */
if (ret < 0) return ret;
}
return 1;
}
extern int french_UTF_8_stem(struct SN_env * z) {
{ int c1 = z->c; /* do, line 223 */
{ int ret = r_prelude(z);
if (ret == 0) goto lab0; /* call prelude, line 223 */
if (ret < 0) return ret;
}
lab0:
z->c = c1;
}
{ int c2 = z->c; /* do, line 224 */
{ int ret = r_mark_regions(z);
if (ret == 0) goto lab1; /* call mark_regions, line 224 */
if (ret < 0) return ret;
}
lab1:
z->c = c2;
}
z->lb = z->c; z->c = z->l; /* backwards, line 225 */
{ int m3 = z->l - z->c; (void)m3; /* do, line 227 */
{ int m4 = z->l - z->c; (void)m4; /* or, line 237 */
{ int m5 = z->l - z->c; (void)m5; /* and, line 233 */
{ int m6 = z->l - z->c; (void)m6; /* or, line 229 */
{ int ret = r_standard_suffix(z);
if (ret == 0) goto lab6; /* call standard_suffix, line 229 */
if (ret < 0) return ret;
}
goto lab5;
lab6:
z->c = z->l - m6;
{ int ret = r_i_verb_suffix(z);
if (ret == 0) goto lab7; /* call i_verb_suffix, line 230 */
if (ret < 0) return ret;
}
goto lab5;
lab7:
z->c = z->l - m6;
{ int ret = r_verb_suffix(z);
if (ret == 0) goto lab4; /* call verb_suffix, line 231 */
if (ret < 0) return ret;
}
}
lab5:
z->c = z->l - m5;
{ int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 234 */
z->ket = z->c; /* [, line 234 */
{ int m7 = z->l - z->c; (void)m7; /* or, line 234 */
if (!(eq_s_b(z, 1, s_41))) goto lab10;
z->bra = z->c; /* ], line 234 */
{ int ret = slice_from_s(z, 1, s_42); /* <-, line 234 */
if (ret < 0) return ret;
}
goto lab9;
lab10:
z->c = z->l - m7;
if (!(eq_s_b(z, 2, s_43))) { z->c = z->l - m_keep; goto lab8; }
z->bra = z->c; /* ], line 235 */
{ int ret = slice_from_s(z, 1, s_44); /* <-, line 235 */
if (ret < 0) return ret;
}
}
lab9:
lab8:
;
}
}
goto lab3;
lab4:
z->c = z->l - m4;
{ int ret = r_residual_suffix(z);
if (ret == 0) goto lab2; /* call residual_suffix, line 238 */
if (ret < 0) return ret;
}
}
lab3:
lab2:
z->c = z->l - m3;
}
{ int m8 = z->l - z->c; (void)m8; /* do, line 243 */
{ int ret = r_un_double(z);
if (ret == 0) goto lab11; /* call un_double, line 243 */
if (ret < 0) return ret;
}
lab11:
z->c = z->l - m8;
}
{ int m9 = z->l - z->c; (void)m9; /* do, line 244 */
{ int ret = r_un_accent(z);
if (ret == 0) goto lab12; /* call un_accent, line 244 */
if (ret < 0) return ret;
}
lab12:
z->c = z->l - m9;
}
z->c = z->lb;
{ int c10 = z->c; /* do, line 246 */
{ int ret = r_postlude(z);
if (ret == 0) goto lab13; /* call postlude, line 246 */
if (ret < 0) return ret;
}
lab13:
z->c = c10;
}
return 1;
}
extern struct SN_env * french_UTF_8_create_env(void) { return SN_create_env(0, 3, 0); }
extern void french_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); }
|