xapian-core  1.4.20
Macros | Variables
russian.cc File Reference
#include <config.h>
#include <limits.h>
#include "russian.h"
+ Include dependency graph for russian.cc:

Go to the source code of this file.

Macros

#define s_0_0   (s_0_1 + 2)
 
#define s_0_1   0
 
#define s_0_2   12
 
#define s_0_3   s_0_0
 
#define s_0_4   s_0_1
 
#define s_0_5   s_0_2
 
#define s_0_6   s_0_0
 
#define s_0_7   s_0_1
 
#define s_0_8   s_0_2
 
#define s_1_0   24
 
#define s_1_1   30
 
#define s_1_2   36
 
#define s_1_3   40
 
#define s_1_4   44
 
#define s_1_5   48
 
#define s_1_6   52
 
#define s_1_7   56
 
#define s_1_8   60
 
#define s_1_9   64
 
#define s_1_10   68
 
#define s_1_11   72
 
#define s_1_12   76
 
#define s_1_13   80
 
#define s_1_14   84
 
#define s_1_15   90
 
#define s_1_16   96
 
#define s_1_17   100
 
#define s_1_18   104
 
#define s_1_19   108
 
#define s_1_20   s_1_14
 
#define s_1_21   s_1_0
 
#define s_1_22   s_1_15
 
#define s_1_23   s_1_1
 
#define s_1_24   112
 
#define s_1_25   118
 
#define s_2_0   (s_2_1 + 2)
 
#define s_2_1   124
 
#define s_2_2   130
 
#define s_2_3   (s_2_4 + 2)
 
#define s_2_4   (s_2_5 + 2)
 
#define s_2_5   136
 
#define s_2_6   142
 
#define s_2_7   146
 
#define s_3_0   150
 
#define s_3_1   154
 
#define s_4_0   s_4_10
 
#define s_4_1   (s_4_2 + 2)
 
#define s_4_2   158
 
#define s_4_3   164
 
#define s_4_4   (s_4_5 + 2)
 
#define s_4_5   168
 
#define s_4_6   s_4_11
 
#define s_4_7   (s_4_8 + 2)
 
#define s_4_8   174
 
#define s_4_9   (s_4_10 + 2)
 
#define s_4_10   180
 
#define s_4_11   186
 
#define s_4_12   192
 
#define s_4_13   198
 
#define s_4_14   s_4_1
 
#define s_4_15   s_4_2
 
#define s_4_16   (s_4_17 + 2)
 
#define s_4_17   204
 
#define s_4_18   210
 
#define s_4_19   (s_4_20 + 2)
 
#define s_4_20   216
 
#define s_4_21   222
 
#define s_4_22   228
 
#define s_4_23   (s_4_24 + 2)
 
#define s_4_24   234
 
#define s_4_25   242
 
#define s_4_26   (s_4_27 + 2)
 
#define s_4_27   250
 
#define s_4_28   256
 
#define s_4_29   s_4_23
 
#define s_4_30   s_4_24
 
#define s_4_31   s_4_25
 
#define s_4_32   s_4_16
 
#define s_4_33   s_4_17
 
#define s_4_34   s_4_18
 
#define s_4_35   262
 
#define s_4_36   266
 
#define s_4_37   270
 
#define s_4_38   s_4_7
 
#define s_4_39   s_4_8
 
#define s_4_40   (s_4_41 + 2)
 
#define s_4_41   274
 
#define s_4_42   280
 
#define s_4_43   (s_4_44 + 2)
 
#define s_4_44   286
 
#define s_4_45   292
 
#define s_5_0   298
 
#define s_5_1   (s_5_2 + 2)
 
#define s_5_2   300
 
#define s_5_3   306
 
#define s_5_4   310
 
#define s_5_5   s_5_7
 
#define s_5_6   (s_5_7 + 2)
 
#define s_5_7   312
 
#define s_5_8   316
 
#define s_5_9   s_5_1
 
#define s_5_10   320
 
#define s_5_11   s_5_2
 
#define s_5_12   s_5_3
 
#define s_5_13   324
 
#define s_5_14   328
 
#define s_5_15   s_5_13
 
#define s_5_16   332
 
#define s_5_17   s_5_26
 
#define s_5_18   s_5_2
 
#define s_5_19   336
 
#define s_5_20   340
 
#define s_5_21   (s_5_22 + 2)
 
#define s_5_22   344
 
#define s_5_23   352
 
#define s_5_24   (s_5_25 + 2)
 
#define s_5_25   (s_5_26 + 2)
 
#define s_5_26   358
 
#define s_5_27   364
 
#define s_5_28   368
 
#define s_5_29   s_5_21
 
#define s_5_30   s_5_22
 
#define s_5_31   s_5_23
 
#define s_5_32   (s_5_33 + 2)
 
#define s_5_33   372
 
#define s_5_34   378
 
#define s_5_35   s_5_14
 
#define s_6_0   s_6_1
 
