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

Go to the source code of this file.

Data Structures

struct  SN_local
 

Typedefs

typedef struct SN_local SN_local
 

Functions

int finnish_UTF_8_stem (struct SN_env *z)
 
static int r_tidy (struct SN_env *z)
 
static int r_other_endings (struct SN_env *z)
 
static int r_t_plural (struct SN_env *z)
 
static int r_i_plural (struct SN_env *z)
 
static int r_case_ending (struct SN_env *z)
 
static int r_VI (struct SN_env *z)
 
static int r_LONG (struct SN_env *z)
 
static int r_possessive (struct SN_env *z)
 
static int r_particle_etc (struct SN_env *z)
 
static int r_R2 (struct SN_env *z)
 
static int r_mark_regions (struct SN_env *z)
 
static int af_6 (struct SN_env *z)
 
struct SN_envfinnish_UTF_8_create_env (void)
 
void finnish_UTF_8_close_env (struct SN_env *z)
 

Variables

static const symbol s_0 [] = { 'k', 's', 'e' }
 
static const symbol s_1 [] = { 'k', 's', 'i' }
 
static const symbol s_2 [] = { 0xC3, 0xA4 }
 
static const symbol s_3 [] = { 0xC3, 0xB6 }
 
static const symbol s_4 [] = { 'i', 'e' }
 
static const symbol s_5 [] = { 'p', 'o' }
 
static const symbol s_6 [] = { 'p', 'o' }
 
static const symbol s_0_0 [2] = { 'p', 'a' }
 
static const symbol s_0_1 [3] = { 's', 't', 'i' }
 
static const symbol s_0_2 [4] = { 'k', 'a', 'a', 'n' }
 
static const symbol s_0_3 [3] = { 'h', 'a', 'n' }
 
static const symbol s_0_4 [3] = { 'k', 'i', 'n' }
 
static const symbol s_0_5 [4] = { 'h', 0xC3, 0xA4, 'n' }
 
static const symbol s_0_6 [6] = { 'k', 0xC3, 0xA4, 0xC3, 0xA4, 'n' }
 
static const symbol s_0_7 [2] = { 'k', 'o' }
 
static const symbol s_0_8 [3] = { 'p', 0xC3, 0xA4 }
 
static const symbol s_0_9 [3] = { 'k', 0xC3, 0xB6 }
 
static const struct among a_0 [10]
 
static const symbol s_1_0 [3] = { 'l', 'l', 'a' }
 
static const symbol s_1_1 [2] = { 'n', 'a' }
 
static const symbol s_1_2 [3] = { 's', 's', 'a' }
 
static const symbol s_1_3 [2] = { 't', 'a' }
 
static const symbol s_1_4 [3] = { 'l', 't', 'a' }
 
static const symbol s_1_5 [3] = { 's', 't', 'a' }
 
static const struct among a_1 [6]
 
static const symbol s_2_0 [4] = { 'l', 'l', 0xC3, 0xA4 }
 
static const symbol s_2_1 [3] = { 'n', 0xC3, 0xA4 }
 
static const symbol s_2_2 [4] = { 's', 's', 0xC3, 0xA4 }
 
static const symbol s_2_3 [3] = { 't', 0xC3, 0xA4 }
 
static const symbol s_2_4 [4] = { 'l', 't', 0xC3, 0xA4 }
 
static const symbol s_2_5 [4] = { 's', 't', 0xC3, 0xA4 }
 
static const struct among a_2 [6]
 
static const symbol s_3_0 [3] = { 'l', 'l', 'e' }
 
static const symbol s_3_1 [3] = { 'i', 'n', 'e' }
 
static const struct among a_3 [2]
 
static const symbol s_4_0 [3] = { 'n', 's', 'a' }
 
static const symbol s_4_1 [3] = { 'm', 'm', 'e' }
 
static const symbol s_4_2 [3] = { 'n', 'n', 'e' }
 
static const symbol s_4_3 [2] = { 'n', 'i' }
 
static const symbol s_4_4 [2] = { 's', 'i' }
 
static const symbol s_4_5 [2] = { 'a', 'n' }
 
static const symbol s_4_6 [2] = { 'e', 'n' }
 
static const symbol s_4_7 [3] = { 0xC3, 0xA4, 'n' }
 
static const symbol s_4_8 [4] = { 'n', 's', 0xC3, 0xA4 }
 
static const struct among a_4 [9]
 
static const symbol s_5_0 [2] = { 'a', 'a' }
 
static const symbol s_5_1 [2] = { 'e', 'e' }
 
static const symbol s_5_2 [2] = { 'i', 'i' }
 
static const symbol s_5_3 [2] = { 'o', 'o' }
 
static const symbol s_5_4 [2] = { 'u', 'u' }
 
static const symbol s_5_5 [4] = { 0xC3, 0xA4, 0xC3, 0xA4 }
 
static const symbol s_5_6 [4] = { 0xC3, 0xB6, 0xC3, 0xB6 }
 
static const struct among a_5 [7]
 
static const symbol s_6_0 [1] = { 'a' }
 
static const symbol s_6_1 [3] = { 'l', 'l', 'a' }
 
static const symbol s_6_2 [2] = { 'n', 'a' }
 
static const symbol s_6_3 [3] = { 's', 's', 'a' }
 
static const symbol s_6_4 [2] = { 't', 'a' }
 
static const symbol s_6_5 [3] = { 'l', 't', 'a' }
 
static const symbol s_6_6 [3] = { 's', 't', 'a' }
 
static const symbol s_6_7 [3] = { 't', 't', 'a' }
 
static const symbol s_6_8 [3] = { 'l', 'l', 'e' }
 
static const symbol s_6_9 [3] = { 'i', 'n', 'e' }
 
static const symbol s_6_10 [3] = { 'k', 's', 'i' }
 
static const symbol s_6_11 [1] = { 'n' }
 
static const symbol s_6_12 [3] = { 'h', 'a', 'n' }
 
static const symbol s_6_13 [3] = { 'd', 'e', 'n' }
 
static const symbol s_6_14 [4] = { 's', 'e', 'e', 'n' }
 
static const symbol s_6_15 [3] = { 'h', 'e', 'n' }
 
static const symbol s_6_16 [4] = { 't', 't', 'e', 'n' }
 
static const symbol s_6_17 [3] = { 'h', 'i', 'n' }
 
static const symbol s_6_18 [4] = { 's', 'i', 'i', 'n' }
 
static const symbol s_6_19 [3] = { 'h', 'o', 'n' }
 
static const symbol s_6_20 [4] = { 'h', 0xC3, 0xA4, 'n' }
 
