Merge branch 'development'

This commit is contained in:
Reece Dunn
2012-05-10 07:01:39 +01:00
9 changed files with 106 additions and 23 deletions
+6 -1
View File
@@ -24,7 +24,7 @@
// 2006-11-18 Gilles Casse <gcasse@oralux.org>
//
// Updated 2012-02-12 Michel Such <michel.such@free.fr>
// Updated 2012-04-15 Michel Such <michel.such@free.fr>
//
// * Numbers, a few abbreviations and exceptions.
//
@@ -683,6 +683,7 @@ bissus bisys
blues _^_en
blum blum
bootable boutable $text
brian _^_en
broglie breuil $text
browglie breuil $text
buffer bYfWr
@@ -696,6 +697,7 @@ charles Sarl
(chef d'oeuvres) chédeuvres $text
chienlit SjA~li
choeur kWr
cindy sindi
cinema sinema
cocus kOky
couscous kuskus
@@ -712,6 +714,7 @@ faut fot2 $u+
feldspath fEldspat
fier fjer $verb
for $u+
francesco frA~nSEsko
francis frA~sis
fred frEd
free _^_en
@@ -737,6 +740,7 @@ island _^_en
jackpot dZakpOt
jacques Zak
james _^_en
jennifer ZenifEr
karaoke karaoke
kevin kevin
laetitia letisja
@@ -759,6 +763,7 @@ mouloud mulud
monsieur m@sjY
mrs _^_en
oasis oazis
oliver _^_en
ours urs
output _^_en
pataquès patakEs
+25 -1
View File
@@ -3359,7 +3359,6 @@ hangjelzés $unstressend
(korrigálás révén) koR2R2iga:la:S_||R2e:ve:n $unstressend
(épületekhez hasonlította) e:pylEtEkhEz_||hAsonli:tot:A $unstressend
(problémájához hasonlította) pR2oble:ma:ja:hoz_||hASonli:tot:A $unstressend
(az akadálymentesítés) Az_||AkAda:jmEntESi:te:S $unstressend
(volna meg őket) volnA_||mEg_||Y:kEt $unstressend
(értelme felróni) e:R2tElmE_||fElR2o:ni $unstressend
(is született) iS_||sylEtEt: $unstressend
@@ -5110,6 +5109,31 @@ döntését $unstressend
(eső részét) ESY:_||R2e:se:t $unstressend
végéig $unstressend
(meg kell vizsgálni) mEg_||kEl:_||viZga:lni $unstressend
(döntött arról) dYntYt:_||AR2R2o:l $unstressend
posztról $unstressend
(elnöki posztról) ElnYki_||postR2o:l $unstressend
(élte meg) e:ltE_||mEg $unstressend
érezhette $unstressend
népszerű $unstressend
(is alátámasztotta) iS_||Ala:ta:mAstot:A $unstressend
(három évig bírni) ha:R2om_||e:vig_||bi:R2ni $unstressend
(nap után született meg) nAp_||uta:n_||sylEtEt:_||mEg $unstressend
(szokta meg) soktA_||mEg $unstressend
rendelt $unstressend
(nap alatt tudatosult) nAp_||AlAt:_||tudAtoSult $unstressend
győzni $unstressend
garantálni $unstressend
(tette világossá) tEt:E_||vila:goS:a: $unstressend
(szóló döntés) so:lo:_||dYnte:S $unstressend
sejtik $unstressend
hamarabb $unstressend
erősíti $unstressend
lemondani $unstressend
(volna magát) volnA_||mAga:t $unstressend
(sem került) SEm_||kER2ylt $unstressend
hallgatták $unstressend
(hogyan fog végződni) hoJAn_||fog_||ve:gzY:dni $unstressend
akadálymentesítés
// word pairs
(mit eszel) mit_||EsEl $unstressend
+3
View File
@@ -1638,6 +1638,9 @@ _kemene) ssz Ss
_szamo) ssz Ss
_szilvá) ssz Ss
_vámo) ssz Ss
keresé) ssz Ss
cipő) ssz Ss
szorongá) ssz Ss
.group sz
sz s
+51 -13
View File
@@ -44,20 +44,19 @@ _tld tS'iU
// character names
_á $accent
_à $accent
_à $accent
_â $accent
_ã $accent
á $accent
_à $accent // à can be a word
â $accent
ã $accent
ç $accent
_é $accent
_ê $accent
_í $accent
_ó $accent
_ô $accent
_õ $accent
_ú $accent
_ü $accent
_é $accent // é can be a word
ê $accent
í $accent
ó $accent
ô $accent
õ $accent
ú $accent
ü $accent
ß _^_DE
v ve // not Roman numbers
@@ -204,6 +203,43 @@ _dpt _v'irgul&
// _0Z2 seNt'Ezim& // 100ths
// _0Z3 mil'Ezim& // 1000ths
// ordinal numbers
_#º U
_#ª &
_ord o
_1o pRim'eI*
_2o seg'u~Nd
_3o te*@-s'eI*
_4o kw'a*@-t
_5o k'iNt
_6o s'est
_7o s'EtSim
_8o oIt'av
_9o n'on
_10o d'Esim
_2Xo viZ'Ezim
_3Xo tRiZ'Ezim
_4Xo kwad*aZ'Ezim
_5Xo kiNkwaZ'Ezim
_6Xo seksaZ'Ezim
_7Xo septwaZ'Ezim
_8Xo oktoZ'Ezim
_9Xo nonaZ'Ezim
_0Co seINt'Ezim
_1Co seINt'Ezim
_2Co duseINt'Ezim
_3Co tRiseINt'Ezim
_4Co kwad*iZeINt'Ezim
_5Co kiNZeINt'Ezim
_6Co seIseINt'Ezim
_7Co septSiZeINt'Ezim
_8Co oktSiZeINt'Ezim
_9Co noNZeINt'Ezim
_0M1o mil'Ezim
_1M1o mil'Ezim
// not roman numbers
vi vi
@@ -363,6 +399,7 @@ pelos $u
ao $u
à ,a:
à $atend $accent
aos $u
às ,a:s
@@ -444,6 +481,7 @@ se $u // if
ser $u
sou $u
é E $u
é $atend $accent
és Es $u
somos $u
sois $u
+2 -1
View File
@@ -1,6 +1,7 @@
phoneme t2 // [t] which doesn't reduce
import_phoneme base/t
vcd alv stop
ChangePhoneme(t)
endphoneme
+4
View File
@@ -388,3 +388,7 @@ phoneme t
WAV(ustop/t, 90)
endphoneme
phoneme t2 // [t] which doesn't reduce
import_phoneme base/t
endphoneme
+13 -6
View File
@@ -1503,17 +1503,24 @@ static int LookupNum3(Translator *tr, int value, char *ph_out, int suppress_null
ph_hundred_and[0] = 0;
if(tensunits > 0)
{
if((value > 100) || ((control & 1) && (thousandplex==0)))
if((control & 2) && (tr->langopts.numbers2 & NUM2_MULTIPLE_ORDINAL))
{
if((tr->langopts.numbers & NUM_HUNDRED_AND) || ((tr->langopts.numbers & NUM_HUNDRED_AND_DIGIT) && (tensunits < 10)))
// Don't use "and" if we apply ordinal to both hundreds and units
}
else
{
if((value > 100) || ((control & 1) && (thousandplex==0)))
{
if((tr->langopts.numbers & NUM_HUNDRED_AND) || ((tr->langopts.numbers & NUM_HUNDRED_AND_DIGIT) && (tensunits < 10)))
{
Lookup(tr, "_0and", ph_hundred_and);
}
}
if((tr->langopts.numbers & NUM_THOUSAND_AND) && (hundreds == 0) && ((control & 1) || (ph_thousands[0] != 0)))
{
Lookup(tr, "_0and", ph_hundred_and);
}
}
if((tr->langopts.numbers & NUM_THOUSAND_AND) && (hundreds == 0) && ((control & 1) || (ph_thousands[0] != 0)))
{
Lookup(tr, "_0and", ph_hundred_and);
}
}
+1 -1
View File
@@ -35,7 +35,7 @@
#include "translate.h"
#include "wave.h"
const char *version_string = "1.46.14 22.Feb.12";
const char *version_string = "1.46.17 05.May.12";
const int version_phdata = 0x014600;
int option_device_number = -1;
+1
View File
@@ -1076,6 +1076,7 @@ SetLengthMods(tr,3); // all equal
tr->langopts.stress_rule = STRESSPOSN_1R; // stress on final syllable
tr->langopts.stress_flags = 0x6 | 0x10 | 0x2000 | 0x20000;
tr->langopts.numbers = NUM_DECIMAL_COMMA | NUM_DFRACTION_2 | NUM_HUNDRED_AND | NUM_AND_UNITS | NUM_ROMAN;
tr->langopts.numbers2 = NUM2_MULTIPLE_ORDINAL;
SetLetterVowel(tr,'y');
ResetLetterBits(tr,0x2);
SetLetterBits(tr,1,"bcdfgjkmnpqstvxz"); // B hard consonants, excluding h,l,r,w,y