Skip to content

Commit

Permalink
ZH CVVC: add test for mixed hanzi and pinyin lyric
Browse files Browse the repository at this point in the history
  • Loading branch information
oxygen-dioxide authored and stakira committed Aug 14, 2024
1 parent 1ee91e4 commit 74e46c7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion OpenUtau.Test/Plugins/ZhCvvcTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ protected override Phonemizer CreatePhonemizer() {
new string[] { "", "", "" },
new string[] { "- niF4", "i hF4", "haoC#4", "ao RC#4" })]


//Mixed hanzi and pinyin input
[InlineData("zh_cvvc",
new string[] { "鸡", "ni", "tai", "美" },
new string[] { "", "", "", "" },
new string[] { "F4", "F4", "F4", "F4" },
new string[] { "", "", "", "" },
new string[] { "- jiF4", "i nyF4", "niF4", "i tF4", "taiF4", "ai mF4", "meiF4", "ei RF4" })]

public void PhonemizeTest(string singerName, string[] lyrics, string[] alts, string[] tones, string[] colors, string[] aliases) {
RunPhonemizeTest(singerName, lyrics, alts, tones, colors, aliases);
}
Expand Down

0 comments on commit 74e46c7

Please sign in to comment.