static const symbol s_6_21 [4] = { 'h', 0xC3, 0xB6, 'n' }
 
static const symbol s_6_22 [2] = { 0xC3, 0xA4 }
 
static const symbol s_6_23 [4] = { 'l', 'l', 0xC3, 0xA4 }
 
static const symbol s_6_24 [3] = { 'n', 0xC3, 0xA4 }
 
static const symbol s_6_25 [4] = { 's', 's', 0xC3, 0xA4 }
 
static const symbol s_6_26 [3] = { 't', 0xC3, 0xA4 }
 
static const symbol s_6_27 [4] = { 'l', 't', 0xC3, 0xA4 }
 
static const symbol s_6_28 [4] = { 's', 't', 0xC3, 0xA4 }
 
static const symbol s_6_29 [4] = { 't', 't', 0xC3, 0xA4 }
 
static const struct among a_6 [30]
 
static const symbol s_7_0 [3] = { 'e', 'j', 'a' }
 
static const symbol s_7_1 [3] = { 'm', 'm', 'a' }
 
static const symbol s_7_2 [4] = { 'i', 'm', 'm', 'a' }
 
static const symbol s_7_3 [3] = { 'm', 'p', 'a' }
 
static const symbol s_7_4 [4] = { 'i', 'm', 'p', 'a' }
 
static const symbol s_7_5 [3] = { 'm', 'm', 'i' }
 
static const symbol s_7_6 [4] = { 'i', 'm', 'm', 'i' }
 
static const symbol s_7_7 [3] = { 'm', 'p', 'i' }
 
static const symbol s_7_8 [4] = { 'i', 'm', 'p', 'i' }
 
static const symbol s_7_9 [4] = { 'e', 'j', 0xC3, 0xA4 }
 
static const symbol s_7_10 [4] = { 'm', 'm', 0xC3, 0xA4 }
 
static const symbol s_7_11 [5] = { 'i', 'm', 'm', 0xC3, 0xA4 }
 
static const symbol s_7_12 [4] = { 'm', 'p', 0xC3, 0xA4 }
 
static const symbol s_7_13 [5] = { 'i', 'm', 'p', 0xC3, 0xA4 }
 
static const struct among a_7 [14]
 
static const symbol s_9_0 [3] = { 'm', 'm', 'a' }
 
static const symbol s_9_1 [4] = { 'i', 'm', 'm', 'a' }
 
static const struct among a_9 [2]
 
static const unsigned char g_AEI [] = { 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8 }
 
static const unsigned char g_C [] = { 119, 223, 119, 1 }
 
static const unsigned char g_V1 [] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32 }
 
static const unsigned char g_V2 [] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32 }
 
static const unsigned char g_particle_end [] = { 17, 97, 24, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32 }
 

Typedef Documentation

◆ SN_local

typedef struct SN_local SN_local

Definition at line 17 of file stem_UTF_8_finnish.c.

Function Documentation

◆ af_6()

static int af_6 ( struct SN_env z)
static

Definition at line 208 of file stem_UTF_8_finnish.c.

208 {
209 switch (z->af) {
210 case 1: return r_VI(z);
211 case 2: return r_LONG(z);
212 }
213 return -1;
214}
static int r_VI(struct SN_env *z)
static int r_LONG(struct SN_env *z)
int af
Definition: api.h:18

References SN_env::af, r_LONG(), and r_VI().

Referenced by r_case_ending().

◆ finnish_UTF_8_close_env()

void finnish_UTF_8_close_env ( struct SN_env z)

Definition at line 776 of file stem_UTF_8_finnish.c.

776 {
777 if (z) {
778 lose_s(((SN_local *)z)->s_x);
779 }
780 SN_delete_env(z);
781}
void SN_delete_env(struct SN_env *z)
Definition: api.c:18
void lose_s(symbol *p)
Definition: utilities.c:31

References lose_s(), and SN_delete_env().

Referenced by finnish_UTF_8_create_env().

◆ finnish_UTF_8_create_env()

struct SN_env * finnish_UTF_8_create_env ( void  )

Definition at line 760 of file stem_UTF_8_finnish.c.

760 {
761 struct SN_env * z = SN_new_env(sizeof(SN_local));
762 if (z) {
763 ((SN_local *)z)->b_ending_removed = 0;
764 ((SN_local *)z)->s_x = NULL;
765 ((SN_local *)z)->i_p2 = 0;
766 ((SN_local *)z)->i_p1 = 0;
767
768 if ((((SN_local *)z)->s_x = create_s()) == NULL) {
770 return NULL;
771 }
772 }
773 return z;
774}
struct SN_env * SN_new_env(int alloc_size)
Definition: api.c:5
void finnish_UTF_8_close_env(struct SN_env *z)
Definition: api.h:15
symbol * create_s(void)
Definition: utilities.c:20

References create_s(), finnish_UTF_8_close_env(), and SN_new_env().

◆ finnish_UTF_8_stem()

int finnish_UTF_8_stem ( struct SN_env z)

Definition at line 684 of file stem_UTF_8_finnish.c.

