Commit Graph
3616 Commits
Author SHA1 Message Date
Juho Hiltunen 88315250ff readability fix: use boolean instead of 0 and 1 for loop control 2018-01-14 15:22:37 +02:00
Juho Hiltunen afb4fe75e2 fi: fix behaviour of S_2_TO_HEAVY (adding secondary stress)
Stress flag S_2_TO_HEAVY is currently only used by finnish.

Current behaviour skips adding secondary stress if the following syllable is heavy. The behaviour should be to skip adding secondary stress if the rest of the word (excluding last syllable) contains a heavy syllable.

Source of grammar rule and examples of expected behaviour: http://scripta.kotus.fi/visk/sisallys.php?p=13
2018-01-14 14:48:36 +02:00
Juho Hiltunen 3a8e234fa3 fi: improve stress for numerals
Source: http://scripta.kotus.fi/visk/sisallys.php?p=13
2018-01-14 14:39:42 +02:00
Valdis Vitolins 95c28c4ea9 fr: fix for issue #350 Bad Pronunciation in French ɔ̃ by Karl Eick 2018-01-12 22:04:47 +02:00
Valdis Vitolins 3dea33965e lv: different improvements 2018-01-11 20:53:58 +02:00
Valdis Vitolins 7fb620505d lt: fix missed configuration after joined phoneme traslation file 2018-01-11 18:49:01 +02:00
Valdis Vitolins 966c07cb56 hak: updates from Chen Chien-ting 2018-01-11 18:32:33 +02:00
Reece H. Dunn 27985b0727 gn: build the dictionary file when running 'make' 2018-01-10 07:51:21 +00:00
Reece H. Dunn 4b05024928 hr: fix specifying the Croatian dictionary now that the hbs dictionary has been split due to emoji support 2018-01-10 07:42:41 +00:00
Reece H. Dunn 6a03a400f6 voices: remove the byte order mark from the Michael voice variant to fix the bad language attribute 2018-01-10 07:39:27 +00:00
Reece H. Dunn 42f4e7eed2 de: fix the HAPPY vowel for the mb-de5-en and mb-de6-en voices. 2018-01-09 21:18:41 +00:00
Reece H. Dunn 9812e009d7 de: fix running 'make check' with the voice changes 2018-01-09 07:39:00 +00:00
Reece H. Dunn 0527537864 de: restore the mbrola phonemes for using the German voices to speak English and Spanish. 2018-01-09 07:37:03 +00:00
Reece H. Dunn 8bdaa23e1e de: fix building the German voice. 2018-01-09 07:30:57 +00:00
Reece H. Dunn d6ae83f9b5 Merge remote-tracking branch 'hozosch/master' 2018-01-09 07:25:50 +00:00
KarlEick 9be1aaed42 improvements for german
These are some improvements to the german voices, both default and mbrola. It fixes some sounds of phonemes and also pronunciation of words. I also modified the mbrola phoneme and voice files to make them sound more natural. The stressLength setting is that it matches the way espeak deals with the lengths.
2018-01-08 22:14:29 +01:00
Chen, Chien-ting e5d057cf77 modified the rule or initial r- and the pronouncing rule of v 2018-01-06 14:45:26 +00:00
Chen, Chien-ting 4b7a40bd1f mistakes in hakka about ui1 etc 2018-01-06 14:45:11 +00:00
Chen, Chien-ting 4519d2a8e4 add hakka sandhi and footnotes 2018-01-06 14:44:54 +00:00
Chen, Chien-ting e8fbe6a5af add hakka sandhi 2018-01-06 14:44:31 +00:00
Chen, Chien-ting 7994cf64e6 improve translation of 'ie' 2018-01-06 14:44:02 +00:00
Chen, Chien-ting 19754bc66e improve the tone changing 2018-01-06 14:43:46 +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
Reece H. Dunn 314e9f2e36 docs/add_language.md -- fix a typo: s/thee/the/. 2017-12-29 11:05:02 +00:00
Reece H. Dunn 9dc755f9ea Don't add an empty hak_emoji file -- emoji files are optional. 2017-12-29 11:03:42 +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 ea354c06fe doc: updated description about tr_languages.c file 2017-12-29 12:31:06 +02:00
Valdis Vitolins 5a0af78af9 3-letter language code constants replaced with C macro L3() 2017-12-29 12:08:23 +02:00
Valdis Vitolins ee80a5b101 lt: Mbrola — as mapping is the same, only one phoneme mapping file left 2017-12-26 22:38:28 +02:00
Valdis Vitolins 99cbb4f03b fr: fix by Shallowmallow for #355 Bad pronunciation in French "qua" 2017-12-26 15:43:37 +02:00
Valdis Vitolins 0df3c15360 fr: fix for issue #350 — Bad Pronunciation in French ɔ̃ 2017-12-26 14:31:52 +02:00
Valdis Vitolins 73aacad44d doc: more details about configuration files 2017-12-26 14:07:44 +02:00
Valdis Vitolins a46e28f8a9 Fix issue #296: The Russian voice speaks faster than the English one 2017-12-26 13:57:17 +02:00
Valdis Vitolins 74b35a2616 doc: default sped value fixed 2017-12-24 16:54:50 +02:00
Valdis Vitolins f4f2bcf557 cmn: voice speed and pitch range adjusted to make it more natural 2017-12-24 12:24:44 +02:00
Valdis Vitolins d14d154c71 cmn: Initial support for Mbrola cn1 voice (Mandarin Chinese) added 2017-12-24 00:23:23 +02:00
Valdis Vitolins a1862e799f doc: more control flags described 2017-12-23 23:48:41 +02:00
Valdis Vitolins 64ba25c2b1 cs: Mbrola voice mb-cz1 added 2017-12-23 18:32:42 +02:00
Valdis Vitolins 6c1e693d21 doc: Updated description of Mbrola voices 2017-12-23 18:27:43 +02:00
Valdis Vitolins ccf3b6a56e Merge branch 'master' of https://github.com/espeak-ng/espeak-ng 2017-12-22 00:55:33 +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
Valdis Vitolins 99a964fb15 ar: fixed config files 2017-12-14 21:59:04 +02:00
Reece H. Dunn 80ebc39d93 Update the emoji translations to CLDR 32. 2017-12-14 07:52:39 +00:00
Reece H. Dunn 7978749694 Simplify the logic for U+27xx So properties. 2017-12-13 07:13:40 +00:00
Reece H. Dunn 18b822a8d2 Simplify the logic for U+26xx So properties. 2017-12-13 07:13:28 +00:00
Reece H. Dunn a61a0e6523 Merge remote-tracking branch 'jaacoppi/maintainability' 2017-12-10 20:05:47 +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 2ec4ad38ea Use stressRule instead of stressrule for consistency 2017-12-10 21:05:20 +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