X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fstemmer.c;h=21682a3654ef23f8b6290da9059e2242ebf9c33f;hb=9549afd48c2dc297f9bcd832d7ef9cea8c336f13;hp=cdc105304557420bf446f30f4039af6112ff0fb6;hpb=095bd74d0cc1cfd3bd4123da0a5fbeafbd1462ce;p=yaz-moved-to-github.git diff --git a/src/stemmer.c b/src/stemmer.c index cdc1053..21682a3 100644 --- a/src/stemmer.c +++ b/src/stemmer.c @@ -1,13 +1,11 @@ #if HAVE_CONFIG_H -#include "config.h" +#include #endif #if YAZ_HAVE_ICU -#include - #include #include @@ -87,8 +85,12 @@ void yaz_stemmer_stem(yaz_stemmer_p stemmer, struct icu_buf_utf16 *dst, struct i icu_buf_utf16_copy(dst, src); } else { - const char *cstr = (const char *) sb_symbol; - icu_utf16_from_utf8_cstr(dst, cstr , status); + + const char *cstr2 = (const char *) sb_symbol; + icu_utf16_from_utf8_cstr(dst, cstr2 , status); +#if 0 + yaz_log(YLOG_DEBUG, "stemming %s to %s ", cstr, cstr2); +#endif } } icu_buf_utf8_destroy(utf8_buf);