Commit Graph
129 Commits
Author SHA1 Message Date
kirill-jjj 4c8a2f43c6 Russian: remove speed atribute from language file 2022-11-04 13:57:31 +03:00
Andrij Mizyk 4b48328d29 Support of Ukrainian language 2022-10-31 21:11:50 +02:00
Juho Hiltunen 19f98ed699 Update es-419 (#1436)
This fixes the intonation in Latin American Spanish questions, removes
the phoneme replacement (T to s) because it is already included in
phonemes es_la. It also eliminates the line languaje es 6, because when
the voice is in the dialect of Spain and it automatically changes to the
dialect of Latin America, it does not return to the dialect of Spain.
2022-10-29 15:02:33 +03:00
kirill-jjj 0997416aec Russian: add a new variant, Russian (classic) 2022-10-28 17:01:49 +03:00
Yury Popov bf2ee4b007 Remove breath attributes from languages 2022-10-18 17:07:27 +03:00
FelipeZanabria 4565f17253 Update es-419
This fixes the intonation in Latin American Spanish questions, removes the phoneme replacement (T to s) because it is already included in phonemes es_la. It also eliminates the line languaje es 6, because when the voice is in the dialect of Spain and it automatically changes to the dialect of Latin America, it does not return to the dialect of Spain.
2022-10-14 23:26:33 -03:00
Sergei B 3199d7889b Belarusian: improvements
- fixed/removed not working rules in be_list
- added stress to the words in be_list
- fixed multi thousand transcription
- removed not working rules in be_rules
- added rules of palatalization, phonemes lengthen
- fixed dropping of [a] at the end of words
- fixed message "Full dictionary is not installed for"
- added configuration in tr_languages.c
- fixed/added phonemes for `Q`, `ts`, `ts;`, `dz`, `dz.`, `;` etc
2022-10-14 00:32:08 +03:00
Juho Hiltunen dc60881171 et: fi: move spellingStress from code to language configuration 2022-10-10 21:20:53 +03:00
Juho Hiltunen 3b2557cfdd et: fi: move configuration from code to language file 2022-10-10 19:49:42 +03:00
Cameron Wong b3af30a5be Rewrite cmn_rules. Vowel will be spoken as Mandarin only when it's with a tone number. Otherwise, it will be regarded as English. This will make English words translated more correctly. 2022-09-29 09:13:11 +08: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
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
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
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 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
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 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 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
Valdis Vitolins e6d6828e0b Merge pull request #758 2020-05-23 15:09:16 +03:00