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

Go to the source code of this file.

Macros

#define s_0_0   0
 
#define s_0_1   3
 
#define s_0_2   6
 
#define s_1_1   9
 
#define s_1_2   10
 
#define s_1_3   11
 
#define s_2_0   12
 
#define s_2_1   15
 
#define s_2_2   18
 
#define s_2_3   22
 
#define s_2_4   26
 
#define s_2_5   29
 
#define s_3_0   31
 
#define s_3_1   33
 
#define s_3_2   37
 
#define s_4_0   s_4_15
 
#define s_4_1   s_4_16
 
#define s_4_2   s_4_17
 
#define s_4_3   s_4_18
 
#define s_4_4   s_4_19
 
#define s_4_5   s_4_20
 
#define s_4_6   s_4_21
 
#define s_4_7   s_4_22
 
#define s_4_8   s_4_23
 
#define s_4_9   s_4_24
 
#define s_4_10   s_4_25
 
#define s_4_11   s_4_26
 
#define s_4_12   s_4_27
 
#define s_4_13   s_4_28
 
#define s_4_14   s_4_29
 
#define s_4_15   39
 
#define s_4_16   44
 
#define s_4_17   51
 
#define s_4_18   56
 
#define s_4_19   61
 
#define s_4_20   67
 
#define s_4_21   72
 
#define s_4_22   77
 
#define s_4_23   82
 
#define s_4_24   87
 
#define s_4_25   91
 
#define s_4_26   94
 
#define s_4_27   100
 
#define s_4_28   106
 
#define s_4_29   112
 
#define s_4_30   (s_4_31 + 1)
 
#define s_4_31   (s_4_32 + 3)
 
#define s_4_32   118
 
#define s_4_33   127
 
#define s_4_34   s_4_30
 
#define s_4_35   s_4_31
 
#define s_4_36   s_4_32
 
#define s_4_37   132
 
#define s_4_38   138
 
#define s_4_39   (s_4_40 + 1)
 
#define s_4_40   144
 
#define s_4_41   148
 
#define s_4_42   s_4_33
 
#define s_5_0   s_5_5
 
#define s_5_1   s_5_8
 
#define s_5_2   s_5_10
 
#define s_5_3   s_5_11
 
#define s_5_4   s_5_0
 
#define s_5_5   s_5_14
 
#define s_5_6   s_5_0
 
#define s_5_7   151
 
#define s_5_8   155
 
#define s_5_9   158
 
#define s_5_10   163
 
#define s_5_11   168
 
#define s_5_12   176
 
#define s_5_13   s_5_2
 
#define s_5_14   181
 
#define s_5_15   186
 
#define s_5_16   192
 
#define s_5_17   198
 
#define s_5_18   205
 
#define s_5_19   210
 
#define s_5_20   216
 
#define s_5_21   (s_5_22 + 3)
 
#define s_5_22   223
 
#define s_5_23   228
 
#define s_5_24   s_5_3
 
#define s_5_25   234
 
#define s_5_26   241
 
#define s_5_27   249
 
#define s_5_28   254
 
#define s_5_29   260
 
#define s_5_30   s_5_12
 
#define s_5_31   265
 
#define s_5_32   270
 
#define s_5_33   276
 
#define s_5_34   280
 
#define s_6_0   (s_6_1 + 2)
 
#define s_6_1   s_6_6
 
#define s_6_2   s_6_11
 
#define s_6_3   s_6_12
 
#define s_6_4   s_6_14
 
#define s_6_5   (s_6_6 + 2)
 
#define s_6_6   s_6_16
 
#define s_6_7   s_6_1
 
#define s_6_8   s_6_2
 
#define s_6_9   285
 
#define s_6_10   289
 
#define s_6_11   294
 
#define s_6_12   299
 
#define s_6_13   304
 
#define s_6_14   309
 
#define s_6_15   (s_6_16 + 2)
 
#define s_6_16   313
 
#define s_6_17   (s_6_18 + 2)
 
#define s_6_18   318
 
#define s_6_19   324
 
#define s_6_20   331
 
#define s_6_21   336
 
