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

Go to the source code of this file.

Macros

#define SNOWBALL_RUNTIME_THROW_EXCEPTIONS
 

Typedefs

typedef Xapian::Internal::Snowball::DutchPorter::SN_local SN_local
 

Functions

static int r_undouble (struct SN_env *z)
 
static int r_en_ending (struct SN_env *z)
 
static int r_e_ending (struct SN_env *z)
 

Variables

static const symbol s_0 [] = { 'g', 'e', 'm' }
 
static const symbol s_1 [] = { 'a' }
 
static const symbol s_2 [] = { 'e' }
 
static const symbol s_3 [] = { 'i' }
 
static const symbol s_4 [] = { 'o' }
 
static const symbol s_5 [] = { 'u' }
 
static const symbol s_6 [] = { 'Y' }
 
static const symbol s_7 [] = { 'I' }
 
static const symbol s_8 [] = { 'Y' }
 
static const symbol s_9 [] = { 'h', 'e', 'i', 'd' }
 
static const symbol s_10 [] = { 'h', 'e', 'i', 'd' }
 
static const symbol s_11 [] = { 'e', 'n' }
 
static const symbol s_12 [] = { 'i', 'g' }
 
static const symbol s_13 [] = { 'y' }
 
static const symbol s_14 [] = { 'i' }
 
static const symbol s_0_1 [2] = { 0xC3, 0xA1 }
 
static const symbol s_0_2 [2] = { 0xC3, 0xA4 }
 
static const symbol s_0_3 [2] = { 0xC3, 0xA9 }
 
static const symbol s_0_4 [2] = { 0xC3, 0xAB }
 
static const symbol s_0_5 [2] = { 0xC3, 0xAD }
 
static const symbol s_0_6 [2] = { 0xC3, 0xAF }
 
static const symbol s_0_7 [2] = { 0xC3, 0xB3 }
 
static const symbol s_0_8 [2] = { 0xC3, 0xB6 }
 
static const symbol s_0_9 [2] = { 0xC3, 0xBA }
 
static const symbol s_0_10 [2] = { 0xC3, 0xBC }
 
static const struct among a_0 [11]
 
static const symbol s_1_1 [1] = { 'I' }
 
static const symbol s_1_2 [1] = { 'Y' }
 
static const struct among a_1 [3]
 
static const symbol s_2_0 [2] = { 'd', 'd' }
 
static const symbol s_2_1 [2] = { 'k', 'k' }
 
static const symbol s_2_2 [2] = { 't', 't' }
 
static const struct among a_2 [3]
 
static const symbol s_3_0 [3] = { 'e', 'n', 'e' }
 
static const symbol s_3_1 [2] = { 's', 'e' }
 
static const symbol s_3_2 [2] = { 'e', 'n' }
 
static const symbol s_3_3 [5] = { 'h', 'e', 'd', 'e', 'n' }
 
static const symbol s_3_4 [1] = { 's' }
 
static const struct among a_3 [5]
 
static const symbol s_4_0 [3] = { 'e', 'n', 'd' }
 
static const symbol s_4_1 [2] = { 'i', 'g' }
 
static const symbol s_4_2 [3] = { 'i', 'n', 'g' }
 
static const symbol s_4_3 [4] = { 'l', 'i', 'j', 'k' }
 
static const symbol s_4_4 [4] = { 'b', 'a', 'a', 'r' }
 
static const symbol s_4_5 [3] = { 'b', 'a', 'r' }
 
static const struct among a_4 [6]
 
static const symbol s_5_0 [2] = { 'a', 'a' }
 
static const symbol s_5_1 [2] = { 'e', 'e' }
 
static const symbol s_5_2 [2] = { 'o', 'o' }
 
static const symbol s_5_3 [2] = { 'u', 'u' }
 
static const struct among a_5 [4]
 
static const unsigned char g_v [] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 }
 
static const unsigned char g_v_I [] = { 1, 0, 0, 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 }
 
static const unsigned char g_v_j [] = { 17, 67, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 }
 

Macro Definition Documentation

◆ SNOWBALL_RUNTIME_THROW_EXCEPTIONS

#define SNOWBALL_RUNTIME_THROW_EXCEPTIONS

Definition at line 5 of file dutch_porter.cc.

Typedef Documentation

◆ SN_local

Definition at line 10 of file dutch_porter.cc.

