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

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