Skip to content

Commit

Permalink
Merge pull request #329 from blackteahamburger/master
Browse files Browse the repository at this point in the history
LibIME pinyin text format: fix pinyin exported
  • Loading branch information
nopdan authored Oct 12, 2024
2 parents 011ec58 + be19864 commit 77ce938
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ImeWlConverterCore/IME/LibIMEText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ public string ExportLine(WordLibrary wl)

sb.Append(wl.Word);
sb.Append(" ");
sb.Append(wl.GetPinYinString("'", BuildType.None));
sb.Append(wl.GetPinYinString("'", BuildType.None)
.Replace("lue", "lve")
.Replace("nue", "nve"));
sb.Append(" ");
sb.Append(wl.Rank);

Expand Down

0 comments on commit 77ce938

Please sign in to comment.