Commit Graph
62 Commits
Author SHA1 Message Date
Valdis Vitolins 789d820ad4 shn: add support for Shan language from ronaldaug 2018-05-29 14:55:50 +03:00
Valdis Vitolins f0321bfae7 ru: add only и to Y (iotated) letter group for Russian
as all other letters are already there from Cyrillic.
2018-05-17 21:15:30 +03:00
Valdis Vitolins c53141ff12 ru: issue #491 — add е, ї and є to list of iotated vowels 2018-05-17 21:15:30 +03:00
Juho Hiltunen dd7f788dcf remove unused ints testing and phoneme_change 2018-04-22 12:26:15 +03:00
Juho Hiltunen d196d93ed5 maintainability: move variables to files where they are used, allowing removal of unnecessary extern declarations 2018-03-24 15:05:23 +02:00
Juho Hiltunen 079d5a92c5 remove more unnecessary speech.h includes 2018-03-09 21:08:38 +02:00
Juho Hiltunen 78749f14f8 readability fix: use boolean instead of 0 and 1 for loop control 2018-02-17 18:17:00 +02:00
Reece H. Dunn 5459acb6a7 ru: document the special characters 2018-02-06 20:46:00 +00:00
Valdis Vitolins 02b987f565 dv: comment about unused code added 2018-01-06 14:41:57 +00:00
Valdis Vitolins 2f8d410055 bpy: fixed abbreviation for Manipuri language 2018-01-06 14:40:15 +00:00
Valdis Vitolins 75e42d6870 hak: Initial support added for Hakka Chinese by Chen Chien-ting 2017-12-29 12:46:42 +02:00
Valdis Vitolins 5a0af78af9 3-letter language code constants replaced with C macro L3() 2017-12-29 12:08:23 +02:00
Reece H. Dunn ecd0902a10 Revert "Move most stress rule definitions from tr_languages.c to language files"
This reverts commit 0f55204522.

This breaks using voice files like mb-de5-en. It could also use
named values for the stress rules (e.g. 'first-syllable').
2017-12-21 21:58:46 +00:00
Juho Hiltunen 0f55204522 Move most stress rule definitions from tr_languages.c to language files
Keyword stressRule in voices.c handles setting langopts->stress_rule.

tr_languages.c still contains the setting for some languages that don't have a language file yet.

Contributes to:
Issue #218, https://github.com/espeak-ng/espeak-ng/issues/218
2017-12-10 21:05:21 +02:00
Juho Hiltunen 6042eb8d1e Move handling of SetLetterVowel() to language files
Contributes to:
Issue #218, https://github.com/espeak-ng/espeak-ng/issues/218

Changes:
language files have a new keyword letterVowel. It can be a latin alphabet from a-z or a hex value (used by bulgarian).
Errors in parsing the values are only reported, nothing is done about them.

About testing:
I haven't noticed any differences in the output audio with letterVowel set or unset in any tested language. The code seems to work and the correct bits seem to be set, but I don't know how to confirm from the final audio.

TODO:
1. Write better documentation in docs/voices.md
2. The code uses new_translator. Should it use translator instead?
2017-12-10 21:04:36 +02:00
Reece H. Dunn 4c98f5ffae Remove additional blank lines. 2017-11-26 14:07:17 +00:00
Valdis Vitolins 60e9e3ebcb Fix for issue #338: Chinese Cantonese dictionary (zhy_dict) problem 2017-11-26 15:19:43 +02:00
Reece H. Dunn f605f79465 tr_languages.c: Fix -Wmissing-prototypes warnings. 2017-10-11 07:07:20 +01:00
Reece H. Dunn 74f9f5e34b wavegen.c: Fix -Wmissing-prototypes warnings. 2017-10-10 21:37:46 +01:00
Reece H. Dunn 7f5914c0de Don't ignore ZWJ characters. 2017-10-01 12:24:30 +01:00
Reece H. Dunn 2442dd05ae Document the ignored characters in tr_languages.c. 2017-10-01 12:23:12 +01:00
Reece H. Dunn a4b79f104b Merge remote-tracking branch 'valdisvi/master' 2017-05-16 08:03:04 +01:00
Valdis Vitolins aea34ae5d9 Issue #100 Manipuri: Fix for wrongly pronounced numbers 2017-05-15 23:30:24 +03:00
chrislm 3b0771df5a Decimal numbers in Spanish 2017-05-15 11:46:51 +02:00
Reece H. Dunn 2f8f125c68 Remove voice/language support for alphabet2.
This is not used by any of the espeak-ng voices and languages.
Additionally, this functionality would be superceded by support
for specifying the language used by different scripts in the
language argument on the command line.
2017-05-07 15:10:42 +01:00
Reece H. Dunn 9af96da469 Make the encoding.h API public. 2017-05-02 18:40:16 +01:00
chrislm 5d8bb74169 IT: new improvements tested on april 2017
reduced length to 160 for unstressed syllables

