PostgreSQL Source Code git master
stem_UTF_8_esperanto.c File Reference
#include "stem_UTF_8_esperanto.h"
#include <stddef.h>
#include "snowball_runtime.h"
Include dependency graph for stem_UTF_8_esperanto.c:

Go to the source code of this file.

Functions

int esperanto_UTF_8_stem (struct SN_env *z)
 
static int r_uninflected (struct SN_env *z)
 
static int r_ujn_suffix (struct SN_env *z)
 
static int r_standard_suffix (struct SN_env *z)
 
static int r_pronoun (struct SN_env *z)
 
static int r_merged_numeral (struct SN_env *z)
 
static int r_long_word (struct SN_env *z)
 
static int r_initial_apostrophe (struct SN_env *z)
 
static int r_final_apostrophe (struct SN_env *z)
 
static int r_correlative (struct SN_env *z)
 
static int r_canonical_form (struct SN_env *z)
 
struct SN_envesperanto_UTF_8_create_env (void)
 
void esperanto_UTF_8_close_env (struct SN_env *z)
 

Variables

static const symbol s_0 [] = { 0xC4, 0x89 }
 
static const symbol s_1 [] = { 0xC4, 0x9D }
 
static const symbol s_2 [] = { 0xC4, 0xA5 }
 
static const symbol s_3 [] = { 0xC4, 0xB5 }
 
static const symbol s_4 [] = { 0xC5, 0x9D }
 
static const symbol s_5 [] = { 0xC5, 0xAD }
 
static const symbol s_6 [] = { 'a' }
 
static const symbol s_7 [] = { 'e' }
 
static const symbol s_8 [] = { 'i' }
 
static const symbol s_9 [] = { 'o' }
 
static const symbol s_10 [] = { 'u' }
 
static const symbol s_11 [] = { 's', 't' }
 
static const symbol s_12 [] = { 'e' }
 
static const symbol s_13 [] = { 'a' }
 
static const symbol s_14 [] = { 'u', 'n' }
 
static const symbol s_15 [] = { 'u' }
 
static const symbol s_16 [] = { 'a', 0xC5, 0xAD }
 
static const symbol s_17 [] = { 'o' }
 
static const symbol s_0_1 [1] = { '-' }
 
static const symbol s_0_2 [2] = { 'c', 'x' }
 
static const symbol s_0_3 [2] = { 'g', 'x' }
 
static const symbol s_0_4 [2] = { 'h', 'x' }
 
static const symbol s_0_5 [2] = { 'j', 'x' }
 
static const symbol s_0_6 [1] = { 'q' }
 
static const symbol s_0_7 [2] = { 's', 'x' }
 
static const symbol s_0_8 [2] = { 'u', 'x' }
 
static const symbol s_0_9 [1] = { 'w' }
 
static const symbol s_0_10 [1] = { 'x' }
 
static const symbol s_0_11 [1] = { 'y' }
 
static const symbol s_0_12 [2] = { 0xC3, 0xA1 }
 
static const symbol s_0_13 [2] = { 0xC3, 0xA9 }
 
static const symbol s_0_14 [2] = { 0xC3, 0xAD }
 
static const symbol s_0_15 [2] = { 0xC3, 0xB3 }
 
static const symbol s_0_16 [2] = { 0xC3, 0xBA }
 
static const struct among a_0 [17]
 
static const symbol s_1_0 [2] = { 'a', 's' }
 
static const symbol s_1_1 [1] = { 'i' }
 
static const symbol s_1_2 [2] = { 'i', 's' }
 
static const symbol s_1_3 [2] = { 'o', 's' }
 
static const symbol s_1_4 [1] = { 'u' }
 
static const symbol s_1_5 [2] = { 'u', 's' }
 
static const struct among a_1 [6]
 
static const symbol s_2_0 [2] = { 'c', 'i' }
 
static const symbol s_2_1 [2] = { 'g', 'i' }
 
static const symbol s_2_2 [2] = { 'h', 'i' }
 
static const symbol s_2_3 [2] = { 'l', 'i' }
 
static const symbol s_2_4 [3] = { 'i', 'l', 'i' }
 
static const symbol s_2_5 [4] = { 0xC5, 0x9D, 'l', 'i' }
 
static const symbol s_2_6 [2] = { 'm', 'i' }
 
static const symbol s_2_7 [2] = { 'n', 'i' }
 
static const symbol s_2_8 [3] = { 'o', 'n', 'i' }
 
static const symbol s_2_9 [2] = { 'r', 'i' }
 
static const symbol s_2_10 [2] = { 's', 'i' }
 
static const symbol s_2_11 [2] = { 'v', 'i' }
 
static const symbol s_2_12 [3] = { 'i', 'v', 'i' }
 
static const symbol s_2_13 [3] = { 0xC4, 0x9D, 'i' }
 
static const symbol s_2_14 [3] = { 0xC5, 0x9D, 'i' }
 
static const symbol s_2_15 [4] = { 'i', 0xC5, 0x9D, 'i' }
 
static const symbol s_2_16 [6] = { 'm', 'a', 'l', 0xC5, 0x9D, 'i' }
 
static const struct among a_2 [17]
 
static const symbol s_3_0 [3] = { 'a', 'm', 'b' }
 
static const symbol s_3_1 [4] = { 'b', 'a', 'l', 'd' }
 
static const symbol s_3_2 [7] = { 'm', 'a', 'l', 'b', 'a', 'l', 'd' }
 
static const symbol s_3_3 [4] = { 'm', 'o', 'r', 'g' }
 
static const symbol s_3_4 [8] = { 'p', 'o', 's', 't', 'm', 'o', 'r', 'g' }
 
static const symbol s_3_5 [3] = { 'a', 'd', 'i' }
 
static const symbol s_3_6 [4] = { 'h', 'o', 'd', 'i' }
 
static const symbol s_3_7 [3] = { 'a', 'n', 'k' }
 
static const symbol s_3_8 [5] = { 0xC4, 0x89, 'i', 'r', 'k' }
 
static const symbol s_3_9 [8] = { 't', 'u', 't', 0xC4, 0x89, 'i', 'r', 'k' }
 
static const symbol s_3_10 [5] = { 'p', 'r', 'e', 's', 'k' }
 
static const symbol s_3_11 [5] = { 'a', 'l', 'm', 'e', 'n' }
 
static const symbol s_3_12 [4] = { 'a', 'p', 'e', 'n' }
 
static const symbol s_3_13 [4] = { 'h', 'i', 'e', 'r' }
 
static const symbol s_3_14 [10] = { 'a', 'n', 't', 'a', 0xC5, 0xAD, 'h', 'i', 'e', 'r' }
 
static const symbol s_3_15 [5] = { 'm', 'a', 'l', 'g', 'r' }
 
static const symbol s_3_16 [5] = { 'a', 'n', 'k', 'o', 'r' }
 
static const symbol s_3_17 [5] = { 'k', 'o', 'n', 't', 'r' }
 
static const symbol s_3_18 [6] = { 'a', 'n', 's', 't', 'a', 't' }
 
static const symbol s_3_19 [4] = { 'k', 'v', 'a', 'z' }
 
static const struct among a_3 [20]
 
static const symbol s_4_0 [4] = { 'a', 'l', 'i', 'u' }
 
static const symbol s_4_1 [3] = { 'u', 'n', 'u' }
 
static const struct among a_4 [2]
 
static const symbol s_5_0 [3] = { 'a', 'h', 'a' }
 
static const symbol s_5_1 [4] = { 'h', 'a', 'h', 'a' }
 
static const symbol s_5_2 [8] = { 'h', 'a', 'l', 'e', 'l', 'u', 'j', 'a' }
 
static const symbol s_5_3 [4] = { 'h', 'o', 'l', 'a' }
 
static const symbol s_5_4 [6] = { 'h', 'o', 's', 'a', 'n', 'a' }
 
static const symbol s_5_5 [6] = { 'm', 'a', 'l', 't', 'r', 'a' }
 
static const symbol s_5_6 [4] = { 'h', 'u', 'r', 'a' }
 
static const symbol s_5_7 [6] = { 0xC4, 0xA5, 'a', 0xC4, 0xA5, 'a' }
 
static const symbol s_5_8 [4] = { 'e', 'k', 'd', 'e' }
 
static const symbol s_5_9 [4] = { 'e', 'l', 'd', 'e' }
 
static const symbol s_5_10 [5] = { 'd', 'i', 's', 'd', 'e' }
 