684 {
685 {
686 int v_1 = z->c;
687 {
688 int ret = r_mark_regions(z);
689 if (ret < 0) return ret;
690 }
691 z->c = v_1;
692 }
693 ((SN_local *)z)->b_ending_removed = 0;
694 z->lb = z->c; z->c = z->l;
695 {
696 int v_2 = z->l - z->c;
697 {
698 int ret = r_particle_etc(z);
699 if (ret < 0) return ret;
700 }
701 z->c = z->l - v_2;
702 }
703 {
704 int v_3 = z->l - z->c;
705 {
706 int ret = r_possessive(z);
707 if (ret < 0) return ret;
708 }
709 z->c = z->l - v_3;
710 }
711 {
712 int v_4 = z->l - z->c;
713 {
714 int ret = r_case_ending(z);
715 if (ret < 0) return ret;
716 }
717 z->c = z->l - v_4;
718 }
719 {
720 int v_5 = z->l - z->c;
721 {
722 int ret = r_other_endings(z);
723 if (ret < 0) return ret;
724 }
725 z->c = z->l - v_5;
726 }
727 do {
728 if (!((SN_local *)z)->b_ending_removed) goto lab0;
729 {
730 int v_6 = z->l - z->c;
731 {
732 int ret = r_i_plural(z);
733 if (ret < 0) return ret;
734 }
735 z->c = z->l - v_6;
736 }
737 break;
738 lab0:
739 {
740 int v_7 = z->l - z->c;
741 {
742 int ret = r_t_plural(z);
743 if (ret < 0) return ret;
744 }
745 z->c = z->l - v_7;
746 }
747 } while (0);
748 {
749 int v_8 = z->l - z->c;
750 {
751 int ret = r_tidy(z);
752 if (ret < 0) return ret;
753 }
754 z->c = z->l - v_8;
755 }
756 z->c = z->lb;
757 return 1;
758}
static int r_case_ending(struct SN_env *z)
static int r_tidy(struct SN_env *z)
static int r_other_endings(struct SN_env *z)
static int r_t_plural(struct SN_env *z)
static int r_i_plural(struct SN_env *z)
static int r_possessive(struct SN_env *z)
static int r_mark_regions(struct SN_env *z)
static int r_particle_etc(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_case_ending(), r_i_plural(), r_mark_regions(), r_other_endings(), r_particle_etc(), r_possessive(), r_t_plural(), and r_tidy().

◆ r_case_ending()

static int r_case_ending ( struct SN_env z)
static

Definition at line 410 of file stem_UTF_8_finnish.c.

410 {
411 int among_var;
412 {
413 int v_1;
414 if (z->c < ((SN_local *)z)->i_p1) return 0;
415 v_1 = z->lb; z->lb = ((SN_local *)z)->i_p1;
416 z->ket = z->c;
417 among_var = find_among_b(z, a_6, 30, af_6);
418 if (!among_var) { z->lb = v_1; return 0; }
419 z->bra = z->c;
420 z->lb = v_1;
421 }
422 switch (among_var) {
423 case 1:
424 if (z->c <= z->lb || z->p[z->c - 1] != 'a') return 0;
425 z->c--;
426 break;
427 case 2:
428 if (z->c <= z->lb || z->p[z->c - 1] != 'e') return 0;
429 z->c--;
430 break;
431 case 3:
432 if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0;
433 z->c--;
434 break;
435 case 4:
436 if (z->c <= z->lb || z->p[z->c - 1] != 'o') return 0;
437 z->c--;
438 break;
439 case 5:
440 if (!(eq_s_b(z, 2, s_2))) return 0;
441 break;
442 case 6:
443 if (!(eq_s_b(z, 2, s_3))) return 0;
444 break;
445 case 7:
446 {
447 int v_2 = z->l - z->c;
448 {
449 int v_3 = z->l - z->c;
450 do {
451 int v_4 = z->l - z->c;
452 {
453 int ret = r_LONG(z);
454 if (ret == 0) goto lab1;
455 if (ret < 0) return ret;
456 }
457 break;
458 lab1:
459 z->c = z->l - v_4;
460 if (!(eq_s_b(z, 2, s_4))) { z->c = z->l - v_2; goto lab0; }
461 } while (0);
462 z->c = z->l - v_3;
463 {
464 int ret = skip_b_utf8(z->p, z->c, z->lb, 1);
465 if (ret < 0) { z->c = z->l - v_2; goto lab0; }
466 z->c = ret;
467 }
468 }
469 z->bra = z->c;
470 lab0:
471 ;
472 }
473 break;
474 case 8:
475 if (in_grouping_b_U(z, g_V1, 97, 246, 0)) return 0;
476 if (in_grouping_b_U(z, g_C, 98, 122, 0)) return 0;
477 break;
478 }
479 {
480 int ret = slice_del(z);
481 if (ret < 0) return ret;
482 }
483 ((SN_local *)z)->b_ending_removed = 1;
484 return 1;
485}
static const symbol s_2[]
static const unsigned char g_C[]
static const symbol s_4[]
static const unsigned char g_V1[]
static int af_6(struct SN_env *z)
static const symbol s_3[]
static const struct among a_6[30]
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
int skip_b_utf8(const symbol *p, int c, int limit, int n)
Definition: utilities.c:68
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:236
SNOWBALL_ERR slice_del(struct SN_env *z)
Definition: utilities.c:443

References a_6, af_6(), SN_env::bra, SN_env::c, eq_s_b(), find_among_b(), g_C, g_V1, SN_local::i_p1, in_grouping_b_U(), SN_env::l, SN_env::lb, SN_env::p, r_LONG(), s_2, s_3, s_4, skip_b_utf8(), and slice_del().

Referenced by finnish_UTF_8_stem().

◆ r_i_plural()

static int r_i_plural ( struct SN_env z)
static

Definition at line 517 of file stem_UTF_8_finnish.c.

517 {
518 {
519 int v_1;
520 if (z->c < ((SN_local *)z)->i_p1) return 0;
521 v_1 = z->lb; z->lb = ((SN_local *)z)->i_p1;
522 z->ket = z->c;
523 if (z->c <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 106)) { z->lb = v_1; return 0; }
524 z->c--;
525 z->bra = z->c;
526 z->lb = v_1;
527 }
528 {
529 int ret = slice_del(z);
530 if (ret < 0) return ret;
531 }
532 return 1;
533}

References SN_env::c, SN_local::i_p1, and slice_del().

Referenced by finnish_UTF_8_stem().

◆ r_LONG()

static int r_LONG ( struct SN_env z)
static

Definition at line 400 of file stem_UTF_8_finnish.c.

400 {
401 return find_among_b(z, a_5, 7, 0) != 0;
402}
static const struct among a_5[7]

References a_5, and find_among_b().

Referenced by af_6(), r_case_ending(), and r_tidy().

◆ r_mark_regions()

static int r_mark_regions ( struct SN_env z)
static

Definition at line 264 of file stem_UTF_8_finnish.c.

264 {
265 ((SN_local *)z)->i_p1 = z->l;
266 ((SN_local *)z)->i_p2 = z->l;
267 {
268 int ret = out_grouping_U(z, g_V1, 97, 246, 1);
269 if (ret < 0) return 0;
270 z->c += ret;
271 }
272 {
273 int ret = in_grouping_U(z, g_V1, 97, 246, 1);
274 if (ret < 0) return 0;
275 z->c += ret;
276 }
277 ((SN_local *)z)->i_p1 = z->c;
278 {
279 int ret = out_grouping_U(z, g_V1, 97, 246, 1);
280 if (ret < 0) return 0;
281 z->c += ret;
282 }
283 {
284 int ret = in_grouping_U(z, g_V1, 97, 246, 1);
285 if (ret < 0) return 0;
286 z->c += ret;
287 }
288 ((SN_local *)z)->i_p2 = z->c;
289 return 1;
290}
int out_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:157
int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:133

References SN_env::c, g_V1, in_grouping_U(), SN_env::l, and out_grouping_U().

Referenced by finnish_UTF_8_stem().

◆ r_other_endings()

static int r_other_endings ( struct SN_env z)
static

