PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
stem_UTF_8_russian.c File Reference
#include "header.h"
Include dependency graph for stem_UTF_8_russian.c:

Go to the source code of this file.

Functions

int russian_UTF_8_stem (struct SN_env *z)
 
static int r_tidy_up (struct SN_env *z)
 
static int r_derivational (struct SN_env *z)
 
static int r_noun (struct SN_env *z)
 
static int r_verb (struct SN_env *z)
 
static int r_reflexive (struct SN_env *z)
 
static int r_adjectival (struct SN_env *z)
 
static int r_adjective (struct SN_env *z)
 
static int r_perfective_gerund (struct SN_env *z)
 
static int r_R2 (struct SN_env *z)
 
static int r_mark_regions (struct SN_env *z)
 
struct SN_envrussian_UTF_8_create_env (void)
 
void russian_UTF_8_close_env (struct SN_env *z)
 

Variables

static const symbol s_0_0 [10] = { 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8, 0xD1, 0x81, 0xD1, 0x8C }
 
static const symbol s_0_1 [12] = { 0xD1, 0x8B, 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8, 0xD1, 0x81, 0xD1, 0x8C }
 
static const symbol s_0_2 [12] = { 0xD0, 0xB8, 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8, 0xD1, 0x81, 0xD1, 0x8C }
 
static const symbol s_0_3 [2] = { 0xD0, 0xB2 }
 
static const symbol s_0_4 [4] = { 0xD1, 0x8B, 0xD0, 0xB2 }
 
static const symbol s_0_5 [4] = { 0xD0, 0xB8, 0xD0, 0xB2 }
 
static const symbol s_0_6 [6] = { 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8 }
 
static const symbol s_0_7 [8] = { 0xD1, 0x8B, 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8 }
 
static const symbol s_0_8 [8] = { 0xD0, 0xB8, 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8 }
 
static const struct among a_0 [9]
 
static const symbol s_1_0 [6] = { 0xD0, 0xB5, 0xD0, 0xBC, 0xD1, 0x83 }
 
static const symbol s_1_1 [6] = { 0xD0, 0xBE, 0xD0, 0xBC, 0xD1, 0x83 }
 
static const symbol s_1_2 [4] = { 0xD1, 0x8B, 0xD1, 0x85 }
 
static const symbol s_1_3 [4] = { 0xD0, 0xB8, 0xD1, 0x85 }
 
static const symbol s_1_4 [4] = { 0xD1, 0x83, 0xD1, 0x8E }
 
static const symbol s_1_5 [4] = { 0xD1, 0x8E, 0xD1, 0x8E }
 
static const symbol s_1_6 [4] = { 0xD0, 0xB5, 0xD1, 0x8E }
 
static const symbol s_1_7 [4] = { 0xD0, 0xBE, 0xD1, 0x8E }
 
static const symbol s_1_8 [4] = { 0xD1, 0x8F, 0xD1, 0x8F }
 
static const symbol s_1_9 [4] = { 0xD0, 0xB0, 0xD1, 0x8F }
 
static const symbol s_1_10 [4] = { 0xD1, 0x8B, 0xD0, 0xB5 }
 
static const symbol s_1_11 [4] = { 0xD0, 0xB5, 0xD0, 0xB5 }
 
static const symbol s_1_12 [4] = { 0xD0, 0xB8, 0xD0, 0xB5 }
 
static const symbol s_1_13 [4] = { 0xD0, 0xBE, 0xD0, 0xB5 }
 
static const symbol s_1_14 [6] = { 0xD1, 0x8B, 0xD0, 0xBC, 0xD0, 0xB8 }
 
static const symbol s_1_15 [6] = { 0xD0, 0xB8, 0xD0, 0xBC, 0xD0, 0xB8 }
 
static const symbol s_1_16 [4] = { 0xD1, 0x8B, 0xD0, 0xB9 }
 
static const symbol s_1_17 [4] = { 0xD0, 0xB5, 0xD0, 0xB9 }
 
static const symbol s_1_18 [4] = { 0xD0, 0xB8, 0xD0, 0xB9 }
 
static const symbol s_1_19 [4] = { 0xD0, 0xBE, 0xD0, 0xB9 }
 
static const symbol s_1_20 [4] = { 0xD1, 0x8B, 0xD0, 0xBC }
 
static const symbol s_1_21 [4] = { 0xD0, 0xB5, 0xD0, 0xBC }
 
static const symbol s_1_22 [4] = { 0xD0, 0xB8, 0xD0, 0xBC }
 
static const symbol s_1_23 [4] = { 0xD0, 0xBE, 0xD0, 0xBC }
 
static const symbol s_1_24 [6] = { 0xD0, 0xB5, 0xD0, 0xB3, 0xD0, 0xBE }
 
static const symbol s_1_25 [6] = { 0xD0, 0xBE, 0xD0, 0xB3, 0xD0, 0xBE }
 
static const struct among a_1 [26]
 
static const symbol s_2_0 [4] = { 0xD0, 0xB2, 0xD1, 0x88 }
 
static const symbol s_2_1 [6] = { 0xD1, 0x8B, 0xD0, 0xB2, 0xD1, 0x88 }
 
static const symbol s_2_2 [6] = { 0xD0, 0xB8, 0xD0, 0xB2, 0xD1, 0x88 }
 
static const symbol s_2_3 [2] = { 0xD1, 0x89 }
 
static const symbol s_2_4 [4] = { 0xD1, 0x8E, 0xD1, 0x89 }
 
static const symbol s_2_5 [6] = { 0xD1, 0x83, 0xD1, 0x8E, 0xD1, 0x89 }
 
static const symbol s_2_6 [4] = { 0xD0, 0xB5, 0xD0, 0xBC }
 
static const symbol s_2_7 [4] = { 0xD0, 0xBD, 0xD0, 0xBD }
 
static const struct among a_2 [8]
 
static const symbol s_3_0 [4] = { 0xD1, 0x81, 0xD1, 0x8C }
 
static const symbol s_3_1 [4] = { 0xD1, 0x81, 0xD1, 0x8F }
 
static const struct among a_3 [2]
 
static const symbol s_4_0 [4] = { 0xD1, 0x8B, 0xD1, 0x82 }
 
static const symbol s_4_1 [4] = { 0xD1, 0x8E, 0xD1, 0x82 }
 
static const symbol s_4_2 [6] = { 0xD1, 0x83, 0xD1, 0x8E, 0xD1, 0x82 }
 
static const symbol s_4_3 [4] = { 0xD1, 0x8F, 0xD1, 0x82 }
 
static const symbol s_4_4 [4] = { 0xD0, 0xB5, 0xD1, 0x82 }
 
static const symbol s_4_5 [6] = { 0xD1, 0x83, 0xD0, 0xB5, 0xD1, 0x82 }
 
static const symbol s_4_6 [4] = { 0xD0, 0xB8, 0xD1, 0x82 }
 
static const symbol s_4_7 [4] = { 0xD0, 0xBD, 0xD1, 0x8B }
 
static const symbol s_4_8 [6] = { 0xD0, 0xB5, 0xD0, 0xBD, 0xD1, 0x8B }
 
static const symbol s_4_9 [4] = { 0xD1, 0x82, 0xD1, 0x8C }
 
static const symbol s_4_10 [6] = { 0xD1, 0x8B, 0xD1, 0x82, 0xD1, 0x8C }
 
static const symbol s_4_11 [6] = { 0xD0, 0xB8, 0xD1, 0x82, 0xD1, 0x8C }
 
static const symbol s_4_12 [6] = { 0xD0, 0xB5, 0xD1, 0x88, 0xD1, 0x8C }
 