static const symbol s_5_11 [3] = { 'e', 'h', 'e' }
 
static const symbol s_5_12 [6] = { 'm', 'a', 'l', 't', 'r', 'e' }
 
static const symbol s_5_13 [9] = { 'd', 'i', 'r', 'l', 'i', 'd', 'i', 'd', 'i' }
 
static const symbol s_5_14 [6] = { 'm', 'a', 'l', 'p', 'l', 'i' }
 
static const symbol s_5_15 [6] = { 'm', 'a', 'l', 0xC4, 0x89, 'i' }
 
static const symbol s_5_16 [6] = { 'm', 'a', 'l', 'k', 'a', 'j' }
 
static const symbol s_5_17 [4] = { 'a', 'm', 'e', 'n' }
 
static const symbol s_5_18 [5] = { 't', 'a', 'm', 'e', 'n' }
 
static const symbol s_5_19 [3] = { 'o', 'h', 'o' }
 
static const symbol s_5_20 [6] = { 'm', 'a', 'l', 't', 'r', 'o' }
 
static const symbol s_5_21 [5] = { 'm', 'i', 'n', 'u', 's' }
 
static const symbol s_5_22 [3] = { 'u', 'h', 'u' }
 
static const symbol s_5_23 [3] = { 'm', 'u', 'u' }
 
static const struct among a_5 [24]
 
static const symbol s_6_0 [3] = { 't', 'r', 'i' }
 
static const symbol s_6_1 [2] = { 'd', 'u' }
 
static const symbol s_6_2 [3] = { 'u', 'n', 'u' }
 
static const struct among a_6 [3]
 
static const symbol s_7_0 [3] = { 'd', 'e', 'k' }
 
static const symbol s_7_1 [4] = { 'c', 'e', 'n', 't' }
 
static const struct among a_7 [2]
 
static const symbol s_8_0 [1] = { 'k' }
 
static const symbol s_8_1 [4] = { 'k', 'e', 'l', 'k' }
 
static const symbol s_8_2 [3] = { 'n', 'e', 'n' }
 
static const symbol s_8_3 [1] = { 't' }
 
static const symbol s_8_4 [4] = { 'm', 'u', 'l', 't' }
 
static const symbol s_8_5 [4] = { 's', 'a', 'm', 't' }
 
static const symbol s_8_6 [2] = { 0xC4, 0x89 }
 
static const struct among a_8 [7]
 
static const symbol s_9_0 [1] = { 'a' }
 
static const symbol s_9_1 [1] = { 'e' }
 
static const symbol s_9_2 [1] = { 'i' }
 
static const symbol s_9_3 [1] = { 'j' }
 
static const symbol s_9_4 [2] = { 'a', 'j' }
 
static const symbol s_9_5 [2] = { 'o', 'j' }
 
static const symbol s_9_6 [1] = { 'n' }
 
static const symbol s_9_7 [2] = { 'a', 'n' }
 
static const symbol s_9_8 [2] = { 'e', 'n' }
 
static const symbol s_9_9 [2] = { 'j', 'n' }
 
static const symbol s_9_10 [3] = { 'a', 'j', 'n' }
 
static const symbol s_9_11 [3] = { 'o', 'j', 'n' }
 
static const symbol s_9_12 [2] = { 'o', 'n' }
 
static const symbol s_9_13 [1] = { 'o' }
 
static const symbol s_9_14 [2] = { 'a', 's' }
 
static const symbol s_9_15 [2] = { 'i', 's' }
 
static const symbol s_9_16 [2] = { 'o', 's' }
 
static const symbol s_9_17 [2] = { 'u', 's' }
 
static const symbol s_9_18 [1] = { 'u' }
 
static const struct among a_9 [19]
 
static const unsigned char g_vowel [] = { 17, 65, 16 }
 
static const unsigned char g_aou [] = { 1, 64, 16 }
 
static const unsigned char g_digit [] = { 255, 3 }
 

Function Documentation

◆ esperanto_UTF_8_close_env()

void esperanto_UTF_8_close_env ( struct SN_env z)

Definition at line 817 of file stem_UTF_8_esperanto.c.

817 {
818 SN_delete_env(z);
819}
void SN_delete_env(struct SN_env *z)
Definition: api.c:18

References SN_delete_env().

◆ esperanto_UTF_8_create_env()

struct SN_env * esperanto_UTF_8_create_env ( void  )

Definition at line 813 of file stem_UTF_8_esperanto.c.

813 {
814 return SN_new_env(sizeof(struct SN_env));
815}
struct SN_env * SN_new_env(int alloc_size)
Definition: api.c:5
Definition: api.h:15

References SN_new_env().

◆ esperanto_UTF_8_stem()

int esperanto_UTF_8_stem ( struct SN_env z)

Definition at line 716 of file stem_UTF_8_esperanto.c.

716 {
717 {
718 int v_1 = z->c;
719 {
720 int ret = r_canonical_form(z);
721 if (ret <= 0) return ret;
722 }
723 z->c = v_1;
724 }
725 {
726 int v_2 = z->c;
727 {
728 int ret = r_initial_apostrophe(z);
729 if (ret < 0) return ret;
730 }
731 z->c = v_2;
732 }
733 z->lb = z->c; z->c = z->l;
734 {
735 int v_3 = z->l - z->c;
736 {
737 int ret = r_pronoun(z);
738 if (ret == 0) goto lab0;
739 if (ret < 0) return ret;
740 }
741 return 0;
742 lab0:
743 z->c = z->l - v_3;
744 }
745 {
746 int v_4 = z->l - z->c;
747 {
748 int ret = r_final_apostrophe(z);
749 if (ret < 0) return ret;
750 }
751 z->c = z->l - v_4;
752 }
753 {
754 int v_5 = z->l - z->c;
755 {
756 int ret = r_correlative(z);
757 if (ret == 0) goto lab1;
758 if (ret < 0) return ret;
759 }
760 return 0;
761 lab1:
762 z->c = z->l - v_5;
763 }
764 {
765 int v_6 = z->l - z->c;
766 {
767 int ret = r_uninflected(z);
768 if (ret == 0) goto lab2;
769 if (ret < 0) return ret;
770 }
771 return 0;
772 lab2:
773 z->c = z->l - v_6;
774 }
775 {
776 int v_7 = z->l - z->c;
777 {
778 int ret = r_merged_numeral(z);
779 if (ret == 0) goto lab3;
780 if (ret < 0) return ret;
781 }
782 return 0;
783 lab3:
784 z->c = z->l - v_7;
785 }
786 {
787 int v_8 = z->l - z->c;
788 {
789 int ret = r_ujn_suffix(z);
790 if (ret == 0) goto lab4;
791 if (ret < 0) return ret;
792 }
793 return 0;
794 lab4:
795 z->c = z->l - v_8;
796 }
797 {
798 int v_9 = z->l - z->c;
799 {
800 int ret = r_long_word(z);
801 if (ret <= 0) return ret;
802 }
803 z->c = z->l - v_9;
804 }
805 {
806 int ret = r_standard_suffix(z);
807 if (ret <= 0) return ret;
808 }
809 z->c = z->lb;
810 return 1;
811}
static int r_pronoun(struct SN_env *z)
static int r_standard_suffix(struct SN_env *z)
static int r_merged_numeral(struct SN_env *z)
static int r_correlative(struct SN_env *z)
static int r_ujn_suffix(struct SN_env *z)
static int r_final_apostrophe(struct SN_env *z)
static int r_uninflected(struct SN_env *z)
static int r_long_word(struct SN_env *z)
static int r_initial_apostrophe(struct SN_env *z)
static int r_canonical_form(struct SN_env *z)
int lb
Definition: api.h:17
int c
Definition: api.h:17
int l
Definition: api.h:17

References SN_env::c, SN_env::l, SN_env::lb, r_canonical_form(), r_correlative(), r_final_apostrophe(), r_initial_apostrophe(), r_long_word(), r_merged_numeral(), r_pronoun(), r_standard_suffix(), r_ujn_suffix(), and r_uninflected().

◆ r_canonical_form()

static int r_canonical_form ( struct SN_env z)
static

Definition at line 316 of file stem_UTF_8_esperanto.c.

