xapian-core  2.0.0
Macros | Typedefs | Functions | Variables
german.cc File Reference
#include <config.h>
#include "german.h"
#include <stddef.h>
+ Include dependency graph for german.cc:

Go to the source code of this file.

Macros

#define SNOWBALL_RUNTIME_THROW_EXCEPTIONS
 

Typedefs

typedef Xapian::Internal::Snowball::German::SN_local SN_local
 

Functions

static int r_standard_suffix (struct SN_env *z)
 
static int r_R2 (struct SN_env *z)
 
static int r_R1 (struct SN_env *z)
 
static int r_mark_regions (struct SN_env *z)
 
static int r_postlude (struct SN_env *z)
 
static int r_prelude (struct SN_env *z)
 

Variables

static const symbol s_0 [] = { 'U' }
 
static const symbol s_1 [] = { 'Y' }
 
static const symbol s_2 [] = { 's', 's' }
 
static const symbol s_3 [] = { 0xC3, 0xA4 }
 
static const symbol s_4 [] = { 0xC3, 0xB6 }
 
static const symbol s_5 [] = { 0xC3, 0xBC }
 
static const symbol s_6 [] = { 'y' }
 
static const symbol s_7 [] = { 'u' }
 
static const symbol s_8 [] = { 'a' }
 
static const symbol s_9 [] = { 'o' }
 
static const symbol s_10 [] = { 's', 'y', 's', 't' }
 
static const symbol s_11 [] = { 'n', 'i', 's' }
 
static const symbol s_12 [] = { 'l' }
 
static const symbol s_13 [] = { 'i', 'g' }
 
static const symbol s_14 [] = { 'e', 'r' }
 
static const symbol s_15 [] = { 'e', 'n' }
 
static const symbol s_0_1 [2] = { 'a', 'e' }
 
static const symbol s_0_2 [2] = { 'o', 'e' }
 
static const symbol s_0_3 [2] = { 'q', 'u' }
 
static const symbol s_0_4 [2] = { 'u', 'e' }
 
static const symbol s_0_5 [2] = { 0xC3, 0x9F }
 
static const struct among a_0 [6]
 
static const symbol s_1_1 [1] = { 'U' }
 
static const symbol s_1_2 [1] = { 'Y' }
 
static const symbol s_1_3 [2] = { 0xC3, 0xA4 }
 
static const symbol s_1_4 [2] = { 0xC3, 0xB6 }
 
static const symbol s_1_5 [2] = { 0xC3, 0xBC }
 
static const struct among a_1 [6]
 
static const symbol s_2_0 [1] = { 'e' }
 
static const symbol s_2_1 [2] = { 'e', 'm' }
 
static const symbol s_2_2 [2] = { 'e', 'n' }
 
static const symbol s_2_3 [7] = { 'e', 'r', 'i', 'n', 'n', 'e', 'n' }
 
static const symbol s_2_4 [4] = { 'e', 'r', 'i', 'n' }
 
static const symbol s_2_5 [2] = { 'l', 'n' }
 
static const symbol s_2_6 [3] = { 'e', 'r', 'n' }
 
static const symbol s_2_7 [2] = { 'e', 'r' }
 
static const symbol s_2_8 [1] = { 's' }
 
static const symbol s_2_9 [2] = { 'e', 's' }
 
static const symbol s_2_10 [3] = { 'l', 'n', 's' }
 
static const struct among a_2 [11]
 
static const symbol s_3_0 [4] = { 't', 'i', 'c', 'k' }
 
static const symbol s_3_1 [4] = { 'p', 'l', 'a', 'n' }
 
static const symbol s_3_2 [6] = { 'g', 'e', 'o', 'r', 'd', 'n' }
 
static const symbol s_3_3 [6] = { 'i', 'n', 't', 'e', 'r', 'n' }
 
static const symbol s_3_4 [2] = { 't', 'r' }
 
static const struct among a_3 [5]
 
static const symbol s_4_0 [2] = { 'e', 'n' }
 
static const symbol s_4_1 [2] = { 'e', 'r' }
 
static const symbol s_4_2 [2] = { 'e', 't' }
 
static const symbol s_4_3 [2] = { 's', 't' }
 
static const symbol s_4_4 [3] = { 'e', 's', 't' }
 
static const struct among a_4 [5]
 
static const symbol s_5_0 [2] = { 'i', 'g' }
 
static const symbol s_5_1 [4] = { 'l', 'i', 'c', 'h' }
 
static const struct among a_5 [2]
 
static const symbol s_6_0 [3] = { 'e', 'n', 'd' }
 
static const symbol s_6_1 [2] = { 'i', 'g' }
 
static const symbol s_6_2 [3] = { 'u', 'n', 'g' }
 
