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.

chr_rules 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. //tones
  2. .L01 xb xc xcxd xdxc xd xdxf xfxd xf
  3. //nasal consonants
  4. .L02 m n
  5. //all consonants
  6. .L03 ch d g h j k l m n s t w y
  7. //all vowels
  8. .L04 a e i o u v ạ ẹ ị ọ ụ ṿ
  9. .replace
  10. ¹ xb
  11. ² xc
  12. ³ xd
  13. ⁴ xf
  14. //CED pp xi-xii
  15. .group x
  16. xb 1
  17. xc 2
  18. xcxd 23
  19. xdxc 32
  20. xd 3
  21. xdxf 34
  22. xfxd 43
  23. xf 4
  24. //CED page x
  25. .group ɂ
  26. ɂ ?
  27. //CED - none of vowels are dipthongs, even though the pronunciation key uses dipthongs. pg ix - footnote
  28. //CED pg ix
  29. .group a
  30. //long
  31. a 0:
  32. L02) a 0~:
  33. //final word vowels are short, nasal, and have a highfall tone
  34. a (_ 0~43
  35. L02) a (_ 0~43
  36. axb (_ 0~1
  37. axc (_ 0~2
  38. axd (_ 0~3
  39. axf (_ 0~4
  40. a (L03_ 0~43
  41. a (L03L03_ 0~43
  42. a (L03L03L03_ 0~43
  43. a (L03L01 0
  44. a (L03L03L01 0
  45. a (L03L03L03L01 0
  46. L02) a (L03L01 0~
  47. L02) a (L03L03L01 0~
  48. L02) a (L03L03L03L01 0~
  49. //short followed by s has an h sound added, see CED pg x, footnote.
  50. as (L01 0h`s
  51. as (L03L01 0h`s
  52. as (L03L03L01 0h`s
  53. as (L03L03L03L01 0h`s
  54. L02) as (L01 0~h`s
  55. L02) as (L03L01 0~h`s
  56. L02) as (L03L03L01 0~h`s
  57. L02) as (L03L03L03L01 0~h`s
  58. .group e
  59. e e:
  60. L02) e e~:
  61. e (L03_ e43
  62. e (L03L03_ e43
  63. e (L03L03L03_ e43
  64. e (L03L03L03L03_ e43
  65. //final word vowels are short, nasal, and have a highfall tone
  66. e (_ e~43
  67. L02) e (_ e~43
  68. exb (_ e~1
  69. exc (_ e~2
  70. exd (_ e~3
  71. exf (_ e~4
  72. e (L03L01 e
  73. e (L03L03L01 e
  74. e (L03L03L03L01 e
  75. L02) e (L03L01 e~
  76. L02) e (L03L03L01 e~
  77. L02) e (L03L03L03L01 e~
  78. es (L01 eh`s
  79. es (L03L01 eh`s
  80. es (L03L03L01 eh`s
  81. es (L03L03L03L01 eh`s
  82. L02) es (L01 e~h`s
  83. L02) es (L03L01 e~h`s
  84. L02) es (L03L03L01 e~h`s
  85. L02) es (L03L03L03L01 e~h`s
  86. .group i
  87. i i:
  88. L02) i i~:
  89. //final word vowels are short, nasal, and have a highfall tone
  90. i (_ i~43
  91. L02) i (_ i~43
  92. ixb (_ i~1
  93. ixc (_ i~2
  94. ixd (_ i~3
  95. ixf (_ i~4
  96. i (L03_ i43
  97. i (L03L03_ i43
  98. i (L03L03L03_ i43
  99. i (L03L01 i
  100. i (L03L03L01 i
  101. i (L03L03L03L01 i
  102. L02) i (L03L01 i~
  103. L02) i (L03L03L01 i~
  104. L02) i (L03L03L03L01 i~
  105. is (L01 ih`s
  106. is (L03L01 ih`s
  107. is (L03L03L01 ih`s
  108. is (L03L03L03L01 ih`s
  109. L02) is (L01 i~h`s
  110. L02) is (L03L01 i~h`s
  111. L02) is (L03L03L01 i~h`s
  112. L02) is (L03L03L03L01 i~h`s
  113. .group o
  114. o o:
  115. L02) o o~:
  116. o (L03_ o43
  117. o (L03L03_ o43
  118. o (L03L03L03_ o43
  119. o (L03L03L03L03_ o43
  120. //final word vowels are short, nasal, and have a highfall tone
  121. o (_ o~43
  122. L02) o (_ o~43
  123. oxb (_ o~1
  124. oxc (_ o~2
  125. oxd (_ o~3
  126. oxf (_ o~4
  127. o (L03L01 o
  128. o (L03L03L01 o
  129. o (L03L03L03L01 o
  130. L02) o (L03L01 o~
  131. L02) o (L03L03L01 o~
  132. L02) o (L03L03L03L01 o~
  133. os (L01 oh`s
  134. os (L03L01 oh`s
  135. os (L03L03L01 oh`s
  136. L02) os (L01 o~h`s
  137. L02) os (L03L01 o~h`s
  138. L02) os (L03L03L01 o~h`s
  139. .group u
  140. u u:
  141. L02) u u~:
  142. u (L03_ u43
  143. u (L03L03_ u43
  144. u (L03L03L03_ u43
  145. u (L03L03L03L03_ u43
  146. //final word vowels are short, nasal, and have a highfall tone
  147. u (_ u~43
  148. L02) u (_ u~43
  149. uxb (_ u~1
  150. uxc (_ u~2
  151. uxd (_ u~3
  152. uxf (_ u~4
  153. u (L03L01 u
  154. u (L03L03L01 u
  155. u (L03L03L03L01 u
  156. L02) u (L03L01 u~
  157. L02) u (L03L03L01 u~
  158. L02) u (L03L03L03L01 u~
  159. us (L01 uh`s
  160. us (L03L01 uh`s
  161. us (L03L03L01 uh`s
  162. L02) us (L01 u~h`s
  163. L02) us (L03L01 u~h`s
  164. L02) us (L03L03L01 u~h`s
  165. .group v
  166. v &~:
  167. v (L03_ &~43
  168. v (L03L03_ &~43
  169. v (L03L03L03_ &~43
  170. v (_ &~43
  171. vxb (_ &~1
  172. vxc (_ &~2
  173. vxd (_ &~3
  174. vxf (_ &~4
  175. v (L03L01 &~
  176. v (L03L03L01 &~
  177. v (L03L03L03L01 &~
  178. vs (L01 &~h`s
  179. vs (L03L01 &~h`s
  180. vs (L03L03L01 &~h`s
  181. .group ạ
  182. ạ 0
  183. L02) ạ 0~
  184. ạ (_ 0~43
  185. ạs 0~h`s
  186. L02) ạs 0~h`s
  187. .group ẹ
  188. ẹ e
  189. L02) ẹ e~
  190. ẹ (_ e~43
  191. ẹs eh`s
  192. L02) ẹs e~h`s
  193. .group ị
  194. ị i
  195. L02) ị i~
  196. ị (_ i~43
  197. ịs ih`s
  198. L02) ịs i~h`s
  199. .group ọ
  200. ọ o
  201. L02) ọ o~
  202. ọ (_ o~43
  203. ọs oh`s
  204. L02) ọs o~h`s
  205. .group ụ
  206. ụ u
  207. L02) ụ u~
  208. ụ (_ u~43
  209. ụs uh`s
  210. L02) ụs u~h`s
  211. .group ṿ
  212. ṿ &~
  213. ṿ (_ &~43
  214. ṿs &~h`s
  215. .group ch
  216. ch tS
  217. .group d
  218. d d
  219. .group g
  220. g g
  221. .group h
  222. h h
  223. //if word ends in hn or hy, transpose the last two sounds. CED pg x footnote.
  224. hn (_ nh
  225. hn (L01_ nh
  226. hy (_ jh
  227. hy (L01_ jh
  228. .group j
  229. j dZ
  230. .group k
  231. k k
  232. .group l
  233. l l
  234. ls hls
  235. .group m
  236. m m
  237. .group n
  238. n n
  239. .group s
  240. s s
  241. .group t
  242. t t
  243. .group w
  244. w w
  245. wh (L01 w
  246. wh (L03 w
  247. .group y
  248. y j
  249. yh (L01 j
  250. yh (L03 j