From 772ac982165db09a51dacb731ca5f5e2512a984e Mon Sep 17 00:00:00 2001 From: Anh Hoang Nguyen Date: Sat, 16 Mar 2019 10:05:50 +0700 Subject: [PATCH] vi: modify length of vowel u relatively to final consonants --- phsource/ph_vietnam | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/phsource/ph_vietnam b/phsource/ph_vietnam index 54e359ed..4a38152a 100644 --- a/phsource/ph_vietnam +++ b/phsource/ph_vietnam @@ -232,18 +232,24 @@ endphoneme phoneme u vwl starttype #u endtype #u - IF nextPhW(N) OR nextPhW(c) OR nextPhW(t[) THEN - length 80 + IF nextPhW(p) THEN + length 110 + ELIF nextPhW(t[) THEN + length 94 + ELIF nextPhW(c) THEN + length 83 ELIF nextPhW(m) THEN - length 177 - ELIF nextPhW(n) THEN length 141 + ELIF nextPhW(n) THEN + length 177 + ELIF nextPhW(N) THEN + length 80 ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN length 240 - ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) AND NOT nextPhW(N) AND NOT nextPhW(c) AND NOT nextPhW(t[) THEN + ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN length 240 ELSE - length 120 + length 180 ENDIF FMT(vnasal/u_n) //vowel/u_5) endphoneme