static const symbol s_4_13 [6] = { 0xD0, 0xB8, 0xD1, 0x88, 0xD1, 0x8C }
 
static const symbol s_4_14 [2] = { 0xD1, 0x8E }
 
static const symbol s_4_15 [4] = { 0xD1, 0x83, 0xD1, 0x8E }
 
static const symbol s_4_16 [4] = { 0xD0, 0xBB, 0xD0, 0xB0 }
 
static const symbol s_4_17 [6] = { 0xD1, 0x8B, 0xD0, 0xBB, 0xD0, 0xB0 }
 
static const symbol s_4_18 [6] = { 0xD0, 0xB8, 0xD0, 0xBB, 0xD0, 0xB0 }
 
static const symbol s_4_19 [4] = { 0xD0, 0xBD, 0xD0, 0xB0 }
 
static const symbol s_4_20 [6] = { 0xD0, 0xB5, 0xD0, 0xBD, 0xD0, 0xB0 }
 
static const symbol s_4_21 [6] = { 0xD0, 0xB5, 0xD1, 0x82, 0xD0, 0xB5 }
 
static const symbol s_4_22 [6] = { 0xD0, 0xB8, 0xD1, 0x82, 0xD0, 0xB5 }
 
static const symbol s_4_23 [6] = { 0xD0, 0xB9, 0xD1, 0x82, 0xD0, 0xB5 }
 
static const symbol s_4_24 [8] = { 0xD1, 0x83, 0xD0, 0xB9, 0xD1, 0x82, 0xD0, 0xB5 }
 
static const symbol s_4_25 [8] = { 0xD0, 0xB5, 0xD0, 0xB9, 0xD1, 0x82, 0xD0, 0xB5 }
 
static const symbol s_4_26 [4] = { 0xD0, 0xBB, 0xD0, 0xB8 }
 
static const symbol s_4_27 [6] = { 0xD1, 0x8B, 0xD0, 0xBB, 0xD0, 0xB8 }
 
static const symbol s_4_28 [6] = { 0xD0, 0xB8, 0xD0, 0xBB, 0xD0, 0xB8 }
 
static const symbol s_4_29 [2] = { 0xD0, 0xB9 }
 
static const symbol s_4_30 [4] = { 0xD1, 0x83, 0xD0, 0xB9 }
 
static const symbol s_4_31 [4] = { 0xD0, 0xB5, 0xD0, 0xB9 }
 
static const symbol s_4_32 [2] = { 0xD0, 0xBB }
 
static const symbol s_4_33 [4] = { 0xD1, 0x8B, 0xD0, 0xBB }
 
static const symbol s_4_34 [4] = { 0xD0, 0xB8, 0xD0, 0xBB }
 
static const symbol s_4_35 [4] = { 0xD1, 0x8B, 0xD0, 0xBC }
 
static const symbol s_4_36 [4] = { 0xD0, 0xB5, 0xD0, 0xBC }
 
static const symbol s_4_37 [4] = { 0xD0, 0xB8, 0xD0, 0xBC }
 
static const symbol s_4_38 [2] = { 0xD0, 0xBD }
 
static const symbol s_4_39 [4] = { 0xD0, 0xB5, 0xD0, 0xBD }
 
static const symbol s_4_40 [4] = { 0xD0, 0xBB, 0xD0, 0xBE }
 
static const symbol s_4_41 [6] = { 0xD1, 0x8B, 0xD0, 0xBB, 0xD0, 0xBE }
 
static const symbol s_4_42 [6] = { 0xD0, 0xB8, 0xD0, 0xBB, 0xD0, 0xBE }
 
static const symbol s_4_43 [4] = { 0xD0, 0xBD, 0xD0, 0xBE }
 
static const symbol s_4_44 [6] = { 0xD0, 0xB5, 0xD0, 0xBD, 0xD0, 0xBE }
 
static const symbol s_4_45 [6] = { 0xD0, 0xBD, 0xD0, 0xBD, 0xD0, 0xBE }
 
static const struct among a_4 [46]
 
static const symbol s_5_0 [2] = { 0xD1, 0x83 }
 
static const symbol s_5_1 [4] = { 0xD1, 0x8F, 0xD1, 0x85 }
 
static const symbol s_5_2 [6] = { 0xD0, 0xB8, 0xD1, 0x8F, 0xD1, 0x85 }
 
static const symbol s_5_3 [4] = { 0xD0, 0xB0, 0xD1, 0x85 }
 
static const symbol s_5_4 [2] = { 0xD1, 0x8B }
 
static const symbol s_5_5 [2] = { 0xD1, 0x8C }
 
static const symbol s_5_6 [2] = { 0xD1, 0x8E }
 
static const symbol s_5_7 [4] = { 0xD1, 0x8C, 0xD1, 0x8E }
 
static const symbol s_5_8 [4] = { 0xD0, 0xB8, 0xD1, 0x8E }
 
static const symbol s_5_9 [2] = { 0xD1, 0x8F }
 
static const symbol s_5_10 [4] = { 0xD1, 0x8C, 0xD1, 0x8F }
 
static const symbol s_5_11 [4] = { 0xD0, 0xB8, 0xD1, 0x8F }
 
static const symbol s_5_12 [2] = { 0xD0, 0xB0 }
 
static const symbol s_5_13 [4] = { 0xD0, 0xB5, 0xD0, 0xB2 }
 
static const symbol s_5_14 [4] = { 0xD0, 0xBE, 0xD0, 0xB2 }
 
static const symbol s_5_15 [2] = { 0xD0, 0xB5 }
 
static const symbol s_5_16 [4] = { 0xD1, 0x8C, 0xD0, 0xB5 }
 
static const symbol s_5_17 [4] = { 0xD0, 0xB8, 0xD0, 0xB5 }
 
static const symbol s_5_18 [2] = { 0xD0, 0xB8 }
 
static const symbol s_5_19 [4] = { 0xD0, 0xB5, 0xD0, 0xB8 }
 
static const symbol s_5_20 [4] = { 0xD0, 0xB8, 0xD0, 0xB8 }
 
static const symbol s_5_21 [6] = { 0xD1, 0x8F, 0xD0, 0xBC, 0xD0, 0xB8 }
 
static const symbol s_5_22 [8] = { 0xD0, 0xB8, 0xD1, 0x8F, 0xD0, 0xBC, 0xD0, 0xB8 }
 
static const symbol s_5_23 [6] = { 0xD0, 0xB0, 0xD0, 0xBC, 0xD0, 0xB8 }
 
static const symbol s_5_24 [2] = { 0xD0, 0xB9 }
 
static const symbol s_5_25 [4] = { 0xD0, 0xB5, 0xD0, 0xB9 }
 
static const symbol s_5_26 [6] = { 0xD0, 0xB8, 0xD0, 0xB5, 0xD0, 0xB9 }
 
static const symbol s_5_27 [4] = { 0xD0, 0xB8, 0xD0, 0xB9 }
 
static const symbol s_5_28 [4] = { 0xD0, 0xBE, 0xD0, 0xB9 }
 
static const symbol s_5_29 [4] = { 0xD1, 0x8F, 0xD0, 0xBC }
 
static const symbol s_5_30 [6] = { 0xD0, 0xB8, 0xD1, 0x8F, 0xD0, 0xBC }
 
static const symbol s_5_31 [4] = { 0xD0, 0xB0, 0xD0, 0xBC }
 
static const symbol s_5_32 [4] = { 0xD0, 0xB5, 0xD0, 0xBC }
 
static const symbol s_5_33 [6] = { 0xD0, 0xB8, 0xD0, 0xB5, 0xD0, 0xBC }
 
