Commit Graph
43 Commits
Author SHA1 Message Date
Reece H. Dunn 4687798de8 languages: Rename hy-arevmda => hyw.
A new 'hyw' language code has been registered for Western Armenian,
and the arevela and arevmda variant subtags have been deprecated.

This still accepts the hy-arevela and hy-arevmda language tags, but
uses the preferred names for the language files.
2018-04-03 08:03:16 +01:00
Valdis Vitolins 3dea33965e lv: different improvements 2018-01-11 20:53:58 +02:00
Valdis Vitolins 966c07cb56 hak: updates from Chen Chien-ting 2018-01-11 18:32:33 +02: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 a46e28f8a9 Fix issue #296: The Russian voice speaks faster than the English one 2017-12-26 13:57:17 +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
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
Valdis Vitolins 60e9e3ebcb Fix for issue #338: Chinese Cantonese dictionary (zhy_dict) problem 2017-11-26 15:19:43 +02:00
Valdis Vitolins 64fdabc76f More configuration fixes for Myanmar language 2017-11-12 23:28:50 +02:00
Valdis Vitolins eaeae0b855 Latvian language improvements 2017-11-12 00:27:52 +02:00
Valdis Vitolins 3c30a57e8b Merge branch 'master' into latvian 2017-11-07 19:39:34 +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
Reece H. Dunn 76c9400fb0 Add a name property to the Māori (mi) voice file. 2017-10-19 20:30:40 +01:00
Valdis Vitolins 154c9f5089 Latvian language improvements 2017-10-19 20:17:44 +03:00
Valdis Vitolins 25475dd407 Latvian language improvements 2017-08-20 23:12:02 +03:00
Valdis Vitolins 2724442f41 Iprovements for Sindhi and Urdu languages by Ejaz Shah 2017-06-11 18:40:28 +03:00
Reece H. Dunn 80783e6441 Rename 'jp' to 'ja' to use the correct BCP47 language code. 2017-06-04 10:16:11 +01:00
Reece H. Dunn c4c80b11d5 Split the hbs dictionary into bs, hr and sr.
This is because the emoji are language specific.
2017-06-04 08:33:55 +01:00
Reece H. Dunn 47438d3317 el: rename 'Greek (Modern)' to 'Greek' 2017-06-04 07:40:07 +01:00
Valdis Vitolins dc1979eb7b Latvian language improvements 2017-05-31 21:02:52 +03:00
Reece H. Dunn eb3c9a9bbd Fix the classification of East and West Slavic languages (ru, cs, pl, sk). 2017-05-08 20:21:01 +01:00
Reece H. Dunn d192fd9c55 Remove the IPA phoneme table and associated und-fonipa voice.
Supporting phoneme-based voices in espeak-ng is currently complex,
and has issues that need to be fixed in the core code before
adding support for them.
2017-05-06 09:37:16 +01:00
Reece H. Dunn 7b1243679f Update the document for the new fr-CH French accent. 2017-04-26 19:02:34 +01:00
claude beazley c05e3898a4 Adding Swiss French Variant
Creating  the language  variant , swiss french. Primarily for counting
as Swiss French uses huitante  for 80 and ,  like the Belgians septante
eand nonante for  70 and 90.
2017-04-26 12:19:17 +02:00
Reece H. Dunn 0b0661cef0 Use the encoding.c tables for 8-bit encodings.
1.  Store the encoding enumeration values in the Translation
    object, instead of the charset table.

2.  Use the encoding.c charset table data instead of the ones
    in translate.c.

3.  Remove the charset language file option -- it is only used
    in the Arabic language file, but is used incorrectly there.

4.  Specify ISO 8859-6 for the 8-bit encoding for Arabic instead
    of UTF-8, so that espeakCHARS_8BIT and espeakCHARS_AUTO work
    correctly for Arabic.
2017-03-31 00:01:14 +01:00
Reece H. Dunn e12abb4244 Rename the mni language to bpy to denode the actual Manipuri language supported. 2017-03-20 18:38:25 +00:00
Reece H. Dunn 946c082899 Merge remote-tracking branch 'orotau/development' 2017-03-06 19:29:17 +00:00
laptop 2b501fcb03 alpha version 2017-03-05 14:04:17 +13:00
Reece H. Dunn bd04b540e9 en: Preserve the /i@/~/i@3/ distinction so N[EAR] (/i@3/) and MILL[IO]N (/i@/) can be differentiated. 2017-02-25 09:45:02 +00:00
laptop cdca4f8a8d first cut 2017-02-17 17:44:59 +13:00
Reece H. Dunn 13413c3ed9 Fix the build from the previous voice changes. 2017-02-06 19:02:20 +00:00
Reece H. Dunn 513ffd25b0 pt-PT: rename to 'pt' and make this the primary variant for 'pt', not 'pt-BT' 2017-02-06 07:52:26 +00:00
Reece H. Dunn 182aba4cc0 no: rename to 'nb' making 'nb' the primary language, as 'no' is a macrolanguage 2017-02-06 07:50:12 +00:00
Reece H. Dunn 48d0361db7 hy: add 'hy-arevela' as an alternative language 2017-02-06 07:43:31 +00:00
Reece H. Dunn 1678a63a4e yue: remove the non-standard 'zhy' language code and make 'zh' a lower priority alternative 2017-02-06 07:41:39 +00:00
Reece H. Dunn b4357b668c cmn: use 'cmn' as the primary language, with 'zh-cmn' and 'zh' as alternatives 2017-02-06 07:40:00 +00: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 ea365af43c Remove the 'dictdialect' feature. 2017-02-05 17:03:44 +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