| 1 |
|
| 2 |
// Phonemes for Tamil |
| 3 |
// This inherits from ph_hindi |
| 4 |
|
| 5 |
|
| 6 |
phoneme @ |
| 7 |
vwl starttype #@ endtype #@ |
| 8 |
length 130 |
| 9 |
FMT(vowel/V_2) |
| 10 |
endphoneme |
| 11 |
|
| 12 |
phoneme a |
| 13 |
vwl starttype #a endtype #a |
| 14 |
length 130 |
| 15 |
ChangeIfNotStressed(V) |
| 16 |
FMT(vowel/a) |
| 17 |
endphoneme |
| 18 |
|
| 19 |
phoneme V |
| 20 |
vwl starttype #@ endtype #@ |
| 21 |
ipa ʌ |
| 22 |
length 130 |
| 23 |
IF nextPh(isWordEnd) AND nextPh(m) THEN |
| 24 |
ChangePhoneme(@) |
| 25 |
ENDIF |
| 26 |
FMT(vowel/V_3) |
| 27 |
endphoneme |
| 28 |
|
| 29 |
phoneme V# // omit if the next phoneme is a vowel |
| 30 |
vwl starttype #@ endtype #@ |
| 31 |
length 130 |
| 32 |
IF nextPhW(isVowel) OR nextPhW(#) THEN |
| 33 |
ChangePhoneme(NULL) |
| 34 |
ENDIF |
| 35 |
ChangePhoneme(V) |
| 36 |
endphoneme |
| 37 |
|
| 38 |
phoneme a: |
| 39 |
vwl starttype #a endtype #a |
| 40 |
length 300 |
| 41 |
FMT(vowel/a_5) |
| 42 |
endphoneme |
| 43 |
|
| 44 |
|
| 45 |
phoneme e |
| 46 |
vwl starttype #e endtype #e |
| 47 |
length 130 |
| 48 |
FMT(vowel/e) |
| 49 |
endphoneme |
| 50 |
|
| 51 |
|
| 52 |
phoneme e: |
| 53 |
vwl starttype #e endtype #e |
| 54 |
length 250 |
| 55 |
FMT(vowel/e) |
| 56 |
endphoneme |
| 57 |
|
| 58 |
|
| 59 |
phoneme i |
| 60 |
vwl starttype #i endtype #i |
| 61 |
length 130 |
| 62 |
IF thisPh(isWordEnd) AND thisPh(isNotStressed) THEN |
| 63 |
FMT(vowel/ii_5) |
| 64 |
ENDIF |
| 65 |
FMT(vowel/i_6) |
| 66 |
endphoneme |
| 67 |
|
| 68 |
|
| 69 |
phoneme i: |
| 70 |
vwl starttype #i endtype #i |
| 71 |
length 270 |
| 72 |
FMT(vowel/i) |
| 73 |
endphoneme |
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
phoneme o |
| 78 |
vwl starttype #o endtype #o |
| 79 |
length 130 |
| 80 |
FMT(vowel/o) |
| 81 |
endphoneme |
| 82 |
|
| 83 |
|
| 84 |
phoneme o: |
| 85 |
vwl starttype #o endtype #o |
| 86 |
length 300 |
| 87 |
FMT(vowel/o) |
| 88 |
endphoneme |
| 89 |
|
| 90 |
|
| 91 |
phoneme u |
| 92 |
vwl starttype #u endtype #u |
| 93 |
length 110 |
| 94 |
ChangeIfNotStressed(U) |
| 95 |
FMT(vowel/u_6) |
| 96 |
endphoneme |
| 97 |
|
| 98 |
phoneme u2 // as [u] but don't reduce |
| 99 |
vwl starttype #u endtype #u |
| 100 |
length 110 |
| 101 |
FMT(vowel/u_6) |
| 102 |
endphoneme |
| 103 |
|
| 104 |
phoneme U |
| 105 |
vwl starttype #u endtype #u |
| 106 |
ipa ʉ |
| 107 |
length 110 |
| 108 |
FMT(vowel/u#_3) |
| 109 |
endphoneme |
| 110 |
|
| 111 |
phoneme u: |
| 112 |
vwl starttype #u endtype #u |
| 113 |
length 280 |
| 114 |
IF prevPhW(isVelar) THEN |
| 115 |
ELSE |
| 116 |
ChangeIfNotStressed(U:) |
| 117 |
ENDIF |
| 118 |
FMT(vowel/u_6) |
| 119 |
endphoneme |
| 120 |
|
| 121 |
phoneme U: |
| 122 |
vwl starttype #u endtype #u |
| 123 |
ipa ʉ |
| 124 |
length 270 |
| 125 |
FMT(vowel/u#_3) |
| 126 |
endphoneme |
| 127 |
|
| 128 |
|
| 129 |
phoneme aI |
| 130 |
vwl starttype #a endtype #i |
| 131 |
length 280 |
| 132 |
FMT(vdiph/ai_8) |
| 133 |
endphoneme |
| 134 |
|
| 135 |
phoneme aU |
| 136 |
vwl starttype #a endtype #u |
| 137 |
length 270 |
| 138 |
FMT(vdiph/au) |
| 139 |
endphoneme |
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
phoneme t |
| 144 |
import_phoneme base2/t // dental |
| 145 |
endphoneme |
| 146 |
|
| 147 |
// ?? This is standard [v]. Should be it [v] without the fricative noise? |
| 148 |
phoneme v |
| 149 |
import_phoneme base1/v |
| 150 |
endphoneme |
| 151 |
|
| 152 |
phoneme : // Lengthen previous vowel by "length" |
| 153 |
virtual |
| 154 |
length 50 |
| 155 |
endphoneme |
| 156 |
|
| 157 |
phoneme # // a NULL phoneme for 'virama' |
| 158 |
virtual |
| 159 |
ChangePhoneme(NULL) |
| 160 |
endphoneme |
| 161 |
|
| 162 |
phoneme z. |
| 163 |
CALL base1/z. |
| 164 |
ipa U+027B |
| 165 |
endphoneme |
| 166 |
|
| 167 |
phoneme r |
| 168 |
import_phoneme base1/r |
| 169 |
endphoneme |
| 170 |
|