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.

ca_rules 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. // translation rules for Catalan
  2. // This file is UTF-8 encoded
  3. // Conditional rules
  4. // letter groups
  5. // A any vowel
  6. // C any consonant
  7. // K not a vowel (i.e. consonant or word boundary)
  8. .L01 f h l r s v w y z // continuants
  9. .L02 h l r s v w y z // continuants, not f
  10. .L03 f h r s v w y z // continuants, not l
  11. .L04 i í e é è // front vowels
  12. .L08 p t k f s // sords
  13. .L09 b d g m v l n d z r q // sonors
  14. .L10 a e o // vocals fortes
  15. .L11 i u // vocals febles
  16. .L21 p b t d k g // oclusives
  17. .L22 f v s z // fricatives
  18. .L23 m n // nasals
  19. .L24 l ll // laterals
  20. .L25 r // vibrants
  21. .group a
  22. a a
  23. ae ,aE2 // Evitem la neutralització
  24. amb (_A am // Sensibilització
  25. .group b
  26. b b
  27. b (_ p
  28. A) b (A B
  29. A_) b (A B
  30. L02) b (A B
  31. L02_) b (A B
  32. .group c
  33. c k
  34. c (L04 s
  35. .group ç
  36. ç s
  37. .group d
  38. d d
  39. d (_ t
  40. A) d (A D
  41. A_) d (A D
  42. L03) d (A D
  43. L03_) d (A D
  44. dj dZ;
  45. dv bb // Geminació
  46. .group e
  47. e E
  48. ea E2,a // Evitem la neutralització
  49. eo E2,o // Evitem la neutralització
  50. e (nt_ e
  51. .group f
  52. f f
  53. .group g
  54. g g
  55. g (_ k
  56. A) g (A Q
  57. A_) g (A Q
  58. L01) g (A Q
  59. L01_) g (A Q
  60. A) g (rA Q
  61. g (L04 Z;
  62. gu (L04 g // front vowels
  63. gui dZ;i
  64. .group h
  65. h // silent
  66. -) hi (_ 'i
  67. -) ho (_ 'U
  68. .group i
  69. i i
  70. A) i (K+ j
  71. gü) i (K i
  72. qü) i (K i
  73. i (A j
  74. i (u i
  75. A) ig (_ tS;
  76. A) ix S;
  77. .group j
  78. j Z;
  79. .group k
  80. k k
  81. .group l
  82. l l
  83. ll l^
  84. _) l' (P2 l
  85. -) la (_ la#
  86. .group m
  87. m m
  88. _) m' (P2 m
  89. mp (K m
  90. ment (_ m'Ent
  91. .group n
  92. n n
  93. _) n' (P2 n
  94. n (_ =n // unlike Spanish, the vowel is stressed
  95. e) n (_ n // except after e, i
  96. i) n (_ n
  97. nt (K n
  98. ny n^
  99. b) n (@ m
  100. v) n (@ m
  101. @) n (b m
  102. @) n (v m
  103. n (cK N
  104. ng N
  105. .group o
  106. o o
  107. or (_ 'or
  108. ou Ow
  109. .group p
  110. p p
  111. p (t p:
  112. .group q
  113. q k
  114. qu (L04 k
  115. qui kwi
  116. qü kw
  117. .group r
  118. r R
  119. _) r RR2
  120. r (_ = // final r is silent, but stress the vowel
  121. r (t **
  122. A) r (A **
  123. C) r (A **
  124. l) r (A R
  125. m) r (A R
  126. n) r (A R
  127. s) r (A R
  128. rr RR2
  129. .group s
  130. s s
  131. _) s' (P2 s
  132. ss s
  133. A) s (A z
  134. @) s (_S1 s
  135. -) se (_ s@
  136. .group t
  137. t t
  138. _) t' (P2 t
  139. tg (L04 dZ;
  140. tj dZ;
  141. tj (_ tS;
  142. tx tS;
  143. tz dz
  144. tm mm Geminació
  145. .group u
  146. u u
  147. A) u (K w
  148. u (A w
  149. u (i u
  150. uu uw
  151. .group v
  152. v B
  153. _) v v#
  154. .group w
  155. w w
  156. .group x
  157. x ks
  158. _e) x dz
  159. _è) x dz
  160. K) x S;
  161. Ai) x S;
  162. Au) x S;
  163. .group y
  164. y i
  165. y (A j
  166. .group z
  167. z z
  168. .group
  169. à ''a // force stress onto this vowel
  170. é ''e
  171. è ''E
  172. í ''i
  173. ó ''o
  174. ò ''O
  175. ú ''u
  176. ï i
  177. ŀ l
  178. ü u
  179. g) ü w
  180. ñ n^
  181. $ dola#r