Definition at line 487 of file stem_UTF_8_finnish.c.

487 {
488 int among_var;
489 {
490 int v_1;
491 if (z->c < ((SN_local *)z)->i_p2) return 0;
492 v_1 = z->lb; z->lb = ((SN_local *)z)->i_p2;
493 z->ket = z->c;
494 among_var = find_among_b(z, a_7, 14, 0);
495 if (!among_var) { z->lb = v_1; return 0; }
496 z->bra = z->c;
497 z->lb = v_1;
498 }
499 switch (among_var) {
500 case 1:
501 {
502 int v_2 = z->l - z->c;
503 if (!(eq_s_b(z, 2, s_5))) goto lab0;
504 return 0;
505 lab0:
506 z->c = z->l - v_2;
507 }
508 break;
509 }
510 {
511 int ret = slice_del(z);
512 if (ret < 0) return ret;
513 }
514 return 1;
515}
static const struct among a_7[14]
static const symbol s_5[]

References a_7, SN_env::c, eq_s_b(), find_among_b(), SN_local::i_p2, SN_env::l, s_5, and slice_del().

Referenced by finnish_UTF_8_stem().

◆ r_particle_etc()

static int r_particle_etc ( struct SN_env z)
static

Definition at line 296 of file stem_UTF_8_finnish.c.

296 {
297 int among_var;
298 {
299 int v_1;
300 if (z->c < ((SN_local *)z)->i_p1) return 0;
301 v_1 = z->lb; z->lb = ((SN_local *)z)->i_p1;
302 z->ket = z->c;
303 among_var = find_among_b(z, a_0, 10, 0);
304 if (!among_var) { z->lb = v_1; return 0; }
305 z->bra = z->c;
306 z->lb = v_1;
307 }
308 switch (among_var) {
309 case 1:
310 if (in_grouping_b_U(z, g_particle_end, 97, 246, 0)) return 0;
311 break;
312 case 2:
313 {
314 int ret = r_R2(z);
315 if (ret <= 0) return ret;
316 }
317 break;
318 }
319 {
320 int ret = slice_del(z);
321 if (ret < 0) return ret;
322 }
323 return 1;
324}
static const unsigned char g_particle_end[]
static int r_R2(struct SN_env *z)
static const struct among a_0[10]

References a_0, SN_env::c, find_among_b(), g_particle_end, SN_local::i_p1, in_grouping_b_U(), r_R2(), and slice_del().

Referenced by finnish_UTF_8_stem().

◆ r_possessive()

static int r_possessive ( struct SN_env z)
static

Definition at line 326 of file stem_UTF_8_finnish.c.

326 {
327 int among_var;
328 {
329 int v_1;
330 if (z->c < ((SN_local *)z)->i_p1) return 0;
331 v_1 = z->lb; z->lb = ((SN_local *)z)->i_p1;
332 z->ket = z->c;
333 among_var = find_among_b(z, a_4, 9, 0);
334 if (!among_var) { z->lb = v_1; return 0; }
335 z->bra = z->c;
336 z->lb = v_1;
337 }
338 switch (among_var) {
339 case 1:
340 {
341 int v_2 = z->l - z->c;
342 if (z->c <= z->lb || z->p[z->c - 1] != 'k') goto lab0;
343 z->c--;
344 return 0;
345 lab0:
346 z->c = z->l - v_2;
347 }
348 {
349 int ret = slice_del(z);
350 if (ret < 0) return ret;
351 }
352 break;
353 case 2:
354 {
355 int ret = slice_del(z);
356 if (ret < 0) return ret;
357 }
358 z->ket = z->c;
359 if (!(eq_s_b(z, 3, s_0))) return 0;
360 z->bra = z->c;
361 {
362 int ret = slice_from_s(z, 3, s_1);
363 if (ret < 0) return ret;
364 }
365 break;
366 case 3:
367 {
368 int ret = slice_del(z);
369 if (ret < 0) return ret;
370 }
371 break;
372 case 4:
373 if (z->c - 1 <= z->lb || z->p[z->c - 1] != 97) return 0;
374 if (!find_among_b(z, a_1, 6, 0)) return 0;
375 {
376 int ret = slice_del(z);
377 if (ret < 0) return ret;
378 }
379 break;
380 case 5:
381 if (z->c - 2 <= z->lb || z->p[z->c - 1] != 164) return 0;
382 if (!find_among_b(z, a_2, 6, 0)) return 0;
383 {
384 int ret = slice_del(z);
385 if (ret < 0) return ret;
386 }
387 break;
388 case 6:
389 if (z->c - 2 <= z->lb || z->p[z->c - 1] != 101) return 0;
390 if (!find_among_b(z, a_3, 2, 0)) return 0;
391 {
392 int ret = slice_del(z);
393 if (ret < 0) return ret;
394 }
395 break;
396 }
397 return 1;
398}
static const struct among a_3[2]
static const struct among a_2[6]
static const struct among a_4[9]
static const struct among a_1[6]
static const symbol s_1[]
static const symbol s_0[]
SNOWBALL_ERR slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:432

References a_1, a_2, a_3, a_4, SN_env::bra, SN_env::c, eq_s_b(), find_among_b(), SN_local::i_p1, SN_env::ket, SN_env::l, SN_env::lb, SN_env::p, s_0, s_1, slice_del(), and slice_from_s().

Referenced by finnish_UTF_8_stem().

◆ r_R2()

static int r_R2 ( struct SN_env z)
static

Definition at line 292 of file stem_UTF_8_finnish.c.

292 {
293 return ((SN_local *)z)->i_p2 <= z->c;
294}

References SN_env::c.

Referenced by r_particle_etc().

◆ r_t_plural()

static int r_t_plural ( struct SN_env z)
static

Definition at line 535 of file stem_UTF_8_finnish.c.

