Commit Graph
5118 Commits
Author SHA1 Message Date
Bill Dengler ff280bd761 Fix kubernetes 2022-09-09 00:43:11 -07:00
Samuel Thibault f919333021 fuzz: Also store timeout POC 2022-09-05 11:00:41 +02:00
Samuel Thibault 5b5d5e3c76 fuzz: cache build 2022-09-05 00:17:46 +02:00
Samuel Thibault 6f8aeb4ebc Typo 2022-09-05 00:02:03 +02:00
Juho Hiltunen b52d1f3afd code cleanup: move strncpy0 to common.c 2022-09-04 07:12:39 +03:00
Juho Hiltunen c4d8976fbc code cleanup: Add new source file common.h for misc functions. 2022-09-03 21:19:37 +03:00
jaacoppi 001ad3ab8d Merge pull request #1318
build: Make distclean-local remove more espeak-ng-data files
2022-09-03 17:21:42 +03:00
Juho Hiltunen 47b1b5baeb code cleanup: move TranslateWord3() and others o translateword.c
Use parameters instead of globals. Note the change from sizeof(word_phonemes) to size_word_phonemes.
2022-09-03 11:54:10 +03:00
Juho Hiltunen 5e7c105723 code cleanup: move TranslateLetter() and others to translateword.c 2022-09-03 11:46:16 +03:00
Juho Hiltunen fb06936c51 code cleanup: start moving translateWord3() to a new source file.
The file will be organized to have one callable function only. This
should make code structure simpler.

Existing code will be changed to use function parameters instead of
global variables.

Possible problems include too much dependencies with numbers.c.
2022-09-03 11:41:30 +03:00
Juho Hiltunen c4be2c90ad code cleanup: remove irrelevant comment 2022-09-02 21:10:10 +03:00
Juho Hiltunen 54963ebee2 code cleanup: remove unused int prev_clause_pause 2022-09-02 21:02:44 +03:00
Juho Hiltunen 0e07d929fd code cleanup: refactor checking phoneme_mode into a function 2022-09-01 20:50:27 +03:00
Juho Hiltunen 1443c970cd cmn: search for dictionary matches instead of translating characters.
cmn (Mandarin chinese) has been broken since 4825905.

This fix makes mandarin behave more like Cantonese. Instead of
translating characters, we search for dictionary matches.

The functionality of normal vs Chao tones should be investigated more.
Looks like latin characters as pinyin still uses Chao tones whereas
the characters in cmn_list and cmn_listx do not.

See #1044 for discussion. See also #1028 and #1163.
2022-08-31 21:15:29 +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 69c79ab931 code cleanup: remove unused phonemetable ph_yoruba 2022-08-29 21:26:00 +03:00
Juho Hiltunen 89522c6431 code cleanup: remove unused phonemetable ph_burmese
Myanmar/Burmese (my) uses phonemetable ph_myanmar instead.
2022-08-29 21:24:20 +03:00
Juho Hiltunen 0dbe71827e remove unused phonemetable for kinyarwanda.
Fixup for commit 89768755.
2022-08-28 21:53:11 +03:00
Juho Hiltunen 4e7740fa96 code cleanup: remove unused phonemetable ak (akan) 2022-08-28 21:40:00 +03:00
Juho Hiltunen 2ef9d75067 code cleanup: remove dead code related to language 'wo'
This is the only reference to the language.
2022-08-28 21:34:03 +03:00
Juho Hiltunen 8976875590 code cleanup: remove dead code related to Kiryarwanda
This is the only reference to the language.
2022-08-28 21:34:03 +03:00
Juho Hiltunen 3eb43c1ef5 code cleanup: remove dead code related to Tibetan
Language 'bo' has no data files. Tibetan might have been supported
before but clearly isn't any longer.
2022-08-28 20:40:58 +03:00
Juho Hiltunen 7492475728 code cleanup: make a function for checking tr->chars_ignore
ReadClause() is very long and should be shortened for code readability
2022-08-28 20:13:32 +03:00
Juho Hiltunen a161118976 code cleanup: move lookupwchar2 to readclause.c
It's used only in readclause.c

