Commit Graph
4602 Commits
Author SHA1 Message Date
Minas Tirith Citizen 3dfd750bf6 removed another space
fix compilation error within the testsuite
2021-06-16 15:41:09 +02:00
Minas Tirith Citizen d44f6e0c99 remove space between -D and PATH_ESPEAK_DATA
fixed a wrong compilation parameter
2021-06-16 15:34:11 +02:00
Minas Tirith Citizen eaa553748e fix conditional for GRADLE
without this fix (assuming it does, what the original author intended to check for), the configure script spits out an error:

checking for ndk-build                                                                              no
checking for gradle                                                                                 no
${_source}/configure: line 13806: 0: command not found
checking if zsp-gcc supports C99 without any flags                                                  yes
checking if zsp-gcc supports C99 with the -std=c99 flag                                             yes

that's because the condition in AM_CONDITIONAL is expected to be a valid shell expression for an if-statement, not just plain value:

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gradle" >&5
printf %s "checking for gradle... " >&6; }
if test -e ${GRADLE} ; then
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${GRADLE}" >&5
printf "%s\n" "${GRADLE}" >&6; }
     if 1; then
  HAVE_GRADLE_TRUE=
  HAVE_GRADLE_FALSE='#'
else
  HAVE_GRADLE_TRUE='#'
  HAVE_GRADLE_FALSE=
fi

else
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
     if 0; then
  HAVE_GRADLE_TRUE=
  HAVE_GRADLE_FALSE='#'
else
  HAVE_GRADLE_TRUE='#'
  HAVE_GRADLE_FALSE=
fi

fi
2021-06-16 15:22:12 +02:00
Juho Hiltunen 4f9664af0a Merge pull request #965 2021-06-12 15:35:12 +03:00
Juho Hiltunen 48971d484c Update changelog 2021-06-12 13:06:52 +03:00
SeanTolstoyevski 2fe8a1898f tr: Update tr_listx
Some words have been added to the dictionary for street language. But Espeak really mispronounced them.

I removed the mispronounced words.
And I wrote a better pronunciation rule for the following words:
* bağışlamak ba:@@Sla'mak
* bağışlayın ba:@@S'laj@n

These words should be lengthened by 1.5 in the first letter "i", in a subtle tone. (letter "ğ" is the reason for this. Normally there is no such rule.)
Previously, the letter "ı" (305) here was ignored.
Although the street language for Turkish looks like this, it is not. Since we have a dynamic language, it is not possible to implement all of them.

Therefore, I request you to accept these changes.
The tests were done on Windows. Pronunciations improved.
2021-06-12 13:06:47 +03:00
Łukasz Golonka 289d9d865e Revert "code cleanup: change global int current_phoneme table to static"
This works around issue 915
2021-06-07 17:49:20 +03:00
Juho Hiltunen 4d0a4df86b Revert "code cleanup: remove unnecessary current_voice_id in readclause.c"
See #950.
2021-06-07 17:43:28 +03:00
Juho Hiltunen 16f30f6522 fi: small changes 2021-06-06 16:30:41 +03:00
Juho Hiltunen 92b797a0e1 fi: changes to abbreviations 2021-06-06 16:30:10 +03:00
Juho Hiltunen 67086dc1da fi: add exceptions to doubling with -sti 2021-06-06 16:18:10 +03:00
Juho Hiltunen b513534995 fi: remove the english pronunciation of some loan words 2021-06-06 16:18:10 +03:00
Reece H. Dunn a13f9bb62a Fix -Wint-conversion warnings. 2021-05-30 17:55:41 +01:00
Reece H. Dunn f581436deb Fix -Wmissing-prototypes warnings. 2021-05-30 17:30:55 +01:00
Reece H. Dunn 720405c5c6 Fix -Wreturn-type warnings. 2021-05-30 17:22:48 +01:00
Reece H. Dunn 53283a910a Fix -Wunused-but-set-variable warnings. 2021-05-30 17:19:54 +01:00
Reece H. Dunn ed6e096b5b Fix -Wunused-function warnings. 2021-05-30 17:15:52 +01:00
Reece H. Dunn 5791bf28de Fix -Wunused-parameter warnings. 2021-05-30 17:10:25 +01:00
Juho Hiltunen 389ce6b738 code cleanup: remove unused FLAG_HYPHENATED and related code.
The flag is never set anywhere so the if-clause will always evaluate to false.
2021-05-28 20:52:49 +03:00
ronaldaug 1df852a1ae add 'aWi' into vowels group 2021-05-28 14:43:42 +06:30
Valdis Vitolins 40b78f5183 Add handling of Ignore message for all test functions 2021-05-23 14:58:17 +03:00
Juho Hiltunen ac5eeb865e code cleanup: new function CheckTranslator()
When a language or voice file in espeak-ng-data is loaded the keyword
"translator" must be set so that other language options can modify the
values in struct Translator.

