Reece H. Dunn
919f3240cb
Revert "Move handling of SetLetterVowel() to language files"
...
This reverts commit 6042eb8d1e .
The change causes an issue with `pt-BR` and possibly other languages
and voices.
2018-10-08 07:38:56 +01:00
Valdis Vitolins
6bdb2ee6cd
ar: in MBROLA qaf is not considered 'thick' consonant
2018-09-30 17:45:25 +03:00
Valdis Vitolins
26b067a68b
ar: move default stress rule from code to config file
2018-09-11 18:02:27 +03:00
Reece H. Dunn
9d901e48be
shn: support numbers for 100, 1000, and 10000
2018-08-25 22:02:08 +01:00
Reece H. Dunn
61672f5e24
Use defines for the different number breaking systems to improve readability.
2018-08-25 21:51:26 +01:00
Reece H. Dunn
273b8e2a1f
en: support numbers upto a hundred nonillion
2018-08-25 19:53:01 +01:00
Reece H. Dunn
1c60fb7f62
Don't use STRESSPOSN_1L for thousands_sep in the Slovak/Czech language setup.
2018-08-19 19:31:19 +01:00
Reece H. Dunn
bba7069cb3
issue #520 : Use .replace rules in the language rule files for Cyrillic to Latin
2018-07-21 14:09:04 +01:00
Reece H. Dunn
32ab396ea1
Don't declare the Arabic letter strings using array syntax.
2018-07-19 20:21:09 +01:00
Reece H. Dunn
bfe184c641
Make PrepareLetters actually set the letter bits, and rename to SetLetterBitsUTF8.
2018-07-19 20:19:15 +01:00
Reece H. Dunn
7f42bd39b4
Move PrepareLetters next to SetLetterBitsRange.
2018-07-19 20:03:23 +01:00
Reece H. Dunn
22ee347234
Use script name prefixes in the Set[Script]Letters functions for group bit lists.
2018-07-19 20:00:47 +01:00
Reece H. Dunn
36c6727e90
issue #518 : Add the 'е є ї' letters to the Y group in Translate_Russian, not SetCyrillicLetters.
2018-07-19 19:49:28 +01:00
Reece H. Dunn
17dac5ea53
Add a comment to SetCyrillicLetters describing which languages it applies to.
2018-07-19 19:19:03 +01:00
Reece H. Dunn
e7e59f99d3
Fix the warnings in PrepareLetters.
2018-07-16 07:51:20 +01:00
Valdis Vitolins
6b57e97283
ar: set default stress on antepenultimate syllable
2018-07-15 18:41:50 +03:00
Valdis Vitolins
c92e70183c
ar: allow diacritics before normal letters as Arabic characters
2018-07-15 18:33:20 +03:00
Valdis Vitolins
1cf7549392
Prepare Arabic letters using PrepareLetters() function
...
PrepareLetters() function also could be used to set up letter groups A, B, C, etc. from string
and further could be loaded from configuration file
2018-07-15 18:26:28 +03:00
Valdis Vitolins
789d820ad4
shn: add support for Shan language from ronaldaug
2018-05-29 14:55:50 +03:00
Valdis Vitolins
f0321bfae7
ru: add only и to Y (iotated) letter group for Russian
...
as all other letters are already there from Cyrillic.
2018-05-17 21:15:30 +03:00
Valdis Vitolins
c53141ff12
ru: issue #491 — add е, ї and є to list of iotated vowels
2018-05-17 21:15:30 +03:00
Juho Hiltunen
dd7f788dcf
remove unused ints testing and phoneme_change
2018-04-22 12:26:15 +03:00
Juho Hiltunen
d196d93ed5
maintainability: move variables to files where they are used, allowing removal of unnecessary extern declarations
2018-03-24 15:05:23 +02:00
Juho Hiltunen
079d5a92c5
remove more unnecessary speech.h includes
2018-03-09 21:08:38 +02:00
Juho Hiltunen
78749f14f8
readability fix: use boolean instead of 0 and 1 for loop control
2018-02-17 18:17:00 +02:00
Reece H. Dunn
5459acb6a7
ru: document the special characters
2018-02-06 20:46:00 +00:00
Valdis Vitolins
02b987f565
dv: comment about unused code added
2018-01-06 14:41:57 +00:00
Valdis Vitolins
2f8d410055
bpy: fixed abbreviation for Manipuri language
2018-01-06 14:40:15 +00: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
5a0af78af9
3-letter language code constants replaced with C macro L3()
2017-12-29 12:08:23 +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
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
Reece H. Dunn
4c98f5ffae
Remove additional blank lines.
2017-11-26 14:07:17 +00:00
Valdis Vitolins
60e9e3ebcb
Fix for issue #338 : Chinese Cantonese dictionary (zhy_dict) problem
2017-11-26 15:19:43 +02:00
Reece H. Dunn
f605f79465
tr_languages.c: Fix -Wmissing-prototypes warnings.
2017-10-11 07:07:20 +01:00
Reece H. Dunn
74f9f5e34b
wavegen.c: Fix -Wmissing-prototypes warnings.
2017-10-10 21:37:46 +01:00
Reece H. Dunn
7f5914c0de
Don't ignore ZWJ characters.
2017-10-01 12:24:30 +01:00
Reece H. Dunn
2442dd05ae
Document the ignored characters in tr_languages.c.
2017-10-01 12:23:12 +01:00
Reece H. Dunn
a4b79f104b
Merge remote-tracking branch 'valdisvi/master'
2017-05-16 08:03:04 +01:00
Valdis Vitolins
aea34ae5d9
Issue #100 Manipuri: Fix for wrongly pronounced numbers
2017-05-15 23:30:24 +03:00
chrislm
3b0771df5a
Decimal numbers in Spanish
2017-05-15 11:46:51 +02:00
Reece H. Dunn
2f8f125c68
Remove voice/language support for alphabet2.
...
This is not used by any of the espeak-ng voices and languages.
Additionally, this functionality would be superceded by support
for specifying the language used by different scripts in the
language argument on the command line.
2017-05-07 15:10:42 +01:00
Reece H. Dunn
9af96da469
Make the encoding.h API public.
2017-05-02 18:40:16 +01:00
chrislm
5d8bb74169
IT: new improvements tested on april 2017
...
reduced length to 160 for unstressed syllables
Added some exceptions to the italian dictionaries
2017-05-01 11:06:19 +02:00
Reece H. Dunn
7c16ac543c
Use the text decoder API in readclause.c.
2017-03-31 13:17:37 +01: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
bb051e6086
ky: don't speak numbers character by character
2017-02-14 22:48:04 +00:00
Reece H. Dunn
71c010b712
Remove unused wchar.h and wctype.h includes.
2017-02-10 08:03:40 +00:00
Valdis Vitolins
0c3ceb2e70
As secondary stress is still spelled differently it is disabled
2017-02-05 15:41:26 +00:00