Commit Graph
3395 Commits
Author SHA1 Message Date
Juho Hiltunen 079d5a92c5 remove more unnecessary speech.h includes 2018-03-09 21:08:38 +02:00
Juho Hiltunen 30ad5c39f6 move struct MatchRecord to dictionary.c since it's the only file that uses it 2018-03-09 21:08:38 +02:00
Juho Hiltunen 342f077755 remove unused declarations of ChangePhonemes_ru() and struct CHANGEPH
these are the only references in the code.
2018-03-09 21:08:38 +02:00
Juho Hiltunen d1fd650219 Replace references to USHORT, DOUBLEX and UCHAR with unsigned short, double and unsigned char.
This makes the codebase more consistent. Including speech.h is not necessary anymore in some files. Includes have been removed.
2018-03-09 21:08:38 +02:00
Juho Hiltunen 738492100a make all headers (almost) self-contained by using include guards and #include statements within headers 2018-03-09 21:08:15 +02:00
Reece H. Dunn 8c41a01ec4 tests: test ga consonant and vowel audio generation 2018-03-08 07:39:38 +00:00
Reece H. Dunn 6dc13c99a9 fr: remove the unused fr-CA phoneme table.
There is no fr-CA language dialect dialect file, nor has there
been in the espeak/espeak-ng history.