#define s_6_22   340
 
#define s_6_23   (s_6_24 + 2)
 
#define s_6_24   343
 
#define s_6_25   s_6_3
 
#define s_6_26   (s_6_27 + 2)
 
#define s_6_27   348
 
#define s_6_28   355
 
#define s_6_29   361
 
#define s_6_30   367
 
#define s_6_31   s_6_13
 
#define s_6_32   (s_6_33 + 1)
 
#define s_6_33   (s_6_34 + 2)
 
#define s_6_34   372
 
#define s_6_35   377
 
#define s_6_36   383
 
#define s_6_37   s_6_4
 
#define s_7_0   (s_7_1 + 4)
 
#define s_7_1   387
 
#define s_7_2   392
 
#define s_7_3   397
 
#define s_7_4   400
 
#define s_7_5   403
 
#define s_7_6   406
 
#define s_8_0   408
 
#define s_8_1   411
 
#define s_8_2   415
 
#define s_8_3   418
 
#define s_8_4   421
 

Variables

static const symbol s_pool []
 
static const struct among a_0 [3]
 
static const struct among a_1 [4]
 
static const struct among a_2 [6]
 
static const struct among a_3 [3]
 
static const struct among a_4 [43]
 
static const struct among a_5 [35]
 
static const struct among a_6 [38]
 
static const struct among a_7 [7]
 
static const struct among a_8 [5]
 
static const unsigned char g_v [] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 130, 103, 8, 5 }
 
static const unsigned char g_keep_with_s [] = { 1, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 }
 
static const symbol s_0 [] = { 'U' }
 
static const symbol s_1 [] = { 'I' }
 
static const symbol s_2 [] = { 'Y' }
 
static const symbol s_3 [] = { 'Y' }
 
static const symbol s_4 [] = { 'U' }
 
static const symbol s_5 [] = { 'i' }
 
static const symbol s_6 [] = { 'u' }
 
static const symbol s_7 [] = { 'y' }
 
static const symbol s_8 [] = { 'i', 'c' }
 
static const symbol s_9 [] = { 'i', 'q', 'U' }
 
static const symbol s_10 [] = { 'l', 'o', 'g' }
 
static const symbol s_11 [] = { 'u' }
 
static const symbol s_12 [] = { 'e', 'n', 't' }
 
static const symbol s_13 [] = { 'a', 't' }
 
static const symbol s_14 [] = { 'e', 'u', 'x' }
 
static const symbol s_15 [] = { 'i' }
 
static const symbol s_16 [] = { 'a', 'b', 'l' }
 
static const symbol s_17 [] = { 'i', 'q', 'U' }
 
static const symbol s_18 [] = { 'a', 't' }
 
static const symbol s_19 [] = { 'i', 'c' }
 
static const symbol s_20 [] = { 'i', 'q', 'U' }
 
static const symbol s_21 [] = { 'e', 'a', 'u' }
 
static const symbol s_22 [] = { 'a', 'l' }
 
static const symbol s_23 [] = { 'e', 'u', 'x' }
 
static const symbol s_24 [] = { 'a', 'n', 't' }
 
static const symbol s_25 [] = { 'e', 'n', 't' }
 
static const symbol s_26 [] = { 'i' }
 
static const symbol s_27 [] = { 'g', 'u' }
 
static const symbol s_28 [] = { 0xC3, 0xA9 }
 
static const symbol s_29 [] = { 0xC3, 0xA8 }
 
static const symbol s_30 [] = { 'e' }
 
static const symbol s_31 [] = { 'i' }
 
static const symbol s_32 [] = { 0xC3, 0xA7 }
 
static const symbol s_33 [] = { 'c' }
 

Macro Definition Documentation

◆ s_0_0

#define s_0_0   0

◆ s_0_1

#define s_0_1   3

◆ s_0_2

#define s_0_2   6

◆ s_1_1

#define s_1_1   9

◆ s_1_2

#define s_1_2   10

◆ s_1_3

#define s_1_3   11

◆ s_2_0

#define s_2_0   12

◆ s_2_1

#define s_2_1   15

