Commit Graph
100 Commits
Author SHA1 Message Date
Reece H. Dunn 19547ce75b ru: fix лёгких, мягкий, etc.
Revert "ru: 'х' made less stressed"

This reverts commit 33c9e800a3.

This commit made the [x] phoneme not audible, and made it act like
a glottal stop in words like мягкий.
2018-04-14 11:31:53 +01:00
Reece H. Dunn 8f30e3d607 Revert "en: use '@' instead of 'I' for the ROSES vowel in en and en-GB."
This reverts commit 223ff9c8ad.
2018-04-13 07:29:26 +01:00
Reece H. Dunn 9949be4054 en: fix names beginning with 'sz' and 'srp' 2018-04-13 07:18:37 +01:00
Reece H. Dunn 3bcba68fa6 Revert "en: simplify and fix words starting with 's'."
This reverts commit 8c3eb00757.
2018-04-13 07:01:52 +01:00
Reece H. Dunn 6a1985d902 en: feminine, topaz, were-, resupply, weasley, tyger 2018-04-12 07:13:06 +01:00
Reece H. Dunn 17d482154f mi: use phoneme names consistent with the rest of espeak-ng, and clean up the comments to remove redundant statements 2018-04-11 07:10:23 +01:00
Reece H. Dunn 7872acee9c tests: test mi consonant and vowel audio generation 2018-04-11 07:08:30 +01:00
Reece H. Dunn 6e27e5b7a7 tests: test lv consonant and vowel audio generation 2018-04-11 07:05:52 +01:00
Reece H. Dunn 95ad88afd1 tests: test lt consonant and vowel audio generation 2018-04-09 07:46:48 +01:00
Reece H. Dunn 27c19925fa en: fix fencepost, and simplify several 's' rules 2018-04-09 07:20:17 +01:00
Reece H. Dunn 8a61f0d210 Merge remote-tracking branch 'valdisvi/master' 2018-04-08 21:54:01 +01:00
Reece H. Dunn 8c3eb00757 en: simplify and fix words starting with 's'. 2018-04-08 21:45:10 +01:00
Reece H. Dunn 043a07565a en: fix forbode, hiccup, hiccough, tarot, burroughs. 2018-04-08 21:17:26 +01:00
Reece H. Dunn f22da14b86 en: fix the length of the vowel before an n.
The custom n vowel in ph_english did not specify a lengthmod and
the call to the base n did not set that value.
2018-04-08 12:20:44 +01:00
Reece H. Dunn 1a711200ed en: fixed -eyed, Ursula, cursebreaker, Onessa, reticent, and weddinged 2018-04-08 11:30:42 +01:00
Reece H. Dunn 35def0d760 Update the changelog. 2018-04-08 11:28:43 +01:00
Reece H. Dunn fb888b5952 tests: test lfn consonant and vowel audio generation 2018-04-08 11:28:28 +01:00
Reece H. Dunn 57198e416c tests: test la consonant and vowel audio generation 2018-04-06 07:34:39 +01:00
Reece H. Dunn a2f3a30bc2 tests: test ky consonant and vowel audio generation 2018-04-06 07:27:52 +01:00
Reece H. Dunn d0f91a35a8 tests: test ku consonant and vowel audio generation 2018-04-06 07:22:12 +01:00
Reece H. Dunn 60ee39316b tests: test kok consonant and vowel audio generation 2018-04-06 07:11:56 +01:00
Reece H. Dunn 2ea915f4c4 tests: test ko consonant and vowel audio generation 2018-04-06 07:00:49 +01:00
Reece H. Dunn 62f836ae0d Merge remote-tracking branch 'shadyar/master' 2018-04-05 18:32:46 +01:00
Reece H. Dunn 10a03d6a5b tests: test kn consonant and vowel audio generation 2018-04-05 07:57:03 +01:00
Reece H. Dunn 0ea2889404 tests: test kl consonant and vowel audio generation 2018-04-05 07:44:08 +01:00
Reece H. Dunn 02a01f60bc tests: test ka consonant and vowel audio generation 2018-04-05 07:34:59 +01:00
Reece H. Dunn 7fa1d846b8 tests: test jbo consonant and vowel audio generation 2018-04-05 07:21:55 +01:00
Reece H. Dunn 982f7f1077 tests: test ja consonant and vowel audio generation 2018-04-05 07:12:27 +01:00
Reece H. Dunn b751032b0a tests: test it consonant and vowel audio generation 2018-04-04 08:00:52 +01:00
Reece H. Dunn fb5f1d02d7 tests: test is consonant and vowel audio generation 2018-04-04 07:51:15 +01:00
Reece H. Dunn 991b22537f tests: test id consonant and vowel audio generation 2018-04-04 07:39:05 +01:00
Reece H. Dunn 06aea1817c tests: test ia consonant and vowel audio generation 2018-04-04 07:22:56 +01:00
Reece H. Dunn 499cf55762 Document the hy-arevmda => hyw change. 2018-04-03 19:57:49 +01:00
Reece H. Dunn 1f1b3b8a26 tests: test hyw consonant and vowel audio generation 2018-04-03 08:04:02 +01:00
Reece H. Dunn 4687798de8 languages: Rename hy-arevmda => hyw.
A new 'hyw' language code has been registered for Western Armenian,
and the arevela and arevmda variant subtags have been deprecated.