static const symbol s_6_3 [4] = { 'l', 'i', 'c', 'h' }
 
static const symbol s_6_4 [4] = { 'i', 's', 'c', 'h' }
 
static const symbol s_6_5 [2] = { 'i', 'k' }
 
static const symbol s_6_6 [4] = { 'h', 'e', 'i', 't' }
 
static const symbol s_6_7 [4] = { 'k', 'e', 'i', 't' }
 
static const struct among a_6 [8]
 
static const unsigned char g_v [] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 32, 8 }
 
static const unsigned char g_et_ending [] = { 1, 128, 198, 227, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 }
 
static const unsigned char g_s_ending [] = { 117, 30, 5 }
 
static const unsigned char g_st_ending [] = { 117, 30, 4 }
 

Macro Definition Documentation

◆ SNOWBALL_RUNTIME_THROW_EXCEPTIONS

#define SNOWBALL_RUNTIME_THROW_EXCEPTIONS

Definition at line 5 of file german.cc.

Typedef Documentation

◆ SN_local

Definition at line 10 of file german.cc.

Function Documentation

◆ r_mark_regions()

static int r_mark_regions ( struct SN_env z)
static

◆ r_postlude()

static int r_postlude ( struct SN_env z)
static

◆ r_prelude()

static int r_prelude ( struct SN_env z)
static

◆ r_R1()

static int r_R1 ( struct SN_env z)
static

Definition at line 304 of file german.cc.

References SN_env::c.

Referenced by r_standard_suffix().

◆ r_R2()

static int r_R2 ( struct SN_env z)
static

Definition at line 308 of file german.cc.

References SN_env::c.

Referenced by r_standard_suffix().

◆ r_standard_suffix()

static int r_standard_suffix ( struct SN_env z)
static

Variable Documentation

◆ a_0

const struct among a_0[6]
static
Initial value:
= {
{ 0, 0, 0, 5, 0},
{ 2, s_0_1, -1, 2, 0},
{ 2, s_0_2, -2, 3, 0},
{ 2, s_0_3, -3, -1, 0},
{ 2, s_0_4, -4, 4, 0},
{ 2, s_0_5, -5, 1, 0}
}
static const symbol s_0_4[2]
Definition: german.cc:39
static const symbol s_0_5[2]
Definition: german.cc:40
static const symbol s_0_1[2]
Definition: german.cc:36
static const symbol s_0_2[2]
Definition: german.cc:37
static const symbol s_0_3[2]
Definition: german.cc:38

Definition at line 40 of file german.cc.

Referenced by r_prelude().

◆ a_1

const struct among a_1[6]
static
Initial value:
= {
{ 0, 0, 0, 5, 0},
{ 1, s_1_1, -1, 2, 0},
{ 1, s_1_2, -2, 1, 0},
{ 2, s_1_3, -3, 3, 0},
{ 2, s_1_4, -4, 4, 0},
{ 2, s_1_5, -5, 2, 0}
}
static const symbol s_1_5[2]
Definition: german.cc:54
static const symbol s_1_3[2]
Definition: german.cc:52
static const symbol s_1_2[1]
Definition: german.cc:51
static const symbol s_1_1[1]
Definition: german.cc:50
static const symbol s_1_4[2]
Definition: german.cc:53

Definition at line 54 of file german.cc.

Referenced by r_postlude().

◆ a_2

const struct among a_2[11]
static
Initial value:
= {
{ 1, s_2_0, 0, 3, 0},
{ 2, s_2_1, 0, 1, 0},
{ 2, s_2_2, 0, 3, 0},
{ 7, s_2_3, -1, 2, 0},
{ 4, s_2_4, 0, 2, 0},
{ 2, s_2_5, 0, 5, 0},
{ 3, s_2_6, 0, 2, 0},
{ 2, s_2_7, 0, 2, 0},
{ 1, s_2_8, 0, 4, 0},
{ 2, s_2_9, -1, 3, 0},
{ 3, s_2_10, -2, 5, 0}
}
static const symbol s_2_2[2]
Definition: german.cc:66
static const symbol s_2_5[2]
Definition: german.cc:69
static const symbol s_2_9[2]
Definition: german.cc:73
static const symbol s_2_0[1]
Definition: german.cc:64
static const symbol s_2_4[4]
Definition: german.cc:68
static const symbol s_2_10[3]
Definition: german.cc:74
static const symbol s_2_3[7]
Definition: german.cc:67
static const symbol s_2_7[2]
Definition: german.cc:71
static const symbol s_2_8[1]
Definition: german.cc:72
static const symbol s_2_6[3]
Definition: german.cc:70
static const symbol s_2_1[2]
Definition: german.cc:65

Definition at line 74 of file german.cc.

Referenced by r_standard_suffix().

