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

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