eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ta_rules 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. // This file is UTF8 encoded
  2. // Spelling to phoneme rules for Tamil
  3. // B means a combining vowel sign, or a virama
  4. .replace
  5. ௦ 0 // Tamil numbers
  6. ௧ 1
  7. ௨ 2
  8. ௩ 3
  9. ௪ 4
  10. ௫ 5
  11. ௬ 6
  12. ௭ 7
  13. ௮ 8
  14. ௯ 9
  15. ொ ொ
  16. ோ ோ
  17. ௌ ௌ
  18. .group 0xe0ae // characters which start with UTF-8 bytes: [e0 ae]
  19. ஂ // anusvara
  20. ஃ // visarga
  21. அ a
  22. ஆ a:
  23. இ i
  24. ஈ i:
  25. உ u
  26. ஊ u:
  27. எ e
  28. _) எ ;e // add a short [j] sound at start of word ?
  29. ஏ e:
  30. _) ஏ ;e: // add a short [j] sound at start of word ?
  31. ஐ aI
  32. ஒ o
  33. ஓ o:
  34. ஔ aU
  35. // consonants
  36. க gV // inter-vocalic, unless there is virama before or after
  37. க (B g
  38. க (் g
  39. ்) க gV
  40. ்) க (B g
  41. _) க kV
  42. _) க (B k
  43. _) க (T gV // if word has $alt attribute in ta_list
  44. _) க (BT g // $alt
  45. க்க kkV
  46. க்க (B kk
  47. _) க (ௌ g
  48. க (ீத g
  49. க (ஜ gV
  50. _) க (ம்பீர gV
  51. _) க (ந்தர்வ gV
  52. _) க (ோவிந்த g
  53. ங NV
  54. ங (B N
  55. ச sV // ?? [z]
  56. ச (B s
  57. _) ச sa
  58. _) ச (B s
  59. ச்ச tS:V
  60. ச்ச (B tS:
  61. ற்ச tS:
  62. ற்ச (B tS:
  63. ட்) ச tSV
  64. ட்) ச (B tS
  65. ஞ்) ச dZV
  66. ஞ்) ச (B dZ
  67. _) ச (ட் tS
  68. _) ச (Bட் tS
  69. _) ச (ன் tS
  70. _) ச (Bன் tS
  71. ஜ dZV
  72. ஜ (B dZ
  73. ஞ n^V
  74. ஞ (B n^
  75. ட d.V
  76. ட (B d.
  77. // _) ட t.V
  78. // _) ட (B t.
  79. ட்ட t.t.V
  80. ட்ட (B t.t.
  81. ண n.V
  82. ண (B n.
  83. த dV
  84. த (B d
  85. _) த tV
  86. _) த (B t
  87. _) த (T dV // if word has $alt attribute in ta_list
  88. _) த (BT d // if word has $alt
  89. த்த ttV
  90. த்த (B tt
  91. // exceptions, த as [d]
  92. _) த (ன dV
  93. _) த (ர்ம dV
  94. _) த (ுர் d
  95. _) த (ூர d
  96. _) த (ெய்வ d
  97. _) த (ுஷ் d
  98. _) த (க்ஷிணா dV
  99. _) த (ண்ட dV
  100. ந nV
  101. ந (B n // dental n
  102. ன nV
  103. ன (B n // alveolar n
  104. ப bV
  105. ப (B b
  106. _) ப pV
  107. _) ப (B p
  108. _) ப (T bV // if word has $alt attribute in ta_list
  109. _) ப (BT b // if word has $alt
  110. ப்ப ppV
  111. ப்ப (B pp
  112. ட்) ப pV
  113. ட்) ப (B p
  114. ற்) ப pV
  115. ற்) ப (B p
  116. ஃ) ப fV
  117. ஃ) ப (B f
  118. _) ப (ால b
  119. _) ப (ாலு b
  120. _) ப (ானு b
  121. _) ப (ீம b
  122. _) ப (காசுர bV
  123. _) ப (ோஜ b
  124. _) ப (தில bV
  125. ம mV
  126. ம (B m
  127. ய jV
  128. ய (B j
  129. ர rV
  130. ர (B r
  131. ற RV
  132. ற (B R
  133. ற் (ற t. // RR -> t.R
  134. ல lV
  135. ல (B l
  136. ள l.V
  137. ள (B l.
  138. ழ z.V
  139. ழ (B z.
  140. வ vV
  141. வ (B v
  142. ஶ SV
  143. ஶ (B S
  144. ஷ s.V
  145. ஷ (B s.
  146. ஸ sV
  147. ஸ (B s
  148. ஹ hV
  149. ஹ (B h
  150. க்ஷ ks.V
  151. க்ஷ (B ks.
  152. // combining vowels
  153. ா a:
  154. ி i
  155. .group 0xe0af // characters which start with UTF-8 bytes: [e0 af]
  156. ீ i:
  157. ு u
  158. ூ u:
  159. ெ e
  160. ே e:
  161. ை aI
  162. ொ o
  163. ோ o:
  164. ௌ aU
  165. ் // virama
  166. ௗ : // aU length mark
  167. .group 0xe0a4 // devanagari
  168. \340\244 _^_HI // switch to hindi voice
  169. .group 0xe0a5 // devanagari
  170. \340\245 _^_HI
  171. .group
  172. ் // virama
  173. $ dolV
  174. D) . (D+ _pul.l.i
  175. !) rs (_.D ru:pi:z // Rs.
  176. __) - (_D kVz.ittVl // minus கழித்தல்
  177. A_) - (_D _
  178. C_) - (_D _