-
Notifications
You must be signed in to change notification settings - Fork 6
/
stem_ISO_8859_1_spanish.c
1041 lines (996 loc) · 33.4 KB
/
stem_ISO_8859_1_spanish.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
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
/* Generated by Snowball 2.2.0 - https://snowballstem.org/ */
#include "header.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int spanish_ISO_8859_1_stem(struct SN_env * z);
#ifdef __cplusplus
}
#endif
static int r_residual_suffix(struct SN_env * z);
static int r_verb_suffix(struct SN_env * z);
static int r_y_verb_suffix(struct SN_env * z);
static int r_standard_suffix(struct SN_env * z);
static int r_attached_pronoun(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);
#ifdef __cplusplus
extern "C" {
#endif
extern struct SN_env * spanish_ISO_8859_1_create_env(void);
extern void spanish_ISO_8859_1_close_env(struct SN_env * z);
#ifdef __cplusplus
}
#endif
static const symbol s_0_1[1] = { 0xE1 };
static const symbol s_0_2[1] = { 0xE9 };
static const symbol s_0_3[1] = { 0xED };
static const symbol s_0_4[1] = { 0xF3 };
static const symbol s_0_5[1] = { 0xFA };
static const struct among a_0[6] =
{
{ 0, 0, -1, 6, 0},
{ 1, s_0_1, 0, 1, 0},
{ 1, s_0_2, 0, 2, 0},
{ 1, s_0_3, 0, 3, 0},
{ 1, s_0_4, 0, 4, 0},
{ 1, s_0_5, 0, 5, 0}
};
static const symbol s_1_0[2] = { 'l', 'a' };
static const symbol s_1_1[4] = { 's', 'e', 'l', 'a' };
static const symbol s_1_2[2] = { 'l', 'e' };
static const symbol s_1_3[2] = { 'm', 'e' };
static const symbol s_1_4[2] = { 's', 'e' };
static const symbol s_1_5[2] = { 'l', 'o' };
static const symbol s_1_6[4] = { 's', 'e', 'l', 'o' };
static const symbol s_1_7[3] = { 'l', 'a', 's' };
static const symbol s_1_8[5] = { 's', 'e', 'l', 'a', 's' };
static const symbol s_1_9[3] = { 'l', 'e', 's' };
static const symbol s_1_10[3] = { 'l', 'o', 's' };
static const symbol s_1_11[5] = { 's', 'e', 'l', 'o', 's' };
static const symbol s_1_12[3] = { 'n', 'o', 's' };
static const struct among a_1[13] =
{
{ 2, s_1_0, -1, -1, 0},
{ 4, s_1_1, 0, -1, 0},
{ 2, s_1_2, -1, -1, 0},
{ 2, s_1_3, -1, -1, 0},
{ 2, s_1_4, -1, -1, 0},
{ 2, s_1_5, -1, -1, 0},
{ 4, s_1_6, 5, -1, 0},
{ 3, s_1_7, -1, -1, 0},
{ 5, s_1_8, 7, -1, 0},
{ 3, s_1_9, -1, -1, 0},
{ 3, s_1_10, -1, -1, 0},
{ 5, s_1_11, 10, -1, 0},
{ 3, s_1_12, -1, -1, 0}
};
static const symbol s_2_0[4] = { 'a', 'n', 'd', 'o' };
static const symbol s_2_1[5] = { 'i', 'e', 'n', 'd', 'o' };
static const symbol s_2_2[5] = { 'y', 'e', 'n', 'd', 'o' };
static const symbol s_2_3[4] = { 0xE1, 'n', 'd', 'o' };
static const symbol s_2_4[5] = { 'i', 0xE9, 'n', 'd', 'o' };
static const symbol s_2_5[2] = { 'a', 'r' };
static const symbol s_2_6[2] = { 'e', 'r' };
static const symbol s_2_7[2] = { 'i', 'r' };
static const symbol s_2_8[2] = { 0xE1, 'r' };
static const symbol s_2_9[2] = { 0xE9, 'r' };
static const symbol s_2_10[2] = { 0xED, 'r' };
static const struct among a_2[11] =
{
{ 4, s_2_0, -1, 6, 0},
{ 5, s_2_1, -1, 6, 0},
{ 5, s_2_2, -1, 7, 0},
{ 4, s_2_3, -1, 2, 0},
{ 5, s_2_4, -1, 1, 0},
{ 2, s_2_5, -1, 6, 0},
{ 2, s_2_6, -1, 6, 0},
{ 2, s_2_7, -1, 6, 0},
{ 2, s_2_8, -1, 3, 0},
{ 2, s_2_9, -1, 4, 0},
{ 2, s_2_10, -1, 5, 0}
};
static const symbol s_3_0[2] = { 'i', 'c' };
static const symbol s_3_1[2] = { 'a', 'd' };
static const symbol s_3_2[2] = { 'o', 's' };
static const symbol s_3_3[2] = { 'i', 'v' };
static const struct among a_3[4] =
{
{ 2, s_3_0, -1, -1, 0},
{ 2, s_3_1, -1, -1, 0},
{ 2, s_3_2, -1, -1, 0},
{ 2, s_3_3, -1, 1, 0}
};
static const symbol s_4_0[4] = { 'a', 'b', 'l', 'e' };
static const symbol s_4_1[4] = { 'i', 'b', 'l', 'e' };
static const symbol s_4_2[4] = { 'a', 'n', 't', 'e' };
static const struct among a_4[3] =
{
{ 4, s_4_0, -1, 1, 0},
{ 4, s_4_1, -1, 1, 0},
{ 4, s_4_2, -1, 1, 0}
};
static const symbol s_5_0[2] = { 'i', 'c' };
static const symbol s_5_1[4] = { 'a', 'b', 'i', 'l' };
static const symbol s_5_2[2] = { 'i', 'v' };
static const struct among a_5[3] =
{
{ 2, s_5_0, -1, 1, 0},
{ 4, s_5_1, -1, 1, 0},
{ 2, s_5_2, -1, 1, 0}
};
static const symbol s_6_0[3] = { 'i', 'c', 'a' };
static const symbol s_6_1[5] = { 'a', 'n', 'c', 'i', 'a' };
static const symbol s_6_2[5] = { 'e', 'n', 'c', 'i', 'a' };
static const symbol s_6_3[5] = { 'a', 'd', 'o', 'r', 'a' };
static const symbol s_6_4[3] = { 'o', 's', 'a' };
static const symbol s_6_5[4] = { 'i', 's', 't', 'a' };
static const symbol s_6_6[3] = { 'i', 'v', 'a' };
static const symbol s_6_7[4] = { 'a', 'n', 'z', 'a' };
static const symbol s_6_8[5] = { 'l', 'o', 'g', 0xED, 'a' };
static const symbol s_6_9[4] = { 'i', 'd', 'a', 'd' };
static const symbol s_6_10[4] = { 'a', 'b', 'l', 'e' };
static const symbol s_6_11[4] = { 'i', 'b', 'l', 'e' };
static const symbol s_6_12[4] = { 'a', 'n', 't', 'e' };
static const symbol s_6_13[5] = { 'm', 'e', 'n', 't', 'e' };
static const symbol s_6_14[6] = { 'a', 'm', 'e', 'n', 't', 'e' };
static const symbol s_6_15[5] = { 'a', 'c', 'i', 0xF3, 'n' };
static const symbol s_6_16[5] = { 'u', 'c', 'i', 0xF3, 'n' };
static const symbol s_6_17[3] = { 'i', 'c', 'o' };
static const symbol s_6_18[4] = { 'i', 's', 'm', 'o' };
static const symbol s_6_19[3] = { 'o', 's', 'o' };
static const symbol s_6_20[7] = { 'a', 'm', 'i', 'e', 'n', 't', 'o' };
static const symbol s_6_21[7] = { 'i', 'm', 'i', 'e', 'n', 't', 'o' };
static const symbol s_6_22[3] = { 'i', 'v', 'o' };
static const symbol s_6_23[4] = { 'a', 'd', 'o', 'r' };
static const symbol s_6_24[4] = { 'i', 'c', 'a', 's' };
static const symbol s_6_25[6] = { 'a', 'n', 'c', 'i', 'a', 's' };
static const symbol s_6_26[6] = { 'e', 'n', 'c', 'i', 'a', 's' };
static const symbol s_6_27[6] = { 'a', 'd', 'o', 'r', 'a', 's' };
static const symbol s_6_28[4] = { 'o', 's', 'a', 's' };
static const symbol s_6_29[5] = { 'i', 's', 't', 'a', 's' };
static const symbol s_6_30[4] = { 'i', 'v', 'a', 's' };
static const symbol s_6_31[5] = { 'a', 'n', 'z', 'a', 's' };
static const symbol s_6_32[6] = { 'l', 'o', 'g', 0xED, 'a', 's' };
static const symbol s_6_33[6] = { 'i', 'd', 'a', 'd', 'e', 's' };
static const symbol s_6_34[5] = { 'a', 'b', 'l', 'e', 's' };
static const symbol s_6_35[5] = { 'i', 'b', 'l', 'e', 's' };
static const symbol s_6_36[7] = { 'a', 'c', 'i', 'o', 'n', 'e', 's' };
static const symbol s_6_37[7] = { 'u', 'c', 'i', 'o', 'n', 'e', 's' };
static const symbol s_6_38[6] = { 'a', 'd', 'o', 'r', 'e', 's' };
static const symbol s_6_39[5] = { 'a', 'n', 't', 'e', 's' };
static const symbol s_6_40[4] = { 'i', 'c', 'o', 's' };
static const symbol s_6_41[5] = { 'i', 's', 'm', 'o', 's' };
static const symbol s_6_42[4] = { 'o', 's', 'o', 's' };
static const symbol s_6_43[8] = { 'a', 'm', 'i', 'e', 'n', 't', 'o', 's' };
static const symbol s_6_44[8] = { 'i', 'm', 'i', 'e', 'n', 't', 'o', 's' };
static const symbol s_6_45[4] = { 'i', 'v', 'o', 's' };
static const struct among a_6[46] =
{
{ 3, s_6_0, -1, 1, 0},
{ 5, s_6_1, -1, 2, 0},
{ 5, s_6_2, -1, 5, 0},
{ 5, s_6_3, -1, 2, 0},
{ 3, s_6_4, -1, 1, 0},
{ 4, s_6_5, -1, 1, 0},
{ 3, s_6_6, -1, 9, 0},
{ 4, s_6_7, -1, 1, 0},
{ 5, s_6_8, -1, 3, 0},
{ 4, s_6_9, -1, 8, 0},
{ 4, s_6_10, -1, 1, 0},
{ 4, s_6_11, -1, 1, 0},
{ 4, s_6_12, -1, 2, 0},
{ 5, s_6_13, -1, 7, 0},
{ 6, s_6_14, 13, 6, 0},
{ 5, s_6_15, -1, 2, 0},
{ 5, s_6_16, -1, 4, 0},
{ 3, s_6_17, -1, 1, 0},
{ 4, s_6_18, -1, 1, 0},
{ 3, s_6_19, -1, 1, 0},
{ 7, s_6_20, -1, 1, 0},
{ 7, s_6_21, -1, 1, 0},
{ 3, s_6_22, -1, 9, 0},
{ 4, s_6_23, -1, 2, 0},
{ 4, s_6_24, -1, 1, 0},
{ 6, s_6_25, -1, 2, 0},
{ 6, s_6_26, -1, 5, 0},
{ 6, s_6_27, -1, 2, 0},
{ 4, s_6_28, -1, 1, 0},
{ 5, s_6_29, -1, 1, 0},
{ 4, s_6_30, -1, 9, 0},
{ 5, s_6_31, -1, 1, 0},
{ 6, s_6_32, -1, 3, 0},
{ 6, s_6_33, -1, 8, 0},
{ 5, s_6_34, -1, 1, 0},
{ 5, s_6_35, -1, 1, 0},
{ 7, s_6_36, -1, 2, 0},
{ 7, s_6_37, -1, 4, 0},
{ 6, s_6_38, -1, 2, 0},
{ 5, s_6_39, -1, 2, 0},
{ 4, s_6_40, -1, 1, 0},
{ 5, s_6_41, -1, 1, 0},
{ 4, s_6_42, -1, 1, 0},
{ 8, s_6_43, -1, 1, 0},
{ 8, s_6_44, -1, 1, 0},
{ 4, s_6_45, -1, 9, 0}
};
static const symbol s_7_0[2] = { 'y', 'a' };
static const symbol s_7_1[2] = { 'y', 'e' };
static const symbol s_7_2[3] = { 'y', 'a', 'n' };
static const symbol s_7_3[3] = { 'y', 'e', 'n' };
static const symbol s_7_4[5] = { 'y', 'e', 'r', 'o', 'n' };
static const symbol s_7_5[5] = { 'y', 'e', 'n', 'd', 'o' };
static const symbol s_7_6[2] = { 'y', 'o' };
static const symbol s_7_7[3] = { 'y', 'a', 's' };
static const symbol s_7_8[3] = { 'y', 'e', 's' };
static const symbol s_7_9[4] = { 'y', 'a', 'i', 's' };
static const symbol s_7_10[5] = { 'y', 'a', 'm', 'o', 's' };
static const symbol s_7_11[2] = { 'y', 0xF3 };
static const struct among a_7[12] =
{
{ 2, s_7_0, -1, 1, 0},
{ 2, s_7_1, -1, 1, 0},
{ 3, s_7_2, -1, 1, 0},
{ 3, s_7_3, -1, 1, 0},
{ 5, s_7_4, -1, 1, 0},
{ 5, s_7_5, -1, 1, 0},
{ 2, s_7_6, -1, 1, 0},
{ 3, s_7_7, -1, 1, 0},
{ 3, s_7_8, -1, 1, 0},
{ 4, s_7_9, -1, 1, 0},
{ 5, s_7_10, -1, 1, 0},
{ 2, s_7_11, -1, 1, 0}
};
static const symbol s_8_0[3] = { 'a', 'b', 'a' };
static const symbol s_8_1[3] = { 'a', 'd', 'a' };
static const symbol s_8_2[3] = { 'i', 'd', 'a' };
static const symbol s_8_3[3] = { 'a', 'r', 'a' };
static const symbol s_8_4[4] = { 'i', 'e', 'r', 'a' };
static const symbol s_8_5[2] = { 0xED, 'a' };
static const symbol s_8_6[4] = { 'a', 'r', 0xED, 'a' };
static const symbol s_8_7[4] = { 'e', 'r', 0xED, 'a' };
static const symbol s_8_8[4] = { 'i', 'r', 0xED, 'a' };
static const symbol s_8_9[2] = { 'a', 'd' };
static const symbol s_8_10[2] = { 'e', 'd' };
static const symbol s_8_11[2] = { 'i', 'd' };
static const symbol s_8_12[3] = { 'a', 's', 'e' };
static const symbol s_8_13[4] = { 'i', 'e', 's', 'e' };
static const symbol s_8_14[4] = { 'a', 's', 't', 'e' };
static const symbol s_8_15[4] = { 'i', 's', 't', 'e' };
static const symbol s_8_16[2] = { 'a', 'n' };
static const symbol s_8_17[4] = { 'a', 'b', 'a', 'n' };
static const symbol s_8_18[4] = { 'a', 'r', 'a', 'n' };
static const symbol s_8_19[5] = { 'i', 'e', 'r', 'a', 'n' };
static const symbol s_8_20[3] = { 0xED, 'a', 'n' };
static const symbol s_8_21[5] = { 'a', 'r', 0xED, 'a', 'n' };
static const symbol s_8_22[5] = { 'e', 'r', 0xED, 'a', 'n' };
static const symbol s_8_23[5] = { 'i', 'r', 0xED, 'a', 'n' };
static const symbol s_8_24[2] = { 'e', 'n' };
static const symbol s_8_25[4] = { 'a', 's', 'e', 'n' };
static const symbol s_8_26[5] = { 'i', 'e', 's', 'e', 'n' };
static const symbol s_8_27[4] = { 'a', 'r', 'o', 'n' };
static const symbol s_8_28[5] = { 'i', 'e', 'r', 'o', 'n' };
static const symbol s_8_29[4] = { 'a', 'r', 0xE1, 'n' };
static const symbol s_8_30[4] = { 'e', 'r', 0xE1, 'n' };
static const symbol s_8_31[4] = { 'i', 'r', 0xE1, 'n' };
static const symbol s_8_32[3] = { 'a', 'd', 'o' };
static const symbol s_8_33[3] = { 'i', 'd', 'o' };
static const symbol s_8_34[4] = { 'a', 'n', 'd', 'o' };
static const symbol s_8_35[5] = { 'i', 'e', 'n', 'd', 'o' };
static const symbol s_8_36[2] = { 'a', 'r' };
static const symbol s_8_37[2] = { 'e', 'r' };
static const symbol s_8_38[2] = { 'i', 'r' };
static const symbol s_8_39[2] = { 'a', 's' };
static const symbol s_8_40[4] = { 'a', 'b', 'a', 's' };
static const symbol s_8_41[4] = { 'a', 'd', 'a', 's' };
static const symbol s_8_42[4] = { 'i', 'd', 'a', 's' };
static const symbol s_8_43[4] = { 'a', 'r', 'a', 's' };
static const symbol s_8_44[5] = { 'i', 'e', 'r', 'a', 's' };
static const symbol s_8_45[3] = { 0xED, 'a', 's' };
static const symbol s_8_46[5] = { 'a', 'r', 0xED, 'a', 's' };
static const symbol s_8_47[5] = { 'e', 'r', 0xED, 'a', 's' };
static const symbol s_8_48[5] = { 'i', 'r', 0xED, 'a', 's' };
static const symbol s_8_49[2] = { 'e', 's' };
static const symbol s_8_50[4] = { 'a', 's', 'e', 's' };
static const symbol s_8_51[5] = { 'i', 'e', 's', 'e', 's' };
static const symbol s_8_52[5] = { 'a', 'b', 'a', 'i', 's' };
static const symbol s_8_53[5] = { 'a', 'r', 'a', 'i', 's' };
static const symbol s_8_54[6] = { 'i', 'e', 'r', 'a', 'i', 's' };
static const symbol s_8_55[4] = { 0xED, 'a', 'i', 's' };
static const symbol s_8_56[6] = { 'a', 'r', 0xED, 'a', 'i', 's' };
static const symbol s_8_57[6] = { 'e', 'r', 0xED, 'a', 'i', 's' };
static const symbol s_8_58[6] = { 'i', 'r', 0xED, 'a', 'i', 's' };
static const symbol s_8_59[5] = { 'a', 's', 'e', 'i', 's' };
static const symbol s_8_60[6] = { 'i', 'e', 's', 'e', 'i', 's' };
static const symbol s_8_61[6] = { 'a', 's', 't', 'e', 'i', 's' };
static const symbol s_8_62[6] = { 'i', 's', 't', 'e', 'i', 's' };
static const symbol s_8_63[3] = { 0xE1, 'i', 's' };
static const symbol s_8_64[3] = { 0xE9, 'i', 's' };
static const symbol s_8_65[5] = { 'a', 'r', 0xE9, 'i', 's' };
static const symbol s_8_66[5] = { 'e', 'r', 0xE9, 'i', 's' };
static const symbol s_8_67[5] = { 'i', 'r', 0xE9, 'i', 's' };
static const symbol s_8_68[4] = { 'a', 'd', 'o', 's' };
static const symbol s_8_69[4] = { 'i', 'd', 'o', 's' };
static const symbol s_8_70[4] = { 'a', 'm', 'o', 's' };
static const symbol s_8_71[6] = { 0xE1, 'b', 'a', 'm', 'o', 's' };
static const symbol s_8_72[6] = { 0xE1, 'r', 'a', 'm', 'o', 's' };
static const symbol s_8_73[7] = { 'i', 0xE9, 'r', 'a', 'm', 'o', 's' };
static const symbol s_8_74[5] = { 0xED, 'a', 'm', 'o', 's' };
static const symbol s_8_75[7] = { 'a', 'r', 0xED, 'a', 'm', 'o', 's' };
static const symbol s_8_76[7] = { 'e', 'r', 0xED, 'a', 'm', 'o', 's' };
static const symbol s_8_77[7] = { 'i', 'r', 0xED, 'a', 'm', 'o', 's' };
static const symbol s_8_78[4] = { 'e', 'm', 'o', 's' };
static const symbol s_8_79[6] = { 'a', 'r', 'e', 'm', 'o', 's' };
static const symbol s_8_80[6] = { 'e', 'r', 'e', 'm', 'o', 's' };
static const symbol s_8_81[6] = { 'i', 'r', 'e', 'm', 'o', 's' };
static const symbol s_8_82[6] = { 0xE1, 's', 'e', 'm', 'o', 's' };
static const symbol s_8_83[7] = { 'i', 0xE9, 's', 'e', 'm', 'o', 's' };
static const symbol s_8_84[4] = { 'i', 'm', 'o', 's' };
static const symbol s_8_85[4] = { 'a', 'r', 0xE1, 's' };
static const symbol s_8_86[4] = { 'e', 'r', 0xE1, 's' };
static const symbol s_8_87[4] = { 'i', 'r', 0xE1, 's' };
static const symbol s_8_88[2] = { 0xED, 's' };
static const symbol s_8_89[3] = { 'a', 'r', 0xE1 };
static const symbol s_8_90[3] = { 'e', 'r', 0xE1 };
static const symbol s_8_91[3] = { 'i', 'r', 0xE1 };
static const symbol s_8_92[3] = { 'a', 'r', 0xE9 };
static const symbol s_8_93[3] = { 'e', 'r', 0xE9 };
static const symbol s_8_94[3] = { 'i', 'r', 0xE9 };
static const symbol s_8_95[2] = { 'i', 0xF3 };
static const struct among a_8[96] =
{
{ 3, s_8_0, -1, 2, 0},
{ 3, s_8_1, -1, 2, 0},
{ 3, s_8_2, -1, 2, 0},
{ 3, s_8_3, -1, 2, 0},
{ 4, s_8_4, -1, 2, 0},
{ 2, s_8_5, -1, 2, 0},
{ 4, s_8_6, 5, 2, 0},
{ 4, s_8_7, 5, 2, 0},
{ 4, s_8_8, 5, 2, 0},
{ 2, s_8_9, -1, 2, 0},
{ 2, s_8_10, -1, 2, 0},
{ 2, s_8_11, -1, 2, 0},
{ 3, s_8_12, -1, 2, 0},
{ 4, s_8_13, -1, 2, 0},
{ 4, s_8_14, -1, 2, 0},
{ 4, s_8_15, -1, 2, 0},
{ 2, s_8_16, -1, 2, 0},
{ 4, s_8_17, 16, 2, 0},
{ 4, s_8_18, 16, 2, 0},
{ 5, s_8_19, 16, 2, 0},
{ 3, s_8_20, 16, 2, 0},
{ 5, s_8_21, 20, 2, 0},
{ 5, s_8_22, 20, 2, 0},
{ 5, s_8_23, 20, 2, 0},
{ 2, s_8_24, -1, 1, 0},
{ 4, s_8_25, 24, 2, 0},
{ 5, s_8_26, 24, 2, 0},
{ 4, s_8_27, -1, 2, 0},
{ 5, s_8_28, -1, 2, 0},
{ 4, s_8_29, -1, 2, 0},
{ 4, s_8_30, -1, 2, 0},
{ 4, s_8_31, -1, 2, 0},
{ 3, s_8_32, -1, 2, 0},
{ 3, s_8_33, -1, 2, 0},
{ 4, s_8_34, -1, 2, 0},
{ 5, s_8_35, -1, 2, 0},
{ 2, s_8_36, -1, 2, 0},
{ 2, s_8_37, -1, 2, 0},
{ 2, s_8_38, -1, 2, 0},
{ 2, s_8_39, -1, 2, 0},
{ 4, s_8_40, 39, 2, 0},
{ 4, s_8_41, 39, 2, 0},
{ 4, s_8_42, 39, 2, 0},
{ 4, s_8_43, 39, 2, 0},
{ 5, s_8_44, 39, 2, 0},
{ 3, s_8_45, 39, 2, 0},
{ 5, s_8_46, 45, 2, 0},
{ 5, s_8_47, 45, 2, 0},
{ 5, s_8_48, 45, 2, 0},
{ 2, s_8_49, -1, 1, 0},
{ 4, s_8_50, 49, 2, 0},
{ 5, s_8_51, 49, 2, 0},
{ 5, s_8_52, -1, 2, 0},
{ 5, s_8_53, -1, 2, 0},
{ 6, s_8_54, -1, 2, 0},
{ 4, s_8_55, -1, 2, 0},
{ 6, s_8_56, 55, 2, 0},
{ 6, s_8_57, 55, 2, 0},
{ 6, s_8_58, 55, 2, 0},
{ 5, s_8_59, -1, 2, 0},
{ 6, s_8_60, -1, 2, 0},
{ 6, s_8_61, -1, 2, 0},
{ 6, s_8_62, -1, 2, 0},
{ 3, s_8_63, -1, 2, 0},
{ 3, s_8_64, -1, 1, 0},
{ 5, s_8_65, 64, 2, 0},
{ 5, s_8_66, 64, 2, 0},
{ 5, s_8_67, 64, 2, 0},
{ 4, s_8_68, -1, 2, 0},
{ 4, s_8_69, -1, 2, 0},
{ 4, s_8_70, -1, 2, 0},
{ 6, s_8_71, 70, 2, 0},
{ 6, s_8_72, 70, 2, 0},
{ 7, s_8_73, 70, 2, 0},
{ 5, s_8_74, 70, 2, 0},
{ 7, s_8_75, 74, 2, 0},
{ 7, s_8_76, 74, 2, 0},
{ 7, s_8_77, 74, 2, 0},
{ 4, s_8_78, -1, 1, 0},
{ 6, s_8_79, 78, 2, 0},
{ 6, s_8_80, 78, 2, 0},
{ 6, s_8_81, 78, 2, 0},
{ 6, s_8_82, 78, 2, 0},
{ 7, s_8_83, 78, 2, 0},
{ 4, s_8_84, -1, 2, 0},
{ 4, s_8_85, -1, 2, 0},
{ 4, s_8_86, -1, 2, 0},
{ 4, s_8_87, -1, 2, 0},
{ 2, s_8_88, -1, 2, 0},
{ 3, s_8_89, -1, 2, 0},
{ 3, s_8_90, -1, 2, 0},
{ 3, s_8_91, -1, 2, 0},
{ 3, s_8_92, -1, 2, 0},
{ 3, s_8_93, -1, 2, 0},
{ 3, s_8_94, -1, 2, 0},
{ 2, s_8_95, -1, 2, 0}
};
static const symbol s_9_0[1] = { 'a' };
static const symbol s_9_1[1] = { 'e' };
static const symbol s_9_2[1] = { 'o' };
static const symbol s_9_3[2] = { 'o', 's' };
static const symbol s_9_4[1] = { 0xE1 };
static const symbol s_9_5[1] = { 0xE9 };
static const symbol s_9_6[1] = { 0xED };
static const symbol s_9_7[1] = { 0xF3 };
static const struct among a_9[8] =
{
{ 1, s_9_0, -1, 1, 0},
{ 1, s_9_1, -1, 2, 0},
{ 1, s_9_2, -1, 1, 0},
{ 2, s_9_3, -1, 1, 0},
{ 1, s_9_4, -1, 1, 0},
{ 1, s_9_5, -1, 2, 0},
{ 1, s_9_6, -1, 1, 0},
{ 1, s_9_7, -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, 1, 17, 4, 10 };
static const symbol s_0[] = { 'a' };
static const symbol s_1[] = { 'e' };
static const symbol s_2[] = { 'i' };
static const symbol s_3[] = { 'o' };
static const symbol s_4[] = { 'u' };
static const symbol s_5[] = { 'i', 'e', 'n', 'd', 'o' };
static const symbol s_6[] = { 'a', 'n', 'd', 'o' };
static const symbol s_7[] = { 'a', 'r' };
static const symbol s_8[] = { 'e', 'r' };
static const symbol s_9[] = { 'i', 'r' };
static const symbol s_10[] = { 'i', 'c' };
static const symbol s_11[] = { 'l', 'o', 'g' };
static const symbol s_12[] = { 'u' };
static const symbol s_13[] = { 'e', 'n', 't', 'e' };
static const symbol s_14[] = { 'a', 't' };
static const symbol s_15[] = { 'a', 't' };
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(z, g_v, 97, 252, 0)) goto lab2;
{ int c3 = z->c;
if (out_grouping(z, g_v, 97, 252, 0)) goto lab4;
{
int ret = out_grouping(z, g_v, 97, 252, 1);
if (ret < 0) goto lab4;
z->c += ret;
}
goto lab3;
lab4:
z->c = c3;
if (in_grouping(z, g_v, 97, 252, 0)) goto lab2;
{
int ret = in_grouping(z, g_v, 97, 252, 1);
if (ret < 0) goto lab2;
z->c += ret;
}
}
lab3:
goto lab1;
lab2:
z->c = c2;
if (out_grouping(z, g_v, 97, 252, 0)) goto lab0;
{ int c4 = z->c;
if (out_grouping(z, g_v, 97, 252, 0)) goto lab6;
{
int ret = out_grouping(z, g_v, 97, 252, 1);
if (ret < 0) goto lab6;
z->c += ret;
}
goto lab5;
lab6:
z->c = c4;
if (in_grouping(z, g_v, 97, 252, 0)) goto lab0;
if (z->c >= z->l) goto lab0;
z->c++;
}
lab5:
;
}
lab1:
z->I[2] = z->c;
lab0:
z->c = c1;
}
{ int c5 = z->c;
{
int ret = out_grouping(z, g_v, 97, 252, 1);
if (ret < 0) goto lab7;
z->c += ret;
}
{
int ret = in_grouping(z, g_v, 97, 252, 1);
if (ret < 0) goto lab7;
z->c += ret;
}
z->I[1] = z->c;
{
int ret = out_grouping(z, g_v, 97, 252, 1);
if (ret < 0) goto lab7;
z->c += ret;
}
{
int ret = in_grouping(z, g_v, 97, 252, 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] >> 5 != 7 || !((67641858 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 6; else
among_var = find_among(z, a_0, 6);
if (!(among_var)) goto lab0;
z->ket = z->c;
switch (among_var) {
case 1:
{ int ret = slice_from_s(z, 1, s_0);
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_from_s(z, 1, s_1);
if (ret < 0) return ret;
}
break;
case 3:
{ int ret = slice_from_s(z, 1, s_2);
if (ret < 0) return ret;
}
break;
case 4:
{ int ret = slice_from_s(z, 1, s_3);
if (ret < 0) return ret;
}
break;
case 5:
{ int ret = slice_from_s(z, 1, s_4);
if (ret < 0) return ret;
}
break;
case 6:
if (z->c >= z->l) goto lab0;
z->c++;
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_attached_pronoun(struct SN_env * z) {
int among_var;
z->ket = z->c;
if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((557090 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
if (!(find_among_b(z, a_1, 13))) return 0;
z->bra = z->c;
if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 111 && z->p[z->c - 1] != 114)) return 0;
among_var = find_among_b(z, a_2, 11);
if (!(among_var)) return 0;
{ int ret = r_RV(z);
if (ret <= 0) return ret;
}
switch (among_var) {
case 1:
z->bra = z->c;
{ int ret = slice_from_s(z, 5, s_5);
if (ret < 0) return ret;
}
break;
case 2:
z->bra = z->c;
{ int ret = slice_from_s(z, 4, s_6);
if (ret < 0) return ret;
}
break;
case 3:
z->bra = z->c;
{ int ret = slice_from_s(z, 2, s_7);
if (ret < 0) return ret;
}
break;
case 4:
z->bra = z->c;
{ int ret = slice_from_s(z, 2, s_8);
if (ret < 0) return ret;
}
break;
case 5:
z->bra = z->c;
{ int ret = slice_from_s(z, 2, s_9);
if (ret < 0) return ret;
}
break;
case 6:
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
break;
case 7:
if (z->c <= z->lb || z->p[z->c - 1] != 'u') return 0;
z->c--;
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
break;
}
return 1;
}
static int r_standard_suffix(struct SN_env * z) {
int among_var;
z->ket = z->c;
if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((835634 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
among_var = find_among_b(z, a_6, 46);
if (!(among_var)) return 0;
z->bra = z->c;
switch (among_var) {
case 1:
{ int ret = r_R2(z);
if (ret <= 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = r_R2(z);
if (ret <= 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
{ int m1 = z->l - z->c; (void)m1;
z->ket = z->c;
if (!(eq_s_b(z, 2, s_10))) { z->c = z->l - m1; goto lab0; }
z->bra = z->c;
{ int ret = r_R2(z);
if (ret == 0) { z->c = z->l - m1; goto lab0; }
if (ret < 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
lab0:
;
}
break;
case 3:
{ int ret = r_R2(z);
if (ret <= 0) return ret;
}
{ int ret = slice_from_s(z, 3, s_11);
if (ret < 0) return ret;
}
break;
case 4:
{ int ret = r_R2(z);
if (ret <= 0) return ret;
}
{ int ret = slice_from_s(z, 1, s_12);
if (ret < 0) return ret;
}
break;
case 5:
{ int ret = r_R2(z);
if (ret <= 0) return ret;
}
{ int ret = slice_from_s(z, 4, s_13);
if (ret < 0) return ret;
}
break;
case 6:
{ int ret = r_R1(z);
if (ret <= 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
{ int m2 = z->l - z->c; (void)m2;
z->ket = z->c;
if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4718616 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m2; goto lab1; }
among_var = find_among_b(z, a_3, 4);
if (!(among_var)) { z->c = z->l - m2; goto lab1; }
z->bra = z->c;
{ int ret = r_R2(z);
if (ret == 0) { z->c = z->l - m2; goto lab1; }
if (ret < 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
switch (among_var) {
case 1:
z->ket = z->c;
if (!(eq_s_b(z, 2, s_14))) { z->c = z->l - m2; goto lab1; }
z->bra = z->c;
{ int ret = r_R2(z);
if (ret == 0) { z->c = z->l - m2; goto lab1; }
if (ret < 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
break;
}
lab1:
;
}
break;
case 7:
{ int ret = r_R2(z);
if (ret <= 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
{ int m3 = z->l - z->c; (void)m3;
z->ket = z->c;
if (z->c - 3 <= z->lb || z->p[z->c - 1] != 101) { z->c = z->l - m3; goto lab2; }
if (!(find_among_b(z, a_4, 3))) { z->c = z->l - m3; goto lab2; }
z->bra = z->c;
{ int ret = r_R2(z);
if (ret == 0) { z->c = z->l - m3; goto lab2; }
if (ret < 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
lab2:
;
}
break;
case 8:
{ int ret = r_R2(z);
if (ret <= 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
{ int m4 = z->l - z->c; (void)m4;
z->ket = z->c;
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 - m4; goto lab3; }
if (!(find_among_b(z, a_5, 3))) { z->c = z->l - m4; goto lab3; }
z->bra = z->c;
{ int ret = r_R2(z);
if (ret == 0) { z->c = z->l - m4; goto lab3; }
if (ret < 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
lab3:
;
}
break;
case 9:
{ int ret = r_R2(z);
if (ret <= 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
{ int m5 = z->l - z->c; (void)m5;
z->ket = z->c;
if (!(eq_s_b(z, 2, s_15))) { z->c = z->l - m5; goto lab4; }
z->bra = z->c;
{ int ret = r_R2(z);
if (ret == 0) { z->c = z->l - m5; goto lab4; }
if (ret < 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
lab4:
;
}
break;
}
return 1;
}
static int r_y_verb_suffix(struct SN_env * z) {
{ int mlimit1;
if (z->c < z->I[2]) return 0;
mlimit1 = z->lb; z->lb = z->I[2];
z->ket = z->c;
if (!(find_among_b(z, a_7, 12))) { z->lb = mlimit1; return 0; }
z->bra = z->c;
z->lb = mlimit1;
}
if (z->c <= z->lb || z->p[z->c - 1] != 'u') return 0;
z->c--;
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
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_8, 96);
if (!(among_var)) { z->lb = mlimit1; return 0; }
z->bra = z->c;
z->lb = mlimit1;
}
switch (among_var) {
case 1:
{ int m2 = z->l - z->c; (void)m2;
if (z->c <= z->lb || z->p[z->c - 1] != 'u') { z->c = z->l - m2; goto lab0; }
z->c--;
{ int m_test3 = z->l - z->c;
if (z->c <= z->lb || z->p[z->c - 1] != 'g') { z->c = z->l - m2; goto lab0; }
z->c--;
z->c = z->l - m_test3;
}
lab0:
;
}
z->bra = z->c;
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
break;
}
return 1;
}
static int r_residual_suffix(struct SN_env * z) {
int among_var;
z->ket = z->c;
among_var = find_among_b(z, a_9, 8);
if (!(among_var)) return 0;
z->bra = z->c;
switch (among_var) {
case 1:
{ int ret = r_RV(z);
if (ret <= 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
break;
case 2:
{ int ret = r_RV(z);
if (ret <= 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
{ int m1 = z->l - z->c; (void)m1;
z->ket = z->c;
if (z->c <= z->lb || z->p[z->c - 1] != 'u') { z->c = z->l - m1; goto lab0; }
z->c--;
z->bra = z->c;
{ int m_test2 = z->l - z->c;
if (z->c <= z->lb || z->p[z->c - 1] != 'g') { z->c = z->l - m1; goto lab0; }
z->c--;
z->c = z->l - m_test2;
}
{ int ret = r_RV(z);
if (ret == 0) { z->c = z->l - m1; goto lab0; }
if (ret < 0) return ret;
}
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
lab0:
;
}
break;
}
return 1;
}
extern int spanish_ISO_8859_1_stem(struct SN_env * z) {
{ int ret = r_mark_regions(z);
if (ret < 0) return ret;
}
z->lb = z->c; z->c = z->l;
{ int m1 = z->l - z->c; (void)m1;
{ int ret = r_attached_pronoun(z);
if (ret < 0) return ret;
}
z->c = z->l - m1;
}
{ int m2 = z->l - z->c; (void)m2;
{ int m3 = z->l - z->c; (void)m3;
{ int ret = r_standard_suffix(z);
if (ret == 0) goto lab2;