YAZ  5.34.0
modules_utf8.h
Go to the documentation of this file.
1 /* libstemmer/modules_utf8.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 #include "../src_c/stem_UTF_8_danish.h"
12 #include "../src_c/stem_UTF_8_dutch.h"
13 #include "../src_c/stem_UTF_8_english.h"
14 #include "../src_c/stem_UTF_8_finnish.h"
15 #include "../src_c/stem_UTF_8_french.h"
16 #include "../src_c/stem_UTF_8_german.h"
17 #include "../src_c/stem_UTF_8_hungarian.h"
18 #include "../src_c/stem_UTF_8_italian.h"
19 #include "../src_c/stem_UTF_8_norwegian.h"
20 #include "../src_c/stem_UTF_8_porter.h"
21 #include "../src_c/stem_UTF_8_portuguese.h"
22 #include "../src_c/stem_UTF_8_romanian.h"
23 #include "../src_c/stem_UTF_8_russian.h"
24 #include "../src_c/stem_UTF_8_spanish.h"
25 #include "../src_c/stem_UTF_8_swedish.h"
26 #include "../src_c/stem_UTF_8_turkish.h"
27 
28 typedef enum {
30  ENC_UTF_8
32 
33 struct stemmer_encoding {
34  const char * name;
36 };
37 static struct stemmer_encoding encodings[] = {
38  {"UTF_8", ENC_UTF_8},
39  {0,ENC_UNKNOWN}
40 };
41 
42 struct stemmer_modules {
43  const char * name;
45  struct SN_env * (*create)(void);
46  void (*close)(struct SN_env *);
47  int (*stem)(struct SN_env *);
48 };
49 static struct stemmer_modules modules[] = {
101  {0,ENC_UNKNOWN,0,0,0}
102 };
103 static const char * algorithm_names[] = {
104  "danish",
105  "dutch",
106  "english",
107  "finnish",
108  "french",
109  "german",
110  "hungarian",
111  "italian",
112  "norwegian",
113  "porter",
114  "portuguese",
115  "romanian",
116  "russian",
117  "spanish",
118  "swedish",
119  "turkish",
120  0
121 };
stemmer_encoding_t
Definition: modules.h:53
static struct stemmer_modules modules[]
Definition: modules_utf8.h:49
stemmer_encoding_t
Definition: modules_utf8.h:28
@ ENC_UTF_8
Definition: modules_utf8.h:30
@ ENC_UNKNOWN
Definition: modules_utf8.h:29
static struct stemmer_encoding encodings[]
Definition: modules_utf8.h:37
static const char * algorithm_names[]
Definition: modules_utf8.h:103
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