◆ s_2_2

#define s_2_2   18

◆ s_2_3

#define s_2_3   22

◆ s_2_4

#define s_2_4   26

◆ s_2_5

#define s_2_5   29

◆ s_3_0

#define s_3_0   31

◆ s_3_1

#define s_3_1   33

◆ s_3_2

#define s_3_2   37

◆ s_4_0

#define s_4_0   s_4_15

◆ s_4_1

#define s_4_1   s_4_16

◆ s_4_10

#define s_4_10   s_4_25

◆ s_4_11

#define s_4_11   s_4_26

◆ s_4_12

#define s_4_12   s_4_27

◆ s_4_13

#define s_4_13   s_4_28

◆ s_4_14

#define s_4_14   s_4_29

◆ s_4_15

#define s_4_15   39

◆ s_4_16

#define s_4_16   44

◆ s_4_17

#define s_4_17   51

◆ s_4_18

#define s_4_18   56

◆ s_4_19

#define s_4_19   61

◆ s_4_2

#define s_4_2   s_4_17

◆ s_4_20

#define s_4_20   67

◆ s_4_21

#define s_4_21   72

◆ s_4_22

#define s_4_22   77

◆ s_4_23

#define s_4_23   82

◆ s_4_24

#define s_4_24   87

◆ s_4_25

#define s_4_25   91

◆ s_4_26

#define s_4_26   94

◆ s_4_27

#define s_4_27   100

◆ s_4_28

#define s_4_28   106

◆ s_4_29

#define s_4_29   112

◆ s_4_3

#define s_4_3   s_4_18

◆ s_4_30

#define s_4_30   (s_4_31 + 1)

◆ s_4_31

#define s_4_31   (s_4_32 + 3)

◆ s_4_32

#define s_4_32   118

◆ s_4_33

#define s_4_33   127

◆ s_4_34

#define s_4_34   s_4_30

◆ s_4_35

#define s_4_35   s_4_31

◆ s_4_36

#define s_4_36   s_4_32

◆ s_4_37

#define s_4_37   132

◆ s_4_38

#define s_4_38   138

◆ s_4_39

#define s_4_39   (s_4_40 + 1)

◆ s_4_4

#define s_4_4   s_4_19

◆ s_4_40

#define s_4_40   144

◆ s_4_41

#define s_4_41   148

◆ s_4_42

#define s_4_42   s_4_33

◆ s_4_5

#define s_4_5   s_4_20

◆ s_4_6

#define s_4_6   s_4_21

◆ s_4_7

#define s_4_7   s_4_22

◆ s_4_8

#define s_4_8   s_4_23

◆ s_4_9

#define s_4_9   s_4_24

◆ s_5_0

#define s_5_0   s_5_5

◆ s_5_1

#define s_5_1   s_5_8

◆ s_5_10

#define s_5_10   163

◆ s_5_11

#define s_5_11   168

◆ s_5_12

#define s_5_12   176

◆ s_5_13

#define s_5_13   s_5_2

◆ s_5_14

#define s_5_14   181

◆ s_5_15

#define s_5_15   186

◆ s_5_16

#define s_5_16   192

◆ s_5_17

#define s_5_17   198

◆ s_5_18

#define s_5_18   205

◆ s_5_19

#define s_5_19   210

◆ s_5_2

#define s_5_2   s_5_10

◆ s_5_20

#define s_5_20   216

◆ s_5_21

#define s_5_21   (s_5_22 + 3)

◆ s_5_22

#define s_5_22   223

◆ s_5_23

#define s_5_23   228

◆ s_5_24

#define s_5_24   s_5_3

◆ s_5_25

#define s_5_25   234

◆ s_5_26

#define s_5_26   241

◆ s_5_27

#define s_5_27   249

◆ s_5_28

#define s_5_28   254

◆ s_5_29

#define s_5_29   260

◆ s_5_3

#define s_5_3   s_5_11

◆ s_5_30

#define s_5_30   s_5_12

◆ s_5_31

#define s_5_31   265

◆ s_5_32

#define s_5_32   270

◆ s_5_33

#define s_5_33   276