Function Documentation

◆ r_e_ending()

static int r_e_ending ( struct SN_env *  z)
static

◆ r_en_ending()

static int r_en_ending ( struct SN_env *  z)
static

◆ r_undouble()

static int r_undouble ( struct SN_env *  z)
static

Variable Documentation

◆ a_0

const struct among a_0[11]
static
Initial value:
= {
{ 0, 0, 0, 6, 0},
{ 2, s_0_1, -1, 1, 0},
{ 2, s_0_2, -2, 1, 0},
{ 2, s_0_3, -3, 2, 0},
{ 2, s_0_4, -4, 2, 0},
{ 2, s_0_5, -5, 3, 0},
{ 2, s_0_6, -6, 3, 0},
{ 2, s_0_7, -7, 4, 0},
{ 2, s_0_8, -8, 4, 0},
{ 2, s_0_9, -9, 5, 0},
{ 2, s_0_10, -10, 5, 0}
}
static const symbol s_0_4[2]
Definition: dutch_porter.cc:35
static const symbol s_0_5[2]
Definition: dutch_porter.cc:36
static const symbol s_0_8[2]
Definition: dutch_porter.cc:39
static const symbol s_0_1[2]
Definition: dutch_porter.cc:32
static const symbol s_0_7[2]
Definition: dutch_porter.cc:38
static const symbol s_0_6[2]
Definition: dutch_porter.cc:37
static const symbol s_0_2[2]
Definition: dutch_porter.cc:33
static const symbol s_0_10[2]
Definition: dutch_porter.cc:41
static const symbol s_0_3[2]
Definition: dutch_porter.cc:34
static const symbol s_0_9[2]
Definition: dutch_porter.cc:40

Definition at line 41 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ a_1

const struct among a_1[3]
static
Initial value:
= {
{ 0, 0, 0, 3, 0},
{ 1, s_1_1, -1, 2, 0},
{ 1, s_1_2, -2, 1, 0}
}
static const symbol s_1_2[1]
Definition: dutch_porter.cc:57
static const symbol s_1_1[1]
Definition: dutch_porter.cc:56

Definition at line 57 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ a_2

const struct among a_2[3]
static
Initial value:
= {
{ 2, s_2_0, 0, -1, 0},
{ 2, s_2_1, 0, -1, 0},
{ 2, s_2_2, 0, -1, 0}
}
static const symbol s_2_2[2]
Definition: dutch_porter.cc:66
static const symbol s_2_0[2]
Definition: dutch_porter.cc:64
static const symbol s_2_1[2]
Definition: dutch_porter.cc:65

Definition at line 66 of file dutch_porter.cc.

Referenced by r_undouble().

◆ a_3

const struct among a_3[5]
static
Initial value:
= {
{ 3, s_3_0, 0, 2, 0},
{ 2, s_3_1, 0, 3, 0},
{ 2, s_3_2, 0, 2, 0},
{ 5, s_3_3, -1, 1, 0},
{ 1, s_3_4, 0, 3, 0}
}
static const symbol s_3_1[2]
Definition: dutch_porter.cc:74
static const symbol s_3_0[3]
Definition: dutch_porter.cc:73
static const symbol s_3_3[5]
Definition: dutch_porter.cc:76
static const symbol s_3_4[1]
Definition: dutch_porter.cc:77
static const symbol s_3_2[2]
Definition: dutch_porter.cc:75

Definition at line 77 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ a_4

const struct among a_4[6]
static
Initial value:
= {
{ 3, s_4_0, 0, 1, 0},
{ 2, s_4_1, 0, 2, 0},
{ 3, s_4_2, 0, 1, 0},
{ 4, s_4_3, 0, 3, 0},
{ 4, s_4_4, 0, 4, 0},
{ 3, s_4_5, 0, 5, 0}
}
static const symbol s_4_3[4]
Definition: dutch_porter.cc:89
static const symbol s_4_1[2]
Definition: dutch_porter.cc:87
static const symbol s_4_4[4]
Definition: dutch_porter.cc:90
static const symbol s_4_5[3]
Definition: dutch_porter.cc:91
static const symbol s_4_2[3]
Definition: dutch_porter.cc:88
static const symbol s_4_0[3]
Definition: dutch_porter.cc:86

Definition at line 91 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ a_5

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

Definition at line 104 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ g_v

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

