PageRenderTime 16ms CodeModel.GetById 6ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/native/external/espeak/dictsource/hbs_rules

http://eyes-free.googlecode.com/
#! | 209 lines | 158 code | 51 blank | 0 comment | 0 complexity | fa1628e9343ea2222a0dae220844c0a0 MD5 | raw file
  1
  2// "hbs" is the ISO 639-3 code for Serbian/Croatian/Bosnian macrolanguage
  3// This file is UTF-8 encoded
  4
  5//The next line gives a voice which is used to find a phoneme table to use to compile this dictionary
  6//voice=hr
  7
  8// Conditional rules:
  9// ?1  Croatian
 10// ?2  Serbian
 11// ?3  Bosnian (Bosna and Hercegovina)
 12// ?4  Serbian & Bosnian
 13
 14.group a
 15        a        a
 16        a (j     A
 17        a (r     A        // don't reduce to [&]
 18
 19.group b
 20        b        b
 21
 22.group c
 23        c        ts
 24
 25.group ?
 26        ?        tS
 27
 28.group ?
 29        ?        tS;
 30
 31.group d
 32        d        d
 33        dz       dz
 34        dž       dZ
 35
 36.group ?
 37        ?        dZ;
 38
 39.group e
 40        e        E
 41     j) e        e
 42        e (j     e
 43     _) exe      %ekse        // filetype
 44?2   _) exe      %eikse       // filetype
 45
 46.group f
 47        f        f
 48
 49.group g
 50        g        g
 51
 52.group h
 53        h        h
 54     _) h        x
 55
 56.group i
 57        i        i
 58    ._) ini      %ini         // filetype
 59
 60.group j
 61        j        j
 62    XA) j (_     j_      // short pause after final [j] in one-syllable words
 63
 64.group k
 65        k        k
 66
 67.group l
 68        l        l
 69     K) l (K     l-
 70        lj (+    l^
 71     v) lj       lj
 72
 73.group m
 74        m        m
 75
 76.group n
 77        n        n
 78        n (g     N
 79        n (k     N
 80
 81        nj       n^
 82
 83.group o
 84        o        o
 85        ou       oU
 86
 87.group p
 88        p        p
 89
 90.group q
 91        q        k
 92        qu       kv
 93?2      qu       ku
 94
 95.group r
 96        r        R
 97     A) r (A     R
 98     K) r (A     r*    // this phoneme expands to [@-*]
 99        rr       R
100        r (_     R
101
102     K) r (K     R2
103
104
105.group s
106        s        s
107
108.group š
109        š        S
110
111.group t
112        t        t
113
114.group u
115        u        u
116
117.group v
118        v        v
119
120.group w
121        w        v
122
123.group x
124        x        ks
125
126.group y
127        y        j
128     K) y (K     i
129
130
131.group z
132        z        z
133
134.group ž
135        ž        Z
136
137.group
138        á        a:
139        é        e:
140        í        i:
141        ó        o:
142        ú        u:
143
144        ä        _^_DE   // use German voice
145        ö        _^_DE
146        ü        _^_DE
147        ß        _^_DE
148
149        $        d'ol&R
150
151        .        totSk&
152?4      .        tatSk&
153        . (.     _:
154   \.)  .
155
156   __)  - (_D    minus
157   A_)  - (_D    _
158   C_)  - (_D    _
159    --) -
160
161        *        zvj'ezdits&
162    *)  * (*
163        **
164   **)  * (_     _::
165
166        =            _j'edn&ko
167        = (==        
168    =)  = (=         
169   ==)  = (_         _::
170
171.group 0xce   // Greek letters
172
173	?	'alf&
174	?	'alf&||t'onos
175	?	b'et&
176	?	g'am&
177	?	d'elt&
178	?	'epsIlon
179	?	'epsIlon||t'onos
180	?	z'et&
181	?	'et&
182	?	'et&||t'onos
183	?	tx'et&
184	?	j'ot&
185	?	j'ot&||t'onos
186	?	k'ap&
187	?	l'amd&
188	?	m'i
189	?	n'i
190	?	ks'i
191	?	'omIkr*on_
192
193.group 0xcf   // Greek letters
194
195	?	p'i
196	?	R'o
197	?	s'igm&
198	?	gr-tSko_||z'avr-Sno_||s'igm&
199	?	t'au
200	?	gr-tSki_||'ipsIlon
201	?	gr-tSki||'ipsIlon||t'onos
202	?	f'i
203	?	x'i
204	?	ps'i
205	?	'omeg&
206	?	'omeg&||t'onos
207	?	'omIkr*on||t'onos
208
209