implemented stem databases

This commit is contained in:
dockes
2005-02-10 15:21:12 +00:00
parent 3fc0738c81
commit 1a897c47b3
9 changed files with 282 additions and 89 deletions
+1 -5
View File
@@ -86,11 +86,7 @@ class myTextSplitCB : public TextSplitCB {
static string plaintorich(const string &in, const list<string>& terms,
list<pair<int, int> >&termoffsets)
{
{string t;
for (list<string>::const_iterator it = terms.begin();
it != terms.end();it++) t += "'" + *it + "' ";
LOGDEB(("plaintorich: terms: %s\n", t.c_str()));
}
LOGDEB(("plaintorich: terms: %s\n", stringlistdisp(terms).c_str()));
myTextSplitCB cb(terms);
TextSplit splitter(&cb, true);