This still accepts the hy-arevela and hy-arevmda language tags, but
uses the preferred names for the language files.
2018-04-03 08:03:16 +01:00
Reece H. Dunn f5b8b8f83e tests: test hy consonant and vowel audio generation 2018-04-03 07:59:43 +01:00
Reece H. Dunn d24b999e16 tests: test hu consonant and vowel audio generation 2018-04-03 07:36:48 +01:00
Reece H. Dunn d7aee052c2 configure: Add a --disable-rpath option to prevent libtool hardcoding rpath variables. 2018-04-02 12:40:21 +01:00
Reece H. Dunn 8847b44b23 configure: Group all arguments at the top of the configure file. 2018-04-02 12:26:57 +01:00
Reece H. Dunn 5ebf5b8fa4 en: Fix several -er and -est words (e.g. wickeder, wickedest, brittlest). 2018-04-01 12:06:18 +01:00
Reece H. Dunn 8eb3e5bdee en: Fix -mann, wizardman, wytch, and wyrm. 2018-04-01 11:07:49 +01:00
Reece H. Dunn 021526a477 en: Use a new /I2#/ phoneme for -ed based adjectives like 'wicked'. 2018-04-01 11:06:49 +01:00
Reece H. Dunn d0eb30d647 Merge remote-tracking branch 'jaacoppi/makefile' 2018-03-31 11:27:30 +01:00
Reece H. Dunn a8d53acd52 en: Use /I2/ instead of /I#/ for adjective -ed endings. 2018-03-31 11:14:42 +01:00
Reece H. Dunn 9f0fbed8ac make: Dictionary _emoji, _extra, and _dict rules currently depend on GNU make patterns to work. 2018-03-30 18:46:36 +01:00
Reece H. Dunn c8db203649 Merge remote-tracking branch 'jaacoppi/portability' 2018-03-30 18:25:48 +01:00
Reece H. Dunn aa08d1d52c en: fix apparate, mechanic, forcefield, and -quez (e.g. Vasquez). 2018-03-30 18:25:34 +01:00
Reece H. Dunn 8694f483bd docs: Document the MBROLA voices in a table. 2018-03-30 13:11:24 +01:00
Reece H. Dunn 8022d12783 README: Wording changes based on suggestions by https://github.com/CarlosFromNewYork. 2018-03-30 13:01:56 +01:00
Reece H. Dunn cdb837b430 Remove 'mb-ir2', as the 'ir2' MBROLA voice does not exist. 2018-03-30 12:32:41 +01:00
Reece H. Dunn d26fce3217 Be more specific in the missing --compile voice name, and fix punctuation. 2018-03-30 08:46:18 +01:00
Reece H. Dunn 7c7081cb32 Handle the '--compile=' case when reporting a 'Voice name not specified' error. 2018-03-30 08:43:20 +01:00
Reece H. Dunn 9395240a9e Merge remote-tracking branch 'jaacoppi/bugfix' 2018-03-30 08:39:47 +01:00
Reece H. Dunn d6c65da159 en: don't velarize n across word boundaries
It is possible -- especially at higher speeds -- for the n at the
end of a word to be velarised if the next word starts with a velar
plosive. I prefer the velarised sound between word boundaries, but
others do not. As such, limit the velarisation to within the word
only.