Added some exceptions to the italian dictionaries
2017-05-01 11:06:19 +02:00
Reece H. Dunn 7c16ac543c Use the text decoder API in readclause.c. 2017-03-31 13:17:37 +01:00
Reece H. Dunn 0b0661cef0 Use the encoding.c tables for 8-bit encodings.
1.  Store the encoding enumeration values in the Translation
    object, instead of the charset table.

2.  Use the encoding.c charset table data instead of the ones
    in translate.c.

3.  Remove the charset language file option -- it is only used
    in the Arabic language file, but is used incorrectly there.

4.  Specify ISO 8859-6 for the 8-bit encoding for Arabic instead
    of UTF-8, so that espeakCHARS_8BIT and espeakCHARS_AUTO work
    correctly for Arabic.
2017-03-31 00:01:14 +01:00
Reece H. Dunn bb051e6086 ky: don't speak numbers character by character 2017-02-14 22:48:04 +00:00
Reece H. Dunn 71c010b712 Remove unused wchar.h and wctype.h includes. 2017-02-10 08:03:40 +00:00
Valdis Vitolins 0c3ceb2e70 As secondary stress is still spelled differently it is disabled 2017-02-05 15:41:26 +00:00
chrislm d757fd9743 IT: Reading roman numerals as ordinals. 2017-02-04 11:53:43 +01:00
chrislm 59c9408376 IT: Removed automatic secondari stress
IT: Unstressed final syllable is diminished

IT: Preserve unstressed monosyllable words and allow secondary stress in multisillable words indicated as unstressed in it_list.
2017-02-04 11:43:44 +01:00
Ondřej Lysoněk 3817ee1e16 Moved speak_lib.h to espeak-ng directory
Moved include/espeak/speak_lib.h to include/espeak-ng/speak_lib.h and
created a symlink from the original location.
2016-08-28 10:57:10 +01:00
chrislm d90c7f259a Created spanish diphthongs [oi], added statements to distinguish final diphtong, Created file phoneme oo_ unstressed final vowel.
Replace upercase O in ditc source

Added statements for unstressed vowels, change length/amplitude for unstressed vowels.

improved spanish prosody in tr_language.c

Added rule for suffix mente in es_rules

Translated language names

Added rules for letter spanish ce cedilla, see issue 130

Intonation: improved head and prehead in tune q6
2016-07-22 18:43:27 +02:00
chrislm 80da24bec7 Removed lengthen penultimate stressed vowels from dictionary.c lines 1469-1475. (See #80).
Fixed length stressed vowels in tr_language.c (see #80).

Improved phonemes, new statements for [a] and long close [o].

Added last improvements in italian dict source tested on april-may 2016.
2016-06-05 16:25:45 +02:00
chrislm e43a8e359f Spanish intonation 2016-05-21 16:46:58 +02:00
chrislm 1627318a91 Guarani Language 2016-04-23 19:32:47 +02:00
Reece H. Dunn f09c83640b Fix GCC -Wnarrowing warnings. 2016-01-20 20:48:29 +00:00
Reece H. Dunn bbd981efb8 Use malloc/strdup instead of Alloc. 2016-01-18 20:34:59 +00:00
Reece H. Dunn 96c43f3eb2 Clean up the include files to make them consistent. 2016-01-16 17:54:39 +00:00
Reece H. Dunn 9c7179189b Add a stdint.h compatibility shim. 2016-01-09 13:09:50 +00:00
Reece H. Dunn c89ddf7fda Remove unused mr voice code in tr_languages.c (handled in another case within this file). [coverity] 2016-01-08 20:17:16 +00:00
Reece H. Dunn 72db232ec3 Move include/espeak{-ng => }/speak_lib.h. 2016-01-04 19:45:23 +00:00
Reece H. Dunn c2811d074e Make LoadPhData return an espeak_ng_STATUS code. 2016-01-01 13:17:11 +00:00
Reece H. Dunn 80914cc40e Fix clang -Wunused-macros warnings. 2015-12-30 16:13:29 +00:00
Reece H. Dunn 522e7c4d51 Revert commit 14a2fb39cf
This commit has been reported to cause distortions in phoneme
pitches and speeds.
2015-12-28 17:54:17 +00:00
Fredrik Nyqvist 14a2fb39cf Declare variables at their first point of use
Also use size_t instead of int in some places
where it make sense
2015-12-28 12:05:17 +01:00
Reece H. Dunn 3e99752d0c Check and fix source code formatting. 2015-12-27 22:34:53 +00:00