◆ s_5_34

#define s_5_34   280

◆ s_5_4

#define s_5_4   s_5_0

◆ s_5_5

#define s_5_5   s_5_14

◆ s_5_6

#define s_5_6   s_5_0

◆ s_5_7

#define s_5_7   151

◆ s_5_8

#define s_5_8   155

◆ s_5_9

#define s_5_9   158

◆ s_6_0

#define s_6_0   (s_6_1 + 2)

◆ s_6_1

#define s_6_1   s_6_6

◆ s_6_10

#define s_6_10   289

◆ s_6_11

#define s_6_11   294

◆ s_6_12

#define s_6_12   299

◆ s_6_13

#define s_6_13   304

◆ s_6_14

#define s_6_14   309

◆ s_6_15

#define s_6_15   (s_6_16 + 2)

◆ s_6_16

#define s_6_16   313

◆ s_6_17

#define s_6_17   (s_6_18 + 2)

◆ s_6_18

#define s_6_18   318

◆ s_6_19

#define s_6_19   324

◆ s_6_2

#define s_6_2   s_6_11

◆ s_6_20

#define s_6_20   331

◆ s_6_21

#define s_6_21   336

◆ s_6_22

#define s_6_22   340

◆ s_6_23

#define s_6_23   (s_6_24 + 2)

◆ s_6_24

#define s_6_24   343

◆ s_6_25

#define s_6_25   s_6_3

◆ s_6_26

#define s_6_26   (s_6_27 + 2)

◆ s_6_27

#define s_6_27   348

◆ s_6_28

#define s_6_28   355

◆ s_6_29

#define s_6_29   361

◆ s_6_3

#define s_6_3   s_6_12

◆ s_6_30

#define s_6_30   367

◆ s_6_31

#define s_6_31   s_6_13

◆ s_6_32

#define s_6_32   (s_6_33 + 1)

◆ s_6_33

#define s_6_33   (s_6_34 + 2)

◆ s_6_34

#define s_6_34   372

◆ s_6_35

#define s_6_35   377

◆ s_6_36

#define s_6_36   383

◆ s_6_37

#define s_6_37   s_6_4

◆ s_6_4

#define s_6_4   s_6_14

◆ s_6_5

#define s_6_5   (s_6_6 + 2)

◆ s_6_6

#define s_6_6   s_6_16

◆ s_6_7

#define s_6_7   s_6_1

◆ s_6_8

#define s_6_8   s_6_2

◆ s_6_9

#define s_6_9   285

◆ s_7_0

#define s_7_0   (s_7_1 + 4)

◆ s_7_1

#define s_7_1   387

◆ s_7_2

#define s_7_2   392

◆ s_7_3

#define s_7_3   397

◆ s_7_4

#define s_7_4   400

◆ s_7_5

#define s_7_5   403

◆ s_7_6

#define s_7_6   406

◆ s_8_0

#define s_8_0   408

◆ s_8_1

#define s_8_1   411

◆ s_8_2

#define s_8_2   415

◆ s_8_3

#define s_8_3   418

◆ s_8_4

#define s_8_4   421

Variable Documentation

◆ a_0

const struct among a_0[3]
static
Initial value:
=
{
{ 3, s_0_0, -1, -1},
{ 3, s_0_1, -1, -1},
{ 3, s_0_2, -1, -1}
}
#define s_0_0
#define s_0_2
#define s_0_1

Definition at line 246 of file french.cc.

◆ a_1

const struct among a_1[4]
static
Initial value:
=
{
{ 0, 0, -1, 4},
{ 1, s_1_1, 0, 1},
{ 1, s_1_2, 0, 2},
{ 1, s_1_3, 0, 3}
}
#define s_1_3
#define s_1_1
#define s_1_2

Definition at line 254 of file french.cc.

◆ a_2

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

Definition at line 263 of file french.cc.

◆ a_3

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

Definition at line 274 of file french.cc.

◆ a_4

const struct among a_4[43]
static

Definition at line 282 of file french.cc.

◆ a_5

const struct among a_5[35]
static

Definition at line 330 of file french.cc.

