Reece H. Dunn
1e04ce0fbf
Use the NUM2_SWAP_THOUSANDS constant instead of 0x200.
5 years ago
Reece H. Dunn
eb3c1eb985
Move the NUM2_ comments to the relevant defines.
5 years ago
Reece H. Dunn
915d51512a
Create a NUM2_THOUSANDS_VAR_BITS define.
5 years ago
Reece H. Dunn
e8f774326d
Align the NUM2_ bitmask defines to make them easier to read.
5 years ago
Reece H. Dunn
62e8efad66
Move the NUM_ comments to the relevant defines.
5 years ago
Reece H. Dunn
b8fbcf86ff
Separate the NUM_DFRACTION flags from the rest of the NUM_ bitmask flags.
5 years ago
Reece H. Dunn
5a8b7bdcfe
Align the NUM_ bitmask defines to make them easier to read.
5 years ago
Valdis Vitolins
f514bbcc8d
Fix 'implicit declaration of function ‘addPluralSuffixes’' C99/clang error
5 years ago
Valdis Vitolins
cf4809a1e5
Fix bug #706: pronunciation error with abbreviations followed by 's
5 years ago
Valdis Vitolins
c13b3e534b
Add parameter `all` for --voices to show all voices
Update documentation to show already existing features and for
newly introduced `all` parameter.
5 years ago
Valdis Vitolins
3f3f17f843
Fix #715: Need better error messages if MBROLA engine or voice files are missing
5 years ago
Reece H. Dunn
1a4590098c
Fix using the mbrola voices in Windows Subsystem for Linux.
5 years ago
Reece H. Dunn
6926dfba72
fix #699: -Wlto-type-mismatch when using gcc with -flto=4.
5 years ago
Reece H. Dunn
7290b6f3cc
Fix using the mbrola voices in Windows Subsystem for Linux.
5 years ago
Reece H. Dunn
5feff569cc
fix #699: -Wlto-type-mismatch when using gcc with -flto=4.
5 years ago
BenTalagan
02447abde8
Fixing is_str_totally_null
5 years ago
BenTalagan
9fd480afbf
Fixing typos and naming
5 years ago
BenTalagan
94677f4af8
Rule alignment fixes for non compliant platforms / Fix for emscripten demo
5 years ago
BenTalagan
3e0150a34f
Fixing ungetc bad behavior under macOS Catalina by avoiding to ungetc a different char from the last getc
5 years ago
Valdis Vitolins
e9c66a4558
Support up to 300 voices/languages to make some space
6 years ago
Valdis Vitolins
1f5b774cce
Add warning when number of voices reaches limit
6 years ago
Reece H. Dunn
07f9a9ce3f
Remove the unused variable in voices.c.
6 years ago
Reece H. Dunn
f58f665336
Support a maximum of 275 voices/languages.
The new voices added take the voice list over 250 voices/languages.
6 years ago
golubovsky
009b6b5d14
Finished the voice load code. Dumping voice def does not seem possible
because it is not stored in a single place.
Signed-off-by: golubovsky <[email protected] >
6 years ago
golubovsky
439f7f32d5
First part of the patch: add option --load
Option --load makes espeak-ng consider the voice name provided a name of
a file relative to the current directory.
Signed-off-by: golubovsky <[email protected] >
6 years ago
Samuel Thibault
04a8a619b6
Fix termination test in event processing
e13b602
("Avoid using pthread_cancel") introduced a bogus termination test,
this fixes it.
Fixes #572
6 years ago
Samuel Thibault
e13b602ce0
Avoid using pthread_cancel
If a thread is cancelled while it holds a mutex, other threads waiting for
the mutex will never be woken, even if destroying the mutex, thus
leading to a deadlock.
Better just make the thread loops have a proper exit case than risking
the tricky semantic of pthread_cancel.
7 years ago
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.
7 years ago
Juho Hiltunen
520a30e0b0
code cleanup: use existing defines espeakRATE_MINIMUM, espeakRATE_NORMAL and espeakRATE_MAXIMUM.
7 years ago
Valdis Vitolins
6bdb2ee6cd
ar: in MBROLA qaf is not considered 'thick' consonant
7 years ago
Valdis Vitolins
26b067a68b
ar: move default stress rule from code to config file
7 years ago
Reece H. Dunn
9d901e48be
shn: support numbers for 100, 1000, and 10000
7 years ago
Reece H. Dunn
61672f5e24
Use defines for the different number breaking systems to improve readability.
7 years ago
Reece H. Dunn
273b8e2a1f
en: support numbers upto a hundred nonillion
7 years ago
Reece H. Dunn
1c60fb7f62
Don't use STRESSPOSN_1L for thousands_sep in the Slovak/Czech language setup.
7 years ago
Reece H. Dunn
c6ac526847
When printing phonemes, don't add a space at the start of a sentence or clause.
7 years ago
Reece H. Dunn
65186c07df
Preserve the sourceix property of a deleted phonSWITCH phoneme.
7 years ago
Reece H. Dunn
cf6d14783c
Preserve the sourceix property of a deleted phoneme for replaced phonemes.
7 years ago
Reece H. Dunn
8e13f7147c
Add constants for use with PHONEME_LIST.newword.
7 years ago
Reece H. Dunn
86bbc257b0
Support matching any length strings in the replacement rules.
7 years ago
Reece H. Dunn
98e9122dfc
FindReplacementChars: Pass in the source buffer (next characters) instead of next_in.
7 years ago
Reece H. Dunn
4fbcda9c2a
FindReplacementChars: Use an nc (next character) variable.
7 years ago
Reece H. Dunn
cacc212d4b
FindReplacementChars: Rename uc to fc.
7 years ago
Reece H. Dunn
a9d4bdd7f7
Make ignore_next into ignore_next_n to support ignoring multiple next characters.
7 years ago
Reece H. Dunn
252f5772ae
Simplify printing the replace message.
7 years ago
Reece H. Dunn
55c64036e0
Use UTF-8 strings in replace rules, instead of a packed UTF-16 pair.
7 years ago
Reece H. Dunn
0e91fcbc04
Don't use pw when reading the replacement data.
7 years ago
Reece H. Dunn
424f705525
Revert the new (broken) replacement rule logic.
The replacement tests for bs, hr, and sr are no longer marked as
broken as they work using the old code. The mk tests keep the
broken annotation, as they don't work in the old code either.
This reverts commit 801a8d197c
.
This reverts commit 64d5701e5e
.
This reverts commit 3b51ebf617
.
This reverts commit 1fd235d2c0
.
This reverts commit 9f0667de86
.
7 years ago
Reece H. Dunn
bba7069cb3
issue #520: Use .replace rules in the language rule files for Cyrillic to Latin
7 years ago
Reece H. Dunn
32ab396ea1
Don't declare the Arabic letter strings using array syntax.
7 years ago