316 {
317 int among_var;
318 int b_foreign;
319 b_foreign = 0;
320 while (1) {
321 int v_1 = z->c;
322 z->bra = z->c;
323 among_var = find_among(z, a_0, 17, 0);
324 z->ket = z->c;
325 switch (among_var) {
326 case 1:
327 {
328 int ret = slice_from_s(z, 2, s_0);
329 if (ret < 0) return ret;
330 }
331 break;
332 case 2:
333 {
334 int ret = slice_from_s(z, 2, s_1);
335 if (ret < 0) return ret;
336 }
337 break;
338 case 3:
339 {
340 int ret = slice_from_s(z, 2, s_2);
341 if (ret < 0) return ret;
342 }
343 break;
344 case 4:
345 {
346 int ret = slice_from_s(z, 2, s_3);
347 if (ret < 0) return ret;
348 }
349 break;
350 case 5:
351 {
352 int ret = slice_from_s(z, 2, s_4);
353 if (ret < 0) return ret;
354 }
355 break;
356 case 6:
357 {
358 int ret = slice_from_s(z, 2, s_5);
359 if (ret < 0) return ret;
360 }
361 break;
362 case 7:
363 {
364 int ret = slice_from_s(z, 1, s_6);
365 if (ret < 0) return ret;
366 }
367 b_foreign = 1;
368 break;
369 case 8:
370 {
371 int ret = slice_from_s(z, 1, s_7);
372 if (ret < 0) return ret;
373 }
374 b_foreign = 1;
375 break;
376 case 9:
377 {
378 int ret = slice_from_s(z, 1, s_8);
379 if (ret < 0) return ret;
380 }
381 b_foreign = 1;
382 break;
383 case 10:
384 {
385 int ret = slice_from_s(z, 1, s_9);
386 if (ret < 0) return ret;
387 }
388 b_foreign = 1;
389 break;
390 case 11:
391 {
392 int ret = slice_from_s(z, 1, s_10);
393 if (ret < 0) return ret;
394 }
395 b_foreign = 1;
396 break;
397 case 12:
398 b_foreign = 1;
399 break;
400 case 13:
401 b_foreign = 0;
402 break;
403 case 14:
404 {
405 int ret = skip_utf8(z->p, z->c, z->l, 1);
406 if (ret < 0) goto lab0;
407 z->c = ret;
408 }
409 break;
410 }
411 continue;
412 lab0:
413 z->c = v_1;
414 break;
415 }
416 return !b_foreign;
417}
static const symbol s_2[]
static const symbol s_4[]
static const symbol s_6[]
static const symbol s_3[]
static const symbol s_7[]
static const symbol s_10[]
static const symbol s_1[]
static const symbol s_8[]
static const symbol s_9[]
static const struct among a_0[17]
static const symbol s_5[]
static const symbol s_0[]
symbol * p
Definition: api.h:16
int ket
Definition: api.h:17
int bra
Definition: api.h:17
SNOWBALL_ERR slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:432
int skip_utf8(const symbol *p, int c, int limit, int n)
Definition: utilities.c:43
int find_among(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))
Definition: utilities.c:249

References a_0, SN_env::bra, SN_env::c, find_among(), SN_env::ket, SN_env::l, SN_env::p, s_0, s_1, s_10, s_2, s_3, s_4, s_5, s_6, s_7, s_8, s_9, skip_utf8(), and slice_from_s().

Referenced by esperanto_UTF_8_stem().

◆ r_correlative()

static int r_correlative ( struct SN_env z)
static

Definition at line 572 of file stem_UTF_8_esperanto.c.

572 {
573 z->ket = z->c;
574 z->bra = z->c;
575 {
576 int v_1 = z->l - z->c;
577 do {
578 int v_2 = z->l - z->c;
579 {
580 int v_3 = z->l - z->c;
581 if (z->c <= z->lb || z->p[z->c - 1] != 'n') { z->c = z->l - v_3; goto lab1; }
582 z->c--;
583 lab1:
584 ;
585 }
586 z->bra = z->c;
587 if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab0;
588 z->c--;
589 break;
590 lab0:
591 z->c = z->l - v_2;
592 {
593 int v_4 = z->l - z->c;
594 if (z->c <= z->lb || z->p[z->c - 1] != 'n') { z->c = z->l - v_4; goto lab2; }
595 z->c--;
596 lab2:
597 ;
598 }
599 {
600 int v_5 = z->l - z->c;
601 if (z->c <= z->lb || z->p[z->c - 1] != 'j') { z->c = z->l - v_5; goto lab3; }
602 z->c--;
603 lab3:
604 ;
605 }
606 z->bra = z->c;
607 if (in_grouping_b_U(z, g_aou, 97, 117, 0)) return 0;
608 } while (0);
609 if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0;
610 z->c--;
611 {
612 int v_6 = z->l - z->c;
613 if (!find_among_b(z, a_8, 7, 0)) { z->c = z->l - v_6; goto lab4; }
614 lab4:
615 ;
616 }
617 do {
618 int v_7 = z->l - z->c;
619 if (z->c > z->lb) goto lab5;
620 break;
621 lab5:
622 z->c = z->l - v_7;
623 if (z->c <= z->lb || z->p[z->c - 1] != '-') return 0;
624 z->c--;
625 } while (0);
626 z->c = z->l - v_1;
627 }
628 {
629 int ret = slice_del(z);
630 if (ret < 0) return ret;
631 }
632 return 1;
633}
static const unsigned char g_aou[]
static const struct among a_8[7]
int find_among_b(struct SN_env *z, const struct among *v, int v_size, int(*call_among_func)(struct SN_env *))
Definition: utilities.c:315
int in_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:145
SNOWBALL_ERR slice_del(struct SN_env *z)
Definition: utilities.c:443

References a_8, SN_env::bra, SN_env::c, find_among_b(), g_aou, in_grouping_b_U(), SN_env::ket, SN_env::l, SN_env::lb, SN_env::p, and slice_del().

Referenced by esperanto_UTF_8_stem().

◆ r_final_apostrophe()

static int r_final_apostrophe ( struct SN_env z)
static

Definition at line 463 of file stem_UTF_8_esperanto.c.

463 {
464 z->ket = z->c;
465 if (z->c <= z->lb || z->p[z->c - 1] != '\'') return 0;
466 z->c--;
467 z->bra = z->c;
468 do {
469 int v_1 = z->l - z->c;
470 if (z->c <= z->lb || z->p[z->c - 1] != 'l') goto lab0;
471 z->c--;
472 if (z->c > z->lb) goto lab0;
473 {
474 int ret = slice_from_s(z, 1, s_13);
475 if (ret < 0) return ret;
476 }
477 break;
478 lab0:
479 z->c = z->l - v_1;
480 if (!(eq_s_b(z, 2, s_14))) goto lab1;
481 if (z->c > z->lb) goto lab1;
482 {
483 int ret = slice_from_s(z, 1, s_15);
484 if (ret < 0) return ret;
485 }
486 break;
487 lab1:
488 z->c = z->l - v_1;
489 if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68438676 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab2;
490 if (!find_among_b(z, a_3, 20, 0)) goto lab2;
491 do {
492 int v_2 = z->l - z->c;
493 if (z->c > z->lb) goto lab3;
494 break;
495 lab3:
496 z->c = z->l - v_2;
497 if (z->c <= z->lb || z->p[z->c - 1] != '-') goto lab2;
498 z->c--;
499 } while (0);
500 {
501 int ret = slice_from_s(z, 3, s_16);
502 if (ret < 0) return ret;
503 }
504 break;
505 lab2:
506 z->c = z->l - v_1;
507 {
508 int ret = slice_from_s(z, 1, s_17);
509 if (ret < 0) return ret;
510 }
511 } while (0);
512 return 1;
513}
static const struct among a_3[20]
static const symbol s_13[]
static const symbol s_16[]
static const symbol s_14[]
static const symbol s_17[]
static const symbol s_15[]
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:236

References a_3, SN_env::bra, SN_env::c, eq_s_b(), find_among_b(), SN_env::ket, SN_env::l, SN_env::lb, SN_env::p, s_13, s_14, s_15, s_16, s_17, and slice_from_s().

Referenced by esperanto_UTF_8_stem().

◆ r_initial_apostrophe()

static int r_initial_apostrophe ( struct SN_env z)
static

Definition at line 419 of file stem_UTF_8_esperanto.c.

