diff options
Diffstat (limited to 'pico')
-rwxr-xr-x | pico/lang/de-DE_gl0_sg.bin | bin | 636008 -> 634996 bytes | |||
-rwxr-xr-x | pico/lang/de-DE_ta.bin | bin | 440732 -> 440732 bytes | |||
-rwxr-xr-x | pico/lang/en-US_lh0_sg.bin | bin | 793868 -> 777396 bytes | |||
-rwxr-xr-x | pico/lang/en-US_ta.bin | bin | 650668 -> 650668 bytes | |||
-rwxr-xr-x | pico/lang/es-ES_ta.bin | bin | 256744 -> 256744 bytes | |||
-rwxr-xr-x | pico/lang/es-ES_zl0_sg.bin | bin | 600672 -> 605280 bytes | |||
-rwxr-xr-x | pico/lang/fr-FR_nk0_sg.bin | bin | 595056 -> 833236 bytes | |||
-rwxr-xr-x | pico/lang/fr-FR_ta.bin | bin | 381936 -> 381936 bytes | |||
-rw-r--r-- | pico/tests/data/tests_regressions_es-ES.txt | 20 | ||||
-rw-r--r-- | pico/tests/data/xsampa_pico_man_de-DE.txt | 4 | ||||
-rw-r--r-- | pico/tests/data/xsampa_pico_man_en-GB.txt | 4 | ||||
-rw-r--r-- | pico/tests/data/xsampa_pico_man_en-US.txt | 4 | ||||
-rw-r--r-- | pico/tests/data/xsampa_pico_man_fr-FR.txt | 16 | ||||
-rw-r--r-- | pico/tts/com_svox_picottsengine.cpp | 10 |
14 files changed, 39 insertions, 19 deletions
diff --git a/pico/lang/de-DE_gl0_sg.bin b/pico/lang/de-DE_gl0_sg.bin Binary files differindex 5305b49..1655704 100755 --- a/pico/lang/de-DE_gl0_sg.bin +++ b/pico/lang/de-DE_gl0_sg.bin diff --git a/pico/lang/de-DE_ta.bin b/pico/lang/de-DE_ta.bin Binary files differindex cd59da7..3cb978a 100755 --- a/pico/lang/de-DE_ta.bin +++ b/pico/lang/de-DE_ta.bin diff --git a/pico/lang/en-US_lh0_sg.bin b/pico/lang/en-US_lh0_sg.bin Binary files differindex 91487cc..b2dfc39 100755 --- a/pico/lang/en-US_lh0_sg.bin +++ b/pico/lang/en-US_lh0_sg.bin diff --git a/pico/lang/en-US_ta.bin b/pico/lang/en-US_ta.bin Binary files differindex 95cb042..943f57e 100755 --- a/pico/lang/en-US_ta.bin +++ b/pico/lang/en-US_ta.bin diff --git a/pico/lang/es-ES_ta.bin b/pico/lang/es-ES_ta.bin Binary files differindex dfa3c55..3442eed 100755 --- a/pico/lang/es-ES_ta.bin +++ b/pico/lang/es-ES_ta.bin diff --git a/pico/lang/es-ES_zl0_sg.bin b/pico/lang/es-ES_zl0_sg.bin Binary files differindex f29f6b1..c70257c 100755 --- a/pico/lang/es-ES_zl0_sg.bin +++ b/pico/lang/es-ES_zl0_sg.bin diff --git a/pico/lang/fr-FR_nk0_sg.bin b/pico/lang/fr-FR_nk0_sg.bin Binary files differindex bf5467d..9a11e2b 100755 --- a/pico/lang/fr-FR_nk0_sg.bin +++ b/pico/lang/fr-FR_nk0_sg.bin diff --git a/pico/lang/fr-FR_ta.bin b/pico/lang/fr-FR_ta.bin Binary files differindex 117dbe3..6d4d72e 100755 --- a/pico/lang/fr-FR_ta.bin +++ b/pico/lang/fr-FR_ta.bin diff --git a/pico/tests/data/tests_regressions_es-ES.txt b/pico/tests/data/tests_regressions_es-ES.txt new file mode 100644 index 0000000..f44d8dc --- /dev/null +++ b/pico/tests/data/tests_regressions_es-ES.txt @@ -0,0 +1,20 @@ + +# BEGIN_TEST + +#------------------------------ +# Spanish (es-ES) +# +# Notes: These tests cover known issues and previous bugs that have been fixed. Those +# latter are to be used for regression testing +# When a test is marked as "BUG", if possible, the tester will capture an approximate +# transcription of what was heard inside [ ]. + +# TEST (old bug: burst of noise at end of sentence) +<speak xml:lang="es-ES">El sintetizador de voz</speak> + +# END_TEST + + +# --------- + + diff --git a/pico/tests/data/xsampa_pico_man_de-DE.txt b/pico/tests/data/xsampa_pico_man_de-DE.txt index 4e9690b..1182394 100644 --- a/pico/tests/data/xsampa_pico_man_de-DE.txt +++ b/pico/tests/data/xsampa_pico_man_de-DE.txt @@ -71,8 +71,8 @@ # TEST s Masse "ma.s@ <speak xml:lang="de-DE"> Ich teste <phoneme alphabet="xsampa" ph=""ma.s@"/>.</speak> -# BUG v Wahl "va:l says [val], [a] should be long -<speak xml:lang="de-DE"> Ich teste <phoneme alphabet="xsampa" ph=""va:l"/>.</speak> +# TEST v Wahl "va:l says [val] +<speak xml:lang="de-DE"> Ich teste <phoneme alphabet="xsampa" ph=""va:l"/>. Ein Wahl.</speak> # TEST x Bach "bax <speak xml:lang="de-DE"> Ich teste <phoneme alphabet="xsampa" ph=""bax"/>.</speak> diff --git a/pico/tests/data/xsampa_pico_man_en-GB.txt b/pico/tests/data/xsampa_pico_man_en-GB.txt index fbee754..b65af3a 100644 --- a/pico/tests/data/xsampa_pico_man_en-GB.txt +++ b/pico/tests/data/xsampa_pico_man_en-GB.txt @@ -197,7 +197,7 @@ <speak xml:lang="en-GB"> Testing <phoneme alphabet="xsampa" ph=""mE.Z@`"/>.</speak> <speak xml:lang="en-GB"> Testing <phoneme alphabet="xsampa" ph=""mE.Z@"/>.</speak> -# BUG A: (US) long "lA:N says [lang] +# TEST A: (US) long "lA:N <speak xml:lang="en-GB"> Testing <phoneme alphabet="xsampa" ph=""lA:N"/>.</speak> # TEST A:r\ (US) A:(GB) stars "stA:r\z @@ -247,7 +247,7 @@ # TEST j yacht "jA:t <speak xml:lang="en-GB"> Testing <phoneme alphabet="xsampa" ph=""jA:t"/>.</speak> -# BUG l long "lA:N +# TEST l long "lA:N <speak xml:lang="en-GB"> Testing <phoneme alphabet="xsampa" ph=""lA:N"/>.</speak> # TEST w wasp "wA:sp diff --git a/pico/tests/data/xsampa_pico_man_en-US.txt b/pico/tests/data/xsampa_pico_man_en-US.txt index 74ed371..6f477a2 100644 --- a/pico/tests/data/xsampa_pico_man_en-US.txt +++ b/pico/tests/data/xsampa_pico_man_en-US.txt @@ -87,8 +87,8 @@ # TEST j yacht "jA:t <speak xml:lang="en-US"> Testing <phoneme alphabet="xsampa" ph=""jA:t"/>.</speak> -# BUG l long "lA:N says [lang] -<speak xml:lang="en-US"> Testing <phoneme alphabet="xsampa" ph=""lA:N"/>.</speak> +# TEST l long "lA:N +<speak xml:lang="en-US"> Testing <phoneme alphabet="xsampa" ph=""lA:N"/>. And long.</speak> # TEST l= little "lI.tl= <speak xml:lang="en-US"> Testing <phoneme alphabet="xsampa" ph=""lI.tl= "/>.</speak> diff --git a/pico/tests/data/xsampa_pico_man_fr-FR.txt b/pico/tests/data/xsampa_pico_man_fr-FR.txt index 6cf6d1a..f6485e3 100644 --- a/pico/tests/data/xsampa_pico_man_fr-FR.txt +++ b/pico/tests/data/xsampa_pico_man_fr-FR.txt @@ -75,20 +75,20 @@ # --------- Approximants -# BUG H juin "ZHE~ says [j'lin] -<speak xml:lang="fr-FR"> Je teste <phoneme alphabet="xsampa" ph=""ZHE~"/>.</speak> +# TEST H juin "ZHE~ +<speak xml:lang="fr-FR"> Le mois de <phoneme alphabet="xsampa" ph=""ZHE~"/>, et de juin.</speak> # TEST j pierre "pjER <speak xml:lang="fr-FR"> Je teste <phoneme alphabet="xsampa" ph=""pjER"/>.</speak> -# BUG l long "lO~ says [ion] -<speak xml:lang="fr-FR"> Je teste <phoneme alphabet="xsampa" ph=""lO~"/>.</speak> +# TEST l long "lO~ +<speak xml:lang="fr-FR"> Je teste <phoneme alphabet="xsampa" ph=""lO~"/>, long, et longtemps.</speak> -# TEST l long "lO~ works only in a sentence (here also used to say "longtemps") +# TEST l long "lO~ used here in a sentence (to say "longtemps") <speak xml:lang="fr-FR"> Je teste <phoneme alphabet="xsampa" ph=""lO~"/> et <phoneme alphabet="xsampa" ph=""lO~tA~"/>.</speak> -# BUG w coin "kwE~ says [keu'oin] -<speak xml:lang="fr-FR"> Je teste <phoneme alphabet="xsampa" ph=""kwE~"/>.</speak> +# TEST w coin "kwE~ +<speak xml:lang="fr-FR"> Je teste <phoneme alphabet="xsampa" ph=""kwE~"/>, et coin.</speak> # --------- Vowels @@ -103,7 +103,7 @@ <speak xml:lang="fr-FR"> Je teste <phoneme alphabet="xsampa" ph=""Zys.t@.mA~"/>.</speak> # BUG E seize "sEz says [seisse] -<speak xml:lang="fr-FR"> Je teste <phoneme alphabet="xsampa" ph=""sEz"/>.</speak> +<speak xml:lang="fr-FR"> Je teste <phoneme alphabet="xsampa" ph=""sEz"/>, et seize, et césar.</speak> # TEST O comme "kOm <speak xml:lang="fr-FR"> Je teste <phoneme alphabet="xsampa" ph=""kOm"/>.</speak> diff --git a/pico/tts/com_svox_picottsengine.cpp b/pico/tts/com_svox_picottsengine.cpp index 6fb0ac7..450ebcb 100644 --- a/pico/tts/com_svox_picottsengine.cpp +++ b/pico/tts/com_svox_picottsengine.cpp @@ -730,7 +730,7 @@ static char * doCamelCase( const char * str ) pos=tokstart+tlen_2; } //} - data[outpos] = 0; + data[outpos -1] = 0; return data; }/*doCamelCase*/ @@ -1505,13 +1505,13 @@ tts_result TtsEngine::synthesizeText( const char * text, int8_t * buffer, size_t } } else { /* camelCase pre-processing */ - //expanded_text = doCamelCase(text); + expanded_text = doCamelCase(text); /* Add property tags to the string - if any. */ - local_text = (pico_Char *) doAddProperties( text );//expanded_text ); - /*if (expanded_text) { + local_text = (pico_Char *) doAddProperties( expanded_text ); + if (expanded_text) { LOGV("freeing string for %s", expanded_text); free( expanded_text ); - }*/ + } if (!local_text) { LOGE("Failed to allocate memory for text string"); return TTS_FAILURE; |