535 {
536 int among_var;
537 {
538 int v_1;
539 if (z->c < ((SN_local *)z)->i_p1) return 0;
540 v_1 = z->lb; z->lb = ((SN_local *)z)->i_p1;
541 z->ket = z->c;
542 if (z->c <= z->lb || z->p[z->c - 1] != 't') { z->lb = v_1; return 0; }
543 z->c--;
544 z->bra = z->c;
545 {
546 int v_2 = z->l - z->c;
547 if (in_grouping_b_U(z, g_V1, 97, 246, 0)) { z->lb = v_1; return 0; }
548 z->c = z->l - v_2;
549 }
550 {
551 int ret = slice_del(z);
552 if (ret < 0) return ret;
553 }
554 z->lb = v_1;
555 }
556 {
557 int v_3;
558 if (z->c < ((SN_local *)z)->i_p2) return 0;
559 v_3 = z->lb; z->lb = ((SN_local *)z)->i_p2;
560 z->ket = z->c;
561 if (z->c - 2 <= z->lb || z->p[z->c - 1] != 97) { z->lb = v_3; return 0; }
562 among_var = find_among_b(z, a_9, 2, 0);
563 if (!among_var) { z->lb = v_3; return 0; }
564 z->bra = z->c;
565 z->lb = v_3;
566 }
567 switch (among_var) {
568 case 1:
569 {
570 int v_4 = z->l - z->c;
571 if (!(eq_s_b(z, 2, s_6))) goto lab0;
572 return 0;
573 lab0:
574 z->c = z->l - v_4;
575 }
576 break;
577 }
578 {
579 int ret = slice_del(z);
580 if (ret < 0) return ret;
581 }
582 return 1;
583}
static const symbol s_6[]
static const struct among a_9[2]

References a_9, SN_env::c, eq_s_b(), find_among_b(), g_V1, SN_local::i_p1, SN_local::i_p2, in_grouping_b_U(), SN_env::l, s_6, and slice_del().

Referenced by finnish_UTF_8_stem().

◆ r_tidy()

static int r_tidy ( struct SN_env z)
static

Definition at line 585 of file stem_UTF_8_finnish.c.

585 {
586 {
587 int v_1;
588 if (z->c < ((SN_local *)z)->i_p1) return 0;
589 v_1 = z->lb; z->lb = ((SN_local *)z)->i_p1;
590 {
591 int v_2 = z->l - z->c;
592 {
593 int v_3 = z->l - z->c;
594 {
595 int ret = r_LONG(z);
596 if (ret == 0) goto lab0;
597 if (ret < 0) return ret;
598 }
599 z->c = z->l - v_3;
600 z->ket = z->c;
601 {
602 int ret = skip_b_utf8(z->p, z->c, z->lb, 1);
603 if (ret < 0) goto lab0;
604 z->c = ret;
605 }
606 z->bra = z->c;
607 {
608 int ret = slice_del(z);
609 if (ret < 0) return ret;
610 }
611 }
612 lab0:
613 z->c = z->l - v_2;
614 }
615 {
616 int v_4 = z->l - z->c;
617 z->ket = z->c;
618 if (in_grouping_b_U(z, g_AEI, 97, 228, 0)) goto lab1;
619 z->bra = z->c;
620 if (in_grouping_b_U(z, g_C, 98, 122, 0)) goto lab1;
621 {
622 int ret = slice_del(z);
623 if (ret < 0) return ret;
624 }
625 lab1:
626 z->c = z->l - v_4;
627 }
628 {
629 int v_5 = z->l - z->c;
630 z->ket = z->c;
631 if (z->c <= z->lb || z->p[z->c - 1] != 'j') goto lab2;
632 z->c--;
633 z->bra = z->c;
634 do {
635 int v_6 = z->l - z->c;
636 if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab3;
637 z->c--;
638 break;
639 lab3:
640 z->c = z->l - v_6;
641 if (z->c <= z->lb || z->p[z->c - 1] != 'u') goto lab2;
642 z->c--;
643 } while (0);
644 {
645 int ret = slice_del(z);
646 if (ret < 0) return ret;
647 }
648 lab2:
649 z->c = z->l - v_5;
650 }
651 {
652 int v_7 = z->l - z->c;
653 z->ket = z->c;
654 if (z->c <= z->lb || z->p[z->c - 1] != 'o') goto lab4;
655 z->c--;
656 z->bra = z->c;
657 if (z->c <= z->lb || z->p[z->c - 1] != 'j') goto lab4;
658 z->c--;
659 {
660 int ret = slice_del(z);
661 if (ret < 0) return ret;
662 }
663 lab4:
664 z->c = z->l - v_7;
665 }
666 z->lb = v_1;
667 }
668 if (in_grouping_b_U(z, g_V1, 97, 246, 1) < 0) return 0;
669 z->ket = z->c;
670 if (in_grouping_b_U(z, g_C, 98, 122, 0)) return 0;
671 z->bra = z->c;
672 {
673 int ret = slice_to(z, &((SN_local *)z)->s_x);
674 if (ret < 0) return ret;
675 }
676 if (!(eq_v_b(z, ((SN_local *)z)->s_x))) return 0;
677 {
678 int ret = slice_del(z);
679 if (ret < 0) return ret;
680 }
681 return 1;
682}
static const unsigned char g_AEI[]
int eq_v_b(struct SN_env *z, const symbol *p)
Definition: utilities.c:245
SNOWBALL_ERR slice_to(struct SN_env *z, symbol **p)
Definition: utilities.c:478

References SN_env::bra, SN_env::c, eq_v_b(), g_AEI, g_C, g_V1, SN_local::i_p1, in_grouping_b_U(), SN_env::ket, r_LONG(), skip_b_utf8(), slice_del(), and slice_to().

Referenced by finnish_UTF_8_stem().

◆ r_VI()

static int r_VI ( struct SN_env z)
static

Definition at line 404 of file stem_UTF_8_finnish.c.

404 {
405 if (z->c <= z->lb || z->p[z->c - 1] != 'i') return 0;
406 z->c--;
407 return !in_grouping_b_U(z, g_V2, 97, 246, 0);
408}
static const unsigned char g_V2[]
symbol * p
Definition: api.h:16

References SN_env::c, g_V2, in_grouping_b_U(), SN_env::lb, and SN_env::p.

Referenced by af_6().

Variable Documentation

◆ a_0

const struct among a_0[10]
static
Initial value:
= {
{ 2, s_0_0, 0, 1, 0},
{ 3, s_0_1, 0, 2, 0},
{ 4, s_0_2, 0, 1, 0},
{ 3, s_0_3, 0, 1, 0},
{ 3, s_0_4, 0, 1, 0},
{ 4, s_0_5, 0, 1, 0},
{ 6, s_0_6, 0, 1, 0},
{ 2, s_0_7, 0, 1, 0},
{ 3, s_0_8, 0, 1, 0},
{ 3, s_0_9, 0, 1, 0}
}
static const symbol s_0_2[4]
static const symbol s_0_3[3]
static const symbol s_0_0[2]
static const symbol s_0_5[4]
static const symbol s_0_7[2]
static const symbol s_0_8[3]
static const symbol s_0_1[3]
static const symbol s_0_9[3]
static const symbol s_0_6[6]
static const symbol s_0_4[3]

Definition at line 57 of file stem_UTF_8_finnish.c.

Referenced by r_particle_etc().

◆ a_1

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