CheckTranslator() provides standardized error for all switch cases that
modify a value in struct Translator.
2021-05-22 13:38:03 +03:00
Juho Hiltunen fb233a7b0c code cleanup: move stressLength, stressAdd and stressAmp handling in LoadVoice()
From now on, stressLength must be set before stressAdd because
stressLength will overwrite any previous value. Usually stressLength is
set in a language file and stressAdd in a voice file.

Previously the order of the two commands didn't matter.
2021-05-22 13:38:03 +03:00
Juho Hiltunen 7c32085dcd code cleanup: use translator instead of langopts in LoadVoice()
Since new_translator isn't used anymore langopts will always point to
translator anyway.
2021-05-22 13:38:03 +03:00
Juho Hiltunen f16b27b840 code cleanup: remove unnecessary new_translator in LoadVoice()
It looks like this was used in situations where both "language" and
"translator" voice options were found. Since bda8b6f76a "translator"
hasn't been supported.
2021-05-22 13:38:03 +03:00
Valdis Vitolins f6d092a9c1 Merge pull request #942 2021-05-18 23:26:07 +03:00
Valdis Vitolins 0a3fd5ecd9 Update changelog 2021-05-17 18:47:38 +03:00
Valdis Vitolins 83f9312130 Merge pull request #930 2021-05-17 18:42:59 +03:00
Valdis Vitolins 73278951dc Merge pull request #943 2021-05-17 18:29:40 +03:00
Valdis Vitolins 17e6bd0672 Print out short message instead of long output for tests with long test string 2021-05-16 23:38:22 +03:00
Philippe Antoine 956dd18202 fuzzer: test env variable ESPEAK_DATA_PATH
before overwriting it with a default value for oss-fuzz
2021-05-16 21:25:20 +02:00
Juho Hiltunen c83d9f19f2 yue: new language yue-latn-jyutping
yue-latn-jyutping assumes latin characters are jyutping.
2021-05-16 20:09:34 +03:00
Juho Hiltunen 4825905835 cmn: handle latin characters as English text.
cmn now handles all latin characters as English.

The old functionality of assuming latin characters are pinyin can be
achieved with new language cmn-Latn-pinyin.
2021-05-16 19:23:34 +03:00
Valdis Vitolins 68518a6cc9 Merge pull request #940 2021-05-16 14:59:59 +03:00
Christopher Brannon 8810fa330e Fix another out-of-bounds read in SSML parsing.
A malformed tag like <foo could cause espeak to read past
the end of the string.
2021-05-15 15:19:57 -07:00
Juho Hiltunen 2a7080f411 Merge pull request #932 2021-05-15 21:17:50 +03:00
Christopher Brannon 2d7286d571 Fix out-of-bounds read when processing malformed SSML. 2021-05-15 21:12:59 +03:00
Juho Hiltunen 4c7c68d5fe Merge pull request 936 2021-05-15 20:54:23 +03:00
Henry Krumb 8b29985256 de: add 'Ingenieurin', 'Ingenieurinnen' to German exception list & don't pronounce asterisk (gender star) in German text 2021-05-15 20:53:23 +03:00
jaacoppi 8a3dd9a8fc Merge pull request #937 from Christianlm/master
it: Updates italian source dictionaries
2021-05-15 20:47:57 +03:00
Juho Hiltunen d91b7cf288 Rename zh (Mandarin) to cmn across the codebase.
See discussion in #933.
2021-05-11 20:14:54 +03:00
Juho Hiltunen 875174c3e9 Rename zhy (Cantonese) to yue across the codebase.
See discussion in #933.
2021-05-11 19:19:55 +03:00
Philippe Antoine 0a713d52bb fuzz: use binary directory for ESPEAK_DATA_PATH
instead of current working directory
so, the fuzzer can be launched from anywhere
2021-05-11 14:59:23 +02:00
Christianlm 6972465bf9 Updates italian source dictionaries 2021-05-10 11:23:28 +02:00
Reece H. Dunn 379403d102 Merge tag 'de5e36b4ad69c4acfdd728b2ca3e0e472d91afd1'
ucd-tools 11.0.0.1
2021-05-04 18:56:51 +01:00
Reece H. Dunn bcf3b5fec2 Ignore the ucd-tools test executables in the non-executable file test. 2021-05-04 18:50:40 +01:00
Reece H. Dunn acb7248562 Fix running the non-executable-files-with-executable-bit test. 2021-05-04 18:45:11 +01:00
Reece H. Dunn 566e12e726 ucd-tools 11.0.0.1 2021-05-04 18:05:59 +01:00
Reece H. Dunn 2b2eac1d8b Fix the note in case.py/case.c. 2021-05-04 17:54:15 +01:00
Reece H. Dunn 1a895f37b9 Fix running the tests with -fsanitize=address. 2021-05-04 17:51:28 +01:00