#define s_6_1   382
 
#define s_7_0   s_7_2
 
#define s_7_1   390
 
#define s_7_2   392
 
#define s_7_3   400
 

Variables

static const symbol s_pool []
 
static const struct among a_0 [9]
 
static const struct among a_1 [26]
 
static const struct among a_2 [8]
 
static const struct among a_3 [2]
 
static const struct among a_4 [46]
 
static const struct among a_5 [36]
 
static const struct among a_6 [2]
 
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 }
 

Macro Definition Documentation

◆ s_0_0

#define s_0_0   (s_0_1 + 2)

Definition at line 8 of file russian.cc.

◆ s_0_1

#define s_0_1   0

◆ s_0_2

#define s_0_2   12

◆ s_0_3

#define s_0_3   s_0_0

◆ s_0_4

#define s_0_4   s_0_1

◆ s_0_5

#define s_0_5   s_0_2

◆ s_0_6

#define s_0_6   s_0_0

◆ s_0_7

#define s_0_7   s_0_1

◆ s_0_8

#define s_0_8   s_0_2

◆ s_1_0

#define s_1_0   24

◆ s_1_1

#define s_1_1   30

◆ s_1_10

#define s_1_10   68

◆ s_1_11

#define s_1_11   72

◆ s_1_12

#define s_1_12   76

◆ s_1_13

#define s_1_13   80

◆ s_1_14

#define s_1_14   84

◆ s_1_15

#define s_1_15   90

◆ s_1_16

#define s_1_16   96

◆ s_1_17

#define s_1_17   100

◆ s_1_18

#define s_1_18   104

◆ s_1_19

#define s_1_19   108

◆ s_1_2

#define s_1_2   36

◆ s_1_20

#define s_1_20   s_1_14

◆ s_1_21

#define s_1_21   s_1_0

◆ s_1_22

#define s_1_22   s_1_15

◆ s_1_23

#define s_1_23   s_1_1

◆ s_1_24

#define s_1_24   112

◆ s_1_25

#define s_1_25   118

◆ s_1_3

#define s_1_3   40

◆ s_1_4

#define s_1_4   44

◆ s_1_5

#define s_1_5   48

◆ s_1_6

#define s_1_6   52

◆ s_1_7

#define s_1_7   56

◆ s_1_8

#define s_1_8   60

◆ s_1_9

#define s_1_9   64

◆ s_2_0

#define s_2_0   (s_2_1 + 2)

◆ s_2_1

#define s_2_1   124

◆ s_2_2

#define s_2_2   130

◆ s_2_3

#define s_2_3   (s_2_4 + 2)

◆ s_2_4

#define s_2_4   (s_2_5 + 2)

◆ s_2_5

#define s_2_5   136

◆ s_2_6

#define s_2_6   142

◆ s_2_7

#define s_2_7   146

◆ s_3_0

#define s_3_0   150

◆ s_3_1

#define s_3_1   154

◆ s_4_0

#define s_4_0   s_4_10

◆ s_4_1

#define s_4_1   (s_4_2 + 2)

◆ s_4_10

#define s_4_10   180

◆ s_4_11

#define s_4_11   186

◆ s_4_12

#define s_4_12   192

◆ s_4_13

#define s_4_13   198

◆ s_4_14

#define s_4_14   s_4_1

◆ s_4_15

#define s_4_15   s_4_2

◆ s_4_16

#define s_4_16   (s_4_17 + 2)

◆ s_4_17

#define s_4_17   204

◆ s_4_18

#define s_4_18   210

◆ s_4_19

#define s_4_19   (s_4_20 + 2)

◆ s_4_2

#define s_4_2   158

◆ s_4_20

#define s_4_20   216

◆ s_4_21

#define s_4_21   222

◆ s_4_22

#define s_4_22   228

◆ s_4_23

#define s_4_23   (s_4_24 + 2)

◆ s_4_24

#define s_4_24   234

◆ s_4_25

#define s_4_25   242

◆ s_4_26

#define s_4_26   (s_4_27 + 2)

◆ s_4_27

#define s_4_27   250

◆ s_4_28

#define s_4_28   256

◆ s_4_29

#define s_4_29   s_4_23

◆ s_4_3

#define s_4_3   164

◆ s_4_30

#define s_4_30   s_4_24

◆ s_4_31

#define s_4_31   s_4_25

◆ s_4_32

#define s_4_32   s_4_16

◆ s_4_33

#define s_4_33   s_4_17

◆ s_4_34

#define s_4_34   s_4_18

◆ s_4_35

#define s_4_35   262

◆ s_4_36

#define s_4_36   266

◆ s_4_37

#define s_4_37   270

◆ s_4_38

#define s_4_38   s_4_7

◆ s_4_39

#define s_4_39   s_4_8

◆ s_4_4

#define s_4_4   (s_4_5 + 2)

◆ s_4_40

#define s_4_40   (s_4_41 + 2)

◆ s_4_41

