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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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 k
  113. qq k:
  114. .group r
  115. r r
  116. .group s
  117. s s
  118. ss ss2 // [s2] is a continuation for [s]
  119. K) sh S
  120. @) sh (an_ sh
  121. @) sh (än_ sh // preesens+hän and similar ones with sh as separate sounds
  122. K) sch S // Schmitt
  123. 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)
  124. .group t
  125. t t
  126. tt t:
  127. tz ts // German names. Instead of former [tts]
  128. @) tse (_ tse_X1 // double the initial consonant of the next word
  129. .group u
  130. u u
  131. uu u:
  132. ui wi
  133. _) ui ui
  134. _j) ui ui // [ui] sounds better than [wi] when stressed. Especially <jui> at the beginning of the word sounds bad if pronounced [jwi]
  135. uii u|i:
  136. uo uo
  137. uoo u|o:
  138. .group v
  139. v v
  140. .group w
  141. w v
  142. .group x
  143. x ks
  144. xx k:s
  145. .group y
  146. y y
  147. yy y:
  148. yi yi
  149. yii y|i:
  150. yö yY
  151. yöö y|Y:
  152. .group z
  153. z ts
  154. zz ts // pizza
  155. K) zh Z
  156. .group
  157. å o
  158. åå o:
  159. ü y
  160. üü y:
  161. š S
  162. ž Z
  163. $ dollarin
  164. __) - (_D mi:nus
  165. A_) - (_D _
  166. C_) - (_D _