highlighter application  1.1
HCE project utils : highlighter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
libstemmer.h
Go to the documentation of this file.
1 
2 /* Make header file work when included from C++ */
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 
7 struct sb_stemmer;
8 typedef unsigned char sb_symbol;
9 
10 /* FIXME - should be able to get a version number for each stemming
11  * algorithm (which will be incremented each time the output changes). */
12 
20 const char ** sb_stemmer_list(void);
21 
46 struct sb_stemmer * sb_stemmer_new(const char * algorithm, const char * charenc);
47 
56 void sb_stemmer_delete(struct sb_stemmer * stemmer);
57 
68 const sb_symbol * sb_stemmer_stem(struct sb_stemmer * stemmer,
69  const sb_symbol * word, int size);
70 
74 int sb_stemmer_length(struct sb_stemmer * stemmer);
75 
76 #ifdef __cplusplus
77 }
78 #endif
79