[1]	https://en.wikipedia.org/wiki/English_phonology
2018-03-29 22:58:22 +01:00
Reece H. Dunn 871772a9bd docs (style): Use 'MBROLA' instead of 'Mbrola', as it is an acronym (Multi-Band Resynthesis OverLap Add). 2018-03-29 19:19:09 +01:00
Reece H. Dunn bd76404a75 docs (style): Use 'eSpeak NG' instead of 'eSpeakNG'. 2018-03-29 18:38:42 +01:00
Reece H. Dunn 797fb4538a Merge remote-tracking branch 'valdisvi/master' 2018-03-29 18:35:24 +01:00
Reece H. Dunn 87b67c2c9b tests: test hr consonant and vowel audio generation 2018-03-29 07:46:55 +01:00
Reece H. Dunn 3caa3bbae2 Merge remote-tracking branch 'rhdunn/master' 2018-03-28 07:25:23 +01:00
Reece H. Dunn 223ff9c8ad en: use '@' instead of 'I' for the ROSES vowel in en and en-GB. 2018-03-28 07:25:15 +01:00
Reece H. Dunn 1a831ddac3 tests: add 'divided' to the English language pronunciation tests. 2018-03-28 07:08:54 +01:00
Reece H. Dunn 6d25013c94 CompileReport: Don't generate a report if there are no references. [msvc /analyze] 2018-03-27 12:59:51 +01:00
Reece H. Dunn 36c29c479a LookupDict2: Check if flags is not null before setting it. [msvc /analyze] 2018-03-27 12:55:18 +01:00
Reece H. Dunn 0d801f0c88 tests: test hi consonant and vowel audio generation 2018-03-27 08:06:47 +01:00
Reece H. Dunn e477e06930 en: use the 'add e' logic for the -edly suffix (allegedly, reputedly, etc.). 2018-03-27 07:27:45 +01:00
Reece H. Dunn 28f700e829 en: fix resignedly, manoeuvred, reckon, Frances (name), and sponging. 2018-03-26 07:31:51 +01:00
Reece H. Dunn a29d3f642c Test my and ka handling of long emoji names, and number pronunciation previously broken by that support. 2018-03-25 16:16:48 +01:00
Reece H. Dunn 9344dab0c3 Revert "maintainability: pass seq_len_adjust to LookupSpect() instead of using globals"
This reverts commit d08b8e43ca.

This commit causes gcc-4.8 to output a different SHA1 hash on the
language-phonemes test for `af` (the first language tested). It
does not break on clang or on gcc-7 so may be a compiler bug,
however the Travis CI build server is using it on Ubuntu Trusty
(14.04 LTS) and so may other older OSes.
2018-03-25 13:34:52 +01:00
Reece H. Dunn 566e904b33 LookupDict2: Fix searching entries longer than 128
This is a fix for https://github.com/nvaccess/nvda/issues/7740.

With the addition of emoji support, dictionary entries can now be
longer than 128 bytes. This fix makes sure the character is
interpreted as an unsigned byte so it does not treat long entries
as having a negative offset.

Treating the offset as a signed byte (like in the previous code)
could cause the hash chain search to loop indefinitely when
processing certain input, like the Tamil characters in the NVDA
issue noted above that is added as a test case to translate.test.
2018-03-25 12:52:22 +01:00
Reece H. Dunn b7a8751f4d Remove a redundant comment -- history is available in git. 2018-03-24 14:32:43 +00:00
Reece H. Dunn c5fb29d66c Update the CHANGELOG.md file. 2018-03-23 08:03:44 +00:00
Reece H. Dunn 5555eb939f tests: test hak consonant and vowel audio generation 2018-03-23 07:21:40 +00:00
Reece H. Dunn 639ee7e0f8 tests: test gu consonant and vowel audio generation 2018-03-23 07:11:16 +00:00
Reece H. Dunn 7dbf87255d Release the memory in text in fuzzrunner.c. 2018-03-22 20:54:05 +00:00
Reece H. Dunn dfe66289c8 Don't set final_ph2 to before phonetic in the stack if ix=1. 2018-03-22 20:52:28 +00:00
Reece H. Dunn 2d7f3e9d54 Don't skip blanks past charix_top in TranslateClause. 2018-03-22 20:49:15 +00:00
Reece H. Dunn 7dad0dfd40 Prevent TranslateRoman reading stack data from Lookup. 2018-03-22 20:12:35 +00:00
Reece H. Dunn b24db06a84 Copy name to tr->dictionary_name if not equal
This is a similar change to b60d2452c3.
In this case, it is when tr->dictionary_name is passed as the name
parameter in LoadDictionary.