Definition at line 76 of file stem_UTF_8_finnish.c.

Referenced by r_possessive().

◆ a_2

const struct among a_2[6]
static
Initial value:
= {
{ 4, s_2_0, 0, -1, 0},
{ 3, s_2_1, 0, -1, 0},
{ 4, s_2_2, 0, -1, 0},
{ 3, s_2_3, 0, -1, 0},
{ 4, s_2_4, -1, -1, 0},
{ 4, s_2_5, -2, -1, 0}
}
static const symbol s_2_3[3]
static const symbol s_2_1[3]
static const symbol s_2_2[4]
static const symbol s_2_4[4]
static const symbol s_2_0[4]
static const symbol s_2_5[4]

Definition at line 91 of file stem_UTF_8_finnish.c.

Referenced by r_possessive().

◆ a_3

const struct among a_3[2]
static
Initial value:
= {
{ 3, s_3_0, 0, -1, 0},
{ 3, s_3_1, 0, -1, 0}
}
static const symbol s_3_0[3]
static const symbol s_3_1[3]

Definition at line 102 of file stem_UTF_8_finnish.c.

Referenced by r_possessive().

◆ a_4

const struct among a_4[9]
static
Initial value:
= {
{ 3, s_4_0, 0, 3, 0},
{ 3, s_4_1, 0, 3, 0},
{ 3, s_4_2, 0, 3, 0},
{ 2, s_4_3, 0, 2, 0},
{ 2, s_4_4, 0, 1, 0},
{ 2, s_4_5, 0, 4, 0},
{ 2, s_4_6, 0, 6, 0},
{ 3, s_4_7, 0, 5, 0},
{ 4, s_4_8, 0, 3, 0}
}
static const symbol s_4_1[3]
static const symbol s_4_6[2]
static const symbol s_4_4[2]
static const symbol s_4_3[2]
static const symbol s_4_8[4]
static const symbol s_4_7[3]
static const symbol s_4_2[3]
static const symbol s_4_0[3]
static const symbol s_4_5[2]

Definition at line 116 of file stem_UTF_8_finnish.c.

Referenced by r_possessive().

◆ a_5

const struct among a_5[7]
static
Initial value:
= {
{ 2, s_5_0, 0, -1, 0},
{ 2, s_5_1, 0, -1, 0},
{ 2, s_5_2, 0, -1, 0},
{ 2, s_5_3, 0, -1, 0},
{ 2, s_5_4, 0, -1, 0},
{ 4, s_5_5, 0, -1, 0},
{ 4, s_5_6, 0, -1, 0}
}
static const symbol s_5_6[4]
static const symbol s_5_3[2]
static const symbol s_5_0[2]
static const symbol s_5_4[2]
static const symbol s_5_5[4]
static const symbol s_5_2[2]
static const symbol s_5_1[2]

Definition at line 135 of file stem_UTF_8_finnish.c.

Referenced by r_LONG().

◆ a_6

const struct among a_6[30]
static

Definition at line 175 of file stem_UTF_8_finnish.c.

Referenced by r_case_ending().

◆ a_7

const struct among a_7[14]
static
Initial value:
= {
{ 3, s_7_0, 0, -1, 0},
{ 3, s_7_1, 0, 1, 0},
{ 4, s_7_2, -1, -1, 0},
{ 3, s_7_3, 0, 1, 0},
{ 4, s_7_4, -1, -1, 0},
{ 3, s_7_5, 0, 1, 0},
{ 4, s_7_6, -1, -1, 0},
{ 3, s_7_7, 0, 1, 0},
{ 4, s_7_8, -1, -1, 0},
{ 4, s_7_9, 0, -1, 0},
{ 4, s_7_10, 0, 1, 0},
{ 5, s_7_11, -1, -1, 0},
{ 4, s_7_12, 0, 1, 0},
{ 5, s_7_13, -1, -1, 0}
}
static const symbol s_7_13[5]
static const symbol s_7_7[3]
static const symbol s_7_1[3]
static const symbol s_7_12[4]
static const symbol s_7_9[4]
static const symbol s_7_6[4]
static const symbol s_7_5[3]
static const symbol s_7_8[4]
static const symbol s_7_0[3]
static const symbol s_7_2[4]
static const symbol s_7_4[4]
static const symbol s_7_3[3]
static const symbol s_7_10[4]
static const symbol s_7_11[5]

Definition at line 230 of file stem_UTF_8_finnish.c.

Referenced by r_other_endings().

◆ a_9

const struct among a_9[2]
static
Initial value:
= {
{ 3, s_9_0, 0, 1, 0},
{ 4, s_9_1, -1, -1, 0}
}
static const symbol s_9_0[3]
static const symbol s_9_1[4]

Definition at line 249 of file stem_UTF_8_finnish.c.

Referenced by r_t_plural().

◆ g_AEI

const unsigned char g_AEI[] = { 17, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8 }
static

Definition at line 254 of file stem_UTF_8_finnish.c.

Referenced by r_tidy().

◆ g_C

const unsigned char g_C[] = { 119, 223, 119, 1 }
static

Definition at line 256 of file stem_UTF_8_finnish.c.

Referenced by r_case_ending(), and r_tidy().

◆ g_particle_end

const unsigned char g_particle_end[] = { 17, 97, 24, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32 }
static

Definition at line 262 of file stem_UTF_8_finnish.c.

Referenced by r_particle_etc().

◆ g_V1

const unsigned char g_V1[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32 }
static

Definition at line 258 of file stem_UTF_8_finnish.c.

Referenced by r_case_ending(), r_mark_regions(), r_t_plural(), and r_tidy().

◆ g_V2

const unsigned char g_V2[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32 }
static

Definition at line 260 of file stem_UTF_8_finnish.c.

Referenced by r_VI().

◆ s_0

const symbol s_0[] = { 'k', 's', 'e' }
static

Definition at line 39 of file stem_UTF_8_finnish.c.

Referenced by r_possessive().

◆ s_0_0

const symbol s_0_0[2] = { 'p', 'a' }
static

Definition at line 47 of file stem_UTF_8_finnish.c.

◆ s_0_1

const symbol s_0_1[3] = { 's', 't', 'i' }
static

Definition at line 48 of file stem_UTF_8_finnish.c.

◆ s_0_2

const symbol s_0_2[4] = { 'k', 'a', 'a', 'n' }
static

Definition at line 49 of file stem_UTF_8_finnish.c.

◆ s_0_3

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

Definition at line 50 of file stem_UTF_8_finnish.c.

◆ s_0_4

const symbol s_0_4[3] = { 'k', 'i', 'n' }
static

