|
a/src/rcldb/expansiondbs.cpp |
|
b/src/rcldb/expansiondbs.cpp |
|
... |
|
... |
42 |
LOGDEB(("StemDb::createExpansionDbs: languages: %s\n",
|
42 |
LOGDEB(("StemDb::createExpansionDbs: languages: %s\n",
|
43 |
stringsToString(langs).c_str()));
|
43 |
stringsToString(langs).c_str()));
|
44 |
Chrono cron;
|
44 |
Chrono cron;
|
45 |
|
45 |
|
46 |
// Erase and recreate all the expansion groups
|
46 |
// Erase and recreate all the expansion groups
|
|
|
47 |
|
|
|
48 |
// If langs is empty and we don't need casediac expansion, then no need to
|
|
|
49 |
// walk the big list
|
|
|
50 |
if (langs.empty()) {
|
|
|
51 |
#ifndef RCL_INDEX_STRIPCHARS
|
|
|
52 |
if (o_index_stripchars)
|
|
|
53 |
#endif
|
|
|
54 |
return true;
|
|
|
55 |
}
|
47 |
|
56 |
|
48 |
// Stem dbs
|
57 |
// Stem dbs
|
49 |
vector<XapWritableComputableSynFamMember> stemdbs;
|
58 |
vector<XapWritableComputableSynFamMember> stemdbs;
|
50 |
// Note: tried to make this to work with stack-allocated objects, couldn't.
|
59 |
// Note: tried to make this to work with stack-allocated objects, couldn't.
|
51 |
// Looks like a bug in copy constructors somewhere, can't guess where
|
60 |
// Looks like a bug in copy constructors somewhere, can't guess where
|