-
Notifications
You must be signed in to change notification settings - Fork 6
/
stem_UTF_8_romanian.c
971 lines (934 loc) · 31.9 KB
/
stem_UTF_8_romanian.c
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
/* Generated by Snowball 2.2.0 - https://snowballstem.org/ */
#include "header.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int romanian_UTF_8_stem(struct SN_env * z);
#ifdef __cplusplus
}
#endif
static int r_vowel_suffix(struct SN_env * z);
static int r_verb_suffix(struct SN_env * z);
static int r_combo_suffix(struct SN_env * z);
static int r_standard_suffix(struct SN_env * z);
static int r_step_0(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 * romanian_UTF_8_create_env(void);
extern void romanian_UTF_8_close_env(struct SN_env * z);
#ifdef __cplusplus
}
#endif
static const symbol s_0_1[1] = { 'I' };
static const symbol s_0_2[1] = { 'U' };
static const struct among a_0[3] =
{
{ 0, 0, -1, 3, 0},
{ 1, s_0_1, 0, 1, 0},
{ 1, s_0_2, 0, 2, 0}
};
static const symbol s_1_0[2] = { 'e', 'a' };
static const symbol s_1_1[5] = { 'a', 0xC5, 0xA3, 'i', 'a' };
static const symbol s_1_2[3] = { 'a', 'u', 'a' };
static const symbol s_1_3[3] = { 'i', 'u', 'a' };
static const symbol s_1_4[5] = { 'a', 0xC5, 0xA3, 'i', 'e' };
static const symbol s_1_5[3] = { 'e', 'l', 'e' };
static const symbol s_1_6[3] = { 'i', 'l', 'e' };
static const symbol s_1_7[4] = { 'i', 'i', 'l', 'e' };
static const symbol s_1_8[3] = { 'i', 'e', 'i' };
static const symbol s_1_9[4] = { 'a', 't', 'e', 'i' };
static const symbol s_1_10[2] = { 'i', 'i' };
static const symbol s_1_11[4] = { 'u', 'l', 'u', 'i' };
static const symbol s_1_12[2] = { 'u', 'l' };
static const symbol s_1_13[4] = { 'e', 'l', 'o', 'r' };
static const symbol s_1_14[4] = { 'i', 'l', 'o', 'r' };
static const symbol s_1_15[5] = { 'i', 'i', 'l', 'o', 'r' };
static const struct among a_1[16] =
{
{ 2, s_1_0, -1, 3, 0},
{ 5, s_1_1, -1, 7, 0},
{ 3, s_1_2, -1, 2, 0},
{ 3, s_1_3, -1, 4, 0},
{ 5, s_1_4, -1, 7, 0},
{ 3, s_1_5, -1, 3, 0},
{ 3, s_1_6, -1, 5, 0},
{ 4, s_1_7, 6, 4, 0},
{ 3, s_1_8, -1, 4, 0},
{ 4, s_1_9, -1, 6, 0},
{ 2, s_1_10, -1, 4, 0},
{ 4, s_1_11, -1, 1, 0},
{ 2, s_1_12, -1, 1, 0},
{ 4, s_1_13, -1, 3, 0},
{ 4, s_1_14, -1, 4, 0},
{ 5, s_1_15, 14, 4, 0}
};
static const symbol s_2_0[5] = { 'i', 'c', 'a', 'l', 'a' };
static const symbol s_2_1[5] = { 'i', 'c', 'i', 'v', 'a' };
static const symbol s_2_2[5] = { 'a', 't', 'i', 'v', 'a' };
static const symbol s_2_3[5] = { 'i', 't', 'i', 'v', 'a' };
static const symbol s_2_4[5] = { 'i', 'c', 'a', 'l', 'e' };
static const symbol s_2_5[7] = { 'a', 0xC5, 0xA3, 'i', 'u', 'n', 'e' };
static const symbol s_2_6[7] = { 'i', 0xC5, 0xA3, 'i', 'u', 'n', 'e' };
static const symbol s_2_7[6] = { 'a', 't', 'o', 'a', 'r', 'e' };
static const symbol s_2_8[6] = { 'i', 't', 'o', 'a', 'r', 'e' };
static const symbol s_2_9[7] = { 0xC4, 0x83, 't', 'o', 'a', 'r', 'e' };
static const symbol s_2_10[7] = { 'i', 'c', 'i', 't', 'a', 't', 'e' };
static const symbol s_2_11[9] = { 'a', 'b', 'i', 'l', 'i', 't', 'a', 't', 'e' };
static const symbol s_2_12[9] = { 'i', 'b', 'i', 'l', 'i', 't', 'a', 't', 'e' };
static const symbol s_2_13[7] = { 'i', 'v', 'i', 't', 'a', 't', 'e' };
static const symbol s_2_14[5] = { 'i', 'c', 'i', 'v', 'e' };
static const symbol s_2_15[5] = { 'a', 't', 'i', 'v', 'e' };
static const symbol s_2_16[5] = { 'i', 't', 'i', 'v', 'e' };
static const symbol s_2_17[5] = { 'i', 'c', 'a', 'l', 'i' };
static const symbol s_2_18[5] = { 'a', 't', 'o', 'r', 'i' };
static const symbol s_2_19[7] = { 'i', 'c', 'a', 't', 'o', 'r', 'i' };
static const symbol s_2_20[5] = { 'i', 't', 'o', 'r', 'i' };
static const symbol s_2_21[6] = { 0xC4, 0x83, 't', 'o', 'r', 'i' };
static const symbol s_2_22[7] = { 'i', 'c', 'i', 't', 'a', 't', 'i' };
static const symbol s_2_23[9] = { 'a', 'b', 'i', 'l', 'i', 't', 'a', 't', 'i' };
static const symbol s_2_24[7] = { 'i', 'v', 'i', 't', 'a', 't', 'i' };
static const symbol s_2_25[5] = { 'i', 'c', 'i', 'v', 'i' };
static const symbol s_2_26[5] = { 'a', 't', 'i', 'v', 'i' };
static const symbol s_2_27[5] = { 'i', 't', 'i', 'v', 'i' };
static const symbol s_2_28[7] = { 'i', 'c', 'i', 't', 0xC4, 0x83, 'i' };
static const symbol s_2_29[9] = { 'a', 'b', 'i', 'l', 'i', 't', 0xC4, 0x83, 'i' };
static const symbol s_2_30[7] = { 'i', 'v', 'i', 't', 0xC4, 0x83, 'i' };
static const symbol s_2_31[9] = { 'i', 'c', 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_2_32[11] = { 'a', 'b', 'i', 'l', 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_2_33[9] = { 'i', 'v', 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_2_34[4] = { 'i', 'c', 'a', 'l' };
static const symbol s_2_35[4] = { 'a', 't', 'o', 'r' };
static const symbol s_2_36[6] = { 'i', 'c', 'a', 't', 'o', 'r' };
static const symbol s_2_37[4] = { 'i', 't', 'o', 'r' };
static const symbol s_2_38[5] = { 0xC4, 0x83, 't', 'o', 'r' };
static const symbol s_2_39[4] = { 'i', 'c', 'i', 'v' };
static const symbol s_2_40[4] = { 'a', 't', 'i', 'v' };
static const symbol s_2_41[4] = { 'i', 't', 'i', 'v' };
static const symbol s_2_42[6] = { 'i', 'c', 'a', 'l', 0xC4, 0x83 };
static const symbol s_2_43[6] = { 'i', 'c', 'i', 'v', 0xC4, 0x83 };
static const symbol s_2_44[6] = { 'a', 't', 'i', 'v', 0xC4, 0x83 };
static const symbol s_2_45[6] = { 'i', 't', 'i', 'v', 0xC4, 0x83 };
static const struct among a_2[46] =
{
{ 5, s_2_0, -1, 4, 0},
{ 5, s_2_1, -1, 4, 0},
{ 5, s_2_2, -1, 5, 0},
{ 5, s_2_3, -1, 6, 0},
{ 5, s_2_4, -1, 4, 0},
{ 7, s_2_5, -1, 5, 0},
{ 7, s_2_6, -1, 6, 0},
{ 6, s_2_7, -1, 5, 0},
{ 6, s_2_8, -1, 6, 0},
{ 7, s_2_9, -1, 5, 0},
{ 7, s_2_10, -1, 4, 0},
{ 9, s_2_11, -1, 1, 0},
{ 9, s_2_12, -1, 2, 0},
{ 7, s_2_13, -1, 3, 0},
{ 5, s_2_14, -1, 4, 0},
{ 5, s_2_15, -1, 5, 0},
{ 5, s_2_16, -1, 6, 0},
{ 5, s_2_17, -1, 4, 0},
{ 5, s_2_18, -1, 5, 0},
{ 7, s_2_19, 18, 4, 0},
{ 5, s_2_20, -1, 6, 0},
{ 6, s_2_21, -1, 5, 0},
{ 7, s_2_22, -1, 4, 0},
{ 9, s_2_23, -1, 1, 0},
{ 7, s_2_24, -1, 3, 0},
{ 5, s_2_25, -1, 4, 0},
{ 5, s_2_26, -1, 5, 0},
{ 5, s_2_27, -1, 6, 0},
{ 7, s_2_28, -1, 4, 0},
{ 9, s_2_29, -1, 1, 0},
{ 7, s_2_30, -1, 3, 0},
{ 9, s_2_31, -1, 4, 0},
{ 11, s_2_32, -1, 1, 0},
{ 9, s_2_33, -1, 3, 0},
{ 4, s_2_34, -1, 4, 0},
{ 4, s_2_35, -1, 5, 0},
{ 6, s_2_36, 35, 4, 0},
{ 4, s_2_37, -1, 6, 0},
{ 5, s_2_38, -1, 5, 0},
{ 4, s_2_39, -1, 4, 0},
{ 4, s_2_40, -1, 5, 0},
{ 4, s_2_41, -1, 6, 0},
{ 6, s_2_42, -1, 4, 0},
{ 6, s_2_43, -1, 4, 0},
{ 6, s_2_44, -1, 5, 0},
{ 6, s_2_45, -1, 6, 0}
};
static const symbol s_3_0[3] = { 'i', 'c', 'a' };
static const symbol s_3_1[5] = { 'a', 'b', 'i', 'l', 'a' };
static const symbol s_3_2[5] = { 'i', 'b', 'i', 'l', 'a' };
static const symbol s_3_3[4] = { 'o', 'a', 's', 'a' };
static const symbol s_3_4[3] = { 'a', 't', 'a' };
static const symbol s_3_5[3] = { 'i', 't', 'a' };
static const symbol s_3_6[4] = { 'a', 'n', 't', 'a' };
static const symbol s_3_7[4] = { 'i', 's', 't', 'a' };
static const symbol s_3_8[3] = { 'u', 't', 'a' };
static const symbol s_3_9[3] = { 'i', 'v', 'a' };
static const symbol s_3_10[2] = { 'i', 'c' };
static const symbol s_3_11[3] = { 'i', 'c', 'e' };
static const symbol s_3_12[5] = { 'a', 'b', 'i', 'l', 'e' };
static const symbol s_3_13[5] = { 'i', 'b', 'i', 'l', 'e' };
static const symbol s_3_14[4] = { 'i', 's', 'm', 'e' };
static const symbol s_3_15[4] = { 'i', 'u', 'n', 'e' };
static const symbol s_3_16[4] = { 'o', 'a', 's', 'e' };
static const symbol s_3_17[3] = { 'a', 't', 'e' };
static const symbol s_3_18[5] = { 'i', 't', 'a', 't', 'e' };
static const symbol s_3_19[3] = { 'i', 't', 'e' };
static const symbol s_3_20[4] = { 'a', 'n', 't', 'e' };
static const symbol s_3_21[4] = { 'i', 's', 't', 'e' };
static const symbol s_3_22[3] = { 'u', 't', 'e' };
static const symbol s_3_23[3] = { 'i', 'v', 'e' };
static const symbol s_3_24[3] = { 'i', 'c', 'i' };
static const symbol s_3_25[5] = { 'a', 'b', 'i', 'l', 'i' };
static const symbol s_3_26[5] = { 'i', 'b', 'i', 'l', 'i' };
static const symbol s_3_27[4] = { 'i', 'u', 'n', 'i' };
static const symbol s_3_28[5] = { 'a', 't', 'o', 'r', 'i' };
static const symbol s_3_29[3] = { 'o', 's', 'i' };
static const symbol s_3_30[3] = { 'a', 't', 'i' };
static const symbol s_3_31[5] = { 'i', 't', 'a', 't', 'i' };
static const symbol s_3_32[3] = { 'i', 't', 'i' };
static const symbol s_3_33[4] = { 'a', 'n', 't', 'i' };
static const symbol s_3_34[4] = { 'i', 's', 't', 'i' };
static const symbol s_3_35[3] = { 'u', 't', 'i' };
static const symbol s_3_36[5] = { 'i', 0xC5, 0x9F, 't', 'i' };
static const symbol s_3_37[3] = { 'i', 'v', 'i' };
static const symbol s_3_38[5] = { 'i', 't', 0xC4, 0x83, 'i' };
static const symbol s_3_39[4] = { 'o', 0xC5, 0x9F, 'i' };
static const symbol s_3_40[7] = { 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_3_41[4] = { 'a', 'b', 'i', 'l' };
static const symbol s_3_42[4] = { 'i', 'b', 'i', 'l' };
static const symbol s_3_43[3] = { 'i', 's', 'm' };
static const symbol s_3_44[4] = { 'a', 't', 'o', 'r' };
static const symbol s_3_45[2] = { 'o', 's' };
static const symbol s_3_46[2] = { 'a', 't' };
static const symbol s_3_47[2] = { 'i', 't' };
static const symbol s_3_48[3] = { 'a', 'n', 't' };
static const symbol s_3_49[3] = { 'i', 's', 't' };
static const symbol s_3_50[2] = { 'u', 't' };
static const symbol s_3_51[2] = { 'i', 'v' };
static const symbol s_3_52[4] = { 'i', 'c', 0xC4, 0x83 };
static const symbol s_3_53[6] = { 'a', 'b', 'i', 'l', 0xC4, 0x83 };
static const symbol s_3_54[6] = { 'i', 'b', 'i', 'l', 0xC4, 0x83 };
static const symbol s_3_55[5] = { 'o', 'a', 's', 0xC4, 0x83 };
static const symbol s_3_56[4] = { 'a', 't', 0xC4, 0x83 };
static const symbol s_3_57[4] = { 'i', 't', 0xC4, 0x83 };
static const symbol s_3_58[5] = { 'a', 'n', 't', 0xC4, 0x83 };
static const symbol s_3_59[5] = { 'i', 's', 't', 0xC4, 0x83 };
static const symbol s_3_60[4] = { 'u', 't', 0xC4, 0x83 };
static const symbol s_3_61[4] = { 'i', 'v', 0xC4, 0x83 };
static const struct among a_3[62] =
{
{ 3, s_3_0, -1, 1, 0},
{ 5, s_3_1, -1, 1, 0},
{ 5, s_3_2, -1, 1, 0},
{ 4, s_3_3, -1, 1, 0},
{ 3, s_3_4, -1, 1, 0},
{ 3, s_3_5, -1, 1, 0},
{ 4, s_3_6, -1, 1, 0},
{ 4, s_3_7, -1, 3, 0},
{ 3, s_3_8, -1, 1, 0},
{ 3, s_3_9, -1, 1, 0},
{ 2, s_3_10, -1, 1, 0},
{ 3, s_3_11, -1, 1, 0},
{ 5, s_3_12, -1, 1, 0},
{ 5, s_3_13, -1, 1, 0},
{ 4, s_3_14, -1, 3, 0},
{ 4, s_3_15, -1, 2, 0},
{ 4, s_3_16, -1, 1, 0},
{ 3, s_3_17, -1, 1, 0},
{ 5, s_3_18, 17, 1, 0},
{ 3, s_3_19, -1, 1, 0},
{ 4, s_3_20, -1, 1, 0},
{ 4, s_3_21, -1, 3, 0},
{ 3, s_3_22, -1, 1, 0},
{ 3, s_3_23, -1, 1, 0},
{ 3, s_3_24, -1, 1, 0},
{ 5, s_3_25, -1, 1, 0},
{ 5, s_3_26, -1, 1, 0},
{ 4, s_3_27, -1, 2, 0},
{ 5, s_3_28, -1, 1, 0},
{ 3, s_3_29, -1, 1, 0},
{ 3, s_3_30, -1, 1, 0},
{ 5, s_3_31, 30, 1, 0},
{ 3, s_3_32, -1, 1, 0},
{ 4, s_3_33, -1, 1, 0},
{ 4, s_3_34, -1, 3, 0},
{ 3, s_3_35, -1, 1, 0},
{ 5, s_3_36, -1, 3, 0},
{ 3, s_3_37, -1, 1, 0},
{ 5, s_3_38, -1, 1, 0},
{ 4, s_3_39, -1, 1, 0},
{ 7, s_3_40, -1, 1, 0},
{ 4, s_3_41, -1, 1, 0},
{ 4, s_3_42, -1, 1, 0},
{ 3, s_3_43, -1, 3, 0},
{ 4, s_3_44, -1, 1, 0},
{ 2, s_3_45, -1, 1, 0},
{ 2, s_3_46, -1, 1, 0},
{ 2, s_3_47, -1, 1, 0},
{ 3, s_3_48, -1, 1, 0},
{ 3, s_3_49, -1, 3, 0},
{ 2, s_3_50, -1, 1, 0},
{ 2, s_3_51, -1, 1, 0},
{ 4, s_3_52, -1, 1, 0},
{ 6, s_3_53, -1, 1, 0},
{ 6, s_3_54, -1, 1, 0},
{ 5, s_3_55, -1, 1, 0},
{ 4, s_3_56, -1, 1, 0},
{ 4, s_3_57, -1, 1, 0},
{ 5, s_3_58, -1, 1, 0},
{ 5, s_3_59, -1, 3, 0},
{ 4, s_3_60, -1, 1, 0},
{ 4, s_3_61, -1, 1, 0}
};
static const symbol s_4_0[2] = { 'e', 'a' };
static const symbol s_4_1[2] = { 'i', 'a' };
static const symbol s_4_2[3] = { 'e', 's', 'c' };
static const symbol s_4_3[4] = { 0xC4, 0x83, 's', 'c' };
static const symbol s_4_4[3] = { 'i', 'n', 'd' };
static const symbol s_4_5[4] = { 0xC3, 0xA2, 'n', 'd' };
static const symbol s_4_6[3] = { 'a', 'r', 'e' };
static const symbol s_4_7[3] = { 'e', 'r', 'e' };
static const symbol s_4_8[3] = { 'i', 'r', 'e' };
static const symbol s_4_9[4] = { 0xC3, 0xA2, 'r', 'e' };
static const symbol s_4_10[2] = { 's', 'e' };
static const symbol s_4_11[3] = { 'a', 's', 'e' };
static const symbol s_4_12[4] = { 's', 'e', 's', 'e' };
static const symbol s_4_13[3] = { 'i', 's', 'e' };
static const symbol s_4_14[3] = { 'u', 's', 'e' };
static const symbol s_4_15[4] = { 0xC3, 0xA2, 's', 'e' };
static const symbol s_4_16[5] = { 'e', 0xC5, 0x9F, 't', 'e' };
static const symbol s_4_17[6] = { 0xC4, 0x83, 0xC5, 0x9F, 't', 'e' };
static const symbol s_4_18[3] = { 'e', 'z', 'e' };
static const symbol s_4_19[2] = { 'a', 'i' };
static const symbol s_4_20[3] = { 'e', 'a', 'i' };
static const symbol s_4_21[3] = { 'i', 'a', 'i' };
static const symbol s_4_22[3] = { 's', 'e', 'i' };
static const symbol s_4_23[5] = { 'e', 0xC5, 0x9F, 't', 'i' };
static const symbol s_4_24[6] = { 0xC4, 0x83, 0xC5, 0x9F, 't', 'i' };
static const symbol s_4_25[2] = { 'u', 'i' };
static const symbol s_4_26[3] = { 'e', 'z', 'i' };
static const symbol s_4_27[4] = { 'a', 0xC5, 0x9F, 'i' };
static const symbol s_4_28[5] = { 's', 'e', 0xC5, 0x9F, 'i' };
static const symbol s_4_29[6] = { 'a', 's', 'e', 0xC5, 0x9F, 'i' };
static const symbol s_4_30[7] = { 's', 'e', 's', 'e', 0xC5, 0x9F, 'i' };
static const symbol s_4_31[6] = { 'i', 's', 'e', 0xC5, 0x9F, 'i' };
static const symbol s_4_32[6] = { 'u', 's', 'e', 0xC5, 0x9F, 'i' };
static const symbol s_4_33[7] = { 0xC3, 0xA2, 's', 'e', 0xC5, 0x9F, 'i' };
static const symbol s_4_34[4] = { 'i', 0xC5, 0x9F, 'i' };
static const symbol s_4_35[4] = { 'u', 0xC5, 0x9F, 'i' };
static const symbol s_4_36[5] = { 0xC3, 0xA2, 0xC5, 0x9F, 'i' };
static const symbol s_4_37[3] = { 0xC3, 0xA2, 'i' };
static const symbol s_4_38[4] = { 'a', 0xC5, 0xA3, 'i' };
static const symbol s_4_39[5] = { 'e', 'a', 0xC5, 0xA3, 'i' };
static const symbol s_4_40[5] = { 'i', 'a', 0xC5, 0xA3, 'i' };
static const symbol s_4_41[4] = { 'e', 0xC5, 0xA3, 'i' };
static const symbol s_4_42[4] = { 'i', 0xC5, 0xA3, 'i' };
static const symbol s_4_43[7] = { 'a', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_4_44[8] = { 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_4_45[9] = { 'a', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_4_46[10] = { 's', 'e', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_4_47[9] = { 'i', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_4_48[9] = { 'u', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_4_49[10] = { 0xC3, 0xA2, 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_4_50[7] = { 'i', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_4_51[7] = { 'u', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_4_52[8] = { 0xC3, 0xA2, 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
static const symbol s_4_53[5] = { 0xC3, 0xA2, 0xC5, 0xA3, 'i' };
static const symbol s_4_54[2] = { 'a', 'm' };
static const symbol s_4_55[3] = { 'e', 'a', 'm' };
static const symbol s_4_56[3] = { 'i', 'a', 'm' };
static const symbol s_4_57[2] = { 'e', 'm' };
static const symbol s_4_58[4] = { 'a', 's', 'e', 'm' };
static const symbol s_4_59[5] = { 's', 'e', 's', 'e', 'm' };
static const symbol s_4_60[4] = { 'i', 's', 'e', 'm' };
static const symbol s_4_61[4] = { 'u', 's', 'e', 'm' };
static const symbol s_4_62[5] = { 0xC3, 0xA2, 's', 'e', 'm' };
static const symbol s_4_63[2] = { 'i', 'm' };
static const symbol s_4_64[3] = { 0xC4, 0x83, 'm' };
static const symbol s_4_65[5] = { 'a', 'r', 0xC4, 0x83, 'm' };
static const symbol s_4_66[6] = { 's', 'e', 'r', 0xC4, 0x83, 'm' };
static const symbol s_4_67[7] = { 'a', 's', 'e', 'r', 0xC4, 0x83, 'm' };
static const symbol s_4_68[8] = { 's', 'e', 's', 'e', 'r', 0xC4, 0x83, 'm' };
static const symbol s_4_69[7] = { 'i', 's', 'e', 'r', 0xC4, 0x83, 'm' };
static const symbol s_4_70[7] = { 'u', 's', 'e', 'r', 0xC4, 0x83, 'm' };
static const symbol s_4_71[8] = { 0xC3, 0xA2, 's', 'e', 'r', 0xC4, 0x83, 'm' };
static const symbol s_4_72[5] = { 'i', 'r', 0xC4, 0x83, 'm' };
static const symbol s_4_73[5] = { 'u', 'r', 0xC4, 0x83, 'm' };
static const symbol s_4_74[6] = { 0xC3, 0xA2, 'r', 0xC4, 0x83, 'm' };
static const symbol s_4_75[3] = { 0xC3, 0xA2, 'm' };
static const symbol s_4_76[2] = { 'a', 'u' };
static const symbol s_4_77[3] = { 'e', 'a', 'u' };
static const symbol s_4_78[3] = { 'i', 'a', 'u' };
static const symbol s_4_79[4] = { 'i', 'n', 'd', 'u' };
static const symbol s_4_80[5] = { 0xC3, 0xA2, 'n', 'd', 'u' };
static const symbol s_4_81[2] = { 'e', 'z' };
static const symbol s_4_82[6] = { 'e', 'a', 's', 'c', 0xC4, 0x83 };
static const symbol s_4_83[4] = { 'a', 'r', 0xC4, 0x83 };
static const symbol s_4_84[5] = { 's', 'e', 'r', 0xC4, 0x83 };
static const symbol s_4_85[6] = { 'a', 's', 'e', 'r', 0xC4, 0x83 };
static const symbol s_4_86[7] = { 's', 'e', 's', 'e', 'r', 0xC4, 0x83 };
static const symbol s_4_87[6] = { 'i', 's', 'e', 'r', 0xC4, 0x83 };
static const symbol s_4_88[6] = { 'u', 's', 'e', 'r', 0xC4, 0x83 };
static const symbol s_4_89[7] = { 0xC3, 0xA2, 's', 'e', 'r', 0xC4, 0x83 };
static const symbol s_4_90[4] = { 'i', 'r', 0xC4, 0x83 };
static const symbol s_4_91[4] = { 'u', 'r', 0xC4, 0x83 };
static const symbol s_4_92[5] = { 0xC3, 0xA2, 'r', 0xC4, 0x83 };
static const symbol s_4_93[5] = { 'e', 'a', 'z', 0xC4, 0x83 };
static const struct among a_4[94] =
{
{ 2, s_4_0, -1, 1, 0},
{ 2, s_4_1, -1, 1, 0},
{ 3, s_4_2, -1, 1, 0},
{ 4, s_4_3, -1, 1, 0},
{ 3, s_4_4, -1, 1, 0},
{ 4, s_4_5, -1, 1, 0},
{ 3, s_4_6, -1, 1, 0},
{ 3, s_4_7, -1, 1, 0},
{ 3, s_4_8, -1, 1, 0},
{ 4, s_4_9, -1, 1, 0},
{ 2, s_4_10, -1, 2, 0},
{ 3, s_4_11, 10, 1, 0},
{ 4, s_4_12, 10, 2, 0},
{ 3, s_4_13, 10, 1, 0},
{ 3, s_4_14, 10, 1, 0},
{ 4, s_4_15, 10, 1, 0},
{ 5, s_4_16, -1, 1, 0},
{ 6, s_4_17, -1, 1, 0},
{ 3, s_4_18, -1, 1, 0},
{ 2, s_4_19, -1, 1, 0},
{ 3, s_4_20, 19, 1, 0},
{ 3, s_4_21, 19, 1, 0},
{ 3, s_4_22, -1, 2, 0},
{ 5, s_4_23, -1, 1, 0},
{ 6, s_4_24, -1, 1, 0},
{ 2, s_4_25, -1, 1, 0},
{ 3, s_4_26, -1, 1, 0},
{ 4, s_4_27, -1, 1, 0},
{ 5, s_4_28, -1, 2, 0},
{ 6, s_4_29, 28, 1, 0},
{ 7, s_4_30, 28, 2, 0},
{ 6, s_4_31, 28, 1, 0},
{ 6, s_4_32, 28, 1, 0},
{ 7, s_4_33, 28, 1, 0},
{ 4, s_4_34, -1, 1, 0},
{ 4, s_4_35, -1, 1, 0},
{ 5, s_4_36, -1, 1, 0},
{ 3, s_4_37, -1, 1, 0},
{ 4, s_4_38, -1, 2, 0},
{ 5, s_4_39, 38, 1, 0},
{ 5, s_4_40, 38, 1, 0},
{ 4, s_4_41, -1, 2, 0},
{ 4, s_4_42, -1, 2, 0},
{ 7, s_4_43, -1, 1, 0},
{ 8, s_4_44, -1, 2, 0},
{ 9, s_4_45, 44, 1, 0},
{ 10, s_4_46, 44, 2, 0},
{ 9, s_4_47, 44, 1, 0},
{ 9, s_4_48, 44, 1, 0},
{ 10, s_4_49, 44, 1, 0},
{ 7, s_4_50, -1, 1, 0},
{ 7, s_4_51, -1, 1, 0},
{ 8, s_4_52, -1, 1, 0},
{ 5, s_4_53, -1, 2, 0},
{ 2, s_4_54, -1, 1, 0},
{ 3, s_4_55, 54, 1, 0},
{ 3, s_4_56, 54, 1, 0},
{ 2, s_4_57, -1, 2, 0},
{ 4, s_4_58, 57, 1, 0},
{ 5, s_4_59, 57, 2, 0},
{ 4, s_4_60, 57, 1, 0},
{ 4, s_4_61, 57, 1, 0},
{ 5, s_4_62, 57, 1, 0},
{ 2, s_4_63, -1, 2, 0},
{ 3, s_4_64, -1, 2, 0},
{ 5, s_4_65, 64, 1, 0},
{ 6, s_4_66, 64, 2, 0},
{ 7, s_4_67, 66, 1, 0},
{ 8, s_4_68, 66, 2, 0},
{ 7, s_4_69, 66, 1, 0},
{ 7, s_4_70, 66, 1, 0},
{ 8, s_4_71, 66, 1, 0},
{ 5, s_4_72, 64, 1, 0},
{ 5, s_4_73, 64, 1, 0},
{ 6, s_4_74, 64, 1, 0},
{ 3, s_4_75, -1, 2, 0},
{ 2, s_4_76, -1, 1, 0},
{ 3, s_4_77, 76, 1, 0},
{ 3, s_4_78, 76, 1, 0},
{ 4, s_4_79, -1, 1, 0},
{ 5, s_4_80, -1, 1, 0},
{ 2, s_4_81, -1, 1, 0},
{ 6, s_4_82, -1, 1, 0},
{ 4, s_4_83, -1, 1, 0},
{ 5, s_4_84, -1, 2, 0},
{ 6, s_4_85, 84, 1, 0},
{ 7, s_4_86, 84, 2, 0},
{ 6, s_4_87, 84, 1, 0},
{ 6, s_4_88, 84, 1, 0},
{ 7, s_4_89, 84, 1, 0},
{ 4, s_4_90, -1, 1, 0},
{ 4, s_4_91, -1, 1, 0},
{ 5, s_4_92, -1, 1, 0},
{ 5, s_4_93, -1, 1, 0}
};
static const symbol s_5_0[1] = { 'a' };
static const symbol s_5_1[1] = { 'e' };
static const symbol s_5_2[2] = { 'i', 'e' };
static const symbol s_5_3[1] = { 'i' };
static const symbol s_5_4[2] = { 0xC4, 0x83 };
static const struct among a_5[5] =
{
{ 1, s_5_0, -1, 1, 0},
{ 1, s_5_1, -1, 1, 0},
{ 2, s_5_2, 1, 1, 0},
{ 1, s_5_3, -1, 1, 0},
{ 2, s_5_4, -1, 1, 0}
};
static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 32, 0, 0, 4 };
static const symbol s_0[] = { 'U' };
static const symbol s_1[] = { 'I' };
static const symbol s_2[] = { 'i' };
static const symbol s_3[] = { 'u' };
static const symbol s_4[] = { 'a' };
static const symbol s_5[] = { 'e' };
static const symbol s_6[] = { 'i' };
static const symbol s_7[] = { 'a', 'b' };
static const symbol s_8[] = { 'i' };
static const symbol s_9[] = { 'a', 't' };
static const symbol s_10[] = { 'a', 0xC5, 0xA3, 'i' };
static const symbol s_11[] = { 'a', 'b', 'i', 'l' };
static const symbol s_12[] = { 'i', 'b', 'i', 'l' };
static const symbol s_13[] = { 'i', 'v' };
static const symbol s_14[] = { 'i', 'c' };
static const symbol s_15[] = { 'a', 't' };
static const symbol s_16[] = { 'i', 't' };
static const symbol s_17[] = { 0xC5, 0xA3 };
static const symbol s_18[] = { 't' };
static const symbol s_19[] = { 'i', 's', 't' };
static int r_prelude(struct SN_env * z) {
while(1) {
int c1 = z->c;
while(1) {
int c2 = z->c;
if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab1;
z->bra = z->c;
{ int c3 = z->c;
if (z->c == z->l || z->p[z->c] != 'u') goto lab3;
z->c++;
z->ket = z->c;
if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab3;
{ int ret = slice_from_s(z, 1, s_0);
if (ret < 0) return ret;
}
goto lab2;
lab3:
z->c = c3;
if (z->c == z->l || z->p[z->c] != 'i') goto lab1;
z->c++;
z->ket = z->c;
if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab1;
{ int ret = slice_from_s(z, 1, s_1);
if (ret < 0) return ret;
}
}
lab2:
z->c = c2;
break;
lab1:
z->c = c2;
{ int ret = skip_utf8(z->p, z->c, z->l, 1);
if (ret < 0) goto lab0;
z->c = ret;
}
}
continue;
lab0:
z->c = c1;
break;
}
return 1;
}
static int r_mark_regions(struct SN_env * z) {
z->I[2] = z->l;
z->I[1] = z->l;
z->I[0] = z->l;
{ int c1 = z->c;
{ int c2 = z->c;
if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab2;
{ int c3 = z->c;
if (out_grouping_U(z, g_v, 97, 259, 0)) goto lab4;
{
int ret = out_grouping_U(z, g_v, 97, 259, 1);
if (ret < 0) goto lab4;
z->c += ret;
}
goto lab3;
lab4:
z->c = c3;
if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab2;
{
int ret = in_grouping_U(z, g_v, 97, 259, 1);
if (ret < 0) goto lab2;
z->c += ret;
}
}
lab3:
goto lab1;
lab2:
z->c = c2;
if (out_grouping_U(z, g_v, 97, 259, 0)) goto lab0;
{ int c4 = z->c;
if (out_grouping_U(z, g_v, 97, 259, 0)) goto lab6;
{
int ret = out_grouping_U(z, g_v, 97, 259, 1);
if (ret < 0) goto lab6;
z->c += ret;
}
goto lab5;
lab6:
z->c = c4;
if (in_grouping_U(z, g_v, 97, 259, 0)) goto lab0;
{ int ret = skip_utf8(z->p, z->c, z->l, 1);
if (ret < 0) goto lab0;
z->c = ret;
}
}
lab5:
;
}
lab1:
z->I[2] = z->c;
lab0:
z->c = c1;
}
{ int c5 = z->c;
{
int ret = out_grouping_U(z, g_v, 97, 259, 1);
if (ret < 0) goto lab7;
z->c += ret;
}
{
int ret = in_grouping_U(z, g_v, 97, 259, 1);
if (ret < 0) goto lab7;
z->c += ret;
}
z->I[1] = z->c;
{
int ret = out_grouping_U(z, g_v, 97, 259, 1);
if (ret < 0) goto lab7;
z->c += ret;
}
{
int ret = in_grouping_U(z, g_v, 97, 259, 1);
if (ret < 0) goto lab7;
z->c += ret;
}
z->I[0] = z->c;
lab7:
z->c = c5;
}
return 1;
}
static int r_postlude(struct SN_env * z) {
int among_var;
while(1) {
int c1 = z->c;
z->bra = z->c;
if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 85)) among_var = 3; else
among_var = find_among(z, a_0, 3);
if (!(among_var)) goto lab0;
z->ket = z->c;
switch (among_var) {
case 1:
{ int ret = slice_from_s(z, 1, s_2);
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_from_s(z, 1, s_3);
if (ret < 0) return ret;
}
break;
case 3:
{ int ret = skip_utf8(z->p, z->c, z->l, 1);
if (ret < 0) goto lab0;
z->c = ret;
}
break;
}
continue;
lab0:
z->c = c1;
break;
}
return 1;
}
static int r_RV(struct SN_env * z) {
if (!(z->I[2] <= 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[0] <= z->c)) return 0;
return 1;
}
static int r_step_0(struct SN_env * z) {
int among_var;
z->ket = z->c;
if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((266786 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
among_var = find_among_b(z, a_1, 16);
if (!(among_var)) return 0;
z->bra = z->c;
{ int ret = r_R1(z);
if (ret <= 0) return ret;
}
switch (among_var) {
case 1:
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_from_s(z, 1, s_4);
if (ret < 0) return ret;
}
break;
case 3:
{ int ret = slice_from_s(z, 1, s_5);
if (ret < 0) return ret;
}
break;
case 4:
{ int ret = slice_from_s(z, 1, s_6);
if (ret < 0) return ret;
}
break;
case 5:
{ int m1 = z->l - z->c; (void)m1;
if (!(eq_s_b(z, 2, s_7))) goto lab0;
return 0;
lab0:
z->c = z->l - m1;
}
{ int ret = slice_from_s(z, 1, s_8);
if (ret < 0) return ret;
}
break;
case 6:
{ int ret = slice_from_s(z, 2, s_9);
if (ret < 0) return ret;
}
break;
case 7:
{ int ret = slice_from_s(z, 4, s_10);
if (ret < 0) return ret;
}
break;
}
return 1;
}
static int r_combo_suffix(struct SN_env * z) {
int among_var;
{ int m_test1 = z->l - z->c;
z->ket = z->c;
among_var = find_among_b(z, a_2, 46);
if (!(among_var)) return 0;
z->bra = z->c;
{ int ret = r_R1(z);
if (ret <= 0) return ret;
}
switch (among_var) {
case 1:
{ int ret = slice_from_s(z, 4, s_11);
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_from_s(z, 4, s_12);
if (ret < 0) return ret;
}
break;
case 3:
{ int ret = slice_from_s(z, 2, s_13);
if (ret < 0) return ret;
}
break;
case 4:
{ int ret = slice_from_s(z, 2, s_14);
if (ret < 0) return ret;
}
break;
case 5:
{ int ret = slice_from_s(z, 2, s_15);
if (ret < 0) return ret;
}
break;
case 6:
{ int ret = slice_from_s(z, 2, s_16);
if (ret < 0) return ret;
}
break;
}
z->I[3] = 1;
z->c = z->l - m_test1;
}
return 1;
}
static int r_standard_suffix(struct SN_env * z) {
int among_var;
z->I[3] = 0;
while(1) {
int m1 = z->l - z->c; (void)m1;
{ int ret = r_combo_suffix(z);
if (ret == 0) goto lab0;
if (ret < 0) return ret;
}
continue;
lab0:
z->c = z->l - m1;
break;
}
z->ket = z->c;
among_var = find_among_b(z, a_3, 62);
if (!(among_var)) return 0;
z->bra = z->c;
{ int ret = r_R2(z);
if (ret <= 0) return ret;
}
switch (among_var) {
case 1:
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
break;
case 2:
if (!(eq_s_b(z, 2, s_17))) return 0;
z->bra = z->c;
{ int ret = slice_from_s(z, 1, s_18);
if (ret < 0) return ret;
}
break;
case 3:
{ int ret = slice_from_s(z, 3, s_19);
if (ret < 0) return ret;
}
break;
}
z->I[3] = 1;
return 1;
}
static int r_verb_suffix(struct SN_env * z) {
int among_var;
{ int mlimit1;
if (z->c < z->I[2]) return 0;
mlimit1 = z->lb; z->lb = z->I[2];
z->ket = z->c;
among_var = find_among_b(z, a_4, 94);
if (!(among_var)) { z->lb = mlimit1; return 0; }
z->bra = z->c;
switch (among_var) {
case 1:
{ int m2 = z->l - z->c; (void)m2;
if (out_grouping_b_U(z, g_v, 97, 259, 0)) goto lab1;
goto lab0;
lab1:
z->c = z->l - m2;
if (z->c <= z->lb || z->p[z->c - 1] != 'u') { z->lb = mlimit1; return 0; }
z->c--;
}
lab0:
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
break;
}
z->lb = mlimit1;
}
return 1;
}
static int r_vowel_suffix(struct SN_env * z) {
z->ket = z->c;
if (!(find_among_b(z, a_5, 5))) return 0;
z->bra = z->c;
{ int ret = r_RV(z);
if (ret <= 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
return 1;
}
extern int romanian_UTF_8_stem(struct SN_env * z) {
{ int c1 = z->c;
{ int ret = r_prelude(z);
if (ret < 0) return ret;
}
z->c = c1;
}
{ int ret = r_mark_regions(z);
if (ret < 0) return ret;
}
z->lb = z->c; z->c = z->l;
{ int m2 = z->l - z->c; (void)m2;
{ int ret = r_step_0(z);
if (ret < 0) return ret;
}
z->c = z->l - m2;
}
{ int m3 = z->l - z->c; (void)m3;
{ int ret = r_standard_suffix(z);
if (ret < 0) return ret;
}
z->c = z->l - m3;
}
{ int m4 = z->l - z->c; (void)m4;
{ int m5 = z->l - z->c; (void)m5;
if (!(z->I[3])) goto lab2;
goto lab1;
lab2:
z->c = z->l - m5;
{ int ret = r_verb_suffix(z);
if (ret == 0) goto lab0;
if (ret < 0) return ret;
}
}
lab1:
lab0:
z->c = z->l - m4;
}
{ int m6 = z->l - z->c; (void)m6;
{ int ret = r_vowel_suffix(z);
if (ret < 0) return ret;
}
z->c = z->l - m6;
}
z->c = z->lb;
{ int c7 = z->c;
{ int ret = r_postlude(z);
if (ret < 0) return ret;
}
z->c = c7;
}
return 1;
}
extern struct SN_env * romanian_UTF_8_create_env(void) { return SN_create_env(0, 4); }
extern void romanian_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); }