Commit Graph
19 Commits
Author SHA1 Message Date
Juho Hiltunen bda8b6f76a code cleanup: remove unnecessary voice option translator
See commit message for 23a4d88f.

This commit fixes cmn and yue.
CalcPitches_Tone() now accepts cmn for translator_name.
SelectTranslator() now has a case for yue instead of zhy.
2021-03-08 18:18:14 +02:00
Juho Hiltunen d260562b7e Revert "code cleanup: remove unnecessary voice option translator"
This reverts commit 23a4d88f6b.

Breaks tests for cmn.
2021-03-07 13:34:05 +02:00
Juho Hiltunen 23a4d88f6b code cleanup: remove unnecessary voice option translator
Option "language <name>"already causes SelectTranslator(<name>) to be
called. Having two options to do almost the same thing is unnecessary
and confusing.

In the long term, all options from SelectTranslator() should have a
switch case in LoadVoice() so they are user configurable (see #218). If
needed, a new option (maybe called "LoadOptions") could be added to load
an existing voice or language file.

Changes language configuration files for: hak, cmn, yue, ltg, ms, mb-ma1.
No changes to users.
2021-03-07 12:58:23 +02:00
Valdis Vitolins a479ae7899 lv: adjust intonation 2020-08-19 18:15:40 +03:00
Valdis Vitolins f2939490e1 Improvements for Latvian 2020-06-28 16:05:13 +03:00
Valdis Vitolins 6f90a5af12 Add initial support for Latgalian language 2020-05-23 17:29:55 +03:00
Valdis Vitolins b6cd320ea1 Improve vowel sound for Latvian 2020-05-22 15:37:06 +03:00
Valdis Vitolins 499b900b04 lv: improve sounds of phonemes 2019-06-23 16:32:17 +03:00
Valdis Vitolins 3dea33965e lv: different improvements 2018-01-11 20:53:58 +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
Valdis Vitolins eaeae0b855 Latvian language improvements 2017-11-12 00:27:52 +02:00
Valdis Vitolins e885aff70d Latvian language improvements 2017-11-07 19:24:04 +02:00
Valdis Vitolins 199b53b036 WIP Latvian improvements 2017-11-03 16:59:11 +02:00
Valdis Vitolins 25475dd407 Latvian language improvements 2017-08-20 23:12:02 +03:00
Valdis Vitolins dc1979eb7b Latvian language improvements 2017-05-31 21:02:52 +03:00
Reece H. Dunn 36a2872b4b Don't allow the gender property to be set in language files (they are only relevant in voice files). 2017-02-05 19:56:07 +00:00
Reece H. Dunn 1a8624ffdb Use the language names in the 'name' field, not a shorthand or other identifier. 2017-02-05 16:52:33 +00:00
Reece H. Dunn 285e88c720 Move the language files to espeak-ng-data/lang. 2017-02-04 17:06:22 +00:00