static const symbol s_5_34 [4] = { 0xD0, 0xBE, 0xD0, 0xBC }
 
static const symbol s_5_35 [2] = { 0xD0, 0xBE }
 
static const struct among a_5 [36]
 
static const symbol s_6_0 [6] = { 0xD0, 0xBE, 0xD1, 0x81, 0xD1, 0x82 }
 
static const symbol s_6_1 [8] = { 0xD0, 0xBE, 0xD1, 0x81, 0xD1, 0x82, 0xD1, 0x8C }
 
static const struct among a_6 [2]
 
static const symbol s_7_0 [6] = { 0xD0, 0xB5, 0xD0, 0xB9, 0xD1, 0x88 }
 
static const symbol s_7_1 [2] = { 0xD1, 0x8C }
 
static const symbol s_7_2 [8] = { 0xD0, 0xB5, 0xD0, 0xB9, 0xD1, 0x88, 0xD0, 0xB5 }
 
static const symbol s_7_3 [2] = { 0xD0, 0xBD }
 
static const struct among a_7 [4]
 
static const unsigned char g_v [] = { 33, 65, 8, 232 }
 
static const symbol s_0 [] = { 0xD0, 0xB0 }
 
static const symbol s_1 [] = { 0xD1, 0x8F }
 
static const symbol s_2 [] = { 0xD0, 0xB0 }
 
static const symbol s_3 [] = { 0xD1, 0x8F }
 
static const symbol s_4 [] = { 0xD0, 0xB0 }
 
static const symbol s_5 [] = { 0xD1, 0x8F }
 
static const symbol s_6 [] = { 0xD0, 0xBD }
 
static const symbol s_7 [] = { 0xD0, 0xBD }
 
static const symbol s_8 [] = { 0xD0, 0xBD }
 
static const symbol s_9 [] = { 0xD0, 0xB8 }
 

Function Documentation

static int r_adjectival ( struct SN_env z)
static

Definition at line 438 of file stem_UTF_8_russian.c.

References SN_env::bra, SN_env::c, eq_s_b(), find_among_b(), SN_env::ket, SN_env::l, r_adjective(), s_2, s_3, and slice_del().

Referenced by russian_UTF_8_stem().

438  {
439  int among_var;
440  { int ret = r_adjective(z);
441  if (ret == 0) return 0; /* call adjective, line 102 */
442  if (ret < 0) return ret;
443  }
444  { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 109 */
445  z->ket = z->c; /* [, line 110 */
446  among_var = find_among_b(z, a_2, 8); /* substring, line 110 */
447  if (!(among_var)) { z->c = z->l - m_keep; goto lab0; }
448  z->bra = z->c; /* ], line 110 */
449  switch(among_var) {
450  case 0: { z->c = z->l - m_keep; goto lab0; }
451  case 1:
452  { int m1 = z->l - z->c; (void)m1; /* or, line 115 */
453  if (!(eq_s_b(z, 2, s_2))) goto lab2;
454  goto lab1;
455  lab2:
456  z->c = z->l - m1;
457  if (!(eq_s_b(z, 2, s_3))) { z->c = z->l - m_keep; goto lab0; }
458  }
459  lab1:
460  { int ret = slice_del(z); /* delete, line 115 */
461  if (ret < 0) return ret;
462  }
463  break;
464  case 2:
465  { int ret = slice_del(z); /* delete, line 122 */
466  if (ret < 0) return ret;
467  }
468  break;
469  }
470  lab0:
471  ;
472  }
473  return 1;
474 }
static const symbol s_3[]
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:194
int ket
Definition: api.h:16
static const struct among a_2[8]
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
static int r_adjective(struct SN_env *z)
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
static const symbol s_2[]
int l
Definition: api.h:16
static int r_adjective ( struct SN_env z)
static

Definition at line 421 of file stem_UTF_8_russian.c.

References SN_env::bra, SN_env::c, find_among_b(), SN_env::ket, and slice_del().

Referenced by r_adjectival().

421  {
422  int among_var;
423  z->ket = z->c; /* [, line 88 */
424  among_var = find_among_b(z, a_1, 26); /* substring, line 88 */
425  if (!(among_var)) return 0;
426  z->bra = z->c; /* ], line 88 */
427  switch(among_var) {
428  case 0: return 0;
429  case 1:
430  { int ret = slice_del(z); /* delete, line 97 */
431  if (ret < 0) return ret;
432  }
433  break;
434  }
435  return 1;
436 }
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
static const struct among a_1[26]
static int r_derivational ( struct SN_env z)
static

Definition at line 541 of file stem_UTF_8_russian.c.

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

Referenced by russian_UTF_8_stem().

541  {
542  int among_var;
543  z->ket = z->c; /* [, line 176 */
544  if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 130 && z->p[z->c - 1] != 140)) return 0;
545  among_var = find_among_b(z, a_6, 2); /* substring, line 176 */
546  if (!(among_var)) return 0;
547  z->bra = z->c; /* ], line 176 */
548  { int ret = r_R2(z);
549  if (ret == 0) return 0; /* call R2, line 176 */
550  if (ret < 0) return ret;
551  }
552  switch(among_var) {
553  case 0: return 0;
554  case 1:
555  { int ret = slice_del(z); /* delete, line 179 */
556  if (ret < 0) return ret;
557  }
558  break;
559  }
560  return 1;
561 }
symbol * p
Definition: api.h:15
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
int lb
Definition: api.h:16
static const struct among a_6[2]
static int r_R2(struct SN_env *z)
static int r_mark_regions ( struct SN_env z)
static

Definition at line 354 of file stem_UTF_8_russian.c.

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

Referenced by russian_UTF_8_stem().

354  {
355  z->I[0] = z->l;
356  z->I[1] = z->l;
357  { int c1 = z->c; /* do, line 61 */
358  { /* gopast */ /* grouping v, line 62 */
359  int ret = out_grouping_U(z, g_v, 1072, 1103, 1);
360  if (ret < 0) goto lab0;
361  z->c += ret;
362  }
363  z->I[0] = z->c; /* setmark pV, line 62 */
364  { /* gopast */ /* non v, line 62 */
365  int ret = in_grouping_U(z, g_v, 1072, 1103, 1);
366  if (ret < 0) goto lab0;
367  z->c += ret;
368  }
369  { /* gopast */ /* grouping v, line 63 */
370  int ret = out_grouping_U(z, g_v, 1072, 1103, 1);
371  if (ret < 0) goto lab0;
372  z->c += ret;
373  }
374  { /* gopast */ /* non v, line 63 */
375  int ret = in_grouping_U(z, g_v, 1072, 1103, 1);
376  if (ret < 0) goto lab0;
377  z->c += ret;
378  }
379  z->I[1] = z->c; /* setmark p2, line 63 */
380  lab0:
381  z->c = c1;
382  }
383  return 1;
384 }
int * I
Definition: api.h:18
static const unsigned char g_v[]
int c
Definition: api.h:16
int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:91
int out_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:115
int l
Definition: api.h:16
static int r_noun ( struct SN_env z)
static

Definition at line 524 of file stem_UTF_8_russian.c.

References SN_env::bra, SN_env::c, find_among_b(), SN_env::ket, and slice_del().

Referenced by russian_UTF_8_stem().

524  {
525  int among_var;
526  z->ket = z->c; /* [, line 160 */
527  among_var = find_among_b(z, a_5, 36); /* substring, line 160 */
528  if (!(among_var)) return 0;
529  z->bra = z->c; /* ], line 160 */
530  switch(among_var) {
531  case 0: return 0;
532  case 1:
533  { int ret = slice_del(z); /* delete, line 167 */
534  if (ret < 0) return ret;
535  }
536  break;
537  }
538  return 1;
539 }
static const struct among a_5[36]
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
static int r_perfective_gerund ( struct SN_env z)
static