Definition at line 51 of file stem_UTF_8_finnish.c.

◆ s_0_5

const symbol s_0_5[4] = { 'h', 0xC3, 0xA4, 'n' }
static

Definition at line 52 of file stem_UTF_8_finnish.c.

◆ s_0_6

const symbol s_0_6[6] = { 'k', 0xC3, 0xA4, 0xC3, 0xA4, 'n' }
static

Definition at line 53 of file stem_UTF_8_finnish.c.

◆ s_0_7

const symbol s_0_7[2] = { 'k', 'o' }
static

Definition at line 54 of file stem_UTF_8_finnish.c.

◆ s_0_8

const symbol s_0_8[3] = { 'p', 0xC3, 0xA4 }
static

Definition at line 55 of file stem_UTF_8_finnish.c.

◆ s_0_9

const symbol s_0_9[3] = { 'k', 0xC3, 0xB6 }
static

Definition at line 56 of file stem_UTF_8_finnish.c.

◆ s_1

const symbol s_1[] = { 'k', 's', 'i' }
static

Definition at line 40 of file stem_UTF_8_finnish.c.

Referenced by r_possessive().

◆ s_1_0

const symbol s_1_0[3] = { 'l', 'l', 'a' }
static

Definition at line 70 of file stem_UTF_8_finnish.c.

◆ s_1_1

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

Definition at line 71 of file stem_UTF_8_finnish.c.

◆ s_1_2

const symbol s_1_2[3] = { 's', 's', 'a' }
static

Definition at line 72 of file stem_UTF_8_finnish.c.

◆ s_1_3

const symbol s_1_3[2] = { 't', 'a' }
static

Definition at line 73 of file stem_UTF_8_finnish.c.

◆ s_1_4

const symbol s_1_4[3] = { 'l', 't', 'a' }
static

Definition at line 74 of file stem_UTF_8_finnish.c.

◆ s_1_5

const symbol s_1_5[3] = { 's', 't', 'a' }
static

Definition at line 75 of file stem_UTF_8_finnish.c.

◆ s_2

const symbol s_2[] = { 0xC3, 0xA4 }
static

Definition at line 41 of file stem_UTF_8_finnish.c.

Referenced by r_case_ending().

◆ s_2_0

const symbol s_2_0[4] = { 'l', 'l', 0xC3, 0xA4 }
static

Definition at line 85 of file stem_UTF_8_finnish.c.

◆ s_2_1

const symbol s_2_1[3] = { 'n', 0xC3, 0xA4 }
static

Definition at line 86 of file stem_UTF_8_finnish.c.

◆ s_2_2

const symbol s_2_2[4] = { 's', 's', 0xC3, 0xA4 }
static

Definition at line 87 of file stem_UTF_8_finnish.c.

◆ s_2_3

const symbol s_2_3[3] = { 't', 0xC3, 0xA4 }
static

Definition at line 88 of file stem_UTF_8_finnish.c.

◆ s_2_4

const symbol s_2_4[4] = { 'l', 't', 0xC3, 0xA4 }
static

Definition at line 89 of file stem_UTF_8_finnish.c.

◆ s_2_5

const symbol s_2_5[4] = { 's', 't', 0xC3, 0xA4 }
static

Definition at line 90 of file stem_UTF_8_finnish.c.

◆ s_3

const symbol s_3[] = { 0xC3, 0xB6 }
static

Definition at line 42 of file stem_UTF_8_finnish.c.

Referenced by r_case_ending().

◆ s_3_0

const symbol s_3_0[3] = { 'l', 'l', 'e' }
static

Definition at line 100 of file stem_UTF_8_finnish.c.

◆ s_3_1

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

Definition at line 101 of file stem_UTF_8_finnish.c.

◆ s_4

const symbol s_4[] = { 'i', 'e' }
static

Definition at line 43 of file stem_UTF_8_finnish.c.

Referenced by r_case_ending().

◆ s_4_0

const symbol s_4_0[3] = { 'n', 's', 'a' }
static

Definition at line 107 of file stem_UTF_8_finnish.c.

◆ s_4_1

const symbol s_4_1[3] = { 'm', 'm', 'e' }
static

Definition at line 108 of file stem_UTF_8_finnish.c.

◆ s_4_2

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

Definition at line 109 of file stem_UTF_8_finnish.c.

◆ s_4_3

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

Definition at line 110 of file stem_UTF_8_finnish.c.

◆ s_4_4

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

Definition at line 111 of file stem_UTF_8_finnish.c.

◆ s_4_5

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

Definition at line 112 of file stem_UTF_8_finnish.c.

◆ s_4_6

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

Definition at line 113 of file stem_UTF_8_finnish.c.

◆ s_4_7

const symbol s_4_7[3] = { 0xC3, 0xA4, 'n' }
static

Definition at line 114 of file stem_UTF_8_finnish.c.

◆ s_4_8

const symbol s_4_8[4] = { 'n', 's', 0xC3, 0xA4 }
static

Definition at line 115 of file stem_UTF_8_finnish.c.

◆ s_5

const symbol s_5[] = { 'p', 'o' }
static

Definition at line 44 of file stem_UTF_8_finnish.c.

Referenced by r_other_endings().

◆ s_5_0

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

Definition at line 128 of file stem_UTF_8_finnish.c.

◆ s_5_1

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

Definition at line 129 of file stem_UTF_8_finnish.c.

◆ s_5_2

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

Definition at line 130 of file stem_UTF_8_finnish.c.

◆ s_5_3

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

Definition at line 131 of file stem_UTF_8_finnish.c.

◆ s_5_4

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

Definition at line 132 of file stem_UTF_8_finnish.c.

◆ s_5_5

const symbol s_5_5[4] = { 0xC3, 0xA4, 0xC3, 0xA4 }
static

Definition at line 133 of file stem_UTF_8_finnish.c.

◆ s_5_6

const symbol s_5_6[4] = { 0xC3, 0xB6, 0xC3, 0xB6 }
static

Definition at line 134 of file stem_UTF_8_finnish.c.

◆ s_6

const symbol s_6[] = { 'p', 'o' }
static

Definition at line 45 of file stem_UTF_8_finnish.c.

Referenced by r_t_plural().

◆ s_6_0

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

Definition at line 145 of file stem_UTF_8_finnish.c.

◆ s_6_1

const symbol s_6_1[3] = { 'l', 'l', 'a' }
static

Definition at line 146 of file stem_UTF_8_finnish.c.

◆ s_6_10

const symbol s_6_10[3] = { 'k', 's', 'i' }
static

Definition at line 155 of file stem_UTF_8_finnish.c.

