Browse Source

Merge branch 'development'

master
Reece Dunn 13 years ago
parent
commit
7ec4a690e8
9 changed files with 106 additions and 23 deletions
  1. 6
    1
      dictsource/fr_list
  2. 25
    1
      dictsource/hu_list
  3. 3
    0
      dictsource/hu_rules
  4. 51
    13
      dictsource/pt_list
  5. 2
    1
      phsource/ph_english
  6. 4
    0
      phsource/ph_english_us
  7. 13
    6
      src/numbers.cpp
  8. 1
    1
      src/synthdata.cpp
  9. 1
    0
      src/tr_languages.cpp

+ 6
- 1
dictsource/fr_list View File



// 2006-11-18 Gilles Casse <[email protected]> // 2006-11-18 Gilles Casse <[email protected]>
// //
// Updated 2012-02-12 Michel Such <[email protected]>
// Updated 2012-04-15 Michel Such <[email protected]>
// //
// * Numbers, a few abbreviations and exceptions. // * Numbers, a few abbreviations and exceptions.
// //
blues _^_en blues _^_en
blum blum blum blum
bootable boutable $text bootable boutable $text
brian _^_en
broglie breuil $text broglie breuil $text
browglie breuil $text browglie breuil $text
buffer bYfWr buffer bYfWr
(chef d'oeuvres) chédeuvres $text (chef d'oeuvres) chédeuvres $text
chienlit SjA~li chienlit SjA~li
choeur kWr choeur kWr
cindy sindi
cinema sinema cinema sinema
cocus kOky cocus kOky
couscous kuskus couscous kuskus
feldspath fEldspat feldspath fEldspat
fier fjer $verb fier fjer $verb
for $u+ for $u+
francesco frA~nSEsko
francis frA~sis francis frA~sis
fred frEd fred frEd
free _^_en free _^_en
jackpot dZakpOt jackpot dZakpOt
jacques Zak jacques Zak
james _^_en james _^_en
jennifer ZenifEr
karaoke karaoke karaoke karaoke
kevin kevin kevin kevin
laetitia letisja laetitia letisja
monsieur m@sjY monsieur m@sjY
mrs _^_en mrs _^_en
oasis oazis oasis oazis
oliver _^_en
ours urs ours urs
output _^_en output _^_en
pataquès patakEs pataquès patakEs

+ 25
- 1
dictsource/hu_list View File

(korrigálás révén) koR2R2iga:la:S_||R2e:ve:n $unstressend (korrigálás révén) koR2R2iga:la:S_||R2e:ve:n $unstressend
(épületekhez hasonlította) e:pylEtEkhEz_||hAsonli:tot:A $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 (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 (volna meg őket) volnA_||mEg_||Y:kEt $unstressend
(értelme felróni) e:R2tElmE_||fElR2o:ni $unstressend (értelme felróni) e:R2tElmE_||fElR2o:ni $unstressend
(is született) iS_||sylEtEt: $unstressend (is született) iS_||sylEtEt: $unstressend
(eső részét) ESY:_||R2e:se:t $unstressend (eső részét) ESY:_||R2e:se:t $unstressend
végéig $unstressend végéig $unstressend
(meg kell vizsgálni) mEg_||kEl:_||viZga:lni $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 // word pairs
(mit eszel) mit_||EsEl $unstressend (mit eszel) mit_||EsEl $unstressend

+ 3
- 0
dictsource/hu_rules View File

_szamo) ssz Ss _szamo) ssz Ss
_szilvá) ssz Ss _szilvá) ssz Ss
_vámo) ssz Ss _vámo) ssz Ss
keresé) ssz Ss
cipő) ssz Ss
szorongá) ssz Ss


.group sz .group sz
sz s sz s

+ 51
- 13
dictsource/pt_list View File



// character names // 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
_é $accent // é can be a word
ê $accent
í $accent
ó $accent
ô $accent
õ $accent
ú $accent
ü $accent
ß _^_DE ß _^_DE


v ve // not Roman numbers v ve // not Roman numbers
// _0Z2 seNt'Ezim& // 100ths // _0Z2 seNt'Ezim& // 100ths
// _0Z3 mil'Ezim& // 1000ths // _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 // not roman numbers
vi vi vi vi




ao $u ao $u
à ,a: à ,a:
à $atend $accent
aos $u aos $u
às ,a:s às ,a:s


ser $u ser $u
sou $u sou $u
é E $u é E $u
é $atend $accent
és Es $u és Es $u
somos $u somos $u
sois $u sois $u

+ 2
- 1
phsource/ph_english View File



phoneme t2 // [t] which doesn't reduce phoneme t2 // [t] which doesn't reduce
import_phoneme base/t
vcd alv stop
ChangePhoneme(t)
endphoneme endphoneme





+ 4
- 0
phsource/ph_english_us View File

WAV(ustop/t, 90) WAV(ustop/t, 90)
endphoneme endphoneme



phoneme t2 // [t] which doesn't reduce
import_phoneme base/t
endphoneme

+ 13
- 6
src/numbers.cpp View File

ph_hundred_and[0] = 0; ph_hundred_and[0] = 0;
if(tensunits > 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); 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
src/synthdata.cpp View File

#include "translate.h" #include "translate.h"
#include "wave.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; const int version_phdata = 0x014600;


int option_device_number = -1; int option_device_number = -1;

+ 1
- 0
src/tr_languages.cpp View File

tr->langopts.stress_rule = STRESSPOSN_1R; // stress on final syllable tr->langopts.stress_rule = STRESSPOSN_1R; // stress on final syllable
tr->langopts.stress_flags = 0x6 | 0x10 | 0x2000 | 0x20000; 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.numbers = NUM_DECIMAL_COMMA | NUM_DFRACTION_2 | NUM_HUNDRED_AND | NUM_AND_UNITS | NUM_ROMAN;
tr->langopts.numbers2 = NUM2_MULTIPLE_ORDINAL;
SetLetterVowel(tr,'y'); SetLetterVowel(tr,'y');
ResetLetterBits(tr,0x2); ResetLetterBits(tr,0x2);
SetLetterBits(tr,1,"bcdfgjkmnpqstvxz"); // B hard consonants, excluding h,l,r,w,y SetLetterBits(tr,1,"bcdfgjkmnpqstvxz"); // B hard consonants, excluding h,l,r,w,y

Loading…
Cancel
Save