Skip to content

Commit 3efc07d

Browse files
committed
Small consonant fix
1 parent 680eb14 commit 3efc07d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

KoreanCVVCPlusPhonemizer/KoreanCVVCPlusPhonemizer.cs

+2
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@ public override Result Process(Note[] notes, Note? prev, Note? next, Note? prevN
500500

501501
if ((TCLfinal == "L") && (TNLconsonant == "d")) { TNLconsonant = "dd"; }
502502

503+
if ((TCLfinal == "L") && (TNLconsonant == "j")) { TNLconsonant = "jj"; }
504+
503505
// Hanja batchim base ㄱ(g)ㄷ(d)ㅂ(b) + ㄹ(l) = ㅇ(ng)ㄴ(n)ㅁ(m) + ㄴ(n)(2)
504506
if ((TCLfinal == "K") && (NLconsonant == 5)) { TCLfinal = "NG"; TCLplainfinal = "NG"; } else if ((TCLfinal == "T") && (NLconsonant == 5)) { TCLfinal = "N"; TCLplainfinal = "N"; } else if ((TCLfinal == "P") && (NLconsonant == 5)) { TCLfinal = "M"; TCLplainfinal = "M"; }
505507
}

0 commit comments

Comments
 (0)