Browse Source

vi: modify length for vowels

master
Anh Hoang Nguyen 6 years ago
parent
commit
2544d2fddd
1 changed files with 15 additions and 15 deletions
  1. 15
    15
      phsource/ph_vietnam

+ 15
- 15
phsource/ph_vietnam View File

IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
IF nextPh(N) OR nextPh(c) THEN IF nextPh(N) OR nextPh(c) THEN
FMT(vnasal/a_n) FMT(vnasal/a_n)
ELIF nextPh(N) THEN ELIF nextPh(N) THEN
length 200 length 200
ELSE ELSE
length 140 //200
length 180 //200
ENDIF ENDIF
FMT(vowel/a_8) FMT(vowel/a_8)
endphoneme endphoneme
IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vowel/e_e) //ee_3) FMT(vowel/e_e) //ee_3)
endphoneme endphoneme
IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vowel/e) FMT(vowel/e)
endphoneme endphoneme
length 100 length 100
FMT(vnasal/ii_n) FMT(vnasal/ii_n)
ELSE ELSE
length 140
length 180
FMT(vowel/i_4) FMT(vowel/i_4)
ENDIF ENDIF
endphoneme endphoneme
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vdiph2/o_oo) //vowel/oo) FMT(vdiph2/o_oo) //vowel/oo)
endphoneme endphoneme
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vowel/o) //vowel/oo) FMT(vowel/o) //vowel/oo)
endphoneme endphoneme
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vowel/o) // o_2) FMT(vowel/o) // o_2)
endphoneme endphoneme
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vnasal/u_n,60) //vowel/u_5) FMT(vnasal/u_n,60) //vowel/u_5)
endphoneme endphoneme
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vowel/u#_5) FMT(vowel/u#_5)
endphoneme endphoneme
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vowel/V) //vowel/@_2) FMT(vowel/V) //vowel/@_2)
endphoneme endphoneme
IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vowel/@_2) FMT(vowel/@_2)
endphoneme endphoneme
IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vnasal/oi_n) FMT(vnasal/oi_n)
endphoneme endphoneme
IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vdiph/@i_3) FMT(vdiph/@i_3)
endphoneme endphoneme
IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN IF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 240
ELSE ELSE
length 140
length 180
ENDIF ENDIF
FMT(vowel/u_3,70) FMT(vowel/u_3,70)
endphoneme endphoneme

Loading…
Cancel
Save