|
a/src/rcldb/stemdb.cpp |
|
b/src/rcldb/stemdb.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: stemdb.cpp,v 1.4 2006-09-20 06:21:43 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: stemdb.cpp,v 1.5 2006-10-09 16:37:08 dockes Exp $ (C) 2005 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
|
4 |
|
5 |
/**
|
5 |
/**
|
6 |
* Management of the auxiliary databases listing stems and their expansion
|
6 |
* Management of the auxiliary databases listing stems and their expansion
|
7 |
* terms
|
7 |
* terms
|
|
... |
|
... |
252 |
explist.push_back(term);
|
252 |
explist.push_back(term);
|
253 |
}
|
253 |
}
|
254 |
LOGDEB(("stemExpand: %s -> %s\n", stem.c_str(),
|
254 |
LOGDEB(("stemExpand: %s -> %s\n", stem.c_str(),
|
255 |
stringlistdisp(explist).c_str()));
|
255 |
stringlistdisp(explist).c_str()));
|
256 |
} catch (...) {
|
256 |
} catch (...) {
|
257 |
LOGERR(("stemExpand: error accessing stem db\n"));
|
257 |
LOGERR(("stemExpand: error accessing stem db. dbdir [%s] lang [%s]\n",
|
|
|
258 |
dbdir.c_str(), lang.c_str()));
|
258 |
explist.push_back(term);
|
259 |
explist.push_back(term);
|
259 |
return explist;
|
260 |
return explist;
|
260 |
}
|
261 |
}
|
261 |
return explist;
|
262 |
return explist;
|
262 |
}
|
263 |
}
|