Browse Source

vi: modify length of phoneme y relatively to final consonants

master
Anh Hoang Nguyen 6 years ago
parent
commit
086cb75fe0
1 changed files with 20 additions and 8 deletions
  1. 20
    8
      phsource/ph_vietnam

+ 20
- 8
phsource/ph_vietnam View File

IF nextPhW(p) THEN IF nextPhW(p) THEN
length 143 length 143
ELIF nextPhW(t) THEN
ELIF nextPhW(t[) THEN
length 107 length 107
ELIF nextPhW(c) THEN ELIF nextPhW(c) THEN
length 141 length 141
vwl starttype #e endtype #e vwl starttype #e endtype #e
IF nextPhW(p) THEN IF nextPhW(p) THEN
length 114 length 114
ELIF nextPhW(t) THEN
ELIF nextPhW(t[) THEN
length 126 length 126
ELIF nextPhW(c) THEN ELIF nextPhW(c) THEN
length 140 length 140
ENDIF ENDIF
IF nextPhW(p) THEN IF nextPhW(p) THEN
length 131 length 131
ELIF nextPhW(t) THEN
ELIF nextPhW(t[) THEN
length 113 length 113
ELIF nextPhW(c) OR nextPhW(n^) THEN ELIF nextPhW(c) OR nextPhW(n^) THEN
length 72 length 72


phoneme y phoneme y
vwl starttype #u endtype #u vwl starttype #u endtype #u
IF nextPh(kh) OR nextPh(N) THEN
length 120
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
IF nextPhW(p) THEN
length 102
ELIF nextPhW(t[) THEN
length 76
ELIF nextPhW(c) THEN
length 70
ELIF nextPhW(m) THEN
length 143
ELIF nextPhW(n) THEN
length 136
ELIF nextPhW(N) THEN
length 101
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN
length 240
ELSE
length 180 length 180
ENDIF
ENDIF
FMT(vowel/u#_5) FMT(vowel/u#_5)
endphoneme endphoneme



Loading…
Cancel
Save