Definition at line 391 of file stem_UTF_8_russian.c.

References SN_env::bra, SN_env::c, eq_s_b(), find_among_b(), SN_env::ket, SN_env::l, s_0, s_1, and slice_del().

Referenced by russian_UTF_8_stem().

391  {
392  int among_var;
393  z->ket = z->c; /* [, line 72 */
394  among_var = find_among_b(z, a_0, 9); /* substring, line 72 */
395  if (!(among_var)) return 0;
396  z->bra = z->c; /* ], line 72 */
397  switch(among_var) {
398  case 0: return 0;
399  case 1:
400  { int m1 = z->l - z->c; (void)m1; /* or, line 76 */
401  if (!(eq_s_b(z, 2, s_0))) goto lab1;
402  goto lab0;
403  lab1:
404  z->c = z->l - m1;
405  if (!(eq_s_b(z, 2, s_1))) return 0;
406  }
407  lab0:
408  { int ret = slice_del(z); /* delete, line 76 */
409  if (ret < 0) return ret;
410  }
411  break;
412  case 2:
413  { int ret = slice_del(z); /* delete, line 83 */
414  if (ret < 0) return ret;
415  }
416  break;
417  }
418  return 1;
419 }
static const struct among a_0[9]
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:194
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
static const symbol s_1[]
static const symbol s_0[]
int l
Definition: api.h:16
static int r_R2 ( struct SN_env z)
static

Definition at line 386 of file stem_UTF_8_russian.c.

References SN_env::c, and SN_env::I.

Referenced by r_derivational().

386  {
387  if (!(z->I[1] <= z->c)) return 0;
388  return 1;
389 }
int * I
Definition: api.h:18
int c
Definition: api.h:16
static int r_reflexive ( struct SN_env z)
static

Definition at line 476 of file stem_UTF_8_russian.c.

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

Referenced by russian_UTF_8_stem().

476  {
477  int among_var;
478  z->ket = z->c; /* [, line 129 */
479  if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 140 && z->p[z->c - 1] != 143)) return 0;
480  among_var = find_among_b(z, a_3, 2); /* substring, line 129 */
481  if (!(among_var)) return 0;
482  z->bra = z->c; /* ], line 129 */
483  switch(among_var) {
484  case 0: return 0;
485  case 1:
486  { int ret = slice_del(z); /* delete, line 132 */
487  if (ret < 0) return ret;
488  }
489  break;
490  }
491  return 1;
492 }
symbol * p
Definition: api.h:15
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
int lb
Definition: api.h:16
static const struct among a_3[2]
static int r_tidy_up ( struct SN_env z)
static

Definition at line 563 of file stem_UTF_8_russian.c.

References SN_env::bra, SN_env::c, eq_s_b(), find_among_b(), SN_env::ket, s_6, s_7, s_8, and slice_del().

Referenced by russian_UTF_8_stem().

563  {
564  int among_var;
565  z->ket = z->c; /* [, line 184 */
566  among_var = find_among_b(z, a_7, 4); /* substring, line 184 */
567  if (!(among_var)) return 0;
568  z->bra = z->c; /* ], line 184 */
569  switch(among_var) {
570  case 0: return 0;
571  case 1:
572  { int ret = slice_del(z); /* delete, line 188 */
573  if (ret < 0) return ret;
574  }
575  z->ket = z->c; /* [, line 189 */
576  if (!(eq_s_b(z, 2, s_6))) return 0;
577  z->bra = z->c; /* ], line 189 */
578  if (!(eq_s_b(z, 2, s_7))) return 0;
579  { int ret = slice_del(z); /* delete, line 189 */
580  if (ret < 0) return ret;
581  }
582  break;
583  case 2:
584  if (!(eq_s_b(z, 2, s_8))) return 0;
585  { int ret = slice_del(z); /* delete, line 192 */
586  if (ret < 0) return ret;
587  }
588  break;
589  case 3:
590  { int ret = slice_del(z); /* delete, line 194 */
591  if (ret < 0) return ret;
592  }
593  break;
594  }
595  return 1;
596 }
static const symbol s_7[]
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:194
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
static const symbol s_6[]
static const struct among a_7[4]
static const symbol s_8[]
static int r_verb ( struct SN_env z)
static

Definition at line 494 of file stem_UTF_8_russian.c.

References SN_env::bra, SN_env::c, eq_s_b(), find_among_b(), SN_env::ket, SN_env::l, s_4, s_5, and slice_del().

Referenced by russian_UTF_8_stem().

494  {
495  int among_var;
496  z->ket = z->c; /* [, line 137 */
497  among_var = find_among_b(z, a_4, 46); /* substring, line 137 */
498  if (!(among_var)) return 0;
499  z->bra = z->c; /* ], line 137 */
500  switch(among_var) {
501  case 0: return 0;
502  case 1:
503  { int m1 = z->l - z->c; (void)m1; /* or, line 143 */
504  if (!(eq_s_b(z, 2, s_4))) goto lab1;
505  goto lab0;
506  lab1:
507  z->c = z->l - m1;
508  if (!(eq_s_b(z, 2, s_5))) return 0;
509  }
510  lab0:
511  { int ret = slice_del(z); /* delete, line 143 */
512  if (ret < 0) return ret;
513  }
514  break;
515  case 2:
516  { int ret = slice_del(z); /* delete, line 151 */
517  if (ret < 0) return ret;
518  }
519  break;
520  }
521  return 1;
522 }
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:194
int ket
Definition: api.h:16
static const symbol s_4[]
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:267
int c
Definition: api.h:16
static const symbol s_5[]
static const struct among a_4[46]
int l
Definition: api.h:16
void russian_UTF_8_close_env ( struct SN_env z)

Definition at line 693 of file stem_UTF_8_russian.c.

References SN_close_env().

693 { SN_close_env(z, 0); }
void SN_close_env(struct SN_env *z, int S_size)
Definition: api.c:40
struct SN_env * russian_UTF_8_create_env ( void  )

Definition at line 691 of file stem_UTF_8_russian.c.

References SN_create_env().

691 { return SN_create_env(0, 2, 0); }
struct SN_env * SN_create_env(int S_size, int I_size, int B_size)
Definition: api.c:3
int russian_UTF_8_stem ( struct SN_env z)

Definition at line 598 of file stem_UTF_8_russian.c.

References SN_env::bra, SN_env::c, eq_s_b(), SN_env::I, SN_env::ket, SN_env::l, SN_env::lb, r_adjectival(), r_derivational(), r_mark_regions(), r_noun(), r_perfective_gerund(), r_reflexive(), r_tidy_up(), r_verb(), s_9, and slice_del().