◆ a_6

const struct among a_6[38]
static

Definition at line 370 of file french.cc.

◆ a_7

const struct among a_7[7]
static
Initial value:
=
{
{ 1, s_7_0, -1, 3},
{ 5, s_7_1, 0, 2},
{ 5, s_7_2, 0, 2},
{ 3, s_7_3, -1, 1},
{ 3, s_7_4, -1, 2},
{ 3, s_7_5, -1, 2},
{ 2, s_7_6, -1, 4}
}
#define s_7_1
#define s_7_2
#define s_7_5
#define s_7_0
#define s_7_6
#define s_7_3
#define s_7_4

Definition at line 413 of file french.cc.

◆ a_8

const struct among a_8[5]
static
Initial value:
=
{
{ 3, s_8_0, -1, -1},
{ 4, s_8_1, -1, -1},
{ 3, s_8_2, -1, -1},
{ 3, s_8_3, -1, -1},
{ 3, s_8_4, -1, -1}
}
#define s_8_3
#define s_8_4
#define s_8_1
#define s_8_2
#define s_8_0

Definition at line 425 of file french.cc.

◆ g_keep_with_s

const unsigned char g_keep_with_s[] = { 1, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 }
static

Definition at line 436 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_residual_suffix().

◆ g_v

const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 130, 103, 8, 5 }
static

◆ s_0

const symbol s_0[] = { 'U' }
static

Definition at line 438 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_prelude().

◆ s_1

const symbol s_1[] = { 'I' }
static

Definition at line 439 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_prelude().

◆ s_10

const symbol s_10[] = { 'l', 'o', 'g' }
static

Definition at line 448 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_11

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

Definition at line 449 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_12

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

Definition at line 450 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_13

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

Definition at line 451 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_14

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

Definition at line 452 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_15

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

Definition at line 453 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_16

const symbol s_16[] = { 'a', 'b', 'l' }
static

Definition at line 454 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_17

const symbol s_17[] = { 'i', 'q', 'U' }
static

Definition at line 455 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_18

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

Definition at line 456 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_19

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

Definition at line 457 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_2

const symbol s_2[] = { 'Y' }
static

Definition at line 440 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_prelude().

◆ s_20

const symbol s_20[] = { 'i', 'q', 'U' }
static

Definition at line 458 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_21

const symbol s_21[] = { 'e', 'a', 'u' }
static

Definition at line 459 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_22

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

Definition at line 460 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_23

const symbol s_23[] = { 'e', 'u', 'x' }
static

Definition at line 461 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_24

const symbol s_24[] = { 'a', 'n', 't' }
static

Definition at line 462 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_25

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

Definition at line 463 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_26

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

Definition at line 464 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_residual_suffix().

◆ s_27

const symbol s_27[] = { 'g', 'u' }
static

Definition at line 465 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_residual_suffix().

◆ s_28

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

Definition at line 466 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_un_accent().

◆ s_29

const symbol s_29[] = { 0xC3, 0xA8 }
static

Definition at line 467 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_un_accent().

◆ s_3

const symbol s_3[] = { 'Y' }
static

Definition at line 441 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_prelude().

◆ s_30

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

Definition at line 468 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_un_accent().

◆ s_31

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

Definition at line 469 of file french.cc.

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

◆ s_32

const symbol s_32[] = { 0xC3, 0xA7 }
static

Definition at line 470 of file french.cc.

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

◆ s_33

const symbol s_33[] = { 'c' }
static

Definition at line 471 of file french.cc.

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

◆ s_4

const symbol s_4[] = { 'U' }
static

Definition at line 442 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_prelude().

◆ s_5

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

Definition at line 443 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_postlude().

◆ s_6

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

Definition at line 444 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_postlude().

◆ s_7

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

Definition at line 445 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_postlude().

◆ s_8

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

Definition at line 446 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_9

const symbol s_9[] = { 'i', 'q', 'U' }
static

Definition at line 447 of file french.cc.

Referenced by Xapian::InternalStemFrench::r_standard_suffix().

◆ s_pool

const symbol s_pool[]
static