summaryrefslogtreecommitdiff
path: root/src/include/snowball
diff options
context:
space:
mode:
authorPeter Eisentraut2019-07-04 11:10:41 +0000
committerPeter Eisentraut2019-07-04 11:26:48 +0000
commit7b925e12703652fef63a2fbbb28d3407b2971d6e (patch)
treebbff71679e362a66e3547b6c1298d5505858866e /src/include/snowball
parentdedb6e0143554e76d4d11376d65c0aa68f8412d4 (diff)
Sync our Snowball stemmer dictionaries with current upstream
The main change is a new stemmer for Greek. There are minor changes in the Danish and French stemmers. Author: Panagiotis Mavrogiorgos <pmav99@gmail.com>
Diffstat (limited to 'src/include/snowball')
-rw-r--r--src/include/snowball/libstemmer/api.h7
-rw-r--r--src/include/snowball/libstemmer/stem_UTF_8_greek.h16
2 files changed, 23 insertions, 0 deletions
diff --git a/src/include/snowball/libstemmer/api.h b/src/include/snowball/libstemmer/api.h
index 8b997f0c298..7ed7995f9e1 100644
--- a/src/include/snowball/libstemmer/api.h
+++ b/src/include/snowball/libstemmer/api.h
@@ -19,8 +19,15 @@ struct SN_env {
unsigned char * B;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern struct SN_env * SN_create_env(int S_size, int I_size, int B_size);
extern void SN_close_env(struct SN_env * z, int S_size);
extern int SN_set_current(struct SN_env * z, int size, const symbol * s);
+#ifdef __cplusplus
+}
+#endif
diff --git a/src/include/snowball/libstemmer/stem_UTF_8_greek.h b/src/include/snowball/libstemmer/stem_UTF_8_greek.h
new file mode 100644
index 00000000000..bf1cc6ca01f
--- /dev/null
+++ b/src/include/snowball/libstemmer/stem_UTF_8_greek.h
@@ -0,0 +1,16 @@
+/* This file was generated automatically by the Snowball to ISO C compiler */
+/* http://snowballstem.org/ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern struct SN_env * greek_UTF_8_create_env(void);
+extern void greek_UTF_8_close_env(struct SN_env * z);
+
+extern int greek_UTF_8_stem(struct SN_env * z);
+
+#ifdef __cplusplus
+}
+#endif
+