419 {
420 z->bra = z->c;
421 if (z->c == z->l || z->p[z->c] != '\'') return 0;
422 z->c++;
423 z->ket = z->c;
424 if (!(eq_s(z, 2, s_11))) return 0;
425 if (z->c >= z->l || z->p[z->c + 0] >> 5 != 3 || !((2130434 >> (z->p[z->c + 0] & 0x1f)) & 1)) return 0;
426 if (!find_among(z, a_1, 6, 0)) return 0;
427 if (z->c < z->l) return 0;
428 {
429 int ret = slice_from_s(z, 1, s_12);
430 if (ret < 0) return ret;
431 }
432 return 1;
433}
static const struct among a_1[6]
static const symbol s_11[]
static const symbol s_12[]
int eq_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:231

References a_1, SN_env::bra, SN_env::c, eq_s(), find_among(), SN_env::ket, SN_env::l, SN_env::p, s_11, s_12, and slice_from_s().

Referenced by esperanto_UTF_8_stem().

◆ r_long_word()

static int r_long_word ( struct SN_env z)
static

Definition at line 635 of file stem_UTF_8_esperanto.c.

635 {
636 do {
637 int v_1 = z->l - z->c;
638 {
639 int i; for (i = 2; i > 0; i--) {
640 {
641 int ret = out_grouping_b_U(z, g_vowel, 97, 117, 1);
642 if (ret < 0) goto lab0;
643 z->c -= ret;
644 }
645 }
646 }
647 break;
648 lab0:
649 z->c = z->l - v_1;
650 while (1) {
651 if (z->c <= z->lb || z->p[z->c - 1] != '-') goto lab2;
652 z->c--;
653 break;
654 lab2:
655 {
656 int ret = skip_b_utf8(z->p, z->c, z->lb, 1);
657 if (ret < 0) goto lab1;
658 z->c = ret;
659 }
660 }
661 {
662 int ret = skip_b_utf8(z->p, z->c, z->lb, 1);
663 if (ret < 0) goto lab1;
664 z->c = ret;
665 }
666 break;
667 lab1:
668 z->c = z->l - v_1;
669 {
670 int ret = out_grouping_b_U(z, g_digit, 48, 57, 1);
671 if (ret < 0) return 0;
672 z->c -= ret;
673 }
674 } while (0);
675 return 1;
676}
int i
Definition: isn.c:77
static const unsigned char g_digit[]
static const unsigned char g_vowel[]
int skip_b_utf8(const symbol *p, int c, int limit, int n)
Definition: utilities.c:68
int out_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:169

References SN_env::c, g_digit, g_vowel, i, SN_env::l, SN_env::lb, out_grouping_b_U(), SN_env::p, and skip_b_utf8().

Referenced by esperanto_UTF_8_stem().

◆ r_merged_numeral()

static int r_merged_numeral ( struct SN_env z)
static

Definition at line 565 of file stem_UTF_8_esperanto.c.

565 {
566 if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 117)) return 0;
567 if (!find_among_b(z, a_6, 3, 0)) return 0;
568 if (z->c - 2 <= z->lb || (z->p[z->c - 1] != 107 && z->p[z->c - 1] != 116)) return 0;
569 return find_among_b(z, a_7, 2, 0) != 0;
570}
static const struct among a_6[3]
static const struct among a_7[2]

References a_6, a_7, SN_env::c, find_among_b(), SN_env::lb, and SN_env::p.

Referenced by esperanto_UTF_8_stem().

◆ r_pronoun()

static int r_pronoun ( struct SN_env z)
static

Definition at line 435 of file stem_UTF_8_esperanto.c.

435 {
436 z->ket = z->c;
437 {
438 int v_1 = z->l - z->c;
439 if (z->c <= z->lb || z->p[z->c - 1] != 'n') { z->c = z->l - v_1; goto lab0; }
440 z->c--;
441 lab0:
442 ;
443 }
444 z->bra = z->c;
445 if (z->c - 1 <= z->lb || z->p[z->c - 1] != 105) return 0;
446 if (!find_among_b(z, a_2, 17, 0)) return 0;
447 do {
448 int v_2 = z->l - z->c;
449 if (z->c > z->lb) goto lab1;
450 break;
451 lab1:
452 z->c = z->l - v_2;
453 if (z->c <= z->lb || z->p[z->c - 1] != '-') return 0;
454 z->c--;
455 } while (0);
456 {
457 int ret = slice_del(z);
458 if (ret < 0) return ret;
459 }
460 return 1;
461}
static const struct among a_2[17]

References a_2, SN_env::bra, SN_env::c, find_among_b(), SN_env::ket, SN_env::l, SN_env::lb, SN_env::p, and slice_del().

Referenced by esperanto_UTF_8_stem().

◆ r_standard_suffix()

static int r_standard_suffix ( struct SN_env z)
static

Definition at line 678 of file stem_UTF_8_esperanto.c.

