@@ -29,7 +29,7 @@ updated languages: | |||
* ro (Romanian) -- Andiv06 | |||
* shn (Shan Tay Yai) -- ronaldaug | |||
* tk (Turkmen) -- Andiv06 | |||
* tr (Turkish) -- Gurbuzguven | |||
* tr (Turkish) -- Gurbuzguven, Qchristensen | |||
* uz (Uzbek) -- Andiv06 | |||
new languages: |
@@ -1,6 +1,6 @@ | |||
// This file is UTF-8 encoded | |||
// Updated 2022 april 30 by Christian Leo Mameli, <llajta2012ATgmail.com> | |||
// Updated 2022 september 23 by Christian Leo Mameli, <llajta2012ATgmail.com> | |||
// $alt change [e] or [o] in the stressed syllable to [E] or [O] | |||
// $alt2 change [E] or [O] in the stressed syllable to [e] or [o] | |||
@@ -798,6 +798,7 @@ bitter $1 | |||
black bl'E:k | |||
blackout bl'Ek'aUt | |||
blind bl'aInd $onlys | |||
blister $1 $onlys | |||
blogger bl'Oge@-* | |||
blues bl'u:z | |||
bluff bl'ef: $only | |||
@@ -1907,6 +1908,7 @@ civezzano $3 | |||
civitavecchia $alt | |||
colombano $3 | |||
comanche kom'a:nS | |||
commonwealth _^_EN | |||
conzano $2 | |||
copenhagen kopen'agen | |||
corchiano $3 | |||
@@ -2187,6 +2189,7 @@ seui $2 | |||
seul $2 $only | |||
seychelles seIS'El | |||
siberia s,ib'ERi;a | |||
silverstone s'ilve@-*ston | |||
simpliciano $3 | |||
sinai s'i:naI | |||
siniscola $3 $alt2 | |||
@@ -2259,6 +2262,7 @@ vissano $2 | |||
vitorchiano $4 | |||
washington _^_EN | |||
wimbledon $1 | |||
woodstock _^_EN | |||
zaire dza'i:Re | |||
zanzibar $1 | |||
zigano ts-ig'a/no | |||
@@ -2358,6 +2362,7 @@ brown b@-*'a:w2n $onlys | |||
bruce b@-*'Us $only | |||
buffon $2 $only | |||
cacciol katS:'ol | |||
cadillac $1 | |||
caino ka'i:no/ | |||
caligola $2 | |||
calogger $2 | |||
@@ -2436,6 +2441,7 @@ fahrenheit f'aRenaIt | |||
federic $3 | |||
felicita $2 | |||
fenice $2 | |||
ferlaino fe@-*la'i:no | |||
ferrer $2 $alt2 | |||
fischer f'iSE@-* $onlys | |||
florencio fl,OR'ensIo | |||
@@ -2482,6 +2488,7 @@ hitchcock 'itS_kok | |||
honore $3 | |||
hulk h'alk | |||
iacopo j'akopo | |||
ibrahimovic ib@-*a'imovitS | |||
icar $1 | |||
igor $1 | |||
ingrassia $3 | |||
@@ -2558,6 +2565,7 @@ mariapia $4 | |||
mary m'E:*i $only | |||
marilyn m'E:r*ilIN | |||
marylin m'ERilin | |||
marsili $2 | |||
marzott ma@-*dz'Ot: | |||
masala $1 | |||
mayer $1 | |||
@@ -2575,12 +2583,14 @@ miguel mig'E:l | |||
mike _^_EN | |||
mikolaj mik,Ol'a:j | |||
misseri $2 | |||
mohammed mo,am:'Ed | |||
mogol $2 | |||
mondadori $alt2 | |||
monika $1 | |||
monroe m'On||r,ow | |||
morissette m'ORIsEt[ | |||
mowgli m'o:glI | |||
mourinho muR'in^o | |||
mozilla m,o|dz'il:a | |||
muresan $3 | |||
murgia $1 | |||
@@ -2703,6 +2713,7 @@ vazquez vask'Ets | |||
vedder $1 $onlys | |||
vermouth v'E@-*mut | |||
victor $1 $only | |||
villeneuve v,iln'e:v | |||
vincent v'inseNt[ $only | |||
vladimir $3 | |||
wagner v'agnE@-* | |||
@@ -2784,6 +2795,7 @@ acced atS:'Ed | |||
acceler atS:'Ele:R | |||
accelerano atS:'E:l,eRano | |||
accelerino $2 | |||
accendano $2 | |||
accennino $2 | |||
accentrino $2 | |||
accentuano $2 | |||
@@ -3083,6 +3095,7 @@ brindino $1 | |||
brontolano $1 | |||
brontolino $1 | |||
brucino $1 | |||
brulicano $1 | |||
bucano $1 | |||
burlano $1 | |||
burlino $1 | |||
@@ -3163,6 +3176,7 @@ commutino $2 | |||
compaiano $2 | |||
comparvero $2 | |||
compensano $2 | |||
comper $1 | |||
competano $2 $alt | |||
compiace kompj'atSe/ | |||
compiacere $3 | |||
@@ -4105,6 +4119,7 @@ predici $2 | |||
predomin $2 | |||
preghino $1 | |||
pregia $1 | |||
pregiudicano $2 | |||
premiano $1 | |||
premurano $2 | |||
prendano $1 | |||
@@ -4523,6 +4538,7 @@ separino $2 | |||
sequestrano $2 | |||
servino $1 | |||
seviziano $2 | |||
sfaldano $1 | |||
sfamano $1 | |||
sfatano $1 | |||
sferrano $1 | |||
@@ -4972,6 +4988,7 @@ ch'erano k'E*ano | |||
// pronominal verbs | |||
abbattutasi $3 | |||
abituarcisi $4 | |||
accadutomi $3 | |||
accertatene $2 | |||
@@ -5012,6 +5029,7 @@ cliccaci $1 | |||
cliccal $1 | |||
compiersi $1 | |||
compil $2 | |||
conclusosi $2 | |||
conosciutisi $3 | |||
conclusasi $2 | |||
confrontal $2 | |||
@@ -5153,6 +5171,7 @@ riformatisi $3 | |||
riformatosi $3 | |||
rincorrerl $2 | |||
riportal $2 | |||
ripresosi $2 | |||
risparmiaci $2 | |||
risparmial $2 | |||
risparmiami $2 |
@@ -610,6 +610,7 @@ brev $alt | |||
brianzol $3 | |||
brillio $2 | |||
brindisi $1 | |||
brioscine $3 | |||
brisgovia $alt | |||
broccostell $alt2 | |||
brod $alt | |||
@@ -882,6 +883,7 @@ cigol $1 | |||
cigolio $3 | |||
ciliegi $alt | |||
ciliegia $3 $alt | |||
ciliegine $4 | |||
cimeg $1 | |||
cimolais $3 | |||
cincischio $3 | |||
@@ -1857,6 +1859,7 @@ goliardie golia@-*d'i:e | |||
gomit $1 $alt2 | |||
gomitoli $2 | |||
gomm $alt2 | |||
gommini $2 | |||
gommoresine $3 | |||
gonars $2 | |||
gonartria $3 | |||
@@ -2147,6 +2150,7 @@ levanz $1 $alt | |||
leve $alt | |||
lezioncine $3 | |||
liber $1 | |||
libido $2 | |||
licantrop $2 | |||
licomede $alt | |||
liet $alt |
@@ -1,7 +1,7 @@ | |||
// Italian translation rules | |||
// This file is UTF-8 encoded | |||
// Last update: 2021 December 22 by Christian Leo Mameli <[email protected]> | |||
// Last update: 2022 september 23 by Christian Leo Mameli <[email protected]> | |||
// letter groups | |||
// A any vowel | |||
// C any consonant | |||
@@ -132,6 +132,8 @@ | |||
i) dano (_ =dano // verbs | |||
i) dino (_ =dino | |||
_) data (L07_ d'ata | |||
_) dato (L04_ d'ato | |||
_ri) dato (L04_ d'ato | |||
diriger (L04_ diR'idZe@-* | |||
due (_ d'ue // numbers | |||
dieci (_ dj'EtSi | |||
@@ -538,6 +540,8 @@ | |||
picchia (L07_ p'ik:i,a | |||
_) poni (L07_ p'oni | |||
pro) poni (L07_ p'oni | |||
_) presa (L04_ p@-*'Eza | |||
_) preso (L04_ p@-*'Ezo | |||
.group q | |||
q k |
@@ -30,7 +30,7 @@ | |||
@) avru (pa avr'u | |||
.group â | |||
â a: | |||
â a | |||
.group b | |||
@@ -153,7 +153,7 @@ | |||
@) ın (_S2 @n | |||
.group î | |||
î i: | |||
î i | |||
.group j |
@@ -11,6 +11,7 @@ | |||
- [Phoneme Definition File](#phoneme-definition-file) | |||
- [Dictionary Files](#dictionary-files) | |||
- [Building Phonemes](#building-phonemes) | |||
- [Adding tests](#adding-tests) | |||
- [Program Code](#program-code) | |||
- [Compiling Rules File for Debugging](#compiling-rules-file-for-debugging) | |||
- [Improving a Language](#improving-a-language) | |||
@@ -284,6 +285,38 @@ or by: | |||
make fr | |||
### Adding tests | |||
All languages require automated tests to make sure accidental changes | |||
in program code don't change how the languages sound. | |||
Tests are run with `make check`. It will print an error if a language | |||
is missing tests. | |||
Most tests are bash scripts in tests/ and follow the syntax: | |||
<test name> <language code> <expected result> <input> | |||
Depending on the test, expected result can be a phoneme string, an md5 hash or something else. | |||
To add a test: | |||
1. First add a test line with arbitrary expected result. | |||
Example line in tests/language-phonemes.test: | |||
test_phwav fi this_should_fail "ma na Na pa ba ta da" | |||
2. run `make check` to see expected and actual results: | |||
testing fi | |||
1c1 | |||
< this_should_fail | |||
--- | |||
> 7541590a29e2392b827d9f1563e6579774fb15ea | |||
3. change the expected result in the test: | |||
test_phwav fi 7541590a29e2392b827d9f1563e6579774fb15ea "ma na Na pa ba ta da" | |||
## Program Code | |||
The behaviour of the eSpeak program is controlled by various options |