1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
From: Hideki Yamane <henrich@debian.org>
Date: Sun, 1 May 2016 23:24:46 +0900
Subject: fix typo
src/dictionary.cpp | 2 +-
src/writer.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/dictionary.cpp b/src/dictionary.cpp
index f171dd4..0ff0b05 100644
@@ -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) {
diff --git a/src/writer.cpp b/src/writer.cpp
index ed68767..0ef6975 100644
@@ -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 =
|