598  {
599  { int c1 = z->c; /* do, line 201 */
600  { int ret = r_mark_regions(z);
601  if (ret == 0) goto lab0; /* call mark_regions, line 201 */
602  if (ret < 0) return ret;
603  }
604  lab0:
605  z->c = c1;
606  }
607  z->lb = z->c; z->c = z->l; /* backwards, line 202 */
608 
609  { int mlimit; /* setlimit, line 202 */
610  int m2 = z->l - z->c; (void)m2;
611  if (z->c < z->I[0]) return 0;
612  z->c = z->I[0]; /* tomark, line 202 */
613  mlimit = z->lb; z->lb = z->c;
614  z->c = z->l - m2;
615  { int m3 = z->l - z->c; (void)m3; /* do, line 203 */
616  { int m4 = z->l - z->c; (void)m4; /* or, line 204 */
617  { int ret = r_perfective_gerund(z);
618  if (ret == 0) goto lab3; /* call perfective_gerund, line 204 */
619  if (ret < 0) return ret;
620  }
621  goto lab2;
622  lab3:
623  z->c = z->l - m4;
624  { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 205 */
625  { int ret = r_reflexive(z);
626  if (ret == 0) { z->c = z->l - m_keep; goto lab4; } /* call reflexive, line 205 */
627  if (ret < 0) return ret;
628  }
629  lab4:
630  ;
631  }
632  { int m5 = z->l - z->c; (void)m5; /* or, line 206 */
633  { int ret = r_adjectival(z);
634  if (ret == 0) goto lab6; /* call adjectival, line 206 */
635  if (ret < 0) return ret;
636  }
637  goto lab5;
638  lab6:
639  z->c = z->l - m5;
640  { int ret = r_verb(z);
641  if (ret == 0) goto lab7; /* call verb, line 206 */
642  if (ret < 0) return ret;
643  }
644  goto lab5;
645  lab7:
646  z->c = z->l - m5;
647  { int ret = r_noun(z);
648  if (ret == 0) goto lab1; /* call noun, line 206 */
649  if (ret < 0) return ret;
650  }
651  }
652  lab5:
653  ;
654  }
655  lab2:
656  lab1:
657  z->c = z->l - m3;
658  }
659  { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 209 */
660  z->ket = z->c; /* [, line 209 */
661  if (!(eq_s_b(z, 2, s_9))) { z->c = z->l - m_keep; goto lab8; }
662  z->bra = z->c; /* ], line 209 */
663  { int ret = slice_del(z); /* delete, line 209 */
664  if (ret < 0) return ret;
665  }
666  lab8:
667  ;
668  }
669  { int m6 = z->l - z->c; (void)m6; /* do, line 212 */
670  { int ret = r_derivational(z);
671  if (ret == 0) goto lab9; /* call derivational, line 212 */
672  if (ret < 0) return ret;
673  }
674  lab9:
675  z->c = z->l - m6;
676  }
677  { int m7 = z->l - z->c; (void)m7; /* do, line 213 */
678  { int ret = r_tidy_up(z);
679  if (ret == 0) goto lab10; /* call tidy_up, line 213 */
680  if (ret < 0) return ret;
681  }
682  lab10:
683  z->c = z->l - m7;
684  }
685  z->lb = mlimit;
686  }
687  z->c = z->lb;
688  return 1;
689 }
static int r_tidy_up(struct SN_env *z)
static int r_derivational(struct SN_env *z)
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:194
int * I
Definition: api.h:18
int ket
Definition: api.h:16
int slice_del(struct SN_env *z)
Definition: utilities.c:401
int bra
Definition: api.h:16
static int r_adjectival(struct SN_env *z)
int c
Definition: api.h:16
int lb
Definition: api.h:16
static int r_noun(struct SN_env *z)
static int r_verb(struct SN_env *z)
static int r_mark_regions(struct SN_env *z)
static const symbol s_9[]
static int r_reflexive(struct SN_env *z)
int l
Definition: api.h:16
static int r_perfective_gerund(struct SN_env *z)

Variable Documentation

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

Definition at line 45 of file stem_UTF_8_russian.c.

const struct among a_1[26]
static
Initial value:
=
{
{ 6, s_1_0, -1, 1, 0},
{ 6, s_1_1, -1, 1, 0},
{ 4, s_1_2, -1, 1, 0},
{ 4, s_1_3, -1, 1, 0},
{ 4, s_1_4, -1, 1, 0},
{ 4, s_1_5, -1, 1, 0},
{ 4, s_1_6, -1, 1, 0},
{ 4, s_1_7, -1, 1, 0},
{ 4, s_1_8, -1, 1, 0},
{ 4, s_1_9, -1, 1, 0},
{ 4, s_1_10, -1, 1, 0},
{ 4, s_1_11, -1, 1, 0},
{ 4, s_1_12, -1, 1, 0},
{ 4, s_1_13, -1, 1, 0},
{ 6, s_1_14, -1, 1, 0},
{ 6, s_1_15, -1, 1, 0},
{ 4, s_1_16, -1, 1, 0},
{ 4, s_1_17, -1, 1, 0},
{ 4, s_1_18, -1, 1, 0},
{ 4, s_1_19, -1, 1, 0},
{ 4, s_1_20, -1, 1, 0},
{ 4, s_1_21, -1, 1, 0},
{ 4, s_1_22, -1, 1, 0},
{ 4, s_1_23, -1, 1, 0},
{ 6, s_1_24, -1, 1, 0},
{ 6, s_1_25, -1, 1, 0}
}
static const symbol s_1_11[4]
static const symbol s_1_17[4]
static const symbol s_1_0[6]
static const symbol s_1_7[4]
static const symbol s_1_4[4]
static const symbol s_1_18[4]
static const symbol s_1_5[4]
static const symbol s_1_13[4]
static const symbol s_1_20[4]
static const symbol s_1_3[4]
static const symbol s_1_16[4]
static const symbol s_1_2[4]
static const symbol s_1_12[4]
static const symbol s_1_22[4]
static const symbol s_1_8[4]
static const symbol s_1_10[4]
static const symbol s_1_15[6]
static const symbol s_1_19[4]
static const symbol s_1_9[4]
static const symbol s_1_6[4]
static const symbol s_1_25[6]
static const symbol s_1_21[4]
static const symbol s_1_1[6]
static const symbol s_1_24[6]
static const symbol s_1_23[4]
static const symbol s_1_14[6]

Definition at line 85 of file stem_UTF_8_russian.c.

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

Definition at line 124 of file stem_UTF_8_russian.c.

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

Definition at line 139 of file stem_UTF_8_russian.c.

const struct among a_4[46]
static

Definition at line 192 of file stem_UTF_8_russian.c.

const struct among a_5[36]
static

Definition at line 279 of file stem_UTF_8_russian.c.

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

Definition at line 322 of file stem_UTF_8_russian.c.

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

Definition at line 333 of file stem_UTF_8_russian.c.

const unsigned char g_v[] = { 33, 65, 8, 232 }
static

Definition at line 341 of file stem_UTF_8_russian.c.

Referenced by r_mark_regions().

const symbol s_0[] = { 0xD0, 0xB0 }
static

Definition at line 343 of file stem_UTF_8_russian.c.

Referenced by r_perfective_gerund().

const symbol s_0_0[10] = { 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8, 0xD1, 0x81, 0xD1, 0x8C }
static

Definition at line 35 of file stem_UTF_8_russian.c.

const symbol s_0_1[12] = { 0xD1, 0x8B, 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8, 0xD1, 0x81, 0xD1, 0x8C }
static

Definition at line 36 of file stem_UTF_8_russian.c.

const symbol s_0_2[12] = { 0xD0, 0xB8, 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8, 0xD1, 0x81, 0xD1, 0x8C }
static

Definition at line 37 of file stem_UTF_8_russian.c.

const symbol s_0_3[2] = { 0xD0, 0xB2 }
static

Definition at line 38 of file stem_UTF_8_russian.c.

const symbol s_0_4[4] = { 0xD1, 0x8B, 0xD0, 0xB2 }
static

Definition at line 39 of file stem_UTF_8_russian.c.

const symbol s_0_5[4] = { 0xD0, 0xB8, 0xD0, 0xB2 }
static

Definition at line 40 of file stem_UTF_8_russian.c.

const symbol s_0_6[6] = { 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8 }
static

Definition at line 41 of file stem_UTF_8_russian.c.

const symbol s_0_7[8] = { 0xD1, 0x8B, 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8 }
static

Definition at line 42 of file stem_UTF_8_russian.c.