TODO: Rename so the meaning of the function is easier to understand.
2022-08-28 20:13:16 +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 dccf295f20 Make distclean-local remove more espeak-ng-data files
If for whatever reason the build got broken, the recompilation of data
would fail because espeak-ng would be unable to re-open the current
files. One is then stuck until removing the files by hand. Let's make "make
distclean" clear these all to be sure to be able to restart from zero.
2022-08-28 16:41:10 +02:00
Valdis Vitolins 5c666cd36d Update changelog 2022-08-27 12:34:40 +03:00
Valdis Vitolins f745d47305 Merge pull request #1307 2022-08-27 12:34:04 +03:00
Valdis Vitolins 3394a620e4 Update changelog 2022-08-27 12:31:23 +03:00
Valdis Vitolins 6989b23065 Merge pull request #1305 2022-08-27 12:30:34 +03:00
Valdis Vitolins 96ab4ec3c2 Fix issue #1230: unable to pronounce 20s 2022-08-27 12:01:15 +03:00
Andiv06 dc02d07db7 Update Hebrew
I added some number for Hebrew because is missing probably
2022-08-27 10:53:33 +03:00
Andiv06 bd219fbabf Fix Uzbek 2022-08-27 10:06:25 +03:00
Samuel Thibault 8789e1e8e1 Increase buffer size for thousands processing
E.g. yue does not have many thousands separators, so the value may be very
large, possibly as much as maxint.
2022-08-27 01:32:56 +02:00
Samuel Thibault 3c220e5831 Fix calling utf8_in2
utf8_in2, when working in backward mode, is assuming that we are giving
the address of the last byte of the previous character (see all other
calls to utf8_in2). Otherwise, utf8_in2 returns the size of the current
multibyte character instead of that of the previous multibyte character.
2022-08-26 22:51:44 +02:00
Samuel Thibault 4412de57fd Fix number processing buffer overflow fix
This first reverts "Fix number_buf buffer overflow"
(commit ada93e2db0)

This for loop is apparently actually expected to to skip over NUL
characters.

Fixes #1302

Instead, this limits number processing to 32 digits, as break_numbers does
not support more and would provide bogus result with further digits.

Also fix the signedness of break_numbers so that the 32th bit
actually effectively works.
2022-08-26 22:22:01 +02:00
Valdis Vitolins 29dfc18a2f Update changelog 2022-08-26 21:47:38 +03:00
Valdis Vitolins 5e37c68c0f lv: add ordinal numbers 2022-08-26 21:46:48 +03:00
Valdis Vitolins 6063f7166b Update changelog 2022-08-26 20:52:44 +03:00
Valdis Vitolins 66345ba9ea Merge pull request #1303 2022-08-26 20:50:51 +03:00
Andiv06 958fb25591 Update Kyrgyz 2022-08-26 20:49:55 +03:00
Valdis Vitolins c706e2f617 Merge pull request #1298 2022-08-26 20:43:25 +03:00
Valdis Vitolins de874ee3e8 There is no documented/needed of suffix for cardinal numbers 2022-08-26 20:38:05 +03:00
Samuel Thibault cbb2b32cb1 mb-fr*-en: Give separate names
Otherwise if e.g. only mbrola-fr4 is installed, when the application tries
to load voice en-french, it actually ends up trying to load mb-fr1-en.
2022-08-25 23:31:17 +02:00
Andiv06 e322584a14 Update Nogai 2022-08-24 10:49:18 +02:00
Bill Dengler bc1e1a597c Fix pronunciation of Aira 2022-08-23 13:56:31 -07:00
Quin 97414c47b9 Fixed typo in dictionary documentation. 2022-08-23 00:13:31 +02:00
Valdis Vitolins 5891514b17 Describe contribution quality rules in more details 2022-08-21 22:30:18 +03:00
Valdis Vitolins 7ffb18e46a Update changelog 2022-08-21 22:16:29 +03:00
Valdis Vitolins c632c8e518 Merge pull request #1296 2022-08-21 22:07:55 +03:00