projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Example of punctuals removal at sentence end
[yaz-moved-to-github.git]
/
src
/
stemmer.c
diff --git
a/src/stemmer.c
b/src/stemmer.c
index
a8bf02a
..
059a053
100644
(file)
--- a/
src/stemmer.c
+++ b/
src/stemmer.c
@@
-1,13
+1,19
@@
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2011 Index Data
+ * See the file LICENSE for details.
+ */
+/**
+ * \file stemmer.c
+ * \brief Implements stemmer wrapper
+ */
#if HAVE_CONFIG_H
#if HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
#endif
#if YAZ_HAVE_ICU
#endif
#if YAZ_HAVE_ICU
-#include <yaz/yconfig.h>
-
#include <yaz/stemmer.h>
#include <yaz/xmalloc.h>
#include <yaz/stemmer.h>
#include <yaz/xmalloc.h>
@@
-27,9
+33,7
@@
struct yaz_stemmer_t
// Required for cloning.
char *locale;
char *rule;
// Required for cloning.
char *locale;
char *rule;
- union {
- struct sb_stemmer *sb_stemmer;
- };
+ struct sb_stemmer *sb_stemmer;
};
const char* yaz_stemmer_lookup_charenc(const char *charenc, const char *rule) {
};
const char* yaz_stemmer_lookup_charenc(const char *charenc, const char *rule) {