◆ s_6_11

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

Definition at line 156 of file stem_UTF_8_finnish.c.

◆ s_6_12

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

Definition at line 157 of file stem_UTF_8_finnish.c.

◆ s_6_13

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

Definition at line 158 of file stem_UTF_8_finnish.c.

◆ s_6_14

const symbol s_6_14[4] = { 's', 'e', 'e', 'n' }
static

Definition at line 159 of file stem_UTF_8_finnish.c.

◆ s_6_15

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

Definition at line 160 of file stem_UTF_8_finnish.c.

◆ s_6_16

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

Definition at line 161 of file stem_UTF_8_finnish.c.

◆ s_6_17

const symbol s_6_17[3] = { 'h', 'i', 'n' }
static

Definition at line 162 of file stem_UTF_8_finnish.c.

◆ s_6_18

const symbol s_6_18[4] = { 's', 'i', 'i', 'n' }
static

Definition at line 163 of file stem_UTF_8_finnish.c.

◆ s_6_19

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

Definition at line 164 of file stem_UTF_8_finnish.c.

◆ s_6_2

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

Definition at line 147 of file stem_UTF_8_finnish.c.

◆ s_6_20

const symbol s_6_20[4] = { 'h', 0xC3, 0xA4, 'n' }
static

Definition at line 165 of file stem_UTF_8_finnish.c.

◆ s_6_21

const symbol s_6_21[4] = { 'h', 0xC3, 0xB6, 'n' }
static

Definition at line 166 of file stem_UTF_8_finnish.c.

◆ s_6_22

const symbol s_6_22[2] = { 0xC3, 0xA4 }
static

Definition at line 167 of file stem_UTF_8_finnish.c.

◆ s_6_23

const symbol s_6_23[4] = { 'l', 'l', 0xC3, 0xA4 }
static

Definition at line 168 of file stem_UTF_8_finnish.c.

◆ s_6_24

const symbol s_6_24[3] = { 'n', 0xC3, 0xA4 }
static

Definition at line 169 of file stem_UTF_8_finnish.c.

◆ s_6_25

const symbol s_6_25[4] = { 's', 's', 0xC3, 0xA4 }
static

Definition at line 170 of file stem_UTF_8_finnish.c.

◆ s_6_26

const symbol s_6_26[3] = { 't', 0xC3, 0xA4 }
static

Definition at line 171 of file stem_UTF_8_finnish.c.

◆ s_6_27

const symbol s_6_27[4] = { 'l', 't', 0xC3, 0xA4 }
static

Definition at line 172 of file stem_UTF_8_finnish.c.

◆ s_6_28

const symbol s_6_28[4] = { 's', 't', 0xC3, 0xA4 }
static

Definition at line 173 of file stem_UTF_8_finnish.c.

◆ s_6_29

const symbol s_6_29[4] = { 't', 't', 0xC3, 0xA4 }
static

Definition at line 174 of file stem_UTF_8_finnish.c.

◆ s_6_3

const symbol s_6_3[3] = { 's', 's', 'a' }
static

Definition at line 148 of file stem_UTF_8_finnish.c.

◆ s_6_4

const symbol s_6_4[2] = { 't', 'a' }
static

Definition at line 149 of file stem_UTF_8_finnish.c.

◆ s_6_5

const symbol s_6_5[3] = { 'l', 't', 'a' }
static

Definition at line 150 of file stem_UTF_8_finnish.c.

◆ s_6_6

const symbol s_6_6[3] = { 's', 't', 'a' }
static

Definition at line 151 of file stem_UTF_8_finnish.c.

◆ s_6_7

const symbol s_6_7[3] = { 't', 't', 'a' }
static

Definition at line 152 of file stem_UTF_8_finnish.c.

◆ s_6_8

const symbol s_6_8[3] = { 'l', 'l', 'e' }
static

Definition at line 153 of file stem_UTF_8_finnish.c.

◆ s_6_9

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

Definition at line 154 of file stem_UTF_8_finnish.c.

◆ s_7_0

const symbol s_7_0[3] = { 'e', 'j', 'a' }
static

Definition at line 216 of file stem_UTF_8_finnish.c.

◆ s_7_1

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

Definition at line 217 of file stem_UTF_8_finnish.c.

◆ s_7_10

const symbol s_7_10[4] = { 'm', 'm', 0xC3, 0xA4 }
static

Definition at line 226 of file stem_UTF_8_finnish.c.

◆ s_7_11

const symbol s_7_11[5] = { 'i', 'm', 'm', 0xC3, 0xA4 }
static

Definition at line 227 of file stem_UTF_8_finnish.c.

◆ s_7_12

const symbol s_7_12[4] = { 'm', 'p', 0xC3, 0xA4 }
static

Definition at line 228 of file stem_UTF_8_finnish.c.

◆ s_7_13

const symbol s_7_13[5] = { 'i', 'm', 'p', 0xC3, 0xA4 }
static

Definition at line 229 of file stem_UTF_8_finnish.c.

◆ s_7_2

const symbol s_7_2[4] = { 'i', 'm', 'm', 'a' }
static

Definition at line 218 of file stem_UTF_8_finnish.c.

◆ s_7_3

const symbol s_7_3[3] = { 'm', 'p', 'a' }
static

Definition at line 219 of file stem_UTF_8_finnish.c.

◆ s_7_4

const symbol s_7_4[4] = { 'i', 'm', 'p', 'a' }
static

Definition at line 220 of file stem_UTF_8_finnish.c.

◆ s_7_5

const symbol s_7_5[3] = { 'm', 'm', 'i' }
static

Definition at line 221 of file stem_UTF_8_finnish.c.

◆ s_7_6

const symbol s_7_6[4] = { 'i', 'm', 'm', 'i' }
static

Definition at line 222 of file stem_UTF_8_finnish.c.

◆ s_7_7

const symbol s_7_7[3] = { 'm', 'p', 'i' }
static

Definition at line 223 of file stem_UTF_8_finnish.c.

◆ s_7_8

const symbol s_7_8[4] = { 'i', 'm', 'p', 'i' }
static

Definition at line 224 of file stem_UTF_8_finnish.c.

◆ s_7_9

const symbol s_7_9[4] = { 'e', 'j', 0xC3, 0xA4 }
static

Definition at line 225 of file stem_UTF_8_finnish.c.

◆ s_9_0

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

Definition at line 247 of file stem_UTF_8_finnish.c.

◆ s_9_1

const symbol s_9_1[4] = { 'i', 'm', 'm', 'a' }
static

Definition at line 248 of file stem_UTF_8_finnish.c.