Reece H. Dunn
48ca2239bb
Fix non-Latin character languages falling back to English when reading Latin characters.
8 years ago
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.
8 years ago
Reece H. Dunn
9af96da469
Make the encoding.h API public.
8 years ago
Reece H. Dunn
8749891069
Better specify the CLAUSE_ flags returned by ReadClause.
8 years ago
Reece H. Dunn
7c16ac543c
Use the text decoder API in readclause.c.
8 years ago
Reece H. Dunn
d5d93be00e
Group the LookupMnem API implementations into mnemonics.c.
8 years ago
Reece H. Dunn
5975f07095
Replace the *2 wchar/wctype APIs with their standard versions. These will be fixed using compatibility headers.
8 years ago
Valdis Vitolins
17168a5669
More proper fix for issue #196
8 years ago
Valdis Vitolins
872433d62c
Fix for Jump rule to allow no letters in between current and pre/post (literal letter/letter group)
8 years ago
Valdis Vitolins
41f29f3e87
Fix for issue #196 Word end mark _ doesn't work properly with ~ character group
8 years ago
Reece H. Dunn
71c010b712
Remove unused wchar.h and wctype.h includes.
8 years ago
Valdis Vitolins
af7fc1b657
Issue #199 Jump statement now supports letter groups
8 years ago
Valdis Vitolins
b2057635c4
PRE jump rule e.g. 'xyJ)' implemented
8 years ago
Valdis Vitolins
29f0b673ee
Updated comments for POST jump rule
8 years ago
Valdis Vitolins
6bd656cf4a
Limit search for jump POST rule to null byte for last word in sentence
8 years ago
Valdis Vitolins
7ad277e39e
Fixed typo
8 years ago
Valdis Vitolins
059543ceb0
Fix for issue #195 Different non-Latin diacritized consonants are wrongly considered as one doubled
8 years ago
Reece H. Dunn
2ccaa7f002
Improve the IsLetterGroup comments.
8 years ago
Reece H. Dunn
af1fae46de
Fix formatting of the previous changes to match style guidelines.
8 years ago
Valdis Vitolins
a621ad46e7
Implementation for issue #155
8 years ago
Rui Batista
7b82e39793
Make strcpy calls in load dictionary copy at most 40 bytes so clang __strcpy_check does not get triggered (possible buffer overflow?)
9 years ago
Valdis Vitolins
76ac24fbe4
Fixed TODO comment removed
9 years ago
Valdis Vitolins
92eae4f322
Updates for issue #103 Maximum group number which works is actually 62
9 years ago
Valdis Vitolins
dde9872eb7
Fix for issue #103 Maximum group number which works is actually 62
9 years ago
Ondřej Lysoněk
3817ee1e16
Moved speak_lib.h to espeak-ng directory
Moved include/espeak/speak_lib.h to include/espeak-ng/speak_lib.h and
created a symlink from the original location.
9 years ago
Valdis Vitolins
252c894e59
Issue espeak-ng/espeak-ng#120
Allow to decrease the score in the rule by adding
9 years ago
chrislm
80da24bec7
Removed lengthen penultimate stressed vowels from dictionary.c lines 1469-1475. (See #80).
Fixed length stressed vowels in tr_language.c (see #80 ).
Improved phonemes, new statements for [a] and long close [o].
Added last improvements in italian dict source tested on april-may 2016.
9 years ago
Reece H. Dunn
565548fffe
Fix building 'my' (Burmese) on Windows.
9 years ago
Reece H. Dunn
bbd981efb8
Use malloc/strdup instead of Alloc.
9 years ago
Reece H. Dunn
325014da42
Use free instead of Free as free checks for NULL.
9 years ago
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
9 years ago
Reece H. Dunn
f608860a7a
Fix the malloc/realloc usage of phon_out_buf in GetTranslatedPhonemeString(dictionary.c) [msvc /analyze]
9 years ago
Reece H. Dunn
9c7179189b
Add a stdint.h compatibility shim.
9 years ago
Reece H. Dunn
11136fb794
Remove a dead assignment in MatchRule(dictionary.c) [clang scan-build]
9 years ago
Reece H. Dunn
e815f46ff3
Remove a dead assignment in MatchRule(dictionary.c) [clang scan-build]
9 years ago
Reece H. Dunn
d52f00cd24
Fix a buffer size calculation in Lookup.
9 years ago
Reece H. Dunn
72db232ec3
Move include/espeak{-ng => }/speak_lib.h.
9 years ago
Reece H. Dunn
1d14c2a2f1
Always pass plist to WritePhMnemonic [clang scan-build]
The clang scan-build static analysis tool warns of a null pointer
dereference in WritePhMnemonic. This is only for phonSWITCH codes,
which is guarded against in the calls that pass NULL to plist, so
the null dereference should not trigger.
Always passing plist supresses this warning, and prevents any
future errors.
9 years ago
Reece H. Dunn
c2811d074e
Make LoadPhData return an espeak_ng_STATUS code.
9 years ago
Reece H. Dunn
f38a075575
The next_pause parameter of TranslateWord is not used, so remove it.
9 years ago
Reece H. Dunn
522e7c4d51
Revert commit 14a2fb39cf89c8e5561f833f961d8330059daaae
This commit has been reported to cause distortions in phoneme
pitches and speeds.
9 years ago
Fredrik Nyqvist
14a2fb39cf
Declare variables at their first point of use
Also use size_t instead of int in some places
where it make sense
9 years ago
Reece H. Dunn
3e99752d0c
Check and fix source code formatting.
9 years ago
Reece H. Dunn
f0c2c4cca2
Remove extra newlines from the files to provide consistent spacing.
9 years ago
Reece H. Dunn
d345d74f64
Remove braces around single-line if/while/for/etc. and related cleanup.
9 years ago
Reece H. Dunn
9a837c8182
Remove parentheses around return statements.
9 years ago
Reece H. Dunn
12e0bb122b
Reformat the code using the uncrustify program.
9 years ago
Reece H. Dunn
1c6681e3d4
Make espeak-ng use strncpy0, etc. from libespeak-ng.
This removes the implementation of those functions from espeak-ng
and use the versions in libespeak-ng.
NOTE: This is needed to cross-compile to Windows.
9 years ago
Reece H. Dunn
8486c5d678
The post_tonic variable is set but not used, so remove it.
9 years ago
Reece H. Dunn
66c2831bed
Use intptr_t from stdint.h instead of a custom long64 typedef.
9 years ago