Lucas Werkmeister
d201e17418
Fix stress of Elvish ⟨ch⟩, ⟨dh⟩, ⟨th⟩
In Elvish languages, ⟨ch⟩, ⟨dh⟩, and ⟨th⟩ count as single consonants for
the purposes of stress, since they represent single letters in the
original scripts. The easiest way to implement this is to replace them
with single letters at the beginning – ⟨ð⟩ for ⟨dh⟩ and ⟨þ⟩ for ⟨th⟩ are
natural, and ⟨x⟩ for ⟨ch⟩ also makes some sense, though it means we need
to replace real ⟨x⟩ first (it’s not mentioned in Appendix E of The Lord
of the Rings, but does occur in some Quenya words, notably Helcaraxë).
Real ⟨x⟩ is pronounced like /ks/, but of course we need to spell that as
⟨cs⟩, since ⟨k⟩ does not occur in Elvish languages.
4 years ago
Lucas Werkmeister
35defe2c77
Add first tests for Elvish languages
This consists of the test cases from my Tolkien Stress Analyser [1],
minus the ones that aren’t properly handled yet for various reasons. I
expect to add more words here with most future commits for Elvish
languages.
[1]: https://github.com/lucaswerkmeister/tolkien-stress/blob/gh-pages/test/index.test.mjs
4 years ago
Valdis Vitolins
0f48665868
Exclude Android libraries from executable bit test
4 years ago
agonzalezd
fa476bb239
eu: Updated intervocalic j phoneme in Basque
4 years ago
agonzalezd
1320bfe5f9
eu: Passed test/language-pronunciation.test, removed hardcoded stress_rule in Basque
4 years ago
Reece H. Dunn
5791bf28de
Fix -Wunused-parameter warnings.
4 years ago
Valdis Vitolins
40b78f5183
Add handling of Ignore message for all test functions
4 years ago
Valdis Vitolins
17e6bd0672
Print out short message instead of long output for tests with long test string
4 years ago
Philippe Antoine
956dd18202
fuzzer: test env variable ESPEAK_DATA_PATH
before overwriting it with a default value for oss-fuzz
4 years ago
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.
4 years ago
Christopher Brannon
2d7286d571
Fix out-of-bounds read when processing malformed SSML.
4 years ago
Philippe Antoine
0a713d52bb
fuzz: use binary directory for ESPEAK_DATA_PATH
instead of current working directory
so, the fuzzer can be launched from anywhere
4 years ago
Reece H. Dunn
bcf3b5fec2
Ignore the ucd-tools test executables in the non-executable file test.
4 years ago
Reece H. Dunn
acb7248562
Fix running the non-executable-files-with-executable-bit test.
4 years ago
Philippe Antoine
24bfbcfeca
Oss-fuzz integration
- fix a buffer overflow in ucd_tolower leading to failure when
compiling with address sanitizer
- force the use of C++ compiler for espeak-ng
- adding a malloc to have a null-terminated string in the fuzz target
- setting (but not overwriting) ESPEAK_DATA_PATH environment
variable inside the fuzz target
4 years ago
Valdis Vitolins
899b268468
Add OPTIONS argument to test_phon() and use it instead of test_commandlineoptions()
4 years ago
Valdis Vitolins
d15de8cd78
Fix introduced bugs during refactorization
4 years ago
Valdis Vitolins
5f6b5c8093
Make output more similar to the output before refactorization
4 years ago
Valdis Vitolins
4588258cd7
Make test_replace() similar to other functions
4 years ago
Valdis Vitolins
df8dd607df
Replace test_lang() and test_voice() with test_wav() and test_phwav() which uses test_wav()
4 years ago
Valdis Vitolins
842cd3e25e
Replace test_phonemes(), test_phonemes1() and test_dict() with single test_phon()
4 years ago
Valdis Vitolins
43dee60c33
Make test_dict the same as test_phonemes
4 years ago
Valdis Vitolins
e14b567d77
Merge MESSAGE and TEST_BROKEN arguments
4 years ago
Valdis Vitolins
6fcb110b83
Move MESSAGE argument as 4th, to make arguments similar to other functions
4 years ago
Valdis Vitolins
ec552d2566
Move common functions into common script
4 years ago
Valdis Vitolins
2954e498ca
Change shell to sh as it is more common
4 years ago
Juho Hiltunen
c4740b3053
New language option lowercaseSentence
When set in a language file, a period followed by a lower case letter is
detected as end of sentence. Normal behavior is to require a capital
letter.
4 years ago
Reece H. Dunn
e6880b27de
[#891]: Fix building the Arabic dictionary on windows.
4 years ago
Reece H. Dunn
a0b0f58cf5
[#864]: Fix installing the Japanese language on windows.
4 years ago
Juho Hiltunen
2d9ef5b5fc
tests: test for mbrola voice combined with a voice variant
4 years ago
Juho Hiltunen
75ea4b0bdf
Tests: add tests for voice variants
4 years ago
Valdis Vitolins
7b160873f7
tr: fix test for changed pronunciation
4 years ago
Juho Hiltunen
c62921ae0b
tests: add tests for ssml <prosody> and <audio>
SSML logic has a bug (#410 ) where speech parameters are not changed when there's a
sentence elogic nd. The prosody bug test should fail.
4 years ago
Juho Hiltunen
4838b35602
Tests: new test file for command line options
This is intended for testing command line options such as -k 2, --punct
and so on.
4 years ago
Juho Hiltunen
a36f5573d2
Tests: new test collection for dictionary files.
The file is intended for everything mentioned in docs/dictionary.md.
4 years ago
Juho Hiltunen
30214437fc
test for #824
4 years ago
Juho Hiltunen
23172c4f74
jbo: add a test for capitals within words (LOPT_CAPS_IN_WORD)
4 years ago
Juho Hiltunen
55eb89ae5d
jbo: fix pronunciation of " i" and " .i".
This test is related to the next two lojban commits. Thanks to xunsku @ irc.freenode.org
4 years ago
datajake1999
5e502661d6
Add speechPlayer Klatt implementation as Klatt 6.
4 years ago
Valdis Vitolins
f0a12ee833
Fix issue #848: Māori improvements
4 years ago
Valdis Vitolins
7df533b7b7
Update tests for Klatt voices
4 years ago
Valdis Vitolins
3a9de7ae73
lv: add names for numbers up to 10^30
4 years ago
Juho Hiltunen
c9dee003bf
better explanation and nicer formatting for the ssml reference test.
4 years ago
Valdis Vitolins
5deac40b1a
Fix issue #811: improve Interlingua language
4 years ago
Juho Hiltunen
959bf26b6b
Add a test for XML/SSML character and entity references
5 years ago
Valdis Vitolins
a479ae7899
lv: adjust intonation
5 years ago
Valdis Vitolins
5e70981884
Add common abbreviations in Russian to the test
5 years ago
Valdis Vitolins
a90234c9ea
Add to test abbreviations explicitly defined in lv_list file
5 years ago
Valdis Vitolins
02174e2f76
Add test for Klatt voices
5 years ago
Karl Eick
1c76c01ee0
Update hashsum
5 years ago