const symbol s_0_8[8] = { 0xD0, 0xB8, 0xD0, 0xB2, 0xD1, 0x88, 0xD0, 0xB8 }
static

Definition at line 43 of file stem_UTF_8_russian.c.

const symbol s_1[] = { 0xD1, 0x8F }
static

Definition at line 344 of file stem_UTF_8_russian.c.

Referenced by r_perfective_gerund().

const symbol s_1_0[6] = { 0xD0, 0xB5, 0xD0, 0xBC, 0xD1, 0x83 }
static

Definition at line 58 of file stem_UTF_8_russian.c.

const symbol s_1_1[6] = { 0xD0, 0xBE, 0xD0, 0xBC, 0xD1, 0x83 }
static

Definition at line 59 of file stem_UTF_8_russian.c.

const symbol s_1_10[4] = { 0xD1, 0x8B, 0xD0, 0xB5 }
static

Definition at line 68 of file stem_UTF_8_russian.c.

const symbol s_1_11[4] = { 0xD0, 0xB5, 0xD0, 0xB5 }
static

Definition at line 69 of file stem_UTF_8_russian.c.

const symbol s_1_12[4] = { 0xD0, 0xB8, 0xD0, 0xB5 }
static

Definition at line 70 of file stem_UTF_8_russian.c.

const symbol s_1_13[4] = { 0xD0, 0xBE, 0xD0, 0xB5 }
static

Definition at line 71 of file stem_UTF_8_russian.c.

const symbol s_1_14[6] = { 0xD1, 0x8B, 0xD0, 0xBC, 0xD0, 0xB8 }
static

Definition at line 72 of file stem_UTF_8_russian.c.

const symbol s_1_15[6] = { 0xD0, 0xB8, 0xD0, 0xBC, 0xD0, 0xB8 }
static

Definition at line 73 of file stem_UTF_8_russian.c.

const symbol s_1_16[4] = { 0xD1, 0x8B, 0xD0, 0xB9 }
static

Definition at line 74 of file stem_UTF_8_russian.c.

const symbol s_1_17[4] = { 0xD0, 0xB5, 0xD0, 0xB9 }
static

Definition at line 75 of file stem_UTF_8_russian.c.

const symbol s_1_18[4] = { 0xD0, 0xB8, 0xD0, 0xB9 }
static

Definition at line 76 of file stem_UTF_8_russian.c.

const symbol s_1_19[4] = { 0xD0, 0xBE, 0xD0, 0xB9 }
static

Definition at line 77 of file stem_UTF_8_russian.c.

const symbol s_1_2[4] = { 0xD1, 0x8B, 0xD1, 0x85 }
static

Definition at line 60 of file stem_UTF_8_russian.c.

const symbol s_1_20[4] = { 0xD1, 0x8B, 0xD0, 0xBC }
static

Definition at line 78 of file stem_UTF_8_russian.c.

const symbol s_1_21[4] = { 0xD0, 0xB5, 0xD0, 0xBC }
static

Definition at line 79 of file stem_UTF_8_russian.c.

const symbol s_1_22[4] = { 0xD0, 0xB8, 0xD0, 0xBC }
static

Definition at line 80 of file stem_UTF_8_russian.c.

const symbol s_1_23[4] = { 0xD0, 0xBE, 0xD0, 0xBC }
static

Definition at line 81 of file stem_UTF_8_russian.c.

const symbol s_1_24[6] = { 0xD0, 0xB5, 0xD0, 0xB3, 0xD0, 0xBE }
static

Definition at line 82 of file stem_UTF_8_russian.c.

const symbol s_1_25[6] = { 0xD0, 0xBE, 0xD0, 0xB3, 0xD0, 0xBE }
static

Definition at line 83 of file stem_UTF_8_russian.c.

const symbol s_1_3[4] = { 0xD0, 0xB8, 0xD1, 0x85 }
static

Definition at line 61 of file stem_UTF_8_russian.c.

const symbol s_1_4[4] = { 0xD1, 0x83, 0xD1, 0x8E }
static

Definition at line 62 of file stem_UTF_8_russian.c.

const symbol s_1_5[4] = { 0xD1, 0x8E, 0xD1, 0x8E }
static

Definition at line 63 of file stem_UTF_8_russian.c.

const symbol s_1_6[4] = { 0xD0, 0xB5, 0xD1, 0x8E }
static

Definition at line 64 of file stem_UTF_8_russian.c.

const symbol s_1_7[4] = { 0xD0, 0xBE, 0xD1, 0x8E }
static

Definition at line 65 of file stem_UTF_8_russian.c.

const symbol s_1_8[4] = { 0xD1, 0x8F, 0xD1, 0x8F }
static

Definition at line 66 of file stem_UTF_8_russian.c.

const symbol s_1_9[4] = { 0xD0, 0xB0, 0xD1, 0x8F }
static

Definition at line 67 of file stem_UTF_8_russian.c.

const symbol s_2[] = { 0xD0, 0xB0 }
static

Definition at line 345 of file stem_UTF_8_russian.c.

Referenced by r_adjectival().

const symbol s_2_0[4] = { 0xD0, 0xB2, 0xD1, 0x88 }
static

Definition at line 115 of file stem_UTF_8_russian.c.

const symbol s_2_1[6] = { 0xD1, 0x8B, 0xD0, 0xB2, 0xD1, 0x88 }
static

Definition at line 116 of file stem_UTF_8_russian.c.

const symbol s_2_2[6] = { 0xD0, 0xB8, 0xD0, 0xB2, 0xD1, 0x88 }
static

Definition at line 117 of file stem_UTF_8_russian.c.

const symbol s_2_3[2] = { 0xD1, 0x89 }
static

Definition at line 118 of file stem_UTF_8_russian.c.

const symbol s_2_4[4] = { 0xD1, 0x8E, 0xD1, 0x89 }
static

Definition at line 119 of file stem_UTF_8_russian.c.

const symbol s_2_5[6] = { 0xD1, 0x83, 0xD1, 0x8E, 0xD1, 0x89 }
static

Definition at line 120 of file stem_UTF_8_russian.c.

const symbol s_2_6[4] = { 0xD0, 0xB5, 0xD0, 0xBC }
static

Definition at line 121 of file stem_UTF_8_russian.c.

const symbol s_2_7[4] = { 0xD0, 0xBD, 0xD0, 0xBD }
static

Definition at line 122 of file stem_UTF_8_russian.c.

const symbol s_3[] = { 0xD1, 0x8F }
static

Definition at line 346 of file stem_UTF_8_russian.c.

Referenced by r_adjectival().

const symbol s_3_0[4] = { 0xD1, 0x81, 0xD1, 0x8C }
static

Definition at line 136 of file stem_UTF_8_russian.c.

const symbol s_3_1[4] = { 0xD1, 0x81, 0xD1, 0x8F }
static

Definition at line 137 of file stem_UTF_8_russian.c.

const symbol s_4[] = { 0xD0, 0xB0 }
static

Definition at line 347 of file stem_UTF_8_russian.c.

Referenced by r_verb().

const symbol s_4_0[4] = { 0xD1, 0x8B, 0xD1, 0x82 }
static

Definition at line 145 of file stem_UTF_8_russian.c.

const symbol s_4_1[4] = { 0xD1, 0x8E, 0xD1, 0x82 }
static

Definition at line 146 of file stem_UTF_8_russian.c.

const symbol s_4_10[6] = { 0xD1, 0x8B, 0xD1, 0x82, 0xD1, 0x8C }
static

Definition at line 155 of file stem_UTF_8_russian.c.

const symbol s_4_11[6] = { 0xD0, 0xB8, 0xD1, 0x82, 0xD1, 0x8C }
static