678 {
679 int among_var;
680 z->ket = z->c;
681 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((2672162 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
682 among_var = find_among_b(z, a_9, 19, 0);
683 if (!among_var) return 0;
684 switch (among_var) {
685 case 1:
686 {
687 int v_1 = z->l - z->c;
688 do {
689 int v_2 = z->l - z->c;
690 if (z->c <= z->lb || z->p[z->c - 1] != '-') goto lab0;
691 z->c--;
692 break;
693 lab0:
694 z->c = z->l - v_2;
695 if (in_grouping_b_U(z, g_digit, 48, 57, 0)) return 0;
696 } while (0);
697 z->c = z->l - v_1;
698 }
699 break;
700 }
701 {
702 int v_3 = z->l - z->c;
703 if (z->c <= z->lb || z->p[z->c - 1] != '-') { z->c = z->l - v_3; goto lab1; }
704 z->c--;
705 lab1:
706 ;
707 }
708 z->bra = z->c;
709 {
710 int ret = slice_del(z);
711 if (ret < 0) return ret;
712 }
713 return 1;
714}
static const struct among a_9[19]

References a_9, SN_env::bra, SN_env::c, find_among_b(), g_digit, in_grouping_b_U(), SN_env::ket, SN_env::l, SN_env::lb, SN_env::p, and slice_del().

Referenced by esperanto_UTF_8_stem().

◆ r_ujn_suffix()

static int r_ujn_suffix ( struct SN_env z)
static

Definition at line 515 of file stem_UTF_8_esperanto.c.

515 {
516 z->ket = z->c;
517 {
518 int v_1 = z->l - z->c;
519 if (z->c <= z->lb || z->p[z->c - 1] != 'n') { z->c = z->l - v_1; goto lab0; }
520 z->c--;
521 lab0:
522 ;
523 }
524 {
525 int v_2 = z->l - z->c;
526 if (z->c <= z->lb || z->p[z->c - 1] != 'j') { z->c = z->l - v_2; goto lab1; }
527 z->c--;
528 lab1:
529 ;
530 }
531 z->bra = z->c;
532 if (z->c - 2 <= z->lb || z->p[z->c - 1] != 117) return 0;
533 if (!find_among_b(z, a_4, 2, 0)) return 0;
534 do {
535 int v_3 = z->l - z->c;
536 if (z->c > z->lb) goto lab2;
537 break;
538 lab2:
539 z->c = z->l - v_3;
540 if (z->c <= z->lb || z->p[z->c - 1] != '-') return 0;
541 z->c--;
542 } while (0);
543 {
544 int ret = slice_del(z);
545 if (ret < 0) return ret;
546 }
547 return 1;
548}
static const struct among a_4[2]

References a_4, SN_env::bra, SN_env::c, find_among_b(), SN_env::ket, SN_env::l, SN_env::lb, SN_env::p, and slice_del().

Referenced by esperanto_UTF_8_stem().

◆ r_uninflected()

static int r_uninflected ( struct SN_env z)
static

Definition at line 550 of file stem_UTF_8_esperanto.c.

550 {
551 if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((2672162 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
552 if (!find_among_b(z, a_5, 24, 0)) return 0;
553 do {
554 int v_1 = z->l - z->c;
555 if (z->c > z->lb) goto lab0;
556 break;
557 lab0:
558 z->c = z->l - v_1;
559 if (z->c <= z->lb || z->p[z->c - 1] != '-') return 0;
560 z->c--;
561 } while (0);
562 return 1;
563}
static const struct among a_5[24]

References a_5, SN_env::c, find_among_b(), SN_env::l, SN_env::lb, and SN_env::p.

Referenced by esperanto_UTF_8_stem().

Variable Documentation

◆ a_0

const struct among a_0[17]
static
Initial value:
= {
{ 0, 0, 0, 14, 0},
{ 1, s_0_1, -1, 13, 0},
{ 2, s_0_2, -2, 1, 0},
{ 2, s_0_3, -3, 2, 0},
{ 2, s_0_4, -4, 3, 0},
{ 2, s_0_5, -5, 4, 0},
{ 1, s_0_6, -6, 12, 0},
{ 2, s_0_7, -7, 5, 0},
{ 2, s_0_8, -8, 6, 0},
{ 1, s_0_9, -9, 12, 0},
{ 1, s_0_10, -10, 12, 0},
{ 1, s_0_11, -11, 12, 0},
{ 2, s_0_12, -12, 7, 0},
{ 2, s_0_13, -13, 8, 0},
{ 2, s_0_14, -14, 9, 0},
{ 2, s_0_15, -15, 10, 0},
{ 2, s_0_16, -16, 11, 0}
}
static const symbol s_0_4[2]
static const symbol s_0_5[2]
static const symbol s_0_13[2]
static const symbol s_0_11[1]
static const symbol s_0_8[2]
static const symbol s_0_15[2]
static const symbol s_0_6[1]
static const symbol s_0_7[2]
static const symbol s_0_16[2]
static const symbol s_0_9[1]
static const symbol s_0_10[1]
static const symbol s_0_14[2]
static const symbol s_0_1[1]
static const symbol s_0_12[2]
static const symbol s_0_2[2]
static const symbol s_0_3[2]

Definition at line 63 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ a_1

const struct among a_1[6]
static
Initial value:
= {
{ 2, s_1_0, 0, -1, 0},
{ 1, s_1_1, 0, -1, 0},
{ 2, s_1_2, -1, -1, 0},
{ 2, s_1_3, 0, -1, 0},
{ 1, s_1_4, 0, -1, 0},
{ 2, s_1_5, -1, -1, 0}
}
static const symbol s_1_5[2]
static const symbol s_1_2[2]
static const symbol s_1_3[2]
static const symbol s_1_0[2]
static const symbol s_1_4[1]
static const symbol s_1_1[1]

Definition at line 89 of file stem_UTF_8_esperanto.c.

Referenced by r_initial_apostrophe().

◆ a_2

const struct among a_2[17]
static
Initial value:
= {
{ 2, s_2_0, 0, -1, 0},
{ 2, s_2_1, 0, -1, 0},
{ 2, s_2_2, 0, -1, 0},
{ 2, s_2_3, 0, -1, 0},
{ 3, s_2_4, -1, -1, 0},
{ 4, s_2_5, -2, -1, 0},
{ 2, s_2_6, 0, -1, 0},
{ 2, s_2_7, 0, -1, 0},
{ 3, s_2_8, -1, -1, 0},
{ 2, s_2_9, 0, -1, 0},
{ 2, s_2_10, 0, -1, 0},
{ 2, s_2_11, 0, -1, 0},
{ 3, s_2_12, -1, -1, 0},
{ 3, s_2_13, 0, -1, 0},
{ 3, s_2_14, 0, -1, 0},
{ 4, s_2_15, -1, -1, 0},
{ 6, s_2_16, -2, -1, 0}
}
static const symbol s_2_12[3]
static const symbol s_2_2[2]
static const symbol s_2_9[2]
static const symbol s_2_0[2]
static const symbol s_2_15[4]
static const symbol s_2_11[2]
static const symbol s_2_10[2]
static const symbol s_2_14[3]
static const symbol s_2_4[3]
static const symbol s_2_3[2]
static const symbol s_2_7[2]
static const symbol s_2_8[3]
static const symbol s_2_5[4]
static const symbol s_2_6[2]
static const symbol s_2_1[2]
static const symbol s_2_13[3]
static const symbol s_2_16[6]

Definition at line 115 of file stem_UTF_8_esperanto.c.

Referenced by r_pronoun().

◆ a_3

const struct among a_3[20]
static
Initial value:
= {
{ 3, s_3_0, 0, -1, 0},
{ 4, s_3_1, 0, -1, 0},
{ 7, s_3_2, -1, -1, 0},
{ 4, s_3_3, 0, -1, 0},
{ 8, s_3_4, -1, -1, 0},
{ 3, s_3_5, 0, -1, 0},
{ 4, s_3_6, 0, -1, 0},
{ 3, s_3_7, 0, -1, 0},
{ 5, s_3_8, 0, -1, 0},
{ 8, s_3_9, -1, -1, 0},
{ 5, s_3_10, 0, -1, 0},
{ 5, s_3_11, 0, -1, 0},
{ 4, s_3_12, 0, -1, 0},
{ 4, s_3_13, 0, -1, 0},
{ 10, s_3_14, -1, -1, 0},
{ 5, s_3_15, 0, -1, 0},
{ 5, s_3_16, 0, -1, 0},
{ 5, s_3_17, 0, -1, 0},
{ 6, s_3_18, 0, -1, 0},
{ 4, s_3_19, 0, -1, 0}
}
static const symbol s_3_2[7]
static const symbol s_3_10[5]
static const symbol s_3_7[3]
static const symbol s_3_14[10]
static const symbol s_3_17[5]
static const symbol s_3_0[3]
static const symbol s_3_4[8]
static const symbol s_3_6[4]
static const symbol s_3_12[4]
static const symbol s_3_11[5]
static const symbol s_3_9[8]
static const symbol s_3_3[4]
static const symbol s_3_5[3]
static const symbol s_3_19[4]
static const symbol s_3_1[4]
static const symbol s_3_15[5]
static const symbol s_3_18[6]
static const symbol s_3_13[4]
static const symbol s_3_8[5]
static const symbol s_3_16[5]

Definition at line 155 of file stem_UTF_8_esperanto.c.

Referenced by r_final_apostrophe().

◆ a_4

const struct among a_4[2]
static
Initial value:
= {
{ 4, s_4_0, 0, -1, 0},
{ 3, s_4_1, 0, -1, 0}
}
static const symbol s_4_1[3]
static const symbol s_4_0[4]

Definition at line 180 of file stem_UTF_8_esperanto.c.

Referenced by r_ujn_suffix().

◆ a_5

const struct among a_5[24]
static
Initial value:
= {
{ 3, s_5_0, 0, -1, 0},
{ 4, s_5_1, -1, -1, 0},
{ 8, s_5_2, 0, -1, 0},
{ 4, s_5_3, 0, -1, 0},
{ 6, s_5_4, 0, -1, 0},
{ 6, s_5_5, 0, -1, 0},
{ 4, s_5_6, 0, -1, 0},
{ 6, s_5_7, 0, -1, 0},
{ 4, s_5_8, 0, -1, 0},
{ 4, s_5_9, 0, -1, 0},
{ 5, s_5_10, 0, -1, 0},
{ 3, s_5_11, 0, -1, 0},
{ 6, s_5_12, 0, -1, 0},
{ 9, s_5_13, 0, -1, 0},
{ 6, s_5_14, 0, -1, 0},
{ 6, s_5_15, 0, -1, 0},
{ 6, s_5_16, 0, -1, 0},
{ 4, s_5_17, 0, -1, 0},
{ 5, s_5_18, -1, -1, 0},
{ 3, s_5_19, 0, -1, 0},
{ 6, s_5_20, 0, -1, 0},
{ 5, s_5_21, 0, -1, 0},
{ 3, s_5_22, 0, -1, 0},
{ 3, s_5_23, 0, -1, 0}
}
static const symbol s_5_20[6]
static const symbol s_5_16[6]
static const symbol s_5_6[4]
static const symbol s_5_22[3]
static const symbol s_5_17[4]
static const symbol s_5_2[8]
static const symbol s_5_10[5]
static const symbol s_5_12[6]
static const symbol s_5_19[3]
static const symbol s_5_8[4]
static const symbol s_5_0[3]
static const symbol s_5_18[5]
static const symbol s_5_23[3]
static const symbol s_5_4[6]
static const symbol s_5_3[4]
static const symbol s_5_5[6]
static const symbol s_5_15[6]
static const symbol s_5_21[5]
static const symbol s_5_13[9]
static const symbol s_5_11[3]
static const symbol s_5_7[6]
static const symbol s_5_14[6]
static const symbol s_5_9[4]
static const symbol s_5_1[4]

Definition at line 209 of file stem_UTF_8_esperanto.c.

Referenced by r_uninflected().

◆ a_6

const struct among a_6[3]
static
Initial value:
= {
{ 3, s_6_0, 0, -1, 0},
{ 2, s_6_1, 0, -1, 0},
{ 3, s_6_2, 0, -1, 0}
}
static const symbol s_6_2[3]
static const symbol s_6_1[2]
static const symbol s_6_0[3]

Definition at line 239 of file stem_UTF_8_esperanto.c.

Referenced by r_merged_numeral().

◆ a_7

const struct among a_7[2]
static
Initial value:
= {
{ 3, s_7_0, 0, -1, 0},
{ 4, s_7_1, 0, -1, 0}
}
static const symbol s_7_1[4]
static const symbol s_7_0[3]

Definition at line 247 of file stem_UTF_8_esperanto.c.

Referenced by r_merged_numeral().

◆ a_8

const struct among a_8[7]
static
Initial value:
= {
{ 1, s_8_0, 0, -1, 0},
{ 4, s_8_1, -1, -1, 0},
{ 3, s_8_2, 0, -1, 0},
{ 1, s_8_3, 0, -1, 0},
{ 4, s_8_4, -1, -1, 0},
{ 4, s_8_5, -2, -1, 0},
{ 2, s_8_6, 0, -1, 0}
}
static const symbol s_8_6[2]
static const symbol s_8_2[3]
static const symbol s_8_4[4]
static const symbol s_8_3[1]
static const symbol s_8_1[4]
static const symbol s_8_5[4]
static const symbol s_8_0[1]

Definition at line 259 of file stem_UTF_8_esperanto.c.

Referenced by r_correlative().

◆ a_9

const struct among a_9[19]
static
Initial value:
= {
{ 1, s_9_0, 0, -1, 0},
{ 1, s_9_1, 0, -1, 0},
{ 1, s_9_2, 0, -1, 0},
{ 1, s_9_3, 0, 1, 0},
{ 2, s_9_4, -1, -1, 0},
{ 2, s_9_5, -2, -1, 0},
{ 1, s_9_6, 0, 1, 0},
{ 2, s_9_7, -1, -1, 0},
{ 2, s_9_8, -2, -1, 0},
{ 2, s_9_9, -3, 1, 0},
{ 3, s_9_10, -1, -1, 0},
{ 3, s_9_11, -2, -1, 0},
{ 2, s_9_12, -6, -1, 0},
{ 1, s_9_13, 0, -1, 0},
{ 2, s_9_14, 0, -1, 0},
{ 2, s_9_15, 0, -1, 0},
{ 2, s_9_16, 0, -1, 0},
{ 2, s_9_17, 0, -1, 0},
{ 1, s_9_18, 0, -1, 0}
}
static const symbol s_9_17[2]
static const symbol s_9_0[1]
static const symbol s_9_6[1]
static const symbol s_9_12[2]
static const symbol s_9_15[2]
static const symbol s_9_10[3]
static const symbol s_9_7[2]
static const symbol s_9_18[1]
static const symbol s_9_14[2]
static const symbol s_9_9[2]
static const symbol s_9_8[2]
static const symbol s_9_5[2]
static const symbol s_9_1[1]
static const symbol s_9_11[3]
static const symbol s_9_2[1]
static const symbol s_9_13[1]
static const symbol s_9_3[1]
static const symbol s_9_4[2]
static const symbol s_9_16[2]

Definition at line 288 of file stem_UTF_8_esperanto.c.

Referenced by r_standard_suffix().

◆ g_aou

const unsigned char g_aou[] = { 1, 64, 16 }
static

Definition at line 312 of file stem_UTF_8_esperanto.c.

Referenced by r_correlative().

◆ g_digit

const unsigned char g_digit[] = { 255, 3 }
static

Definition at line 314 of file stem_UTF_8_esperanto.c.

Referenced by r_long_word(), and r_standard_suffix().

◆ g_vowel

const unsigned char g_vowel[] = { 17, 65, 16 }
static

Definition at line 310 of file stem_UTF_8_esperanto.c.

Referenced by r_long_word().

◆ s_0

const symbol s_0[] = { 0xC4, 0x89 }
static

Definition at line 28 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ s_0_1

const symbol s_0_1[1] = { '-' }
static

Definition at line 47 of file stem_UTF_8_esperanto.c.

◆ s_0_10

const symbol s_0_10[1] = { 'x' }
static

Definition at line 56 of file stem_UTF_8_esperanto.c.

◆ s_0_11

const symbol s_0_11[1] = { 'y' }
static

Definition at line 57 of file stem_UTF_8_esperanto.c.

◆ s_0_12

const symbol s_0_12[2] = { 0xC3, 0xA1 }
static

Definition at line 58 of file stem_UTF_8_esperanto.c.

◆ s_0_13

const symbol s_0_13[2] = { 0xC3, 0xA9 }
static

Definition at line 59 of file stem_UTF_8_esperanto.c.

◆ s_0_14

const symbol s_0_14[2] = { 0xC3, 0xAD }
static

Definition at line 60 of file stem_UTF_8_esperanto.c.

◆ s_0_15

const symbol s_0_15[2] = { 0xC3, 0xB3 }
static

Definition at line 61 of file stem_UTF_8_esperanto.c.

◆ s_0_16

const symbol s_0_16[2] = { 0xC3, 0xBA }
static

Definition at line 62 of file stem_UTF_8_esperanto.c.

◆ s_0_2

const symbol s_0_2[2] = { 'c', 'x' }
static

Definition at line 48 of file stem_UTF_8_esperanto.c.

◆ s_0_3

const symbol s_0_3[2] = { 'g', 'x' }
static

Definition at line 49 of file stem_UTF_8_esperanto.c.

◆ s_0_4

const symbol s_0_4[2] = { 'h', 'x' }
static

Definition at line 50 of file stem_UTF_8_esperanto.c.

◆ s_0_5

const symbol s_0_5[2] = { 'j', 'x' }
static

Definition at line 51 of file stem_UTF_8_esperanto.c.

◆ s_0_6

const symbol s_0_6[1] = { 'q' }
static

Definition at line 52 of file stem_UTF_8_esperanto.c.

◆ s_0_7

const symbol s_0_7[2] = { 's', 'x' }
static

Definition at line 53 of file stem_UTF_8_esperanto.c.

◆ s_0_8

const symbol s_0_8[2] = { 'u', 'x' }
static

Definition at line 54 of file stem_UTF_8_esperanto.c.

◆ s_0_9

const symbol s_0_9[1] = { 'w' }
static

Definition at line 55 of file stem_UTF_8_esperanto.c.

◆ s_1

const symbol s_1[] = { 0xC4, 0x9D }
static

Definition at line 29 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ s_10

const symbol s_10[] = { 'u' }
static

Definition at line 38 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ s_11

const symbol s_11[] = { 's', 't' }
static

Definition at line 39 of file stem_UTF_8_esperanto.c.

Referenced by r_initial_apostrophe().

◆ s_12

const symbol s_12[] = { 'e' }
static

Definition at line 40 of file stem_UTF_8_esperanto.c.

Referenced by r_initial_apostrophe().

◆ s_13

const symbol s_13[] = { 'a' }
static

Definition at line 41 of file stem_UTF_8_esperanto.c.

Referenced by r_final_apostrophe().

◆ s_14

const symbol s_14[] = { 'u', 'n' }
static

Definition at line 42 of file stem_UTF_8_esperanto.c.

Referenced by r_final_apostrophe().

◆ s_15

const symbol s_15[] = { 'u' }
static

Definition at line 43 of file stem_UTF_8_esperanto.c.

Referenced by r_final_apostrophe().

◆ s_16

const symbol s_16[] = { 'a', 0xC5, 0xAD }
static

Definition at line 44 of file stem_UTF_8_esperanto.c.

Referenced by r_final_apostrophe().

◆ s_17

const symbol s_17[] = { 'o' }
static

Definition at line 45 of file stem_UTF_8_esperanto.c.

Referenced by r_final_apostrophe().

◆ s_1_0

const symbol s_1_0[2] = { 'a', 's' }
static

Definition at line 83 of file stem_UTF_8_esperanto.c.

◆ s_1_1

const symbol s_1_1[1] = { 'i' }
static

Definition at line 84 of file stem_UTF_8_esperanto.c.

◆ s_1_2

const symbol s_1_2[2] = { 'i', 's' }
static

Definition at line 85 of file stem_UTF_8_esperanto.c.

◆ s_1_3

const symbol s_1_3[2] = { 'o', 's' }
static

Definition at line 86 of file stem_UTF_8_esperanto.c.

◆ s_1_4

const symbol s_1_4[1] = { 'u' }
static

Definition at line 87 of file stem_UTF_8_esperanto.c.

◆ s_1_5

const symbol s_1_5[2] = { 'u', 's' }
static

Definition at line 88 of file stem_UTF_8_esperanto.c.

◆ s_2

const symbol s_2[] = { 0xC4, 0xA5 }
static

Definition at line 30 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ s_2_0

const symbol s_2_0[2] = { 'c', 'i' }
static

Definition at line 98 of file stem_UTF_8_esperanto.c.

◆ s_2_1

const symbol s_2_1[2] = { 'g', 'i' }
static

Definition at line 99 of file stem_UTF_8_esperanto.c.

◆ s_2_10

const symbol s_2_10[2] = { 's', 'i' }
static

Definition at line 108 of file stem_UTF_8_esperanto.c.

◆ s_2_11

const symbol s_2_11[2] = { 'v', 'i' }
static

Definition at line 109 of file stem_UTF_8_esperanto.c.

◆ s_2_12

const symbol s_2_12[3] = { 'i', 'v', 'i' }
static

Definition at line 110 of file stem_UTF_8_esperanto.c.

◆ s_2_13

const symbol s_2_13[3] = { 0xC4, 0x9D, 'i' }
static

Definition at line 111 of file stem_UTF_8_esperanto.c.

◆ s_2_14

const symbol s_2_14[3] = { 0xC5, 0x9D, 'i' }
static

Definition at line 112 of file stem_UTF_8_esperanto.c.

◆ s_2_15

const symbol s_2_15[4] = { 'i', 0xC5, 0x9D, 'i' }
static

Definition at line 113 of file stem_UTF_8_esperanto.c.

◆ s_2_16

const symbol s_2_16[6] = { 'm', 'a', 'l', 0xC5, 0x9D, 'i' }
static

Definition at line 114 of file stem_UTF_8_esperanto.c.

◆ s_2_2

const symbol s_2_2[2] = { 'h', 'i' }
static

Definition at line 100 of file stem_UTF_8_esperanto.c.

◆ s_2_3

const symbol s_2_3[2] = { 'l', 'i' }
static

Definition at line 101 of file stem_UTF_8_esperanto.c.

◆ s_2_4

const symbol s_2_4[3] = { 'i', 'l', 'i' }
static

Definition at line 102 of file stem_UTF_8_esperanto.c.

◆ s_2_5

const symbol s_2_5[4] = { 0xC5, 0x9D, 'l', 'i' }
static

Definition at line 103 of file stem_UTF_8_esperanto.c.

◆ s_2_6

const symbol s_2_6[2] = { 'm', 'i' }
static

Definition at line 104 of file stem_UTF_8_esperanto.c.

◆ s_2_7

const symbol s_2_7[2] = { 'n', 'i' }
static

Definition at line 105 of file stem_UTF_8_esperanto.c.

◆ s_2_8

const symbol s_2_8[3] = { 'o', 'n', 'i' }
static

Definition at line 106 of file stem_UTF_8_esperanto.c.

◆ s_2_9

const symbol s_2_9[2] = { 'r', 'i' }
static

Definition at line 107 of file stem_UTF_8_esperanto.c.

◆ s_3

const symbol s_3[] = { 0xC4, 0xB5 }
static

Definition at line 31 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ s_3_0

const symbol s_3_0[3] = { 'a', 'm', 'b' }
static

Definition at line 135 of file stem_UTF_8_esperanto.c.

◆ s_3_1

const symbol s_3_1[4] = { 'b', 'a', 'l', 'd' }
static

Definition at line 136 of file stem_UTF_8_esperanto.c.

◆ s_3_10

const symbol s_3_10[5] = { 'p', 'r', 'e', 's', 'k' }
static

Definition at line 145 of file stem_UTF_8_esperanto.c.

◆ s_3_11

const symbol s_3_11[5] = { 'a', 'l', 'm', 'e', 'n' }
static

Definition at line 146 of file stem_UTF_8_esperanto.c.

◆ s_3_12

const symbol s_3_12[4] = { 'a', 'p', 'e', 'n' }
static

Definition at line 147 of file stem_UTF_8_esperanto.c.

◆ s_3_13

const symbol s_3_13[4] = { 'h', 'i', 'e', 'r' }
static

Definition at line 148 of file stem_UTF_8_esperanto.c.

◆ s_3_14

const symbol s_3_14[10] = { 'a', 'n', 't', 'a', 0xC5, 0xAD, 'h', 'i', 'e', 'r' }
static

Definition at line 149 of file stem_UTF_8_esperanto.c.

◆ s_3_15

const symbol s_3_15[5] = { 'm', 'a', 'l', 'g', 'r' }
static

Definition at line 150 of file stem_UTF_8_esperanto.c.

◆ s_3_16

const symbol s_3_16[5] = { 'a', 'n', 'k', 'o', 'r' }
static

Definition at line 151 of file stem_UTF_8_esperanto.c.

◆ s_3_17

const symbol s_3_17[5] = { 'k', 'o', 'n', 't', 'r' }
static

Definition at line 152 of file stem_UTF_8_esperanto.c.

◆ s_3_18

const symbol s_3_18[6] = { 'a', 'n', 's', 't', 'a', 't' }
static

Definition at line 153 of file stem_UTF_8_esperanto.c.

◆ s_3_19

const symbol s_3_19[4] = { 'k', 'v', 'a', 'z' }
static

Definition at line 154 of file stem_UTF_8_esperanto.c.

◆ s_3_2

const symbol s_3_2[7] = { 'm', 'a', 'l', 'b', 'a', 'l', 'd' }
static

Definition at line 137 of file stem_UTF_8_esperanto.c.

◆ s_3_3

const symbol s_3_3[4] = { 'm', 'o', 'r', 'g' }
static

Definition at line 138 of file stem_UTF_8_esperanto.c.

◆ s_3_4

const symbol s_3_4[8] = { 'p', 'o', 's', 't', 'm', 'o', 'r', 'g' }
static

Definition at line 139 of file stem_UTF_8_esperanto.c.

◆ s_3_5

const symbol s_3_5[3] = { 'a', 'd', 'i' }
static

Definition at line 140 of file stem_UTF_8_esperanto.c.

◆ s_3_6

const symbol s_3_6[4] = { 'h', 'o', 'd', 'i' }
static

Definition at line 141 of file stem_UTF_8_esperanto.c.

◆ s_3_7

const symbol s_3_7[3] = { 'a', 'n', 'k' }
static

Definition at line 142 of file stem_UTF_8_esperanto.c.

◆ s_3_8

const symbol s_3_8[5] = { 0xC4, 0x89, 'i', 'r', 'k' }
static

Definition at line 143 of file stem_UTF_8_esperanto.c.

◆ s_3_9

const symbol s_3_9[8] = { 't', 'u', 't', 0xC4, 0x89, 'i', 'r', 'k' }
static

Definition at line 144 of file stem_UTF_8_esperanto.c.

◆ s_4

const symbol s_4[] = { 0xC5, 0x9D }
static

Definition at line 32 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ s_4_0

const symbol s_4_0[4] = { 'a', 'l', 'i', 'u' }
static

Definition at line 178 of file stem_UTF_8_esperanto.c.

◆ s_4_1

const symbol s_4_1[3] = { 'u', 'n', 'u' }
static

Definition at line 179 of file stem_UTF_8_esperanto.c.

◆ s_5

const symbol s_5[] = { 0xC5, 0xAD }
static

Definition at line 33 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ s_5_0

const symbol s_5_0[3] = { 'a', 'h', 'a' }
static

Definition at line 185 of file stem_UTF_8_esperanto.c.

◆ s_5_1

const symbol s_5_1[4] = { 'h', 'a', 'h', 'a' }
static

Definition at line 186 of file stem_UTF_8_esperanto.c.

◆ s_5_10

const symbol s_5_10[5] = { 'd', 'i', 's', 'd', 'e' }
static

Definition at line 195 of file stem_UTF_8_esperanto.c.

◆ s_5_11

const symbol s_5_11[3] = { 'e', 'h', 'e' }
static

Definition at line 196 of file stem_UTF_8_esperanto.c.

◆ s_5_12

const symbol s_5_12[6] = { 'm', 'a', 'l', 't', 'r', 'e' }
static

Definition at line 197 of file stem_UTF_8_esperanto.c.

◆ s_5_13

const symbol s_5_13[9] = { 'd', 'i', 'r', 'l', 'i', 'd', 'i', 'd', 'i' }
static

Definition at line 198 of file stem_UTF_8_esperanto.c.

◆ s_5_14

const symbol s_5_14[6] = { 'm', 'a', 'l', 'p', 'l', 'i' }
static

Definition at line 199 of file stem_UTF_8_esperanto.c.

◆ s_5_15

const symbol s_5_15[6] = { 'm', 'a', 'l', 0xC4, 0x89, 'i' }
static

Definition at line 200 of file stem_UTF_8_esperanto.c.

◆ s_5_16

const symbol s_5_16[6] = { 'm', 'a', 'l', 'k', 'a', 'j' }
static

Definition at line 201 of file stem_UTF_8_esperanto.c.

◆ s_5_17

const symbol s_5_17[4] = { 'a', 'm', 'e', 'n' }
static

Definition at line 202 of file stem_UTF_8_esperanto.c.

◆ s_5_18

const symbol s_5_18[5] = { 't', 'a', 'm', 'e', 'n' }
static

Definition at line 203 of file stem_UTF_8_esperanto.c.

◆ s_5_19

const symbol s_5_19[3] = { 'o', 'h', 'o' }
static

Definition at line 204 of file stem_UTF_8_esperanto.c.

◆ s_5_2

const symbol s_5_2[8] = { 'h', 'a', 'l', 'e', 'l', 'u', 'j', 'a' }
static

Definition at line 187 of file stem_UTF_8_esperanto.c.

◆ s_5_20

const symbol s_5_20[6] = { 'm', 'a', 'l', 't', 'r', 'o' }
static

Definition at line 205 of file stem_UTF_8_esperanto.c.

◆ s_5_21

const symbol s_5_21[5] = { 'm', 'i', 'n', 'u', 's' }
static

Definition at line 206 of file stem_UTF_8_esperanto.c.

◆ s_5_22

const symbol s_5_22[3] = { 'u', 'h', 'u' }
static

Definition at line 207 of file stem_UTF_8_esperanto.c.

◆ s_5_23

const symbol s_5_23[3] = { 'm', 'u', 'u' }
static

Definition at line 208 of file stem_UTF_8_esperanto.c.

◆ s_5_3

const symbol s_5_3[4] = { 'h', 'o', 'l', 'a' }
static

Definition at line 188 of file stem_UTF_8_esperanto.c.

◆ s_5_4

const symbol s_5_4[6] = { 'h', 'o', 's', 'a', 'n', 'a' }
static

Definition at line 189 of file stem_UTF_8_esperanto.c.

◆ s_5_5

const symbol s_5_5[6] = { 'm', 'a', 'l', 't', 'r', 'a' }
static

Definition at line 190 of file stem_UTF_8_esperanto.c.

◆ s_5_6

const symbol s_5_6[4] = { 'h', 'u', 'r', 'a' }
static

Definition at line 191 of file stem_UTF_8_esperanto.c.

◆ s_5_7

const symbol s_5_7[6] = { 0xC4, 0xA5, 'a', 0xC4, 0xA5, 'a' }
static

Definition at line 192 of file stem_UTF_8_esperanto.c.

◆ s_5_8

const symbol s_5_8[4] = { 'e', 'k', 'd', 'e' }
static

Definition at line 193 of file stem_UTF_8_esperanto.c.

◆ s_5_9

const symbol s_5_9[4] = { 'e', 'l', 'd', 'e' }
static

Definition at line 194 of file stem_UTF_8_esperanto.c.

◆ s_6

const symbol s_6[] = { 'a' }
static

Definition at line 34 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ s_6_0

const symbol s_6_0[3] = { 't', 'r', 'i' }
static

Definition at line 236 of file stem_UTF_8_esperanto.c.

◆ s_6_1

const symbol s_6_1[2] = { 'd', 'u' }
static

Definition at line 237 of file stem_UTF_8_esperanto.c.

◆ s_6_2

const symbol s_6_2[3] = { 'u', 'n', 'u' }
static

Definition at line 238 of file stem_UTF_8_esperanto.c.

◆ s_7

const symbol s_7[] = { 'e' }
static

Definition at line 35 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ s_7_0

const symbol s_7_0[3] = { 'd', 'e', 'k' }
static

Definition at line 245 of file stem_UTF_8_esperanto.c.

◆ s_7_1

const symbol s_7_1[4] = { 'c', 'e', 'n', 't' }
static

Definition at line 246 of file stem_UTF_8_esperanto.c.

◆ s_8

const symbol s_8[] = { 'i' }
static

Definition at line 36 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ s_8_0

const symbol s_8_0[1] = { 'k' }
static

Definition at line 252 of file stem_UTF_8_esperanto.c.

◆ s_8_1

const symbol s_8_1[4] = { 'k', 'e', 'l', 'k' }
static

Definition at line 253 of file stem_UTF_8_esperanto.c.

◆ s_8_2

const symbol s_8_2[3] = { 'n', 'e', 'n' }
static

Definition at line 254 of file stem_UTF_8_esperanto.c.

◆ s_8_3

const symbol s_8_3[1] = { 't' }
static

Definition at line 255 of file stem_UTF_8_esperanto.c.

◆ s_8_4

const symbol s_8_4[4] = { 'm', 'u', 'l', 't' }
static

Definition at line 256 of file stem_UTF_8_esperanto.c.

◆ s_8_5

const symbol s_8_5[4] = { 's', 'a', 'm', 't' }
static

Definition at line 257 of file stem_UTF_8_esperanto.c.

◆ s_8_6

const symbol s_8_6[2] = { 0xC4, 0x89 }
static

Definition at line 258 of file stem_UTF_8_esperanto.c.

◆ s_9

const symbol s_9[] = { 'o' }
static

Definition at line 37 of file stem_UTF_8_esperanto.c.

Referenced by r_canonical_form().

◆ s_9_0

const symbol s_9_0[1] = { 'a' }
static

Definition at line 269 of file stem_UTF_8_esperanto.c.

◆ s_9_1

const symbol s_9_1[1] = { 'e' }
static

Definition at line 270 of file stem_UTF_8_esperanto.c.

◆ s_9_10

const symbol s_9_10[3] = { 'a', 'j', 'n' }
static

Definition at line 279 of file stem_UTF_8_esperanto.c.

◆ s_9_11

const symbol s_9_11[3] = { 'o', 'j', 'n' }
static

Definition at line 280 of file stem_UTF_8_esperanto.c.

◆ s_9_12

const symbol s_9_12[2] = { 'o', 'n' }
static

Definition at line 281 of file stem_UTF_8_esperanto.c.

◆ s_9_13

const symbol s_9_13[1] = { 'o' }
static

Definition at line 282 of file stem_UTF_8_esperanto.c.

◆ s_9_14

const symbol s_9_14[2] = { 'a', 's' }
static

Definition at line 283 of file stem_UTF_8_esperanto.c.

◆ s_9_15

const symbol s_9_15[2] = { 'i', 's' }
static

Definition at line 284 of file stem_UTF_8_esperanto.c.

◆ s_9_16

const symbol s_9_16[2] = { 'o', 's' }
static

Definition at line 285 of file stem_UTF_8_esperanto.c.

◆ s_9_17

const symbol s_9_17[2] = { 'u', 's' }
static

Definition at line 286 of file stem_UTF_8_esperanto.c.

◆ s_9_18

const symbol s_9_18[1] = { 'u' }
static

Definition at line 287 of file stem_UTF_8_esperanto.c.

◆ s_9_2

const symbol s_9_2[1] = { 'i' }
static

Definition at line 271 of file stem_UTF_8_esperanto.c.

◆ s_9_3

const symbol s_9_3[1] = { 'j' }
static

Definition at line 272 of file stem_UTF_8_esperanto.c.

◆ s_9_4

const symbol s_9_4[2] = { 'a', 'j' }
static

Definition at line 273 of file stem_UTF_8_esperanto.c.

◆ s_9_5

const symbol s_9_5[2] = { 'o', 'j' }
static

Definition at line 274 of file stem_UTF_8_esperanto.c.

◆ s_9_6

const symbol s_9_6[1] = { 'n' }
static

Definition at line 275 of file stem_UTF_8_esperanto.c.

◆ s_9_7

const symbol s_9_7[2] = { 'a', 'n' }
static

Definition at line 276 of file stem_UTF_8_esperanto.c.

◆ s_9_8

const symbol s_9_8[2] = { 'e', 'n' }
static

Definition at line 277 of file stem_UTF_8_esperanto.c.

◆ s_9_9

const symbol s_9_9[2] = { 'j', 'n' }
static

Definition at line 278 of file stem_UTF_8_esperanto.c.