◆ a_3

const struct among a_3[5]
static
Initial value:
= {
{ 4, s_3_0, 0, -1, 0},
{ 4, s_3_1, 0, -1, 0},
{ 6, s_3_2, 0, -1, 0},
{ 6, s_3_3, 0, -1, 0},
{ 2, s_3_4, 0, -1, 0}
}
static const symbol s_3_4[2]
Definition: german.cc:93
static const symbol s_3_0[4]
Definition: german.cc:89
static const symbol s_3_1[4]
Definition: german.cc:90
static const symbol s_3_2[6]
Definition: german.cc:91
static const symbol s_3_3[6]
Definition: german.cc:92

Definition at line 93 of file german.cc.

Referenced by r_standard_suffix().

◆ a_4

const struct among a_4[5]
static
Initial value:
= {
{ 2, s_4_0, 0, 1, 0},
{ 2, s_4_1, 0, 1, 0},
{ 2, s_4_2, 0, 3, 0},
{ 2, s_4_3, 0, 2, 0},
{ 3, s_4_4, -1, 1, 0}
}
static const symbol s_4_1[2]
Definition: german.cc:103
static const symbol s_4_4[3]
Definition: german.cc:106
static const symbol s_4_2[2]
Definition: german.cc:104
static const symbol s_4_0[2]
Definition: german.cc:102
static const symbol s_4_3[2]
Definition: german.cc:105

Definition at line 106 of file german.cc.

Referenced by r_standard_suffix().

◆ a_5

const struct among a_5[2]
static
Initial value:
= {
{ 2, s_5_0, 0, 1, 0},
{ 4, s_5_1, 0, 1, 0}
}
static const symbol s_5_0[2]
Definition: german.cc:115
static const symbol s_5_1[4]
Definition: german.cc:116

Definition at line 116 of file german.cc.

Referenced by r_standard_suffix().

◆ a_6

const struct among a_6[8]
static
Initial value:
= {
{ 3, s_6_0, 0, 1, 0},
{ 2, s_6_1, 0, 2, 0},
{ 3, s_6_2, 0, 1, 0},
{ 4, s_6_3, 0, 3, 0},
{ 4, s_6_4, 0, 2, 0},
{ 2, s_6_5, 0, 2, 0},
{ 4, s_6_6, 0, 3, 0},
{ 4, s_6_7, 0, 4, 0}
}
static const symbol s_6_7[4]
Definition: german.cc:129
static const symbol s_6_5[2]
Definition: german.cc:127
static const symbol s_6_6[4]
Definition: german.cc:128
static const symbol s_6_3[4]
Definition: german.cc:125
static const symbol s_6_2[3]
Definition: german.cc:124
static const symbol s_6_4[4]
Definition: german.cc:126
static const symbol s_6_1[2]
Definition: german.cc:123
static const symbol s_6_0[3]
Definition: german.cc:122

Definition at line 129 of file german.cc.

Referenced by r_standard_suffix().

◆ g_et_ending

const unsigned char g_et_ending[] = { 1, 128, 198, 227, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 }
static

Definition at line 143 of file german.cc.

Referenced by r_standard_suffix().

◆ g_s_ending

const unsigned char g_s_ending[] = { 117, 30, 5 }
static

Definition at line 145 of file german.cc.

Referenced by r_standard_suffix().

◆ g_st_ending

const unsigned char g_st_ending[] = { 117, 30, 4 }
static

Definition at line 147 of file german.cc.

Referenced by r_standard_suffix().

◆ g_v

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

Definition at line 141 of file german.cc.

Referenced by r_mark_regions(), and r_prelude().

◆ s_0

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

Definition at line 19 of file german.cc.

Referenced by r_prelude().

◆ s_0_1

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

Definition at line 36 of file german.cc.

◆ s_0_2

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

Definition at line 37 of file german.cc.

◆ s_0_3

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

Definition at line 38 of file german.cc.

◆ s_0_4

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

Definition at line 39 of file german.cc.

◆ s_0_5

const symbol s_0_5[2] = { 0xC3, 0x9F }
static

Definition at line 40 of file german.cc.

◆ s_1

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

Definition at line 20 of file german.cc.

Referenced by r_prelude().

◆ s_10

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

Definition at line 29 of file german.cc.

Referenced by r_standard_suffix().

◆ s_11

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

Definition at line 30 of file german.cc.

Referenced by r_standard_suffix().

◆ s_12

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

Definition at line 31 of file german.cc.

Referenced by r_standard_suffix().

◆ s_13

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

Definition at line 32 of file german.cc.

Referenced by r_standard_suffix().

◆ s_14

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

Definition at line 33 of file german.cc.

Referenced by r_standard_suffix().

◆ s_15

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

