Commit Graph
444 Commits
Author SHA1 Message Date
Yury Popov 6bb25fbb07 windows: fix mingw build 2022-12-09 00:49:31 +03:00
Yury Popov 91b3959170 windows: fix DLL build 2022-12-09 00:49:30 +03:00
Yury Popov 5d547e2676 windows: Fix API test (pathsep) 2022-12-09 00:49:30 +03:00
Yury Popov a6453f3751 tests: fix and re-enable shell tests 2022-12-02 21:34:33 +03:00
Yury Popov c6dc7bfc3d build: run tests with ctest 2022-12-02 21:34:33 +03:00
Yury Popov 1cc91d4cc1 tests: fix api test for async enabled 2022-11-27 17:45:17 +03:00
Juho Hiltunen 1b930c53f3 Allow <break> at the beginning of SSML (#1531)
Fixes #1232
2022-11-15 20:51:28 +02:00
Alexander Epaneshnikov 6382e36787 Fix rate setting without libsonic (#1524)
Move a code that should be shared outside HAVE_SONIC_H ifdef.

That also simplifies prosody SSML tests (made by @sthibaul) by removing
unnecessary cases.

Ref: #1512 #1368
2022-11-15 19:36:15 +03:00
Yury Popov 4d9b4ad1f9 Fix and re-enable klatt test 2022-11-15 10:03:04 +03:00
Yury Popov e2c44ab965 Add breath/klatt variants to tests 2022-11-15 10:03:03 +03:00
Yury Popov ca4b340cc3 Use deterministic espeak-ng in tests 2022-11-15 10:03:03 +03:00
Yury Popov 7ba91ef178 Allow <break> at the beginning of SSML 2022-11-13 23:12:28 +03:00
Yury Popov 38e0f4b1f5 Fix rate setting without libsonic 2022-11-12 11:50:08 +03:00
Yury Popov 44b514febf Compensate SSML break time for libsonic 2022-11-12 09:59:01 +03:00
Samuel Thibault 359e902ebe Re-enable 260% test now that msan CI doesn't use sonic 2022-11-10 03:15:50 +01:00
Samuel Thibault 1bf817e03c Fix testsuite without libsonic 2022-11-10 02:56:15 +01:00
Yury Popov 877bab0942 Add SSML prosody-break tests 2022-11-08 22:26:01 +03:00
Juho Hiltunen 52e4811ab9 test for #1507 2022-11-08 00:01:01 +01:00
Juho Hiltunen 34fecbdd4f Belarusian: add rules for softening з, с / tests [ready to review] (#1500)
soft `з, с` if previous syllable is soft
add test for the new rules
2022-11-07 06:41:32 +02:00
kirill-jjj 541a82f20c Russian: fix for 400 2022-11-05 23:26:07 +05:00
Sergei B a76c0951bc Belarusian: add rules for softening
soft `з, с` if previous syllable is soft
2022-11-05 17:07:37 +01:00
Juho Hiltunen abc10e67ae Belarusian: add voiced-devoiced rules and test [ready to review] (#1481)
- add voiced-devoiced rules and test
2022-11-05 17:31:14 +02:00
kirill-jjj 527e2079fa Russian: fix for number 60 2022-11-04 13:57:30 +03:00
Juho Hiltunen 822abfd1f3 Fixes for Ukrainian language (#1480) 2022-11-01 22:13:32 +02:00
Sergei B cb007f8586 Belarusian: add devoiced-voiced rules and test 2022-11-01 18:10:38 +01:00
Andrij Mizyk 3e06153752 Fix language-phonemes.test 2022-11-01 09:25:43 +02:00
Juho Hiltunen b0661692b1 fix a warning about deprecated egrep by using grep -E. 2022-10-31 21:00:02 +02:00
Sergei B bf5dcfc230 Belarusian: add new rules, fix old, tests
fix "здж" > "ждж" rule, fix test for it
add rules for "б г д дз дж з" at the end of words
add devoiced rules conversion
add some words to vocabulary
added tests for new rules
2022-10-30 20:33:59 +01:00
kirill-jjj 0997416aec Russian: add a new variant, Russian (classic) 2022-10-28 17:01:49 +03:00
Samuel Thibault 819cab294e Add almost-33-digits test 2022-10-23 19:52:07 +02:00
Samuel Thibault 0127aea5c9 Fix long numbers
nvda happened to be speaking 3647 because strtoi was actually
overflowing. Better make sure to have proper ascii to number translation
before continuing.

Fixes #1385
2022-10-23 19:25:25 +02:00
Yury Popov 5b13292390 Re-enable ltg/lv phonemes tests 2022-10-18 17:09:39 +03:00
Yury Popov c5ff2aa592 Add phoneme events test 2022-10-17 18:48:25 +03:00
Sergei B 55bbc7f993 Belarusian: add phoneme tests
cover all phoneme rules with
the tests.
2022-10-16 13:10:34 +02:00
kirill-jjj e5398ba32a Russian: fix for numbers 60 and 40 2022-10-16 00:55:30 +03:00
Sergei B 77fff15822 Belarusian: added tests
added tests to:
- language-numbers-cardinal.test
- tests/language-phonemes.test
- tests/language-pronunciation.test
2022-10-14 00:32:08 +03:00
kirill-jjj 762eba359d russian: a bunch of improvements 2022-10-11 23:36:34 +03:00
Juho Hiltunen e03ab8a8c4 tests: add a test for langopts.spelling_stress 2022-10-10 21:04:25 +03:00
Cameron Wong ddf2218f39 add test for Mandarin word 2022-09-29 09:27:12 +08:00
Cameron Wong b3af30a5be Rewrite cmn_rules. Vowel will be spoken as Mandarin only when it's with a tone number. Otherwise, it will be regarded as English. This will make English words translated more correctly. 2022-09-29 09:13:11 +08:00
kirill-jjj 563db55147 Russian: improve numbers 2022-09-18 01:17:00 +03:00
Yury Popov 8e92ecf91c Add libsonic to macOS CI build 2022-09-16 14:16:26 +02:00
Valdis Vitolins 8001cf5a48 Merge pull request #1320 2022-09-12 22:33:42 +03:00
Valdis Vitolins b6ffccff6a Improve syllabic m and n 2022-09-12 22:10:52 +03:00
kirill-jjj 7c26a12cef Russian: Fix for number 8 2022-09-12 19:26:31 +03:00
Yury Popov 0f5a30ffcc Temporary disable tests that fails on macOS 2022-09-12 11:48:55 +03:00
Juho Hiltunen c4d8976fbc code cleanup: Add new source file common.h for misc functions. 2022-09-03 21:19:37 +03:00
Juho Hiltunen 366658e85a cmn: yue: add tests for latin characters as English or pinyin/jyutping 2022-08-31 21:15:23 +03:00
Juho Hiltunen aa24065d5b tests: Add tests for ignored or replaced characters (tr->chars_ignore) 2022-08-28 20:13:04 +03:00
Samuel Thibault 6284272c31 Fix out-of-bound vowel_stress access
./src/espeak-ng -v ar --path=$PWD 5777

would access out of the vowel_stress array, because GetVowelStress, in the
phcode == phonSYLLABIC case, only increments count if stress is 0.  This
code seems fishy, and is not coherent with the loop in SetWordStress.  I
made it similar to the other case above, thus fixing the out-of-bound
access.

This is modifiying the stress in the tn test, I don't know whether this
is expected.
2022-08-28 17:13:32 +02:00