Definition at line 156 of file stem_UTF_8_russian.c.

const symbol s_4_12[6] = { 0xD0, 0xB5, 0xD1, 0x88, 0xD1, 0x8C }
static

Definition at line 157 of file stem_UTF_8_russian.c.

const symbol s_4_13[6] = { 0xD0, 0xB8, 0xD1, 0x88, 0xD1, 0x8C }
static

Definition at line 158 of file stem_UTF_8_russian.c.

const symbol s_4_14[2] = { 0xD1, 0x8E }
static

Definition at line 159 of file stem_UTF_8_russian.c.

const symbol s_4_15[4] = { 0xD1, 0x83, 0xD1, 0x8E }
static

Definition at line 160 of file stem_UTF_8_russian.c.

const symbol s_4_16[4] = { 0xD0, 0xBB, 0xD0, 0xB0 }
static

Definition at line 161 of file stem_UTF_8_russian.c.

const symbol s_4_17[6] = { 0xD1, 0x8B, 0xD0, 0xBB, 0xD0, 0xB0 }
static

Definition at line 162 of file stem_UTF_8_russian.c.

const symbol s_4_18[6] = { 0xD0, 0xB8, 0xD0, 0xBB, 0xD0, 0xB0 }
static

Definition at line 163 of file stem_UTF_8_russian.c.

const symbol s_4_19[4] = { 0xD0, 0xBD, 0xD0, 0xB0 }
static

Definition at line 164 of file stem_UTF_8_russian.c.

const symbol s_4_2[6] = { 0xD1, 0x83, 0xD1, 0x8E, 0xD1, 0x82 }
static

Definition at line 147 of file stem_UTF_8_russian.c.

const symbol s_4_20[6] = { 0xD0, 0xB5, 0xD0, 0xBD, 0xD0, 0xB0 }
static

Definition at line 165 of file stem_UTF_8_russian.c.

const symbol s_4_21[6] = { 0xD0, 0xB5, 0xD1, 0x82, 0xD0, 0xB5 }
static

Definition at line 166 of file stem_UTF_8_russian.c.

const symbol s_4_22[6] = { 0xD0, 0xB8, 0xD1, 0x82, 0xD0, 0xB5 }
static

Definition at line 167 of file stem_UTF_8_russian.c.

const symbol s_4_23[6] = { 0xD0, 0xB9, 0xD1, 0x82, 0xD0, 0xB5 }
static

Definition at line 168 of file stem_UTF_8_russian.c.

const symbol s_4_24[8] = { 0xD1, 0x83, 0xD0, 0xB9, 0xD1, 0x82, 0xD0, 0xB5 }
static

Definition at line 169 of file stem_UTF_8_russian.c.

const symbol s_4_25[8] = { 0xD0, 0xB5, 0xD0, 0xB9, 0xD1, 0x82, 0xD0, 0xB5 }
static

Definition at line 170 of file stem_UTF_8_russian.c.

const symbol s_4_26[4] = { 0xD0, 0xBB, 0xD0, 0xB8 }
static

Definition at line 171 of file stem_UTF_8_russian.c.

const symbol s_4_27[6] = { 0xD1, 0x8B, 0xD0, 0xBB, 0xD0, 0xB8 }
static

Definition at line 172 of file stem_UTF_8_russian.c.

const symbol s_4_28[6] = { 0xD0, 0xB8, 0xD0, 0xBB, 0xD0, 0xB8 }
static

Definition at line 173 of file stem_UTF_8_russian.c.

const symbol s_4_29[2] = { 0xD0, 0xB9 }
static

Definition at line 174 of file stem_UTF_8_russian.c.

const symbol s_4_3[4] = { 0xD1, 0x8F, 0xD1, 0x82 }
static

Definition at line 148 of file stem_UTF_8_russian.c.

const symbol s_4_30[4] = { 0xD1, 0x83, 0xD0, 0xB9 }
static

Definition at line 175 of file stem_UTF_8_russian.c.

const symbol s_4_31[4] = { 0xD0, 0xB5, 0xD0, 0xB9 }
static

Definition at line 176 of file stem_UTF_8_russian.c.

const symbol s_4_32[2] = { 0xD0, 0xBB }
static

Definition at line 177 of file stem_UTF_8_russian.c.

const symbol s_4_33[4] = { 0xD1, 0x8B, 0xD0, 0xBB }
static

Definition at line 178 of file stem_UTF_8_russian.c.

const symbol s_4_34[4] = { 0xD0, 0xB8, 0xD0, 0xBB }
static

Definition at line 179 of file stem_UTF_8_russian.c.

const symbol s_4_35[4] = { 0xD1, 0x8B, 0xD0, 0xBC }
static

Definition at line 180 of file stem_UTF_8_russian.c.

const symbol s_4_36[4] = { 0xD0, 0xB5, 0xD0, 0xBC }
static

Definition at line 181 of file stem_UTF_8_russian.c.

const symbol s_4_37[4] = { 0xD0, 0xB8, 0xD0, 0xBC }
static

Definition at line 182 of file stem_UTF_8_russian.c.

const symbol s_4_38[2] = { 0xD0, 0xBD }
static

Definition at line 183 of file stem_UTF_8_russian.c.

const symbol s_4_39[4] = { 0xD0, 0xB5, 0xD0, 0xBD }
static

Definition at line 184 of file stem_UTF_8_russian.c.

const symbol s_4_4[4] = { 0xD0, 0xB5, 0xD1, 0x82 }
static

Definition at line 149 of file stem_UTF_8_russian.c.

const symbol s_4_40[4] = { 0xD0, 0xBB, 0xD0, 0xBE }
static

Definition at line 185 of file stem_UTF_8_russian.c.

const symbol s_4_41[6] = { 0xD1, 0x8B, 0xD0, 0xBB, 0xD0, 0xBE }
static

Definition at line 186 of file stem_UTF_8_russian.c.

const symbol s_4_42[6] = { 0xD0, 0xB8, 0xD0, 0xBB, 0xD0, 0xBE }
static

Definition at line 187 of file stem_UTF_8_russian.c.

const symbol s_4_43[4] = { 0xD0, 0xBD, 0xD0, 0xBE }
static

Definition at line 188 of file stem_UTF_8_russian.c.

const symbol s_4_44[6] = { 0xD0, 0xB5, 0xD0, 0xBD, 0xD0, 0xBE }
static

Definition at line 189 of file stem_UTF_8_russian.c.

const symbol s_4_45[6] = { 0xD0, 0xBD, 0xD0, 0xBD, 0xD0, 0xBE }
static

Definition at line 190 of file stem_UTF_8_russian.c.

const symbol s_4_5[6] = { 0xD1, 0x83, 0xD0, 0xB5, 0xD1, 0x82 }
static

Definition at line 150 of file stem_UTF_8_russian.c.

const symbol s_4_6[4] = { 0xD0, 0xB8, 0xD1, 0x82 }
static

Definition at line 151 of file stem_UTF_8_russian.c.

const symbol s_4_7[4] = { 0xD0, 0xBD, 0xD1, 0x8B }
static

Definition at line 152 of file stem_UTF_8_russian.c.

const symbol s_4_8[6] = { 0xD0, 0xB5, 0xD0, 0xBD, 0xD1, 0x8B }
static

Definition at line 153 of file stem_UTF_8_russian.c.

const symbol s_4_9[4] = { 0xD1, 0x82, 0xD1, 0x8C }
static

Definition at line 154 of file stem_UTF_8_russian.c.

const symbol s_5[] = { 0xD1, 0x8F }
static

Definition at line 348 of file stem_UTF_8_russian.c.

Referenced by r_verb().

