Files
espeak-ng/dictsource/bs_rules
T
Reece H. Dunn c4c80b11d5 Split the hbs dictionary into bs, hr and sr.
This is because the emoji are language specific.
2017-06-04 08:33:55 +01:00

207 lines
2.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// "hbs" is the ISO 639-3 code for Serbian/Croatian/Bosnian macrolanguage
// This file is UTF-8 encoded
//The next line gives a voice which is used to find a phoneme table to use to compile this dictionary
//voice=hr
// Conditional rules:
// ?1 Croatian
// ?2 Serbian
// ?3 Bosnian (Bosna and Hercegovina)
// ?4 Serbian & Bosnian
.group a
a a
X) a ($w_alt1 a:
a (j A
a (r A // don't reduce to [&]
_hrv) a (t a:
.group b
b b
.group c
c ts
.group č
č tS
.group ć
ć tS;
.group d
d d
dz dz
_) dz (_ dz@
dž dZ
_) dž (_ dZ@
.group đ
đ dZ;
.group e
e E
X) e ($w_alt1 E:
j) e e
e (j e
_) exe %ekse // filetype
?2 _) exe %eikse // filetype
.group f
f f
.group g
g g
.group h
h h
_) h x
.group i
i i
X) i ($w_alt1 i:
._) ini %ini // filetype
.group j
j j
XA) j (_ j_ // short pause after final [j] in one-syllable words
.group k
k k
.group l
l l
K) l (K l-
_) lj (_ l^@
lj (+ l^
v) lj lj
.group m
m m
.group n
n n
n (g N
n (k N
nj n^
_) nj (_ n^@
.group o
o o
X) o ($w_alt1 o:
ou oU
.group p
p p
.group q
q k
qu kv
?2 qu ku
.group r
r R
A) r (A R
K) r (A r* // this phoneme expands to [@-*]
rr R
r (_ R
K) r (K R2
.group s
s s
.group š
š S
.group t
t t
.group u
u u
X) u ($w_alt1 u:
.group v
v v
.group w
w v
.group x
x ks
.group y
y j
K) y (K i
.group z
z z
.group ž
ž Z
.group
á a:
é e:
í i:
ó o:
ú u:
ä _^_DE // use German voice
ö _^_DE
ü _^_DE
ß _^_DE
$ d'ol&R
__) - (_D minus
A_) - (_D _
C_) - (_D _
.group 0xce // Greek letters
α 'alf&
ά 'alf&||t'onos
β b'et&
γ g'am&
δ d'elt&
ε 'epsIlon
έ 'epsIlon||t'onos
ζ z'et&
η 'et&
ή 'et&||t'onos
θ tx'et&
ι j'ot&
ί j'ot&||t'onos
κ k'ap&
λ l'amd&
μ m'i
ν n'i
ξ ks'i
ο 'omIkr*on_
.group 0xcf // Greek letters
π p'i
ρ R'o
σ s'igm&
ς gr-tSko_||z'avr-Sno_||s'igm&
τ t'au
υ gr-tSki_||'ipsIlon
ύ gr-tSki||'ipsIlon||t'onos
φ f'i
χ x'i
ψ ps'i
ω 'omeg&
ώ 'omeg&||t'onos
ό 'omIkr*on||t'onos