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.

hbs_rules 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. // "hbs" is the ISO 639-3 code for Serbian/Croatian/Bosnian macrolanguage
  2. // This file is UTF-8 encoded
  3. //The next line gives a voice which is used to find a phoneme table to use to compile this dictionary
  4. //voice=hr
  5. // Conditional rules:
  6. // ?1 Croatian
  7. // ?2 Serbian
  8. // ?3 Bosnian (Bosna and Hercegovina)
  9. // ?4 Serbian & Bosnian
  10. .group a
  11. a a
  12. a (j A
  13. a (r A // don't reduce to [&]
  14. .group b
  15. b b
  16. .group c
  17. c ts
  18. .group č
  19. č tS
  20. .group ć
  21. ć tS;
  22. .group d
  23. d d
  24. dz dz
  25. _) dz (_ dz@
  26. dž dZ
  27. _) dž (_ dZ@
  28. .group đ
  29. đ dZ;
  30. .group e
  31. e E
  32. j) e e
  33. e (j e
  34. _) exe %ekse // filetype
  35. ?2 _) exe %eikse // filetype
  36. .group f
  37. f f
  38. .group g
  39. g g
  40. .group h
  41. h h
  42. _) h x
  43. .group i
  44. i i
  45. ._) ini %ini // filetype
  46. .group j
  47. j j
  48. XA) j (_ j_ // short pause after final [j] in one-syllable words
  49. .group k
  50. k k
  51. .group l
  52. l l
  53. K) l (K l-
  54. _) lj (_ l^@
  55. lj (+ l^
  56. v) lj lj
  57. .group m
  58. m m
  59. .group n
  60. n n
  61. n (g N
  62. n (k N
  63. nj n^
  64. _) nj (_ n^@
  65. .group o
  66. o o
  67. ou oU
  68. .group p
  69. p p
  70. .group q
  71. q k
  72. qu kv
  73. ?2 qu ku
  74. .group r
  75. r R
  76. A) r (A R
  77. K) r (A r* // this phoneme expands to [@-*]
  78. rr R
  79. r (_ R
  80. K) r (K R2
  81. .group s
  82. s s
  83. .group š
  84. š S
  85. .group t
  86. t t
  87. .group u
  88. u u
  89. .group v
  90. v v
  91. .group w
  92. w v
  93. .group x
  94. x ks
  95. .group y
  96. y j
  97. K) y (K i
  98. .group z
  99. z z
  100. .group ž
  101. ž Z
  102. .group
  103. á a:
  104. é e:
  105. í i:
  106. ó o:
  107. ú u:
  108. ä _^_DE // use German voice
  109. ö _^_DE
  110. ü _^_DE
  111. ß _^_DE
  112. $ d'ol&R
  113. __) - (_D minus
  114. A_) - (_D _
  115. C_) - (_D _
  116. .group 0xce // Greek letters
  117. α 'alf&
  118. ά 'alf&||t'onos
  119. β b'et&
  120. γ g'am&
  121. δ d'elt&
  122. ε 'epsIlon
  123. έ 'epsIlon||t'onos
  124. ζ z'et&
  125. η 'et&
  126. ή 'et&||t'onos
  127. θ tx'et&
  128. ι j'ot&
  129. ί j'ot&||t'onos
  130. κ k'ap&
  131. λ l'amd&
  132. μ m'i
  133. ν n'i
  134. ξ ks'i
  135. ο 'omIkr*on_
  136. .group 0xcf // Greek letters
  137. π p'i
  138. ρ R'o
  139. σ s'igm&
  140. ς gr-tSko_||z'avr-Sno_||s'igm&
  141. τ t'au
  142. υ gr-tSki_||'ipsIlon
  143. ύ gr-tSki||'ipsIlon||t'onos
  144. φ f'i
  145. χ x'i
  146. ψ ps'i
  147. ω 'omeg&
  148. ώ 'omeg&||t'onos
  149. ό 'omIkr*on||t'onos