Commit Graph
227 Commits
Author SHA1 Message Date
Samuel Thibault cbb2b32cb1 mb-fr*-en: Give separate names
Otherwise if e.g. only mbrola-fr4 is installed, when the application tries
to load voice en-french, it actually ends up trying to load mb-fr1-en.
2022-08-25 23:31:17 +02:00
FelipeZanabria 72f3de50c7 Added Reed variant
This variant sounds consistent and similar to Reed voice, found on Eloquence
2022-08-17 22:36:19 -03:00
Valdis Vitolins 1926ac70fb Merge pull request #1251 2022-08-15 20:15:57 +03:00
Valdis Vitolins 904bb0f9dc Merge pull request #1255 2022-08-15 19:56:36 +03:00
Quin 5018b423ed Add new variant: Ian. 2022-07-24 11:30:24 -06:00
Quin 150d401bb8 Up[date Robosoft 2 to fit more with the rest of the Robosoft voices 2022-07-24 11:10:47 -06:00
Brandon Tyson 4dfeaddca4 Added new variant based on similar parameters of the mike voice but done with Klatt, available as Mike2. 2022-07-18 20:23:47 -04:00
Valdis Vitolins f62e8a194b Merge pull request #1199 2022-06-27 14:14:22 +03:00
Andiv06 1321367988 Update qdb
Fix Lang Belta, because the underscore line has been removed
2022-05-23 09:10:32 +03:00
Bill DenglerandElizabeth Resendiz 254b64939d Add support for Totontepec Mixe
This commit implements support for [Totontepec Mixe](https://en.wikipedia.org/wiki/Totontepec_Mixe). The Espeak rules are based on the phonological inventory, orthographic mappings, and phonetic processes described in the "Esbozo fonológico" (phonological outline/sketch) chapter of Verónica Guzmán Guzmán's 2012 master's thesis in Indo American Linguistics awarded by the [Centro de Investigaciones y Estudios Superiores en Antropología Social](https://ciesas.edu.mx/) and *Vocabulario Mixe de Totontepec* (Totontepec Mixe vocabulary), compiled by Alvin Schoenhals and Louise C. Schoenhals and published by the Summer Institute of Linguistics in 1965.

This commit was developed as part of a project for [Computational Linguistics](https://jnw.domains.swarthmore.edu/ling073/syllabus.php) at [Swarthmore College](https://swarthmore.edu). We feel that this language is suitable for merge with "testing" status, but further verification/improvements by native speakers would be very helpful.

co-authored-by: Elizabeth Resendiz <e.r.resendiz7@gmail.com>
2022-05-11 17:13:06 -04:00
Richard Calvi d8c60d97ba Added new language variant: en-us-nyc, a vintage New York City accent 2022-03-12 22:06:58 +09:00
Samuel Thibault b05a10a3ac Drop non-ascii useless nbsp
They are making the files non-ascii for no useful reason
2021-12-11 11:57:36 +01:00
bespsm 7aacdef65d Add initial suport for Belarusian 2021-11-15 15:35:28 +02:00
Marco BARNIG be962b067b Add support for Luxembourgish 2021-11-11 22:05:09 +02:00
Valdis Vitolins 40960b1e1e Merge pull request #1026 2021-10-18 14:09:21 +03:00
Valdis Vitolins 48d99fe55f Merge pull request #1025 2021-10-18 14:09:16 +03:00
Valdis Vitolins bcc010a041 Merge pull request #1024 2021-10-18 14:08:56 +03:00
Valdis Vitolins 434c48cb66 Merge pull request #1023 2021-10-18 14:06:47 +03:00
Samuel Thibault 914326b3d3 mbrola: Specify more the spanish voices
This specifies that the es* mbrola voices are rather for Spanish
spanish.
2021-10-16 23:48:31 +02:00
Samuel Thibault 4378e12f1f mbrola: Fix locale to UK
The standard codename for United Kingdom for locales is UK.
2021-10-16 23:47:39 +02:00
Samuel Thibault 45442fcb94 mbrola: Fix portuguese and french voices priorities
- We want to use br* voices in priority for Brazilian Portugues, but not
  for general Portuguese.
- We want to use ca* and Belgian voices for Canadian and Belgian French,
  but rather not for general French.
2021-10-16 23:39:42 +02:00
Samuel Thibault ed29101656 mbrola: Fix setting fr7 voice
It currently erroneously sets the fr5 voice.
2021-10-16 23:37:18 +02:00
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