const symbol s_5_0[2] = { 0xD1, 0x83 }
static

Definition at line 242 of file stem_UTF_8_russian.c.

const symbol s_5_1[4] = { 0xD1, 0x8F, 0xD1, 0x85 }
static

Definition at line 243 of file stem_UTF_8_russian.c.

const symbol s_5_10[4] = { 0xD1, 0x8C, 0xD1, 0x8F }
static

Definition at line 252 of file stem_UTF_8_russian.c.

const symbol s_5_11[4] = { 0xD0, 0xB8, 0xD1, 0x8F }
static

Definition at line 253 of file stem_UTF_8_russian.c.

const symbol s_5_12[2] = { 0xD0, 0xB0 }
static

Definition at line 254 of file stem_UTF_8_russian.c.

const symbol s_5_13[4] = { 0xD0, 0xB5, 0xD0, 0xB2 }
static

Definition at line 255 of file stem_UTF_8_russian.c.

const symbol s_5_14[4] = { 0xD0, 0xBE, 0xD0, 0xB2 }
static

Definition at line 256 of file stem_UTF_8_russian.c.

const symbol s_5_15[2] = { 0xD0, 0xB5 }
static

Definition at line 257 of file stem_UTF_8_russian.c.

const symbol s_5_16[4] = { 0xD1, 0x8C, 0xD0, 0xB5 }
static

Definition at line 258 of file stem_UTF_8_russian.c.

const symbol s_5_17[4] = { 0xD0, 0xB8, 0xD0, 0xB5 }
static

Definition at line 259 of file stem_UTF_8_russian.c.

const symbol s_5_18[2] = { 0xD0, 0xB8 }
static

Definition at line 260 of file stem_UTF_8_russian.c.

const symbol s_5_19[4] = { 0xD0, 0xB5, 0xD0, 0xB8 }
static

Definition at line 261 of file stem_UTF_8_russian.c.

const symbol s_5_2[6] = { 0xD0, 0xB8, 0xD1, 0x8F, 0xD1, 0x85 }
static

Definition at line 244 of file stem_UTF_8_russian.c.

const symbol s_5_20[4] = { 0xD0, 0xB8, 0xD0, 0xB8 }
static

Definition at line 262 of file stem_UTF_8_russian.c.

const symbol s_5_21[6] = { 0xD1, 0x8F, 0xD0, 0xBC, 0xD0, 0xB8 }
static

Definition at line 263 of file stem_UTF_8_russian.c.

const symbol s_5_22[8] = { 0xD0, 0xB8, 0xD1, 0x8F, 0xD0, 0xBC, 0xD0, 0xB8 }
static

Definition at line 264 of file stem_UTF_8_russian.c.

const symbol s_5_23[6] = { 0xD0, 0xB0, 0xD0, 0xBC, 0xD0, 0xB8 }
static

Definition at line 265 of file stem_UTF_8_russian.c.

const symbol s_5_24[2] = { 0xD0, 0xB9 }
static

Definition at line 266 of file stem_UTF_8_russian.c.

const symbol s_5_25[4] = { 0xD0, 0xB5, 0xD0, 0xB9 }
static

Definition at line 267 of file stem_UTF_8_russian.c.

const symbol s_5_26[6] = { 0xD0, 0xB8, 0xD0, 0xB5, 0xD0, 0xB9 }
static

Definition at line 268 of file stem_UTF_8_russian.c.

const symbol s_5_27[4] = { 0xD0, 0xB8, 0xD0, 0xB9 }
static

Definition at line 269 of file stem_UTF_8_russian.c.

const symbol s_5_28[4] = { 0xD0, 0xBE, 0xD0, 0xB9 }
static

Definition at line 270 of file stem_UTF_8_russian.c.

const symbol s_5_29[4] = { 0xD1, 0x8F, 0xD0, 0xBC }
static

Definition at line 271 of file stem_UTF_8_russian.c.

const symbol s_5_3[4] = { 0xD0, 0xB0, 0xD1, 0x85 }
static

Definition at line 245 of file stem_UTF_8_russian.c.

const symbol s_5_30[6] = { 0xD0, 0xB8, 0xD1, 0x8F, 0xD0, 0xBC }
static

Definition at line 272 of file stem_UTF_8_russian.c.

const symbol s_5_31[4] = { 0xD0, 0xB0, 0xD0, 0xBC }
static

Definition at line 273 of file stem_UTF_8_russian.c.

const symbol s_5_32[4] = { 0xD0, 0xB5, 0xD0, 0xBC }
static

Definition at line 274 of file stem_UTF_8_russian.c.

const symbol s_5_33[6] = { 0xD0, 0xB8, 0xD0, 0xB5, 0xD0, 0xBC }
static

Definition at line 275 of file stem_UTF_8_russian.c.

const symbol s_5_34[4] = { 0xD0, 0xBE, 0xD0, 0xBC }
static

Definition at line 276 of file stem_UTF_8_russian.c.

const symbol s_5_35[2] = { 0xD0, 0xBE }
static

Definition at line 277 of file stem_UTF_8_russian.c.

const symbol s_5_4[2] = { 0xD1, 0x8B }
static

Definition at line 246 of file stem_UTF_8_russian.c.

const symbol s_5_5[2] = { 0xD1, 0x8C }
static

Definition at line 247 of file stem_UTF_8_russian.c.

const symbol s_5_6[2] = { 0xD1, 0x8E }
static

Definition at line 248 of file stem_UTF_8_russian.c.

const symbol s_5_7[4] = { 0xD1, 0x8C, 0xD1, 0x8E }
static

Definition at line 249 of file stem_UTF_8_russian.c.

const symbol s_5_8[4] = { 0xD0, 0xB8, 0xD1, 0x8E }
static

Definition at line 250 of file stem_UTF_8_russian.c.

const symbol s_5_9[2] = { 0xD1, 0x8F }
static

Definition at line 251 of file stem_UTF_8_russian.c.

const symbol s_6[] = { 0xD0, 0xBD }
static

Definition at line 349 of file stem_UTF_8_russian.c.

Referenced by r_tidy_up().

const symbol s_6_0[6] = { 0xD0, 0xBE, 0xD1, 0x81, 0xD1, 0x82 }
static

Definition at line 319 of file stem_UTF_8_russian.c.

const symbol s_6_1[8] = { 0xD0, 0xBE, 0xD1, 0x81, 0xD1, 0x82, 0xD1, 0x8C }
static

Definition at line 320 of file stem_UTF_8_russian.c.

const symbol s_7[] = { 0xD0, 0xBD }
static

Definition at line 350 of file stem_UTF_8_russian.c.

Referenced by r_tidy_up().

const symbol s_7_0[6] = { 0xD0, 0xB5, 0xD0, 0xB9, 0xD1, 0x88 }
static

Definition at line 328 of file stem_UTF_8_russian.c.

const symbol s_7_1[2] = { 0xD1, 0x8C }
static

Definition at line 329 of file stem_UTF_8_russian.c.

const symbol s_7_2[8] = { 0xD0, 0xB5, 0xD0, 0xB9, 0xD1, 0x88, 0xD0, 0xB5 }
static

Definition at line 330 of file stem_UTF_8_russian.c.

const symbol s_7_3[2] = { 0xD0, 0xBD }
static

Definition at line 331 of file stem_UTF_8_russian.c.

const symbol s_8[] = { 0xD0, 0xBD }
static

Definition at line 351 of file stem_UTF_8_russian.c.

Referenced by r_tidy_up().

const symbol s_9[] = { 0xD0, 0xB8 }
static

Definition at line 352 of file stem_UTF_8_russian.c.

Referenced by russian_UTF_8_stem().