This happens in the SetTranslator2 function when loading the
dictionary for the second language translator object.
2018-03-22 19:48:56 +00:00
Reece H. Dunn bb19c7a336 Release the memory allocated by p_text in espeak-ng.c. 2018-03-22 19:37:25 +00:00
Reece H. Dunn 062cb8dfc9 Merge remote-tracking branch 'valdisvi/master' 2018-03-22 19:09:29 +00:00
Reece H. Dunn 879cb9c08a Don't free 'tr' if null in DeleteTranslator. 2018-03-22 19:01:59 +00:00
Reece H. Dunn d23735ae1b Release the translator memory in espeak{_ng,}_Terminate. 2018-03-22 07:26:22 +00:00
Reece H. Dunn 87a2586bb0 Fix formatting of free_rules. 2018-03-22 07:19:26 +00:00
Reece H. Dunn 444e4544d2 Simplify the !v comparison and check PATHSEP
SetVoiceStack looks for "!v" in variant_name and skips the first
three characters if "!v" is found. The problem here is that it
does not check that the third character is the path separator, so
may advance into unknown memory if variant_name is exactly "!v".

This fixes that problem by checking for the path separator. It
also simplifies the logic by checking the bytes explicitly.

NOTE: This is not strictly needed, as the only code paths this is
relevant for is in espeak_ng_SetVoiceByName, and the variant name
comes from ExtractVoiceVariantName, which sets up the variant name
correctly.
2018-03-21 21:35:26 +00:00
Reece H. Dunn c9ca77a4d4 Compare variant_name with "!v" only if long enough
Various places call SetVoiceStack with "" for the variant_name. This
causes -fsanitize=address to fail with an overflow as the call to
memcmp is checking the first 2 bytes, and there is only 1 byte
available.
2018-03-21 21:16:08 +00:00
Reece H. Dunn a08d2c7bfb Ensure the allocated rules are properly cleaned up in compile_dictrules. 2018-03-21 20:58:55 +00:00
Reece H. Dunn b60d2452c3 Copy name in LoadDictionary if not dictionary_name
compiledict.c sets dict_name to dictionary_name if dict_name is
not set, and passes that to LoadDictionary. LoadDictionary then
copies the passed in name to dictionary_name.

This causes -fsanitize=address to fail with overlapping memory
addresses passed to strncpy (copying the string to itself). As
such, don't copy the name in this case.
2018-03-21 20:37:44 +00:00
Reece H. Dunn cd17e7c935 docs: remove the references to Z-SAMPA.
Z-SAMPA is a more complex specification than Kirshenbaum, X-SAMPA,
and CXS. Additionally, it specifies phonemes such as palatal and
velar trills that are not defined by IPA and in the context of the
velar trill is marked as being impossible.

As such, Z-SAMPA will not be supported in eSpeak NG for now. That
may change in the future once support for the other transcription
schemes has been implemented.
2018-03-21 07:56:39 +00:00
Reece H. Dunn e5ebf76722 docs: Use 'subtag' instead of 'tag' to correctly refer to BCP47 variant and private use names. 2018-03-20 07:30:57 +00:00
Reece H. Dunn 0d9c91bac9 Pass AM_CFLAGS to ssml-fuzzer.test. 2018-03-19 22:12:33 +00:00
Reece H. Dunn d5c52ab39f Fix building ssml-fuzzer with libFuzzer. 2018-03-19 21:50:08 +00:00
Reece H. Dunn 39b8768a79 README: Document building with -fsanitize options. 2018-03-19 21:01:20 +00:00
Reece H. Dunn 7429a58510 Merge commit '22009de5f84974e77147fd5264781fb1c09a7764' 2018-03-19 20:51:53 +00:00
Reece H. Dunn 22009de5f8 Fix running the tests with -fsanitize=address. 2018-03-19 20:22:54 +00:00
Reece H. Dunn 45b9b114cf docs: Prefix the private use tags with 'x-'. 2018-03-19 18:44:36 +00:00
Reece H. Dunn 69a9395de9 docs: Rename 'BCP47 {Variants => Tags}'.
This makes it clearer that both variant and private-use tags are
used.
2018-03-19 18:39:22 +00:00
Reece H. Dunn fb5c128f62 Merge remote-tracking branch 'valdisvi/master' 2018-03-19 07:45:19 +00:00
Reece H. Dunn c868c54362 Merge remote-tracking branch 'Christianlm/master' 2018-03-19 07:42:01 +00:00
Reece H. Dunn be106e388e docs: describe the Conlang X-SAMPA transcription scheme. 2018-03-19 07:41:39 +00:00
Reece H. Dunn 74f04f64fd docs: Fix the placement of the alveolar click in the Kirshenbaum consonant table. 2018-03-19 07:40:21 +00:00