◆ g_v_I

const unsigned char g_v_I[] = { 1, 0, 0, 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 }
static

Definition at line 114 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ g_v_j

const unsigned char g_v_j[] = { 17, 67, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 }
static

Definition at line 116 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_0

const symbol s_0[] = { 'g', 'e', 'm' }
static

Definition at line 16 of file dutch_porter.cc.

Referenced by r_en_ending().

◆ s_0_1

const symbol s_0_1[2] = { 0xC3, 0xA1 }
static

Definition at line 32 of file dutch_porter.cc.

◆ s_0_10

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

Definition at line 41 of file dutch_porter.cc.

◆ s_0_2

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

Definition at line 33 of file dutch_porter.cc.

◆ s_0_3

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

Definition at line 34 of file dutch_porter.cc.

◆ s_0_4

const symbol s_0_4[2] = { 0xC3, 0xAB }
static

Definition at line 35 of file dutch_porter.cc.

◆ s_0_5

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

Definition at line 36 of file dutch_porter.cc.

◆ s_0_6

const symbol s_0_6[2] = { 0xC3, 0xAF }
static

Definition at line 37 of file dutch_porter.cc.

◆ s_0_7

const symbol s_0_7[2] = { 0xC3, 0xB3 }
static

Definition at line 38 of file dutch_porter.cc.

◆ s_0_8

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

Definition at line 39 of file dutch_porter.cc.

◆ s_0_9

const symbol s_0_9[2] = { 0xC3, 0xBA }
static

Definition at line 40 of file dutch_porter.cc.

◆ s_1

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

Definition at line 17 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_10

const symbol s_10[] = { 'h', 'e', 'i', 'd' }
static

Definition at line 26 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_11

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

Definition at line 27 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_12

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

Definition at line 28 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_13

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

Definition at line 29 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_14

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

Definition at line 30 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_1_1

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

Definition at line 56 of file dutch_porter.cc.

◆ s_1_2

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

Definition at line 57 of file dutch_porter.cc.

◆ s_2

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

Definition at line 18 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_2_0

const symbol s_2_0[2] = { 'd', 'd' }
static

Definition at line 64 of file dutch_porter.cc.

◆ s_2_1

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

Definition at line 65 of file dutch_porter.cc.

◆ s_2_2

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

Definition at line 66 of file dutch_porter.cc.

◆ s_3

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

Definition at line 19 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_3_0

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

Definition at line 73 of file dutch_porter.cc.

◆ s_3_1

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

Definition at line 74 of file dutch_porter.cc.

◆ s_3_2

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

Definition at line 75 of file dutch_porter.cc.

◆ s_3_3

const symbol s_3_3[5] = { 'h', 'e', 'd', 'e', 'n' }
static

Definition at line 76 of file dutch_porter.cc.

◆ s_3_4

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

Definition at line 77 of file dutch_porter.cc.

◆ s_4

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

Definition at line 20 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_4_0

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

Definition at line 86 of file dutch_porter.cc.

◆ s_4_1

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

Definition at line 87 of file dutch_porter.cc.

◆ s_4_2

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

Definition at line 88 of file dutch_porter.cc.

◆ s_4_3

const symbol s_4_3[4] = { 'l', 'i', 'j', 'k' }
static

Definition at line 89 of file dutch_porter.cc.

◆ s_4_4

const symbol s_4_4[4] = { 'b', 'a', 'a', 'r' }
static

Definition at line 90 of file dutch_porter.cc.

◆ s_4_5

const symbol s_4_5[3] = { 'b', 'a', 'r' }
static

Definition at line 91 of file dutch_porter.cc.

◆ s_5

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

Definition at line 21 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_5_0

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

Definition at line 101 of file dutch_porter.cc.

◆ s_5_1

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

Definition at line 102 of file dutch_porter.cc.

◆ s_5_2

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

Definition at line 103 of file dutch_porter.cc.

◆ s_5_3

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

Definition at line 104 of file dutch_porter.cc.

◆ s_6

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

Definition at line 22 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_7

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

Definition at line 23 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_8

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

Definition at line 24 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().

◆ s_9

const symbol s_9[] = { 'h', 'e', 'i', 'd' }
static

Definition at line 25 of file dutch_porter.cc.

Referenced by Xapian::Internal::Snowball::DutchPorter::stem().