Commit Graph
205 Commits
Author SHA1 Message Date
Samuel Thibault 8917c9b7a9 Fix mb-ic1 and mb-ee1 voice names
All other mbrola voices follow the "language-mbrola-number" name format.
2021-10-16 21:04:29 +02:00
Valdis Vitolins 3b637450e9 Issue #825: add initial support for Hebrew MBROLA voices 2021-07-29 22:57:39 +03:00
Juho Hiltunen c28412db78 Don't set stress_flags with language option "stressRule".
Language option "stressOpt" already handles separate flags instead of a
single integer. There's no reason to have two ways of setting the same
option.
2021-07-27 22:15:28 +03:00
Juho Hiltunen 537617afc5 et: fi: move stressopt from tr_languages.c to language files
This is to make sure "stressopt" language option works. Current tests
would fail if it didn't.
2021-07-27 22:15:28 +03:00
Juho Hiltunen 602847371d rename language option stressopt to stressOpt 2021-07-27 22:15:28 +03:00
Juho Hiltunen cb30653736 io: use capital for language name (Ido instead of ido). 2021-07-23 16:57:10 +03:00
Lucas Werkmeister 3fa62f0ee3 Add basic stress rules for Quenya and Sindarin
The Elvish languages have the same general stress rule as Latin [1]:
stress falls on the penultimate syllable if that is heavy (contains a
long vowel, a diphthong, or a vowel followed by two or more consonants),
otherwise on the antepenultimate syllable. For Latin, espeak-ng
implements this by declaring “penultimate syllable” as the general
stress rule in espeak-ng-data/, and then adding rules in dictsource/
that match light syllables and move the primary stress to the previous
syllable, i.e. the antepenultimate one. We use the same basic principle
for the Elvish languages here (but using the terms “heavy” and “light”
rather than “weak” and “strong” like in the Latin files).

Note that this doesn’t fully implement the stress rules yet: we have no
concept of diphthongs, long vowels aren’t really properly handled yet,
and we also still count ⟨ch⟩, ⟨dh⟩, ⟨th⟩ as two consonants rather than
one as it should be. This will be improved separately (I prefer doing
this in small incremental steps).

[1]: https://menegroth.github.io/stress-in-sindarin.html
2021-07-18 13:27:26 +02:00
Lucas Werkmeister beeac74300 Initial setup for Elvish languages
This prepares the languages of Quenya and Sindarin, setting up their
infrastructure without declaring a lot of rules yet – just enough for
“Eä” (a Quenya word, but I can’t think of a similarly simple one for
Sindarin). Phonemes are inherited from Esperanto for now.
2021-07-18 13:27:26 +02:00
agonzalezd 1320bfe5f9 eu: Passed test/language-pronunciation.test, removed hardcoded stress_rule in Basque 2021-06-29 15:14:38 +03:00
Juho Hiltunen c83d9f19f2 yue: new language yue-latn-jyutping
yue-latn-jyutping assumes latin characters are jyutping.
2021-05-16 20:09:34 +03:00
Juho Hiltunen 4825905835 cmn: handle latin characters as English text.
cmn now handles all latin characters as English.

The old functionality of assuming latin characters are pinyin can be
achieved with new language cmn-Latn-pinyin.
2021-05-16 19:23:34 +03:00
Juho Hiltunen d91b7cf288 Rename zh (Mandarin) to cmn across the codebase.
See discussion in #933.
2021-05-11 20:14:54 +03:00
Juho Hiltunen 875174c3e9 Rename zhy (Cantonese) to yue across the codebase.
See discussion in #933.
2021-05-11 19:19:55 +03:00
katrihiovainandSebastien Le Maguer 93d3c67df6 smj: Support for new language Lule Saami
Co-authored-by: Sebastien Le Maguer <lemagues@tcd.ie>
2021-04-10 13:54:41 +03:00
Juho Hiltunen cad1c8e87f ka: End sentences for period followed by a lower case letter.
Useful because capitals are not used in Mkhedruli script.

Uses the new lowercaseSentence setting.
2021-04-05 19:29:18 +03:00
Juho Hiltunen c4740b3053 New language option lowercaseSentence
When set in a language file, a period followed by a lower case letter is
detected as end of sentence. Normal behavior is to require a capital
letter.
2021-04-05 19:29:18 +03:00
Valdis Vitolins d4c698857e Merge pull request #898 2021-03-26 11:06:11 +02:00
trypolis 0ecca7c1cc Fixed a typo in UniversalRobot. 2021-03-25 21:53:24 -06:00
Juho Hiltunen 53915bf0a7 voice: fix Bad voice attribute warnings.
voice fast is related to speed.fast_settings. Others were errors in
LoadVoice() parsing or commented out code.

