From 97b76fab20340fc0a11acac15f52cc91ca0c2cda Mon Sep 17 00:00:00 2001 From: Lotte V Date: Sat, 14 Oct 2023 01:42:15 +0200 Subject: [PATCH] Another "l" VC/CC fix --- KoreanCVVCPlusPhonemizer/KoreanCVVCPlusPhonemizer.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/KoreanCVVCPlusPhonemizer/KoreanCVVCPlusPhonemizer.cs b/KoreanCVVCPlusPhonemizer/KoreanCVVCPlusPhonemizer.cs index 4da154e..254ce47 100644 --- a/KoreanCVVCPlusPhonemizer/KoreanCVVCPlusPhonemizer.cs +++ b/KoreanCVVCPlusPhonemizer/KoreanCVVCPlusPhonemizer.cs @@ -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)