YAZ  5.34.0
modules.h
Go to the documentation of this file.
1 /* libstemmer/modules.h: List of stemming modules.
2  *
3  * This file is generated by mkmodules.pl from a list of module names.
4  * Do not edit manually.
5  *
6  * Modules included by this file are: danish, dutch, english, finnish, french,
7  * german, hungarian, italian, norwegian, porter, portuguese, romanian,
8  * russian, spanish, swedish, turkish
9  */
10 
11 #if 0
12 #include "../src_c/stem_ISO_8859_1_danish.h"
13 #include "../src_c/stem_UTF_8_danish.h"
14 #include "../src_c/stem_ISO_8859_1_dutch.h"
15 #include "../src_c/stem_UTF_8_dutch.h"
16 #include "../src_c/stem_ISO_8859_1_english.h"
17 #endif
18 
19 #include "../src_c/stem_UTF_8_english.h"
20 
21 #if 0
22 #include "../src_c/stem_ISO_8859_1_finnish.h"
23 #include "../src_c/stem_UTF_8_finnish.h"
24 #include "../src_c/stem_ISO_8859_1_french.h"
25 #include "../src_c/stem_UTF_8_french.h"
26 #include "../src_c/stem_ISO_8859_1_german.h"
27 #include "../src_c/stem_UTF_8_german.h"
28 #include "../src_c/stem_ISO_8859_1_hungarian.h"
29 #include "../src_c/stem_UTF_8_hungarian.h"
30 #include "../src_c/stem_ISO_8859_1_italian.h"
31 #include "../src_c/stem_UTF_8_italian.h"
32 #include "../src_c/stem_ISO_8859_1_norwegian.h"
33 #include "../src_c/stem_UTF_8_norwegian.h"
34 #include "../src_c/stem_ISO_8859_1_porter.h"
35 #endif
36 
37 #include "../src_c/stem_UTF_8_porter.h"
38 
39 #if 0
40 #include "../src_c/stem_ISO_8859_1_portuguese.h"
41 #include "../src_c/stem_UTF_8_portuguese.h"
42 #include "../src_c/stem_ISO_8859_2_romanian.h"
43 #include "../src_c/stem_UTF_8_romanian.h"
44 #include "../src_c/stem_KOI8_R_russian.h"
45 #include "../src_c/stem_UTF_8_russian.h"
46 #include "../src_c/stem_ISO_8859_1_spanish.h"
47 #include "../src_c/stem_UTF_8_spanish.h"
48 #include "../src_c/stem_ISO_8859_1_swedish.h"
49 #include "../src_c/stem_UTF_8_swedish.h"
50 #include "../src_c/stem_UTF_8_turkish.h"
51 #endif
52 
53 typedef enum {
58  ENC_UTF_8
60 
62  const char * name;
64 };
65 static struct stemmer_encoding encodings[] = {
66 
67 #if 0
68  {"ISO_8859_1", ENC_ISO_8859_1},
69  {"ISO_8859_2", ENC_ISO_8859_2},
70  {"KOI8_R", ENC_KOI8_R},
71 #endif
72  {"UTF_8", ENC_UTF_8},
73  {0,ENC_UNKNOWN}
74 };
75 
77  const char * name;
79  struct SN_env * (*create)(void);
80  void (*close)(struct SN_env *);
81  int (*stem)(struct SN_env *);
82 };
83 static struct stemmer_modules modules[] = {
84 #if 0
100 #endif
101 
103 
104 #if 0
106 #endif
107 
109 
110 #if 0
112 #endif
113 
115 
116 #if 0
164 
165 #endif
167 
168 #if 0
200 #endif
201 
202  {0,ENC_UNKNOWN,0,0,0}
203 };
204 static const char * algorithm_names[] = {
205 #if 0
206  "danish",
207  "dutch",
208 #endif
209  "english",
210 #if 0
211  "finnish",
212  "french",
213  "german",
214  "hungarian",
215  "italian",
216  "norwegian",
217 #endif
218  "porter",
219 #if 0
220  "portuguese",
221  "romanian",
222  "russian",
223  "spanish",
224  "swedish",
225  "turkish",
226 #endif
227  0
228 };
static struct stemmer_modules modules[]
Definition: modules.h:83
stemmer_encoding_t
Definition: modules.h:53
@ ENC_UTF_8
Definition: modules.h:58
@ ENC_ISO_8859_1
Definition: modules.h:55
@ ENC_UNKNOWN
Definition: modules.h:54
@ ENC_ISO_8859_2
Definition: modules.h:56
@ ENC_KOI8_R
Definition: modules.h:57
static struct stemmer_encoding encodings[]
Definition: modules.h:65
static const char * algorithm_names[]
Definition: modules.h:204
void danish_ISO_8859_1_close_env(struct SN_env *z)
int danish_ISO_8859_1_stem(struct SN_env *z)
struct SN_env * danish_ISO_8859_1_create_env(void)
void dutch_ISO_8859_1_close_env(struct SN_env *z)
int dutch_ISO_8859_1_stem(struct SN_env *z)
struct SN_env * dutch_ISO_8859_1_create_env(void)
struct SN_env * english_ISO_8859_1_create_env(void)
void english_ISO_8859_1_close_env(struct SN_env *z)
int english_ISO_8859_1_stem(struct SN_env *z)
int finnish_ISO_8859_1_stem(struct SN_env *z)
struct SN_env * finnish_ISO_8859_1_create_env(void)
void finnish_ISO_8859_1_close_env(struct SN_env *z)
struct SN_env * french_ISO_8859_1_create_env(void)
void french_ISO_8859_1_close_env(struct SN_env *z)
int french_ISO_8859_1_stem(struct SN_env *z)
int german_ISO_8859_1_stem(struct SN_env *z)
struct SN_env * german_ISO_8859_1_create_env(void)
void german_ISO_8859_1_close_env(struct SN_env *z)
void hungarian_ISO_8859_1_close_env(struct SN_env *z)
struct SN_env * hungarian_ISO_8859_1_create_env(void)
int hungarian_ISO_8859_1_stem(struct SN_env *z)
void italian_ISO_8859_1_close_env(struct SN_env *z)
int italian_ISO_8859_1_stem(struct SN_env *z)
struct SN_env * italian_ISO_8859_1_create_env(void)
int norwegian_ISO_8859_1_stem(struct SN_env *z)
void norwegian_ISO_8859_1_close_env(struct SN_env *z)
struct SN_env * norwegian_ISO_8859_1_create_env(void)
int porter_ISO_8859_1_stem(struct SN_env *z)
void porter_ISO_8859_1_close_env(struct SN_env *z)
struct SN_env * porter_ISO_8859_1_create_env(void)
int portuguese_ISO_8859_1_stem(struct SN_env *z)
void portuguese_ISO_8859_1_close_env(struct SN_env *z)
struct SN_env * portuguese_ISO_8859_1_create_env(void)
struct SN_env * spanish_ISO_8859_1_create_env(void)
void spanish_ISO_8859_1_close_env(struct SN_env *z)
int spanish_ISO_8859_1_stem(struct SN_env *z)
int swedish_ISO_8859_1_stem(struct SN_env *z)
void swedish_ISO_8859_1_close_env(struct SN_env *z)
struct SN_env * swedish_ISO_8859_1_create_env(void)
void romanian_ISO_8859_2_close_env(struct SN_env *z)
int romanian_ISO_8859_2_stem(struct SN_env *z)
struct SN_env * romanian_ISO_8859_2_create_env(void)
void russian_KOI8_R_close_env(struct SN_env *z)
int russian_KOI8_R_stem(struct SN_env *z)
struct SN_env * russian_KOI8_R_create_env(void)
void danish_UTF_8_close_env(struct SN_env *z)
int danish_UTF_8_stem(struct SN_env *z)
struct SN_env * danish_UTF_8_create_env(void)
void dutch_UTF_8_close_env(struct SN_env *z)
int dutch_UTF_8_stem(struct SN_env *z)
struct SN_env * dutch_UTF_8_create_env(void)
struct SN_env * english_UTF_8_create_env(void)
void english_UTF_8_close_env(struct SN_env *z)
int english_UTF_8_stem(struct SN_env *z)
struct SN_env * finnish_UTF_8_create_env(void)
int finnish_UTF_8_stem(struct SN_env *z)
void finnish_UTF_8_close_env(struct SN_env *z)
struct SN_env * french_UTF_8_create_env(void)
int french_UTF_8_stem(struct SN_env *z)
void french_UTF_8_close_env(struct SN_env *z)
int german_UTF_8_stem(struct SN_env *z)
void german_UTF_8_close_env(struct SN_env *z)
struct SN_env * german_UTF_8_create_env(void)
void hungarian_UTF_8_close_env(struct SN_env *z)
int hungarian_UTF_8_stem(struct SN_env *z)
struct SN_env * hungarian_UTF_8_create_env(void)
void italian_UTF_8_close_env(struct SN_env *z)
int italian_UTF_8_stem(struct SN_env *z)
struct SN_env * italian_UTF_8_create_env(void)
int norwegian_UTF_8_stem(struct SN_env *z)
struct SN_env * norwegian_UTF_8_create_env(void)
void norwegian_UTF_8_close_env(struct SN_env *z)
void porter_UTF_8_close_env(struct SN_env *z)
struct SN_env * porter_UTF_8_create_env(void)
int porter_UTF_8_stem(struct SN_env *z)
struct SN_env * portuguese_UTF_8_create_env(void)
void portuguese_UTF_8_close_env(struct SN_env *z)
int portuguese_UTF_8_stem(struct SN_env *z)
struct SN_env * romanian_UTF_8_create_env(void)
int romanian_UTF_8_stem(struct SN_env *z)
void romanian_UTF_8_close_env(struct SN_env *z)
int russian_UTF_8_stem(struct SN_env *z)
void russian_UTF_8_close_env(struct SN_env *z)
struct SN_env * russian_UTF_8_create_env(void)
void spanish_UTF_8_close_env(struct SN_env *z)
struct SN_env * spanish_UTF_8_create_env(void)
int spanish_UTF_8_stem(struct SN_env *z)
int swedish_UTF_8_stem(struct SN_env *z)
struct SN_env * swedish_UTF_8_create_env(void)
void swedish_UTF_8_close_env(struct SN_env *z)
struct SN_env * turkish_UTF_8_create_env(void)
void turkish_UTF_8_close_env(struct SN_env *z)
int turkish_UTF_8_stem(struct SN_env *z)
Definition: api.h:14
const char * name
Definition: modules.h:62
stemmer_encoding_t enc
Definition: modules.h:63
const char * name
Definition: modules.h:77
void(* close)(struct SN_env *)
Definition: modules.h:80
int(* stem)(struct SN_env *)
Definition: modules.h:81
stemmer_encoding_t enc
Definition: modules.h:78