Note that some voices are from the original espeak and have comments
that might be outdated.
2021-03-14 08:04:26 +02:00
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
Juho Hiltunen f899cfa49b Merge upll request #881 2021-02-21 15:16:40 +02:00
Juho Hiltunen 0cf3ee564c Code cleanup: remove param2 from langopts and rename keyword option in language files.
- param2[] is only used to set a second value to LOPT_BRACKET_PAUSE. It is simpler
to have two values in param[] instead. This simplifies the codebase.

- Instead of setting "option bracket X Y" in language files, use
keywords "brackets X" and "bracketsAnnounced Y" instead to follow the
naming convention of other keywords.

- Add missing documentation to docs/voices.md.
2021-02-21 15:01:29 +02:00
Ty 8441eef1c2 Added Robosoft 1 and 2. 2021-02-18 16:20:11 -07:00
Ty 7e5440196d Added new variant, Alex. 2021-02-18 08:19:15 -07:00
Juho Hiltunen 1aae299ae2 code cleanup: remove unused REDUCE_T
There is no code related to it.
2021-02-07 19:05:07 +02:00
Valdis Vitolins 3e0254949b Fix issue #868: add initial support for Klingon 2021-01-05 20:17:51 +02:00
Valdis Vitolins dca948f5f1 qdb: move language definition file into proper folder 2020-12-28 18:18:03 +02:00
Valdis Vitolins 7fcd74e741 Merge pull request #858 2020-12-28 18:07:20 +02:00
Da Def cfb5a41748 Lang Belta (conlang from The Expanse) 2020-12-28 15:58:09 +02:00
datajake1999 e88df1121d Fixed announcer variant. 2020-12-19 20:30:44 -08:00
datajake1999 82d5b7b044 Ported voices from NVSpeechPlayer to espeak variants. 2020-12-09 08:08:04 -08:00
datajake1999 5e502661d6 Add speechPlayer Klatt implementation as Klatt 6. 2020-12-06 08:34:38 -08:00
datajake1999 a90a0fb2bd Applied Klatt fixes from NV Access and added Edward variant. 2020-11-20 02:59:43 -08:00
btman16 39bb091721 Add new variant, Mike. 2020-11-15 01:20:23 -05:00
Valdis Vitolins b06f524f32 Issue #783: add new voices to the synthesizer 2020-08-20 17:49:21 +03:00
Valdis Vitolins a479ae7899 lv: adjust intonation 2020-08-19 18:15:40 +03:00
Lamashino 2bdd92811a Create language definition file for Ido language
Creation of language definition file for Ido language.
2020-08-19 17:15:03 +03:00
Valdis Vitolins 174daa2d16 Remove voice which differs from pablo only by name 2020-07-02 21:27:04 +03:00
Valdis Vitolins f2939490e1 Improvements for Latvian 2020-06-28 16:05:13 +03:00
Valdis Vitolins 24eb5b3cde Issue #757: add initial support for Thai language 2020-06-13 21:56:38 +03:00
Michael Conrad ae4c8ded41 weaken vowels to see if it helps with tablet sound of "anohla". 2020-06-01 13:09:41 -04:00
Michael Conrad 8faac4ed75 Cherokee language improvements. 2020-05-31 18:14:00 -04:00
Valdis Vitolins 60d9d977b9 Issue #767: add initial support for Chuvash language 2020-05-29 21:59:01 +03:00
Valdis Vitolins 3a7cc32db8 Issue #764: add initial support for Nogai language 2020-05-29 20:17:01 +03:00
Valdis Vitolins 3a0392f3b3 Issue #763: add initial support for Uyghur language 2020-05-29 18:41:32 +03:00
Valdis Vitolins 3d88d7edd4 Issue #761: add initial support for Turkmen language 2020-05-27 23:01:23 +03:00
Valdis Vitolins 9c703b53e7 Merge pull request #759
Cherokee: Adjust base pitch to be higher (seems to effect consonents).

Also removed the pause after each syllable as it no longer seems needed
with the higher base pitch.

Adjusted the tone start/stop values based on Praat pitch analysis
on the newer base pitch.
2020-05-26 23:21:52 +03:00
Valdis Vitolins 6f90a5af12 Add initial support for Latgalian language 2020-05-23 17:29:55 +03:00