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.

fi_rules 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. // Finnish translation rules
  2. // This file is UTF-8 encoded
  3. .group a
  4. _) a (_ a:
  5. a a
  6. aa a:
  7. ai ai
  8. au au
  9. &) a (lla_ %a
  10. _austr) a (l a: // double the middle a in australia and its inflections.
  11. .group ä
  12. _) ä (_ &:
  13. ä &
  14. ää &:
  15. äi &i
  16. äy &y
  17. &) ä (lla_ %&
  18. .group b
  19. _) b (_ be:
  20. b b
  21. bb b:
  22. .group c
  23. _) c (_ se:
  24. c k
  25. c (i s
  26. c (e s // Pronounce c as s. Mostly foreign words such as celcius, center, cervantes, cezanne.
  27. cc k: // Utter cc as k. This includes rebecca, accord, puccini etc.
  28. city siti // Pronounce foreign word city as siti. Include all inflections and compound words.
  29. // eg. city, citystä, intercity.
  30. .group d
  31. _) d (_ de:
  32. d d
  33. dd d:
  34. .group e
  35. _) e (_ e:
  36. e e
  37. ee e:
  38. ei ei
  39. eu eu
  40. ey ey
  41. &) e(lla_ %e
  42. &) e(llä_ %e
  43. .group f
  44. _) f (_ &f
  45. f f
  46. .group g
  47. _) g (_ ge:
  48. g g
  49. gg g:
  50. .group h
  51. _) h (_ ho:
  52. h h
  53. .group i
  54. _) i (_ i:
  55. i i
  56. ii i:
  57. iu iu
  58. ie ie
  59. iy iy
  60. // iä ii& // Improve the i in iä words. Eg. ryhmiä (ryhmä), äitiä.
  61. // ia iia // Improve the i in ia words. Eg. mattia, lattia.
  62. &) i (lla_ %i
  63. .group j
  64. _) j (_ ji:
  65. j j
  66. .group k
  67. _) k (_ ko:
  68. k k
  69. kk k:
  70. .group l
  71. _) l (_ &l
  72. l l
  73. @) lle (_ lle_X1 // double the initial consonant of the next word
  74. .group m
  75. _) m (_ &m
  76. m m
  77. _sydä) m (A m: // double the m in sydämelinnen
  78. .group n
  79. _) n (_ &n
  80. n n
  81. ng N:
  82. ng (_ N
  83. n (p m
  84. n (_p m
  85. n (k N
  86. n (_k N
  87. @) nne (_ nne_X1 // double the initial consonant of the next word
  88. .group o
  89. _) o (_ o:
  90. o o
  91. oo o:
  92. oi oi
  93. ou ou
  94. symb) o (l oo // double the o in symboli. Include inflections and compound words.
  95. .group ö
  96. _) ö (_ Y:
  97. ö Y
  98. öö Y:
  99. öi Yi
  100. öy Yy
  101. .group p
  102. _) p (_ pe:
  103. p p
  104. pp p:
  105. _ole) p (a p: // double the p in olepa, olepahan.
  106. _ota) p (a p: // double the p in otapa, otapahan.
  107. kam) p (anj p: // double the p in kampanja. Include inflections and compound words.
  108. sam) p (oo p: // double the p in sampoo. Include inflections and compound words.
  109. sham) p (o p: // double the p in shampo. Include inflections and compound words.
  110. .group q
  111. _) q (_ ku:
  112. q k
  113. qq k:
  114. .group r
  115. _) r (_ &r
  116. r r
  117. A) r (A *
  118. C) r (A @-*
  119. rr *r
  120. .group s
  121. _) s (_ &s
  122. s s
  123. ss ss2 // [s2] is a continuation for [s]
  124. K) sh S
  125. @) sti (_ sti_X1 // double the initial consonant of the next word
  126. .group t
  127. _) t (_ te:
  128. t t
  129. tt t:
  130. @) tse (_ tse_X1 // double the initial consonant of the next word
  131. .group u
  132. _) u (_ u:
  133. u u
  134. uu u:
  135. ui ui
  136. uo uo
  137. .group v
  138. _) v (_ ve:
  139. v v
  140. .group w
  141. _) w (_ k'aksoisv,e:
  142. w v
  143. .group x
  144. _) x (_ &ks
  145. x ks
  146. xx k:s
  147. .group y
  148. _) y (_ y:
  149. y y
  150. yy y:
  151. yi yi
  152. yö yY
  153. .group z
  154. _) z (_ tset
  155. z ts
  156. zz t:s
  157. K) zh Z
  158. pi) zza tsa // Pronounce pizza as pitsa. Include inflections and compound words.
  159. .group 9
  160. .group
  161. å o
  162. å o:
  163. š S
  164. ž Z
  165. € euroa
  166. $ dollarin
  167. % prosent:i
  168. * asteriski