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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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. dž dZ
  26. .group đ
  27. đ dZ;
  28. .group e
  29. e E
  30. j) e e
  31. e (j e
  32. _) exe %ekse // filetype
  33. ?2 _) exe %eikse // filetype
  34. .group f
  35. f f
  36. .group g
  37. g g
  38. .group h
  39. h h
  40. _) h x
  41. .group i
  42. i i
  43. ._) ini %ini // filetype
  44. .group j
  45. j j
  46. XA) j (_ j_ // short pause after final [j] in one-syllable words
  47. .group k
  48. k k
  49. .group l
  50. l l
  51. K) l (K l-
  52. lj (+ l^
  53. v) lj lj
  54. .group m
  55. m m
  56. .group n
  57. n n
  58. n (g N
  59. n (k N
  60. nj n^
  61. .group o
  62. o o
  63. ou oU
  64. .group p
  65. p p
  66. .group q
  67. q k
  68. qu kv
  69. ?2 qu ku
  70. .group r
  71. r R
  72. A) r (A R
  73. K) r (A r* // this phoneme expands to [@-*]
  74. rr R
  75. r (_ R
  76. K) r (K R2
  77. .group s
  78. s s
  79. .group š
  80. š S
  81. .group t
  82. t t
  83. .group u
  84. u u
  85. .group v
  86. v v
  87. .group w
  88. w v
  89. .group x
  90. x ks
  91. .group y
  92. y j
  93. K) y (K i
  94. .group z
  95. z z
  96. .group ž
  97. ž Z
  98. .group
  99. á a:
  100. é e:
  101. í i:
  102. ó o:
  103. ú u:
  104. ä _^_DE // use German voice
  105. ö _^_DE
  106. ü _^_DE
  107. ß _^_DE
  108. $ d'ol&R
  109. __) - (_D minus
  110. A_) - (_D _
  111. C_) - (_D _
  112. .group 0xce // Greek letters
  113. α 'alf&
  114. ά 'alf&||t'onos
  115. β b'et&
  116. γ g'am&
  117. δ d'elt&
  118. ε 'epsIlon
  119. έ 'epsIlon||t'onos
  120. ζ z'et&
  121. η 'et&
  122. ή 'et&||t'onos
  123. θ tx'et&
  124. ι j'ot&
  125. ί j'ot&||t'onos
  126. κ k'ap&
  127. λ l'amd&
  128. μ m'i
  129. ν n'i
  130. ξ ks'i
  131. ο 'omIkr*on_
  132. .group 0xcf // Greek letters
  133. π p'i
  134. ρ R'o
  135. σ s'igm&
  136. ς gr-tSko_||z'avr-Sno_||s'igm&
  137. τ t'au
  138. υ gr-tSki_||'ipsIlon
  139. ύ gr-tSki||'ipsIlon||t'onos
  140. φ f'i
  141. χ x'i
  142. ψ ps'i
  143. ω 'omeg&
  144. ώ 'omeg&||t'onos
  145. ό 'omIkr*on||t'onos