Reece H. Dunn
a93b0f3d64
encoding.c: Support the ISO 8859-3 encoding.
2017-03-27 23:56:28 +01:00
Reece H. Dunn
0a0e84a322
encoding.c: Support the ISO 8859-2 encoding.
2017-03-27 23:46:15 +01:00
Reece H. Dunn
26bec1eedf
encoding.c: Support the ISO 8859-1 encoding.
2017-03-27 23:31:30 +01:00
Reece H. Dunn
0590da5da7
encoding.c: Create a string decoding API; support US-ASCII decoding.
2017-03-27 22:49:47 +01:00
Reece H. Dunn
da7eaa7b9c
encoding.c: Create a text decoder API based on the usage in readclause.c.
2017-03-27 22:16:04 +01:00
Reece H. Dunn
887b1c837f
encoding.c: Don't crash when passing a NULL string to LookupMnem.
2017-03-27 21:32:49 +01:00
Reece H. Dunn
26f4eb4f8f
encoding.c: Support US-ASCII encoding names.
2017-03-27 21:30:17 +01:00
Reece H. Dunn
d5d93be00e
Group the LookupMnem API implementations into mnemonics.c.
2017-03-27 21:08:07 +01:00
Reece H. Dunn
b47363b7d3
Create an espeak_ng_EncodingFromName API.
2017-03-27 20:59:37 +01:00
Reece H. Dunn
ddc075288c
Windows: Fix a crash when building the 'en' voice.
...
This occurs in ReadVoiceFile (voices.c) when calling isspace to
isolate the attribute name. It happens because the msvc
implementation of isspace asserts that the character is in a valid
range, which fails for non-ASCII characters.
This commit resolves the problem by calling iswspace, which uses
the ucd-tools implementation.
2017-03-19 13:53:14 +00:00
Reece H. Dunn
51c8a2d7d9
Rename the isVel check to isVelar.
2017-03-02 06:41:51 +00:00
Reece H. Dunn
bb051e6086
ky: don't speak numbers character by character
2017-02-14 22:48:04 +00:00
Reece H. Dunn
1378a81a06
Remove the wchar tables from readclause, now the standard is* and to* APIs are being used.
2017-02-13 19:48:57 +00:00
Reece H. Dunn
5975f07095
Replace the *2 wchar/wctype APIs with their standard versions. These will be fixed using compatibility headers.
2017-02-13 07:43:23 +00:00
Valdis Vitolins
17168a5669
More proper fix for issue #196
2017-02-12 15:56:27 +02:00
Reece H. Dunn
fe3e3350e4
Merge remote-tracking branch 'ValdisVitolins/master'
2017-02-11 22:25:15 +00:00
Valdis Vitolins
fd4b397ad7
Merge branch 'test'
2017-02-11 21:49:02 +02:00
Valdis Vitolins
9558e60e4b
Merge branch 'master' of https://github.com/espeak-ng/espeak-ng
2017-02-11 21:48:04 +02:00
Valdis Vitolins
872433d62c
Fix for Jump rule to allow no letters in between current and pre/post (literal letter/letter group)
2017-02-11 21:42:09 +02:00
Valdis Vitolins
41f29f3e87
Fix for issue #196 Word end mark _ doesn't work properly with ~ character group
2017-02-11 20:52:52 +02:00
Reece H. Dunn
c80829a5fd
Remove the NEED_WCHAR_FUNCTIONS code for wchar/wctype compatibility.
2017-02-11 08:39:29 +00:00
Reece H. Dunn
71c010b712
Remove unused wchar.h and wctype.h includes.
2017-02-10 08:03:40 +00:00
Valdis Vitolins
af7fc1b657
Issue #199 Jump statement now supports letter groups
2017-02-05 23:31:24 +02: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
1c5bbe31a4
Use LookupMnem in ReadVoiceFile when parsing lines.
2017-02-05 19:55:48 +00:00
Reece H. Dunn
d30cf6f0d7
Default voices/languages to be male to match the default voice.
2017-02-05 19:08:27 +00:00
Reece H. Dunn
f6147085cd
Use enumeration constants for the voice gender field values.
2017-02-05 19:06:27 +00:00
Reece H. Dunn
46cd5f48e1
Don't allow 'gender unknown' in voice/language files.
2017-02-05 18:47:31 +00:00
Reece H. Dunn
ea365af43c
Remove the 'dictdialect' feature.
2017-02-05 17:03:44 +00:00
Valdis Vitolins
0c3ceb2e70
As secondary stress is still spelled differently it is disabled
2017-02-05 15:41:26 +00:00
Valdis Vitolins
b2057635c4
PRE jump rule e.g. 'xyJ)' implemented
2017-02-05 15:40:28 +00:00
Valdis Vitolins
29f0b673ee
Updated comments for POST jump rule
2017-02-05 15:40:14 +00:00
Valdis Vitolins
6bd656cf4a
Limit search for jump POST rule to null byte for last word in sentence
2017-02-05 15:40:00 +00:00
Reece H. Dunn
6eaf1d2ddc
Look in espeak-ng-data/lang for voices.
...
This is to support splitting language specification (dictionaries)
from voice specification (phon*).
2017-02-04 16:50:57 +00:00
Reece H. Dunn
bb7630e4c1
Make len_path_voices a parameter to GetVoices.
2017-02-04 16:44:12 +00:00
Reece H. Dunn
022e4e82dd
Don't check if the MBROLA voice data is present on Windows.
...
With the original eSpeak Windows port, the MBROLA voices had to
be present in an mbrola folder of the espeak-data. This will be
different in espeak-ng, allowing the MBROLA voice files to be
located elsewhere on the system.
2017-02-04 16:34:09 +00:00
Reece H. Dunn
3ce7fab7db
Return the actual error from GetFileLength instead of 0.
2017-02-04 16:03:56 +00:00
Reece H. Dunn
df6a2228b7
Use -EISDIR instead of -2 in GetFileLength for directories.
2017-02-04 16:02:56 +00:00
chrislm
d757fd9743
IT: Reading roman numerals as ordinals.
2017-02-04 11:53:43 +01:00
chrislm
59c9408376
IT: Removed automatic secondari stress
...
IT: Unstressed final syllable is diminished
IT: Preserve unstressed monosyllable words and allow secondary stress in multisillable words indicated as unstressed in it_list.
2017-02-04 11:43:44 +01:00
Reece H. Dunn
901bc0d1ba
Allow 'apr liquid' to be used together in a phoneme.
2017-01-30 20:27:10 +00:00
Reece H. Dunn
9448834298
Use '_' to indicate no parent phoneme table in the 'phonemetable' command.
2017-01-30 19:14:00 +00:00
Reece H. Dunn
574ecbd634
Inline the InstnPlusPhoneme function.
2017-01-29 10:53:33 +00:00
Reece H. Dunn
e7374059e5
Use the stress condition values with i_CHANGE_IF.
2017-01-29 10:43:02 +00:00
Reece H. Dunn
f2bb482782
Use OPCODE for the RETURN and CONTINUE opcodes.
2017-01-29 10:29:48 +00:00
Reece H. Dunn
b937d37e93
Use the stress condition values in StressCondition.
2017-01-29 10:14:10 +00:00
Reece H. Dunn
8338cdd250
Better document the other condition checks (isDiminished, etc.).
2017-01-29 10:09:16 +00:00
Reece H. Dunn
5d2e2a2f8f
Use the place of articulation constants to specify the place-based conditions.
2017-01-29 00:29:17 +00:00
Reece H. Dunn
01e289c3d7
Use constants for the phARTICULATION values.
2017-01-29 00:24:38 +00:00
Reece H. Dunn
f0d4a98b96
Use an explicit is phoneme type constant to specify the type-based conditions.
2017-01-29 00:09:54 +00:00