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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. // Finnish translation rules
  2. // This file is UTF-8 encoded
  3. // NOTE: aii, auu, eii etc. are pronounced [a|i:], [a|u:] and [e|i],
  4. // but aaii, aauu and eeii must be pronounced [a:i:], [a:u:] and [e:i:].
  5. .group a
  6. a a
  7. aa a:
  8. ai ai
  9. aii a|i: // naiivi
  10. au au
  11. auu a|u:
  12. &) a (lla_ %a
  13. _austr) a (l a: // double the middle a in australia and its inflections.
  14. .group ä
  15. ä &
  16. ää &:
  17. äi &i
  18. äii &|i:
  19. äy &y
  20. äyy &|y:
  21. &) ä (lla_ %&
  22. .group b
  23. b b
  24. bb b:
  25. .group c
  26. c k
  27. c (i s
  28. c (e s // Pronounce c as s. Mostly foreign words such as celcius, center, cervantes, cezanne.
  29. c (y s
  30. cc k: // Utter cc as k. This includes rebecca, accord, puccini etc.
  31. K) ch (r k
  32. city siti // Pronounce foreign word city as siti. Include all inflections and compound words.
  33. // eg. city, citystä, intercity.
  34. .group d
  35. d d
  36. dd d:
  37. .group e
  38. e e
  39. ee e:
  40. ei ei
  41. eii e|i: // fenoliftaleiini
  42. eu eu
  43. euu e|u:
  44. ey ey
  45. eyy e|y:
  46. &) e(lla_ %e
  47. &) e(llä_ %e
  48. .group f
  49. f f
  50. .group g
  51. g g
  52. gg g:
  53. .group h
  54. h h
  55. .group i
  56. i i
  57. ii i:
  58. iu iu
  59. iuu i|u:
  60. ie ie
  61. iee i|e: // dieetti
  62. iy iy
  63. iyy i|y:
  64. // iä ii& // Improve the i in iä words. Eg. ryhmiä (ryhmä), äitiä.
  65. // ia iia // Improve the i in ia words. Eg. mattia, lattia.
  66. &) i (lla_ %i
  67. .group j
  68. j j
  69. .group k
  70. k k
  71. kk k:
  72. .group l
  73. l l
  74. @) lle (_ lle_X1 // double the initial consonant of the next word
  75. .group m
  76. m m
  77. _sydä) m (A m: // double the m in sydämelinnen
  78. .group n
  79. n n
  80. ng N:
  81. ng (K N // ng is [N] also when followed by a consonant
  82. n (p m
  83. n (_p m
  84. n (k N
  85. n (_k N
  86. @) nne (_ nne_X1 // double the initial consonant of the next word
  87. .group o
  88. o o
  89. oo o:
  90. oi oi
  91. oii o|i: // heroiini
  92. ou ou
  93. ouu o|u:
  94. symb) o (l o: // double the o in symboli. Include inflections and compound words.
  95. symb) o (loi o // symboloida with short o
  96. .group ö
  97. ö Y
  98. öö Y:
  99. öi Yi
  100. öii Y|i:
  101. öy Yy
  102. öyy Y|y:
  103. .group p
  104. p p
  105. pp p:
  106. _ole) p (a p: // double the p in olepa, olepahan.
  107. _ota) p (a p: // double the p in otapa, otapahan.
  108. kam) p (anj p: // double the p in kampanja. Include inflections and compound words.
  109. // sam) p (oo p: // double the p in sampoo. Include inflections and compound words. ”Sampoon” is an inflected form of the word ”sampo” and has a short p. It is not wrong to pronounce sampoo as [s'ampo:] either. Don’t double the p.
  110. sham) p (o p: // double the p in shampo. Include inflections and compound words.
  111. .group q
  112. q q
  113. qq q:
  114. .group r
  115. r r
  116. CA) rg (_ Rj // follow swedish pronunciation
  117. _CA) rg (C Rj // follow swedish pronunciation
  118. ruoan ru:an // Pronounce ruoan as ruuan. Include all inflections and compound words.
  119. // eg. ruoanlaitto, ruoankin, arkiruoan
  120. .group s
  121. s s
  122. ss ss2 // [s2] is a continuation for [s]
  123. K) sh S
  124. @) sh (an_ sh
  125. @) sh (än_ sh // preesens+hän and similar ones with sh as separate sounds
  126. K) sch S // Schmitt
  127. A) sti (_ sti_X1 // double the initial consonant of the next word only when the –sti ending is preceded by a vowel (e.g. ”teksti” does not double)
  128. .group t
  129. t t
  130. tt t:
  131. tz ts // German names. Instead of former [tts]
  132. @) tse (_ tse_X1 // double the initial consonant of the next word
  133. .group u
  134. u u
  135. uu u:
  136. ui ui
  137. // _) ui ui
  138. // _j) ui ui // [ui] sounds better than [wi] when stressed. Especially <jui> at the beginning of the word sounds bad if pronounced [jwi]
  139. uii u|i:
  140. uo uo
  141. uoo u|o:
  142. .group v
  143. v v
  144. .group w
  145. w v
  146. .group x
  147. x ks
  148. xx k:s
  149. .group y
  150. y y
  151. yy y:
  152. yi yi
  153. yii y|i:
  154. yö yY
  155. yöö y|Y:
  156. .group z
  157. z ts
  158. zz ts // pizza
  159. K) zh Z
  160. .group
  161. å o
  162. åå o:
  163. ü y
  164. üü y:
  165. š S
  166. ž Z
  167. $ dollarin
  168. __) - (_D mi:nus
  169. A_) - (_D _
  170. C_) - (_D _