mirror of https://gitee.com/openkylin/mecab.git
parent
510af9f05f
commit
a3359b3f57
|
@ -466,7 +466,7 @@ bool Dictionary::compile(const Param ¶m,
|
|||
Darts::DoubleArray da;
|
||||
CHECK_DIE(da.build(str.size(), const_cast<char **>(&str[0]),
|
||||
&len[0], &val[0], &progress_bar_darts) == 0)
|
||||
<< "unkown error in building double-array";
|
||||
<< "unknown error in building double-array";
|
||||
|
||||
std::string tbuf;
|
||||
for (size_t i = 0; i < dic.size(); ++i) {
|
||||
|
|
|
@ -60,7 +60,7 @@ bool Writer::open(const Param ¶m) {
|
|||
eon_format_key += "-";
|
||||
eon_format_key += ostyle;
|
||||
const std::string tmp = param.get<std::string>(node_format_key.c_str());
|
||||
CHECK_FALSE(!tmp.empty()) << "unkown format type [" << ostyle << "]";
|
||||
CHECK_FALSE(!tmp.empty()) << "unknown format type [" << ostyle << "]";
|
||||
}
|
||||
|
||||
const std::string node_format2 =
|
||||
|
|
Loading…
Reference in New Issue