Switch to side-by-side view
--- a/src/qtgui/main.cpp +++ b/src/qtgui/main.cpp @@ -93,6 +93,17 @@ return false; } rcldb->setAbstractParams(-1, prefs.syntAbsLen, prefs.syntAbsCtx); + return true; +} + +bool getStemLangs(list<string>& langs) +{ + string reason; + if (!maybeOpenDb(reason)) { + LOGERR(("getStemLangs: %s\n", reason.c_str())); + return false; + } + langs = rcldb->getStemLangs(); return true; }