vi: add new vowel phoneme data

This commit is contained in:
Anh Hoang Nguyen
2019-03-19 06:00:18 +07:00
parent af94c95de3
commit 2bb28c8bf5
10 changed files with 29 additions and 19 deletions
+3 -1
View File
@@ -2,4 +2,6 @@ name Vietnamese (Northern)
language vi language vi
words 1 words 1
pitch 90 170 pitch 100 180
tone 100 225 800 100 2000 50 5400 75 8000 200
+26 -18
View File
@@ -96,7 +96,7 @@ phoneme a:
ELIF nextPhW(N) THEN ELIF nextPhW(N) THEN
length 173 length 173
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 280 length 300
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN
length 240 length 240
ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN
@@ -104,8 +104,8 @@ phoneme a:
ELSE ELSE
length 180 length 180
ENDIF ENDIF
FMT(vowel/a_8) //FMT(vowel/a_8)
//FMT(vietnam/a_2) FMT(vietnam/aa)
endphoneme endphoneme
@@ -133,7 +133,8 @@ phoneme E
ELSE ELSE
length 180 length 180
ENDIF ENDIF
FMT(vowel/e_e) //ee_3) //FMT(vowel/e_e) //ee_3)
FMT(vietnam/e_e)
endphoneme endphoneme
phoneme e phoneme e
@@ -153,7 +154,7 @@ phoneme e
ELIF nextPhW(N) THEN ELIF nextPhW(N) THEN
length 115 length 115
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 270 length 300
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN
length 240 length 240
ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN
@@ -164,7 +165,7 @@ phoneme e
IF nextPh(n^) THEN IF nextPh(n^) THEN
FMT(vowel/e) FMT(vowel/e)
ELSE ELSE
FMT(vietnam/e) FMT(vietnam/e_2)
ENDIF ENDIF
endphoneme endphoneme
@@ -207,9 +208,11 @@ phoneme i
length 180 length 180
ENDIF ENDIF
IF nextPh(n^) OR nextPh(c) THEN IF nextPh(n^) OR nextPh(c) THEN
FMT(vnasal/ii_n) //FMT(vnasal/ii_n)
FMT(vietnam/i)
ELSE ELSE
FMT(vowel/i_4) //FMT(vowel/i_4)
FMT(vietnam/i)
ENDIF ENDIF
endphoneme endphoneme
@@ -229,7 +232,7 @@ phoneme O
ELIF nextPhW(N) THEN ELIF nextPhW(N) THEN
length 102 length 102
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 280 length 300
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN
length 240 length 240
ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN
@@ -237,7 +240,8 @@ phoneme O
ELSE ELSE
length 180 length 180
ENDIF ENDIF
FMT(vdiph2/o_oo) //vowel/oo) //FMT(vdiph2/o_oo) //vowel/oo)
FMT(vietnam/O)
endphoneme endphoneme
phoneme O+ phoneme O+
@@ -275,7 +279,8 @@ phoneme o
ELSE ELSE
length 180 length 180
ENDIF ENDIF
FMT(vowel/o) // o_2) //FMT(vowel/o) // o_2)
FMT(vietnam/o)
endphoneme endphoneme
@@ -295,7 +300,7 @@ phoneme u
ELIF nextPhW(N) THEN ELIF nextPhW(N) THEN
length 80 length 80
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 280 length 300
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN
length 240 length 240
ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN
@@ -303,7 +308,8 @@ phoneme u
ELSE ELSE
length 180 length 180
ENDIF ENDIF
FMT(vnasal/u_n) //vowel/u_5) //FMT(vnasal/u_n) //vowel/u_5)
FMT(vietnam/u)
endphoneme endphoneme
phoneme y phoneme y
@@ -321,7 +327,7 @@ phoneme y
ELIF nextPhW(N) THEN ELIF nextPhW(N) THEN
length 101 length 101
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 270 length 300
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN
length 240 length 240
ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN
@@ -329,7 +335,8 @@ phoneme y
ELSE ELSE
length 180 length 180
ENDIF ENDIF
FMT(vowel/u#_5) //FMT(vowel/u#_5)
FMT(vietnam/y)
endphoneme endphoneme
@@ -375,7 +382,7 @@ phoneme @:
ELIF nextPhW(N) THEN ELIF nextPhW(N) THEN
length 156 length 156
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 280 length 300
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordStart) THEN
length 240 length 240
ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN ELIF thisPh(isWordStart) AND thisPh(isWordEnd) THEN
@@ -383,7 +390,8 @@ phoneme @:
ELSE ELSE
length 180 length 180
ENDIF ENDIF
FMT(vowel/@_2) //FMT(vowel/@_2)
FMT(vietnam/@_2)
endphoneme endphoneme
@@ -586,7 +594,7 @@ phoneme o# // ông
IF nextPhW(k) THEN IF nextPhW(k) THEN
length 120 length 120
ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN ELIF thisPh(isFirstVowel) AND thisPh(isFinalVowel) AND thisPh(isWordEnd) THEN
length 240 length 360
ELSE ELSE
length 200 length 200
ENDIF ENDIF
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.