diff --git a/src/dictionary.cpp b/src/dictionary.cpp index f171dd4..0ff0b05 100644 --- a/src/dictionary.cpp +++ b/src/dictionary.cpp @@ -466,7 +466,7 @@ bool Dictionary::compile(const Param ¶m, Darts::DoubleArray da; CHECK_DIE(da.build(str.size(), const_cast(&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) { diff --git a/src/writer.cpp b/src/writer.cpp index ed68767..0ef6975 100644 --- a/src/writer.cpp +++ b/src/writer.cpp @@ -60,7 +60,7 @@ bool Writer::open(const Param ¶m) { eon_format_key += "-"; eon_format_key += ostyle; const std::string tmp = param.get(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 =