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.7KB

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 A::
  32. L02) a A~:
  33. //final word vowels are short, nasal, and have a highfall tone
  34. a (_ A~43
  35. L02) a (_ A~43
  36. axb (_ A~1
  37. axc (_ A~2
  38. axd (_ A~3
  39. axf (_ A~4
  40. a (L03_ A~43
  41. a (L03L03_ A~43
  42. a (L03L03L03_ A~43
  43. a (L03L01 A:
  44. a (L03L03L01 A:
  45. a (L03L03L03L01 A:
  46. L02) a (L03L01 A~
  47. L02) a (L03L03L01 A~
  48. L02) a (L03L03L03L01 A~
  49. //short followed by s has an h sound added, see CED pg x, footnote.
  50. as (L01 A:hs
  51. as (L03L01 A:hs
  52. as (L03L03L01 A:hs
  53. as (L03L03L03L01 A:hs
  54. L02) as (L01 A~hs
  55. L02) as (L03L01 A~hs
  56. L02) as (L03L03L01 A~hs
  57. L02) as (L03L03L03L01 A~hs
  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 Ehs
  79. es (L03L01 Ehs
  80. es (L03L03L01 Ehs
  81. es (L03L03L03L01 Ehs
  82. L02) es (L01 E~hs
  83. L02) es (L03L01 E~hs
  84. L02) es (L03L03L01 E~hs
  85. L02) es (L03L03L03L01 E~hs
  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 Ihs
  106. is (L03L01 Ihs
  107. is (L03L03L01 Ihs
  108. is (L03L03L03L01 Ihs
  109. L02) is (L01 I~hs
  110. L02) is (L03L01 I~hs
  111. L02) is (L03L03L01 I~hs
  112. L02) is (L03L03L03L01 I~hs
  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 ohs
  134. os (L03L01 ohs
  135. os (L03L03L01 ohs
  136. L02) os (L01 o~hs
  137. L02) os (L03L01 o~hs
  138. L02) os (L03L03L01 o~hs
  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 uhs
  160. us (L03L01 uhs
  161. us (L03L03L01 uhs
  162. L02) us (L01 u~hs
  163. L02) us (L03L01 u~hs
  164. L02) us (L03L03L01 u~hs
  165. .group v
  166. v W~:
  167. v (L03_ W~43
  168. v (L03L03_ W~43
  169. v (L03L03L03_ W~43
  170. v (_ W~43
  171. vxb (_ W~1
  172. vxc (_ W~2
  173. vxd (_ W~3
  174. vxf (_ W~4
  175. v (L03L01 W~
  176. v (L03L03L01 W~
  177. v (L03L03L03L01 W~
  178. vs (L01 W~hs
  179. vs (L03L01 W~hs
  180. vs (L03L03L01 W~hs
  181. .group ạ
  182. ạ A:
  183. L02) ạ A~
  184. ạ (_ A~43
  185. ạs A~hs
  186. L02) ạs A~hs
  187. .group ẹ
  188. ẹ E
  189. L02) ẹ E~
  190. ẹ (_ E~43
  191. ẹs Ehs
  192. L02) ẹs E~hs
  193. .group ị
  194. ị I
  195. L02) ị I~
  196. ị (_ I~43
  197. ịs Ihs
  198. L02) ịs I~hs
  199. .group ọ
  200. ọ o
  201. L02) ọ o~
  202. ọ (_ o~43
  203. ọs ohs
  204. L02) ọs o~hs
  205. .group ụ
  206. ụ u
  207. L02) ụ u~
  208. ụ (_ u~43
  209. ụs uhs
  210. L02) ụs u~hs
  211. .group ṿ
  212. ṿ W~
  213. ṿ W~43
  214. ṿs W~hs
  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