Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Apr 22, 2023
1 parent 1912429 commit d646c1e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ime/convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,8 @@ INT ConnectCost(const LatticeNode& n0, const LatticeNode& n1)
ret += 300;
if (n0.post == L"" && n1.post == L"ます")
ret -= 100;
if ((n0.post == L"でき" || n0.post == L"出来") && n1.post == L"ます")
ret -= 100;

return ret;
} // ConnectCost
Expand Down
2 changes: 1 addition & 1 deletion res/mzimeja.dat
Original file line number Diff line number Diff line change
Expand Up @@ -31803,7 +31803,7 @@
にほんきぎょう 名詞 日本企業
にほんこく 名詞 日本国
にほんこくけんぽう 名詞 日本国憲法
にほんご 名詞 日本語
にほんご 名詞 日本語 [優先++]
にほんごじまく 名詞 日本語字幕
にほんごのうりょく 名詞 日本語能力
にほんごばん 名詞 日本語版
Expand Down
Binary file modified res/mzimeja.dic
Binary file not shown.

0 comments on commit d646c1e

Please sign in to comment.