Skip to content

Commit

Permalink
Another "l" VC/CC fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lottev1991 committed Oct 13, 2023
1 parent 1cbf347 commit 97b76fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions KoreanCVVCPlusPhonemizer/KoreanCVVCPlusPhonemizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,9 @@ public override Result Process(Note[] notes, Note? prev, Note? next, Note? prevN
if (nextExist && nextHangeul && (TCLfinal != "")) {
if (((PLfinal == 8) && (TNLconsonant == "r") || ((PLfinal == 13) && (TCLconsonant == "r")) || ((PLfinal == 15) && (TCLconsonant == "r")))) { TCLconsonant = "l"; }
}
if (nextExist && nextHangeul && (TCLfinal != "")) {
if ((TCLfinal == "N") && (TNLconsonant == "r")) { TCLfinal = "L"; TCLplainfinal = "L"; TNLconsonant = TNLconsonant.Replace("r", "l"); }
}


// 8. Batchim + ㄹ(r) = ㄹㄹ(l)
Expand Down

0 comments on commit 97b76fa

Please sign in to comment.