Commit Graph
5463 Commits
Author SHA1 Message Date
Samuel Thibault 1e9782d22a Disable use of libsonic with msan
msan requires that we build all code with msan to avoid false positives.
2022-11-10 02:56:15 +01:00
Samuel Thibault 1bf817e03c Fix testsuite without libsonic 2022-11-10 02:56:15 +01:00
Alexander Epaneshnikov 797846ff10 Russian update (#1520) 2022-11-09 22:47:05 +03:00
kirill-jjj aa7c7f16b9 Russian: fix for энергия 2022-11-10 00:10:02 +05:00
kirill-jjj 3eee7ea2f1 Russian: fix for майонез 2022-11-10 00:03:39 +05:00
kirill-jjj 5d8a48fa39 Russian: fix for word счастливый 2022-11-09 23:58:30 +05:00
kirill-jjj 449dabca54 Russian: fix for word бизнес 2022-11-09 23:54:56 +05:00
kirill-jjj d4e509b5a9 russian: fix for words like дядька 2022-11-09 23:44:53 +05:00
Juho Hiltunen 90273e6842 Spanish: fix pronunciation of "r" letter (#1517)
In Spanish the letter "r" in the alphabet is correctly pronounced as
"ERRe", instead of "Ere".
2022-11-09 20:20:42 +02:00
kirill-jjj bfc3c984e5 Fix pronunciation of efi 2022-11-09 23:13:47 +05:00
Mateo Cedillo e2566aae22 fix pronunciation of "r" letter
In Spanish the letter "r" in the alphabet is correctly pronounced as "ERRe", instead of "Ere".
2022-11-09 07:52:07 -05:00
Alexander Epaneshnikov fc3371571a fix pronunciation of uefi (#1516)
this closes #1497
2022-11-09 15:16:54 +03:00
kirill-jjj 78ad1cf3bb fix pronunciation of uefi 2022-11-09 16:34:51 +05:00
Alexander Epaneshnikov 1a739d6c24 Add unquoted attributes support in SSML parser (#1515)
Also check for empty skip_marker name in SSML_MARK.

Fixes #975
2022-11-09 00:12:25 +03:00
Alexander Epaneshnikov 9ce61c7c8f Fix pause duration for SSML and Sonic (#1514)
Fixes #1512

There was a two bugs.
The first is SSML duration compensation was calculated wrong because
rate was not sync to internal global state.
The second causes pauses shorten when sonic compresses it, so I back
compensated it in wavegen.
2022-11-09 00:07:07 +03:00
Yury Popov 99c282640b SSML: Check that skip marker is not empty 2022-11-08 23:50:42 +03:00
Yury Popov ac3de913f2 Support unqouted attributes in SSML parser 2022-11-08 23:46:16 +03:00
Yury Popov 877bab0942 Add SSML prosody-break tests 2022-11-08 22:26:01 +03:00
Yury Popov 9f0b23f49e Compensate silence duration when sonic enabled 2022-11-08 17:54:49 +03:00
Yury Popov 61de330443 Sync rate for SSML break duration 2022-11-08 17:51:17 +03:00
Samuel Thibault 05d97d4929 Fix 1507 (#1513) 2022-11-08 00:05:19 +01:00
Juho Hiltunen 52e4811ab9 test for #1507 2022-11-08 00:01:01 +01:00
Samuel Thibault 14fc5cdb63 dictionary: Fix failure to look back
Firstly, a ~ match is supposed to match even if there's nothing left.

Also, when p doesn't match, we should not return immediately, but skip
to the next group.

Fixes #1507
2022-11-08 00:01:01 +01:00
Juho Hiltunen 3a3787b855 cleanup: use bool instead of int for condition_failed 2022-11-07 21:08:25 +02:00
Alexander Epaneshnikov 63f653c992 Russian: fix for words like вышедший (#1510) 2022-11-07 18:07:08 +03:00
kirill-jjj d8cc76765a Russian: fix for Georgian surnames 2022-11-07 19:42:56 +05:00
kirill-jjj 121a33949f Russian: fix for words like вышедший 2022-11-07 19:34:46 +05:00
Alexander Epaneshnikov 30a773b8f8 Flush sonic stream on rate reset (#1508)
Fixes #1506
2022-11-07 15:46:00 +03:00
Yury Popov 178afb10db Flush sonic stream on rate reset 2022-11-07 15:17:01 +03: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
Sergei B 213e8624cb Belarusian: fix rules for soft з с 2022-11-05 21:41:19 +01:00
Juho Hiltunen 6e7f3c4e98 Merge branch 'duplicates' 2022-11-05 21:22:50 +02:00
Juho Hiltunen c5fac3185c cleanup: join two adjacent if (only == false) blocks.
Note: The latter part is untested code.
2022-11-05 21:22:39 +02:00
Juho Hiltunen ca0019b197 cleanup: use bool in LookupCharName() 2022-11-05 21:22:39 +02:00
Juho Hiltunen acc43a76e4 cleanup: remove code duplication with UnGetC() 2022-11-05 21:22:39 +02:00
Juho Hiltunen 95e5c4458d cleanup: remove duplication with DecodeWithPhonemeMode().
TODO: think of a better function name.
2022-11-05 21:22:39 +02:00
Juho Hiltunen f53ebf469c cleanup: remove code duplication with TerminateBufWithSpaceAndZero().
One redundant ix++ was removed because there's a return right after that.
2022-11-05 21:22:39 +02:00
Alexander Epaneshnikov f2e0f1b97a Russian: fix for 400 and льстят, and льстит (#1504) 2022-11-05 21:31:42 +03:00
kirill-jjj ec5f868955 Russian: fix max_initial_consonants, now words льстят and льстит whill be fixed 2022-11-05 23:26:08 +05: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
Alexander Epaneshnikov bbd977f58a Russian update (#1499) 2022-11-04 14:13:19 +03:00
kirill-jjj 4c8a2f43c6 Russian: remove speed atribute from language file 2022-11-04 13:57:31 +03:00
kirill-jjj 527e2079fa Russian: fix for number 60 2022-11-04 13:57:30 +03:00
kirill-jjj 77c0844aeb Russian: fix for не 2022-11-04 13:57:28 +03:00
kirill-jjj 310dff882f Russian: remove the pause for а and и 2022-11-04 13:57:27 +03:00
Alexander Epaneshnikov 2477857f11 Android: increase target sdk to 31 (#1502) 2022-11-04 01:55:19 +03:00
Alexander Epaneshnikov 1133b29bca Android: increase target sdk to 31 2022-11-04 01:37:49 +03:00
Alexander Epaneshnikov cfeaf70fa4 Android: some fixes (#1501)
- Android: enable debug logs in debug build type
- Android: enable debug in native lib
- Android: remove hardcoded chmod
2022-11-04 01:23:24 +03:00