Skip to content

Commit

Permalink
updated Evaluator.cpp for multi-word morpheme
Browse files Browse the repository at this point in the history
  • Loading branch information
bab2min committed Feb 12, 2024
1 parent e55fc04 commit 2204b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/Evaluator.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <fstream>
#include <fstream>
#include <iostream>

#include <kiwi/Utils.h>
Expand All @@ -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'';
Expand Down

0 comments on commit 2204b4e

Please sign in to comment.