+/* 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
-#include "config.h"
+#include <config.h>
#endif
#if YAZ_HAVE_ICU
-#include <yaz/yconfig.h>
-
#include <yaz/stemmer.h>
#include <yaz/xmalloc.h>
// 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) {