The fr-CA phoneme table defined the additional phonemes [U], [y"],
[E:], and [A]. The fr-FR phoneme table mapped these to [u], [y],
[E], and [a] respectively. This meant to describe the phonemes that
have not been merged in fr-CA, but have merged in fr-FR, as described
in https://en.wikipedia.org/wiki/Quebec_French_phonology.

The only use of these phonemes in the French dictionary was with
the word "tramway" using [E:]. This has been replaced with [E] to
match the rest of the dictionary file transcriptions, and those
phonemes for fr-CA have been removed.

If fr-CA is supported in the future, the French dictionary would
need to be modified to reverse the merger of the phonemes that are
not merged in fr-CA, with the merge logic being performed in the
fr-FR phoneme table like in the code being removed in this commit.
2018-03-08 07:12:49 +00:00
Reece H. Dunn c5f88c51dd translate.c: Don't loop to the end of sbuf, as sbuf gets null terminated, so needs a byte for the null character. [msvc /analyze]. 2018-03-07 12:56:26 +00:00
Reece H. Dunn c49164334b Ensure each name in proc_names can fit an item_string [msvc /analyze]. 2018-03-07 12:50:58 +00:00
Reece H. Dunn 583a23f0cd Use ENV_LEN in the fwrite call in LoadEnvelope2 to be consistent with the rest of the function. 2018-03-07 12:36:58 +00:00
Reece H. Dunn 96ae5c65be windows: ignore static-analysis build output 2018-03-07 12:32:09 +00:00
Reece H. Dunn 19e425a169 windows: add ssml.c to the project to fix building on Windows 2018-03-07 12:27:39 +00:00
Reece H. Dunn 6e3bcb1243 tests: test fr consonant and vowel audio generation 2018-03-07 08:04:43 +00:00
Reece H. Dunn 4bf83271ec tests: test fi consonant and vowel audio generation 2018-03-07 07:42:53 +00:00
Reece H. Dunn 41f19d4137 tests: test fa consonant and vowel audio generation 2018-03-07 07:34:13 +00:00
Reece H. Dunn 477395e29a tests: test eu consonant and vowel audio generation 2018-03-07 07:03:11 +00:00
Reece H. Dunn 605fa2d7dc tests: test et consonant and vowel audio generation 2018-03-06 07:56:28 +00:00
Reece H. Dunn 219d187a61 tests: test es consonant and vowel audio generation 2018-03-06 07:44:01 +00:00
Reece H. Dunn 04dd5168a0 tests: test eo consonant and vowel audio generation 2018-03-06 07:32:37 +00:00
Reece H. Dunn e05b478f22 tests: use autoconf-style output when checking for the sha1 command. 2018-03-06 07:19:43 +00:00
Reece H. Dunn f71068a500 tests: test en consonant and vowel audio generation 2018-03-06 07:18:57 +00:00
Reece H. Dunn 2b6f862ad4 tests: test el consonant and vowel audio generation 2018-03-05 07:49:12 +00:00
Reece H. Dunn beb8ed816f tests: test de consonant and vowel audio generation 2018-03-05 07:42:26 +00:00
Valdis Vitolins e3dc69b4dd ru: fix for 'зч' 2018-03-05 07:30:54 +00:00
Reece H. Dunn 2692a92072 Merge commit 'f5539fc5fb2f8bf40d35a287ec08dad71c624d4c' 2018-03-05 07:30:20 +00:00
Reece H. Dunn 62c169e52e tests: test da consonant and vowel audio generation 2018-03-05 07:08:53 +00:00
Valdis Vitolins f5539fc5fb ru: hard/soft 'ъ/ь' are silent 2018-03-04 22:51:50 +02:00
Valdis Vitolins 021e9ea6ca ru: shortened rule for ..его at the end of word, which is spelled as iv'o 2018-03-04 22:51:50 +02:00
Valdis Vitolins 024ba81d14 ru: some common names where 'е' is written instead of 'ё' 2018-03-04 22:51:50 +02:00
Valdis Vitolins b211b41989 ru: fix for 'зе' (Медузе) 2018-03-04 22:51:50 +02:00
Valdis Vitolins 922a7b0519 ru: fix for 'жч' (мужчина) 2018-03-04 22:51:50 +02:00
Valdis Vitolins 1e8e037613 ru: fix for 'щ' 2018-03-04 22:51:50 +02:00
Valdis Vitolins 00d80691bb ru: stress fixes for pronouns 2018-03-04 22:51:50 +02:00
Valdis Vitolins 33c9e800a3 ru: 'х' made less stressed 2018-03-04 22:51:50 +02:00
Valdis Vitolins 10b348be19 ru: consistent formatting applied 2018-03-04 22:51:49 +02:00
Valdis Vitolins 096877d92b ru: fixes for 'л' and 'ль' (especially at the end of word) 2018-03-04 22:51:49 +02:00
Valdis Vitolins f54876422c ru: fix for 'сч' which is wrongly merged 2018-03-04 22:51:45 +02:00
Valdis Vitolins ab3d035770 Merge branch 'master' of https://github.com/espeak-ng/espeak-ng 2018-03-04 15:15:05 +02:00
Reece H. Dunn 52c2b722a9 tests: test cs consonant and vowel audio generation 2018-03-04 12:25:45 +00:00
Reece H. Dunn 6a9621d213 Merge remote-tracking branch 'valdisvi/master' 2018-03-04 09:41:16 +00:00
Valdis Vitolins 7b7598d53d Merge branch 'master' of https://github.com/espeak-ng/espeak-ng 2018-03-04 11:34:40 +02:00
Reece H. Dunn b23f475e1a ssml.h: Reformat the header file. 2018-03-04 09:32:29 +00:00
Reece H. Dunn d47e48a377 ssml: Update the copyright notice. 2018-03-04 09:27:52 +00:00
Reece H. Dunn 017c6a9383 ssml.h: Add a copyright header and include guards. 2018-03-04 09:25:06 +00:00
Reece H. Dunn 49b97105e5 ssml: Move ssmltags to ssml.c where it is used.
This avoids 'unused parameter' errors in readclause.c.
2018-03-04 09:18:34 +00:00
Valdis Vitolins 6465e85615 ru: more formatting fixes 2018-03-04 00:16:07 +02:00
Valdis Vitolins 3df38fd7e2 ru: n is softened before iotated vowel 2018-03-04 00:10:37 +02:00
Valdis Vitolins 05b4d622db ru: m; phoneme shortened 2018-03-03 23:53:59 +02:00
Juho Hiltunen 985e7d5b39 set functions in ssml.c static.
The only entry point in the file is ProcessSsmlTags().
2018-03-03 23:46:58 +02:00
Juho Hiltunen ace9bc087a fix syntax for pointer incrementation
previous syntax was a quick fix when changing from globals to pointers.
2018-03-03 23:45:42 +02:00