Definition at line 34 of file german.cc.

Referenced by r_standard_suffix().

◆ s_1_1

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

Definition at line 50 of file german.cc.

◆ s_1_2

const symbol s_1_2[1] = { 'Y' }
static

Definition at line 51 of file german.cc.

◆ s_1_3

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

Definition at line 52 of file german.cc.

◆ s_1_4

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

Definition at line 53 of file german.cc.

◆ s_1_5

const symbol s_1_5[2] = { 0xC3, 0xBC }
static

Definition at line 54 of file german.cc.

◆ s_2

const symbol s_2[] = { 's', 's' }
static

Definition at line 21 of file german.cc.

Referenced by r_prelude().

◆ s_2_0

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

Definition at line 64 of file german.cc.

◆ s_2_1

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

Definition at line 65 of file german.cc.

◆ s_2_10

const symbol s_2_10[3] = { 'l', 'n', 's' }
static

Definition at line 74 of file german.cc.

◆ s_2_2

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

Definition at line 66 of file german.cc.

◆ s_2_3

const symbol s_2_3[7] = { 'e', 'r', 'i', 'n', 'n', 'e', 'n' }
static

Definition at line 67 of file german.cc.

◆ s_2_4

const symbol s_2_4[4] = { 'e', 'r', 'i', 'n' }
static

Definition at line 68 of file german.cc.

◆ s_2_5

const symbol s_2_5[2] = { 'l', 'n' }
static

Definition at line 69 of file german.cc.

◆ s_2_6

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

Definition at line 70 of file german.cc.

◆ s_2_7

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

Definition at line 71 of file german.cc.

◆ s_2_8

const symbol s_2_8[1] = { 's' }
static

Definition at line 72 of file german.cc.

◆ s_2_9

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

Definition at line 73 of file german.cc.

◆ s_3

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

Definition at line 22 of file german.cc.

Referenced by r_prelude().

◆ s_3_0

const symbol s_3_0[4] = { 't', 'i', 'c', 'k' }
static

Definition at line 89 of file german.cc.

◆ s_3_1

const symbol s_3_1[4] = { 'p', 'l', 'a', 'n' }
static

Definition at line 90 of file german.cc.

◆ s_3_2

const symbol s_3_2[6] = { 'g', 'e', 'o', 'r', 'd', 'n' }
static

Definition at line 91 of file german.cc.

◆ s_3_3

const symbol s_3_3[6] = { 'i', 'n', 't', 'e', 'r', 'n' }
static

Definition at line 92 of file german.cc.

◆ s_3_4

const symbol s_3_4[2] = { 't', 'r' }
static

Definition at line 93 of file german.cc.

◆ s_4

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

Definition at line 23 of file german.cc.

Referenced by r_prelude().

◆ s_4_0

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

Definition at line 102 of file german.cc.

◆ s_4_1

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

Definition at line 103 of file german.cc.

◆ s_4_2

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

Definition at line 104 of file german.cc.

◆ s_4_3

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

Definition at line 105 of file german.cc.

◆ s_4_4

const symbol s_4_4[3] = { 'e', 's', 't' }
static

Definition at line 106 of file german.cc.

◆ s_5

const symbol s_5[] = { 0xC3, 0xBC }
static

Definition at line 24 of file german.cc.

Referenced by r_prelude().

◆ s_5_0

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

Definition at line 115 of file german.cc.

◆ s_5_1

const symbol s_5_1[4] = { 'l', 'i', 'c', 'h' }
static

Definition at line 116 of file german.cc.

◆ s_6

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

Definition at line 25 of file german.cc.

Referenced by r_postlude().

◆ s_6_0

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

Definition at line 122 of file german.cc.

◆ s_6_1

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

Definition at line 123 of file german.cc.

◆ s_6_2

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

Definition at line 124 of file german.cc.

◆ s_6_3

const symbol s_6_3[4] = { 'l', 'i', 'c', 'h' }
static

Definition at line 125 of file german.cc.

◆ s_6_4

const symbol s_6_4[4] = { 'i', 's', 'c', 'h' }
static

Definition at line 126 of file german.cc.

◆ s_6_5

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

Definition at line 127 of file german.cc.

◆ s_6_6

const symbol s_6_6[4] = { 'h', 'e', 'i', 't' }
static

Definition at line 128 of file german.cc.

◆ s_6_7

const symbol s_6_7[4] = { 'k', 'e', 'i', 't' }
static

Definition at line 129 of file german.cc.

◆ s_7

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

Definition at line 26 of file german.cc.

Referenced by r_postlude().

◆ s_8

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

Definition at line 27 of file german.cc.

Referenced by r_postlude().

◆ s_9

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

Definition at line 28 of file german.cc.

Referenced by r_postlude().