Commit Graph
5628 Commits
Author SHA1 Message Date
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
Alexander Epaneshnikov 6f41255ed1 Android: remove hardcoded chmod
I don't understand why it was necessary.
on some devices, the binary is in a different location. if this is still needed for something, we need
to search for chmod binary dynamicly
2022-11-04 01:12:43 +03:00
Alexander Epaneshnikov 6db277c5ed Android: enable debug in native lib 2022-11-04 01:12:21 +03:00
Alexander Epaneshnikov acaf2e8f75 Android: enable debug logs in debug build type 2022-11-04 01:04:38 +03:00
Alexander Epaneshnikov 5dd30f0395 Android: Fix compatibility issues with some vendors (#1498)
add tolower and toupper to be processed by ucd-tools in
WCTYPE_H_COMPAT_SHIM

some vendors don't provide conformance with c standard in bionic
2022-11-04 00:22:00 +03:00
Beqa Gozalishvili e3487d0cf8 Android: Fix compatibility issues with some vendors
add tolower and toupper to be processed by ucd-tools in WCTYPE_H_COMPAT_SHIM

some vendors don't provide conformance with c standard in bionic
2022-11-04 00:58:37 +04:00
Juho Hiltunen b40a0f22c0 Fix breathw arg count in Alicia and F5 voices (#1496)
Fixes #1494
2022-11-03 20:21:08 +02:00
Yury Popov df75053f7b Fix breathw arg count in Alicia and F5 voices 2022-11-03 10:20:26 +03:00
Alexander Epaneshnikov 246f487814 Android: fix imports written by mistake (#1495) 2022-11-02 23:14:25 +03:00
Beqa Gozalishvili e0031964f9 Android: fix imports written by mistake 2022-11-02 23:09:27 +04:00
Alexander Epaneshnikov d88fa7f6b6 Android: fix crash when opening settings on pre-7 devices (#1483) 2022-11-02 21:55:35 +03:00
Beqa Gozalishvili d3ae703e60 Android: fix crash when opening settings on pre-7 devices 2022-11-02 14:57:52 +04:00
Alexander Epaneshnikov 94e0024bf4 Android: Fixed a crash when trying to get list of voices (#1482)
There was a problem when reference table was overflowing because of lots
of local references.

Now espeak should not crash on some android devices.
2022-11-02 12:06:56 +03:00
Beqa Gozalishvili e72e30ba52 Fix crash for some of devices. 2022-11-02 12:56:32 +04: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 ec8e33c766 Update ChangeLog.md 2022-11-01 09:40:52 +02:00
Andrij Mizyk 3e06153752 Fix language-phonemes.test 2022-11-01 09:25:43 +02:00
Andrij Mizyk 4b48328d29 Support of Ukrainian language 2022-10-31 21:11:50 +02:00
Juho Hiltunen b0661692b1 fix a warning about deprecated egrep by using grep -E. 2022-10-31 21:00:02 +02:00
Juho Hiltunen bdd46838c0 fix compiler warnings for unused variables and functions.
See commits ae97fa16 and a178ea1b.
2022-10-31 20:45:59 +02:00
Alexander Epaneshnikov 2871557cdb Russian and Czech update (#1478)
I really wonder why the code comment says.
	case NUM2_THOUSANDS_VAR2: // lang=cs,sk
and option 4 was used for Czech, and this is not the case when this
option fits the language, just the opposite.
it reads 10000000 as 10000, 11000000, as 11000, and so on
almost the same problem was in the Russian language, only it consisted
in the fact that the var_1 itself was not made correctly. And here the
variant is commented on as the one that is used in the Czech language,
but it is not used there. And the worst thing is that everyone does not
pay attention to it, well, it reads the wrong number, well, okay.
2022-10-31 12:30:43 +03:00
kirill-jjj 4ad61f3165 Belarussian: fix for rule with numbers 2022-10-31 12:15:07 +03:00
kirill-jjj 8e0e5d5c9c Czech: Fix NUM2_THOUSANDS_VAR to use correct value for Czech, I'm serious, it used the Lithuanian var 2022-10-31 12:15:06 +03:00
kirill-jjj 95ed5c0c88 Russian: refacter the NUM2_THOUSANDS_VAR1 to return 1MA, not 0MB and fix the rules for them 2022-10-31 12:15:05 +03:00
Alexander Epaneshnikov fa649c4b14 Belarusian: add new rules, fix old, tests (#1471)
- fix "здж" > "ждж" rule, fix test for it
- add rules for "б г д дз дж з" at the end of words
- added tests for new rules
- add devoiced rules conversion and tests
- languages.md: fix the Belarusian language name
2022-10-31 12:13:56 +03:00
Sergei B 83360c5597 languages.md: fix the Belarusian language name 2022-10-30 20:34:11 +01: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
Juho Hiltunen 1de9f4b52c Revert "cleanup: reduce code duplication with a new function"
This reverts commit 8021528f5e.

Failing on CI/CD.
2022-10-30 10:56:59 +02:00
Juho Hiltunen ec57210cc5 Merge branch 'duplicates'
Code cleanups found with static analyzers.
2022-10-30 10:12:23 +02:00
Juho Hiltunen 8021528f5e cleanup: reduce code duplication with a new function
StatusCreateTerminatedMsg.

This is not covered by current tests.
2022-10-30 10:12:11 +02:00
Juho Hiltunen 55f1f8e113 cleanup: reduce code duplication with AddToVoicesList()
Checking for return value & continue might be redundant.
2022-10-30 10:12:11 +02:00
Juho Hiltunen d47d2d0a40 cleanup: remove duplicate StringToWord()
Found with pmd-cpd static analysis
2022-10-30 10:12:11 +02:00
Juho Hiltunen 03ebb2fd11 cleanup: reduce variable scopes dictionary.c 2022-10-30 10:12:06 +02:00
Juho Hiltunen f23ff88755 cleanup: reduce variable scopes in synthdata.c 2022-10-30 10:11:53 +02:00
Juho Hiltunen 5d4791ccd1 cleanup: reduce variable scopes in synthesize.c 2022-10-30 10:11:44 +02:00