Reece H. Dunn
22935752fa
Replace 'Length' with 'length'.
2017-01-28 14:16:33 +00:00
Reece H. Dunn
bcc639fcfc
Replace 'nasal' with 'nas'.
2017-01-28 13:58:57 +00:00
Reece H. Dunn
fe74d0b41b
Replace 'stop' with 'stp'.
2017-01-28 13:51:34 +00:00
Reece H. Dunn
14f7513840
Replace 'vowel' with 'vwl'.
2017-01-28 13:40:22 +00:00
Reece H. Dunn
130a87cbe6
compiledata: Generate an error if import phoneme will override settings.
2017-01-28 13:05:15 +00:00
Reece H. Dunn
a9030650ba
compiledata: Generate an error if the imported phoneme cannot be found.
2017-01-28 12:51:16 +00:00
Reece H. Dunn
b4297c2851
compiledata: Display the actual error from phoneme_add_feature.
2017-01-28 12:37:41 +00:00
Reece H. Dunn
0ee9c84fe3
compiledata: ensure that voicingswitch is not used with vowels.
2017-01-28 12:25:56 +00:00
Reece H. Dunn
dd422ffbdb
Ensure phoneme type is set before start/endtype.
...
The eSpeak code uses `end_type` for the `voicingswitch` property
when used with consonants. It also allows `endtype` to be specified
in consonants if it is the same as `starttype`.
This code adds a check in the `starttype` and `endtype` handlers
to ensure that the phoneme type has been set to preserve the
eSpeak behaviour for these properties.
2017-01-28 12:03:54 +00:00
Reece H. Dunn
1c75e58bda
Remove the dontlist phoneme feature flag.
...
The 'dontlist' feature was used by the now removed PrintPhonemesUsed
function to not display that phoneme in the list. It was also only
used by the English phonemetable.
2017-01-28 10:19:53 +00:00
Reece H. Dunn
36308f6b38
phoneme: recognise the est, hlg and lng length phonemes.
2017-01-27 21:03:03 +00:00
Reece H. Dunn
6a0ea584ea
Don't store the unused phoneme equivalence tables in the phoneme data files.
2017-01-27 20:44:06 +00:00
Reece H. Dunn
6c526be3c8
Don't compile the unused phoneme equivalence tables.
2017-01-27 20:37:22 +00:00
Reece H. Dunn
b3a1bcda4b
phoneme: pass the feature enum value to phoneme_add_feature.
2017-01-26 19:58:23 +00:00
Reece H. Dunn
b47600d951
phoneme_add_feature: recognise diacritic features.
2017-01-26 07:40:05 +00:00
Reece H. Dunn
a091c20852
Remove the unused isSeqFlag1 logic checks.
2017-01-25 23:44:19 +00:00
Reece H. Dunn
5e5289bcb5
compiledata: remove unused feature names.
2017-01-25 23:24:02 +00:00
Reece H. Dunn
9dc3d27497
phoneme_add_feature: support setting the voice features.
...
The 'fortis' feature is not used, so it has been removed.
2017-01-25 21:16:53 +00:00
Reece H. Dunn
a48633dc81
phoneme_add_feature: support setting the place of articulation.
2017-01-25 21:06:04 +00:00
Reece H. Dunn
56b9eeeb72
phoneme_add_feature: support the lat and sib phonemes.
2017-01-25 20:12:16 +00:00
Reece H. Dunn
c203f517f4
phoneme_add_feature: support the eSpeak model for manners of articulation.
2017-01-25 20:07:04 +00:00
Reece H. Dunn
40556d41be
phonemes: use phoneme_add_feature if the keyword is not recognised.
2017-01-25 19:11:53 +00:00
Reece H. Dunn
f76d2558c9
phoneme: add a phoneme_add_feature internal API method.
2017-01-25 07:52:39 +00:00
Reece H. Dunn
60a584c032
compiledata: declare phoneme_flags locally.
2017-01-24 19:32:26 +00:00
Reece H. Dunn
8050b3f1b6
compiledata: declare place_articulation locally.
2017-01-24 19:30:13 +00:00
Reece H. Dunn
0367abf98f
Support loading phoneme data files relative to the phsrc path.
2017-01-19 21:44:51 +00:00
Reece H. Dunn
eb91c8dfce
espeak_ng_CompilePhonemeDataPath: Allow the user to specify the source and destination paths for the phoneme data.
2017-01-19 21:20:49 +00:00
Reece H. Dunn
e0a598e968
Use variables for the phoneme source and destination paths.
2017-01-19 21:00:45 +00:00
Reece H. Dunn
b67c463852
Inline CompilePhonemeData2 into espeak_ng_CompilePhonemeData.
2017-01-19 20:52:06 +00:00
Reece H. Dunn
ca77ce928b
CompilePhonemeData2: Inline the single use of the source parameter.
2017-01-19 20:50:07 +00:00
Reece H. Dunn
f5d266db97
Don't write random bytes to the end of _phtrans files.
...
Patch by Samuel Thibault.
2016-12-07 06:56:28 +00:00
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.
2016-08-28 10:57:10 +01:00
Reece H. Dunn
825a8a4710
compiledata: Avoid a warning when using %x in CompilePhoneme.
2016-06-05 08:51:30 +01:00
Reece H. Dunn
1afe61f8fe
compiledata: KeyToMnem is not used, so remove it
2016-06-05 08:50:27 +01:00
Reece H. Dunn
f6e7f8bb7c
Move some initialisation code from the old espeakedit.cpp file into espeak_ng_CompilePhonemeData to fix the phoneme data.
2016-04-23 18:29:35 +01:00
Reece H. Dunn
dc87e7b775
Use a HAVE_MKSTEMP configure check instead of PLATFORM_POSIX.
2016-01-30 10:51:24 +00:00
Reece H. Dunn
7ea2cf784d
Use the error.h API in LoadEnvelope and check more return values. [Coverity]
2016-01-22 07:31:34 +00:00
Reece H. Dunn
4ec98f79a8
Fix truncated fgetc return value in LoadWavefile(compiledata.c). [Coverity]
2016-01-21 20:05:47 +00:00
Reece H. Dunn
96c43f3eb2
Clean up the include files to make them consistent.
2016-01-16 17:54:39 +00:00
Reece H. Dunn
9c5820f72a
Create an initial compatibility shim for unistd.h.
2016-01-15 07:22:46 +00:00
Reece H. Dunn
c9844f62ef
Clean up the 'Compiling phoneme data' messages.
2016-01-14 19:57:44 +00:00
Reece H. Dunn
f9d12c31a4
Remove the redundant access check in compiledata.c
...
This access check is checking whether the phsource directory exists.
Now that espeak-ng is using the errno message when opening the
phsource/phonemes file, enough information should be provided by
that error message.
2016-01-14 19:43:42 +00:00
Reece H. Dunn
242cb51c38
Call to realloc may leak the manifest data in ReadPhonemeManifest(compiledata.c) [msvc /analyze]
2016-01-11 20:26:51 +00:00
Reece H. Dunn
4673b04cde
Check the return value of malloc in LoadDataFile(compiledata.c) [msvc /analyze]
2016-01-11 20:20:26 +00:00
Reece H. Dunn
11101806ce
Support building espeak-ng.exe with Visual C++.
2016-01-09 13:32:16 +00:00
Reece H. Dunn
9c7179189b
Add a stdint.h compatibility shim.
2016-01-09 13:09:50 +00:00
Reece H. Dunn
dea7d441f2
Avoid passing 0 to realloc in ReadPhondataManifest(compiledata.c). [clang scan-build]
2016-01-07 20:46:31 +00:00
Reece H. Dunn
5453616ec9
Add espeak_ng_STATUS error code return values to ReadPhondataManifest.
2016-01-07 20:36:34 +00:00
Reece H. Dunn
c675787587
Fix usage of calloc in espeak_ng_CompileIntonation. [clang scan-build]
2016-01-07 20:28:11 +00:00
Reece H. Dunn
aa93cf2ec9
Fix the error logic in CompilePhonemeData2(compiledata.c) [clang scan-build]
2016-01-06 22:44:21 +00:00