projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bfdd9c
)
out-defined logging of stemming
author
Dennis Schafroth
<dennis@indexdata.com>
Fri, 11 Mar 2011 12:36:39 +0000
(13:36 +0100)
committer
Dennis Schafroth
<dennis@indexdata.com>
Fri, 11 Mar 2011 12:36:39 +0000
(13:36 +0100)
src/stemmer.c
patch
|
blob
|
history
diff --git
a/src/stemmer.c
b/src/stemmer.c
index
e67d9b1
..
a8bf02a
100644
(file)
--- a/
src/stemmer.c
+++ b/
src/stemmer.c
@@
-89,8
+89,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);