b544ebc2cf023abcb3a8b0386d5c966ab493347c
[yaz-moved-to-github.git] / src / stemmer.c
1
2
3 #if HAVE_CONFIG_H
4 #include "config.h"
5 #endif
6
7 #if YAZ_HAVE_ICU
8
9 #include <yaz/yconfig.h>
10
11 #include <yaz/stemmer.h>
12
13 #include <unicode/ustring.h>  /* some more string fcns*/
14 #include <unicode/uchar.h>    /* char names           */
15
16 struct yaz_stemmer_t
17 {
18     int implementation;
19     union {
20         struct sb_stemmer *snowballer;
21     };
22 };
23
24 yaz_stemmer_p yaz_stemmer_create(const char *locale, const char *rule, UErrorCode *status) {
25     return 0;
26 }
27
28 yaz_stemmer_p yaz_stemmer_clone(yaz_stemmer_p stemmer) {
29     return 0;
30 }
31
32 void yaz_stemmer_stem(yaz_stemmer_p stemmer, struct icu_buf_utf16 *dst, struct icu_buf_utf16* src, UErrorCode *status) {
33
34 }
35
36 void yaz_stemmer_destroy(yaz_stemmer_p stemmer) {
37
38
39 }
40
41 #endif /* YAZ_HAVE_ICU */