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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  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. _) க (ணே gV
  54. ங NV
  55. ங (B N
  56. ச sV // ?? [z]
  57. ச (B s
  58. _) ச sa
  59. _) ச (B s
  60. ச்ச tS:V
  61. ச்ச (B tS:
  62. ற்ச tS:
  63. ற்ச (B tS:
  64. ட்) ச tSV
  65. ட்) ச (B tS
  66. ஞ்) ச dZV
  67. ஞ்) ச (B dZ
  68. _) ச (ட் tS
  69. _) ச (Bட் tS
  70. _) ச (ன் tS
  71. _) ச (Bன் tS
  72. ஜ dZV
  73. ஜ (B dZ
  74. ஞ n^V
  75. ஞ (B n^
  76. ட d.V
  77. ட (B d.
  78. // _) ட t.V
  79. // _) ட (B t.
  80. ட்ட t.t.V
  81. ட்ட (B t.t.
  82. ண n.V
  83. ண (B n.
  84. த dV
  85. த (B d
  86. _) த tV
  87. _) த (B t
  88. _) த (T dV // if word has $alt attribute in ta_list
  89. _) த (BT d // if word has $alt
  90. த்த ttV
  91. த்த (B tt
  92. // exceptions, த as [d]
  93. _) த (ன dV
  94. _) த (ர்ம dV
  95. _) த (ுர் d
  96. _) த (ூர d
  97. _) த (ெய்வ d
  98. _) த (ுஷ் d
  99. _) த (க்ஷிணா dV
  100. _) த (ண்ட dV
  101. ந nV
  102. ந (B n // dental n
  103. ன nV
  104. ன (B n // alveolar n
  105. ப bV
  106. ப (B b
  107. _) ப pV
  108. _) ப (B p
  109. _) ப (T bV // if word has $alt attribute in ta_list
  110. _) ப (BT b // if word has $alt
  111. ப்ப ppV
  112. ப்ப (B pp
  113. ட்) ப pV
  114. ட்) ப (B p
  115. ற்) ப pV
  116. ற்) ப (B p
  117. ஃ) ப fV
  118. ஃ) ப (B f
  119. _) ப (ால b
  120. _) ப (ாலு b
  121. _) ப (ானு b
  122. _) ப (ீம b
  123. _) ப (காசுர bV
  124. _) ப (ோஜ b
  125. _) ப (தில bV
  126. _) ப (க்தி bV
  127. _) ப (ஜ bV
  128. ம mV
  129. ம (B m
  130. ய jV
  131. ய (B j
  132. ர rV
  133. ர (B r
  134. ற RV
  135. ற (B R
  136. ற் (ற t. // RR -> t.R
  137. ல lV
  138. ல (B l
  139. ள l.V
  140. ள (B l.
  141. ழ z.V
  142. ழ (B z.
  143. வ vV
  144. வ (B v
  145. ஶ SV
  146. ஶ (B S
  147. ஷ s.V
  148. ஷ (B s.
  149. ஸ sV
  150. ஸ (B s
  151. ஹ hV
  152. ஹ (B h
  153. க்ஷ ks.V
  154. க்ஷ (B ks.
  155. // combining vowels
  156. ா a:
  157. ி i
  158. .group 0xe0af // characters which start with UTF-8 bytes: [e0 af]
  159. ீ i:
  160. ு u
  161. ூ u:
  162. ெ e
  163. ே e:
  164. ை aI
  165. ொ o
  166. ோ o:
  167. ௌ aU
  168. ் // virama
  169. ௗ : // aU length mark
  170. .group 0xe0a4 // devanagari
  171. \340\244 _^_HI // switch to hindi voice
  172. .group 0xe0a5 // devanagari
  173. \340\245 _^_HI
  174. .group
  175. ் // virama
  176. $ dolV
  177. D) . (D+ _pul.l.i
  178. !) rs (_.D ru:pi:z // Rs.
  179. __) - (_D kVz.ittVl // minus கழித்தல்
  180. A_) - (_D _
  181. C_) - (_D _