Commit Graph
1181 Commits
Author SHA1 Message Date
Reece H. Dunn 1a0594c62f Fix reading stdin buffers larger than 1000.
Patch by https://github.com/ChliHug.
2017-02-02 07:22:59 +00: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
Reece H. Dunn 98703c30de Use the phflag bit offset constants to specify the phflag-based conditions. 2017-01-29 00:04:44 +00:00
Reece H. Dunn a66cc8de7f Use bit offsets to define the phflag phXYZ values. 2017-01-28 23:53:49 +00:00
Reece H. Dunn 5c96ad2359 Remove unused phoneme flags. 2017-01-28 23:24:53 +00:00
Reece H. Dunn 5600019a54 Remove unused conditional tests. 2017-01-28 21:16:08 +00:00
Reece H. Dunn 0415c46a8f Replace 'nonsyllabic' with 'nsy'. 2017-01-28 19:56:52 +00:00
Reece H. Dunn bcdf6ff734 Don't replace rhotic with rzd. 'rhotic' is used on r-type consonants. 2017-01-28 19:54:13 +00:00
Reece H. Dunn 8c4ac68210 Add phPALATAL to pal phonemes for the isPalatal checks. 2017-01-28 19:49:52 +00:00
Reece H. Dunn 241860553d Replace 'long' with 'lng'. 2017-01-28 19:44:06 +00:00
Reece H. Dunn cc154be09c Use 'bld' instead of 'blb' for German pf. 2017-01-28 19:36:45 +00:00
Reece H. Dunn e585de6c52 Replace 'palatal' with 'pzd'. 2017-01-28 19:28:50 +00:00
Reece H. Dunn 28977a4be7 Replace 'pla palatal' with 'alp'. 2017-01-28 16:29:44 +00:00
Reece H. Dunn 8457f010d0 Replace 'trill' with 'trl'. 2017-01-28 16:03:13 +00:00
Reece H. Dunn c8023301f2 Replace 'sibilant' with 'sib'. 2017-01-28 15:32:44 +00:00
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 9cb38f2df4 PHONEME_TAB.end_type is used as the voicing switch for consonants. 2017-01-28 11:56:20 +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 862e420fda docs/phonemes.md: Add support for an elg (extra long) length feature. 2017-01-27 21:06: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 d98274a8ee windows: WiX/Windows does not like using -dev in versions. 2017-01-27 20:00:21 +00:00
Reece H. Dunn 7587a6bade windows: Enable building the x64 installer from the 'Build Solution' menu option. 2017-01-27 19:59:26 +00:00
Reece H. Dunn 5118891f20 windows: Visual Studio 2013 compatibility. 2017-01-27 13:12:37 +00:00
Reece H. Dunn 5bc93cd7a8 windows: Compile phoneme.c in libespeak-ng.dll. 2017-01-27 12:55:57 +00:00
Reece H. Dunn 3081fe7287 windows: Fix the msvc version check in stat.h. 2017-01-27 12:51:12 +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 926303c095 phoneme: move feature_t to phoneme.h.. 2017-01-26 19:37:24 +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 c0763f592a phoneme_add_feature: recognize vowel features. 2017-01-25 23:28:55 +00:00
Reece H. Dunn 5e5289bcb5 compiledata: remove unused feature names. 2017-01-25 23:24:02 +00:00