34 #ifndef _moot_MODELSPEC_H 35 #define _moot_MODELSPEC_H 58 mootModelSpec(
const std::string &modelname=
"",
bool try_bin=
true)
59 : binfile(
""), lexfile(
""), ngfile(
""), lcfile(
""), flafile(
"")
60 {
parse(modelname,try_bin); };
66 bool empty(
void)
const;
70 {
return !binfile.empty(); };
76 bool parse(
const std::string &modelname,
bool try_bin=
true);
Definition: mootAssocVector.h:39
bool parse(const std::string &modelname, bool try_bin=true)
std::string flafile
(txt): filename of flavor heuristic file
Definition: mootModelSpec.h:52
mootModelSpec(const std::string &modelname="", bool try_bin=true)
Definition: mootModelSpec.h:59
bool isbinary(void) const
Definition: mootModelSpec.h:70
std::string lcfile
(txt): filename of lexical-class frequency file
Definition: mootModelSpec.h:51
std::string binfile
(bin): filename of binary model; overrides text model options
Definition: mootModelSpec.h:48
std::string lexfile
(txt): filename of lexical frequency file
Definition: mootModelSpec.h:49
std::string ngfile
(txt): filename of n-gram frequency file
Definition: mootModelSpec.h:50