diff --git a/tools/Evaluator.cpp b/tools/Evaluator.cpp index d50cd513..07c18d71 100644 --- a/tools/Evaluator.cpp +++ b/tools/Evaluator.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include @@ -13,7 +13,7 @@ TokenInfo parseWordPOS(const u16string& str) { auto p = str.rfind('/'); if (p == str.npos) return {}; - u16string form{ str.begin(), str.begin() + p }; + u16string form = replace(nonstd::u16string_view(str.data(), p), u"_", u" "); if (str[p + 1] == 'E') { if (form[0] == u'아' || form[0] == u'여') form[0] = u'어';