#define s_4_41   274

◆ s_4_42

#define s_4_42   280

◆ s_4_43

#define s_4_43   (s_4_44 + 2)

◆ s_4_44

#define s_4_44   286

◆ s_4_45

#define s_4_45   292

◆ s_4_5

#define s_4_5   168

◆ s_4_6

#define s_4_6   s_4_11

◆ s_4_7

#define s_4_7   (s_4_8 + 2)

◆ s_4_8

#define s_4_8   174

◆ s_4_9

#define s_4_9   (s_4_10 + 2)

◆ s_5_0

#define s_5_0   298

◆ s_5_1

#define s_5_1   (s_5_2 + 2)

◆ s_5_10

#define s_5_10   320

◆ s_5_11

#define s_5_11   s_5_2

◆ s_5_12

#define s_5_12   s_5_3

◆ s_5_13

#define s_5_13   324

◆ s_5_14

#define s_5_14   328

◆ s_5_15

#define s_5_15   s_5_13

◆ s_5_16

#define s_5_16   332

◆ s_5_17

#define s_5_17   s_5_26

◆ s_5_18

#define s_5_18   s_5_2

◆ s_5_19

#define s_5_19   336

◆ s_5_2

#define s_5_2   300

◆ s_5_20

#define s_5_20   340

◆ s_5_21

#define s_5_21   (s_5_22 + 2)

◆ s_5_22

#define s_5_22   344

◆ s_5_23

#define s_5_23   352

◆ s_5_24

#define s_5_24   (s_5_25 + 2)

◆ s_5_25

#define s_5_25   (s_5_26 + 2)

◆ s_5_26

#define s_5_26   358

◆ s_5_27

#define s_5_27   364

◆ s_5_28

#define s_5_28   368

◆ s_5_29

#define s_5_29   s_5_21

◆ s_5_3

#define s_5_3   306

◆ s_5_30

#define s_5_30   s_5_22

◆ s_5_31

#define s_5_31   s_5_23

◆ s_5_32

#define s_5_32   (s_5_33 + 2)

◆ s_5_33

#define s_5_33   372

◆ s_5_34

#define s_5_34   378

◆ s_5_35

#define s_5_35   s_5_14

◆ s_5_4

#define s_5_4   310

◆ s_5_5

#define s_5_5   s_5_7

◆ s_5_6

#define s_5_6   (s_5_7 + 2)

◆ s_5_7

#define s_5_7   312

◆ s_5_8

#define s_5_8   316

◆ s_5_9

#define s_5_9   s_5_1

◆ s_6_0

#define s_6_0   s_6_1

◆ s_6_1

#define s_6_1   382

◆ s_7_0

#define s_7_0   s_7_2

◆ s_7_1

#define s_7_1   390

◆ s_7_2

#define s_7_2   392

◆ s_7_3

#define s_7_3   400

Variable Documentation

◆ a_0

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

Definition at line 223 of file russian.cc.

◆ a_1

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

Definition at line 237 of file russian.cc.

◆ a_2

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

Definition at line 268 of file russian.cc.

◆ a_3

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

Definition at line 281 of file russian.cc.

◆ a_4

const struct among a_4[46]
static

Definition at line 288 of file russian.cc.

◆ a_5

const struct among a_5[36]
static

Definition at line 339 of file russian.cc.

◆ a_6

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

Definition at line 380 of file russian.cc.

◆ a_7

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

Definition at line 387 of file russian.cc.

◆ g_v

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

Definition at line 395 of file russian.cc.

Referenced by Xapian::InternalStemRussian::r_mark_regions().

◆ s_0

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

Definition at line 397 of file russian.cc.

Referenced by Xapian::InternalStemRussian::r_perfective_gerund().

◆ s_1

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

Definition at line 398 of file russian.cc.

Referenced by Xapian::InternalStemRussian::r_perfective_gerund().

◆ s_2

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

Definition at line 399 of file russian.cc.

Referenced by Xapian::InternalStemRussian::r_adjectival().

◆ s_3

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

Definition at line 400 of file russian.cc.

Referenced by Xapian::InternalStemRussian::r_adjectival().

◆ s_4

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

Definition at line 401 of file russian.cc.

Referenced by Xapian::InternalStemRussian::r_verb().

◆ s_5

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

Definition at line 402 of file russian.cc.

Referenced by Xapian::InternalStemRussian::r_verb().

◆ s_6

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

Definition at line 403 of file russian.cc.

Referenced by Xapian::InternalStemRussian::r_tidy_up().

◆ s_7

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

Definition at line 404 of file russian.cc.

Referenced by Xapian::InternalStemRussian::r_tidy_up().

◆ s_8

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

Definition at line 405 of file russian.cc.

Referenced by Xapian::InternalStemRussian::r_tidy_up().

◆ s_9

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

Definition at line 406 of file russian.cc.

Referenced by Xapian::InternalStemRussian::stem().

◆ s_pool

const symbol s_pool[]
static