Reece H. Dunn
bec93c83cb
docs: Clean up the phonemes.md table of contents.
7 years ago
Reece H. Dunn
a1a7410212
Revert "docs: Split out the IPA phoneme tables from the phoneme feature description."
This reverts commit 9689cc8860
.
7 years ago
Sascha Brawer
1791e30e42
Add a fuzz target for SSML input
https://github.com/espeak-ng/espeak-ng/issues/407
7 years ago
Reece H. Dunn
99bbc6294e
Fix building on Windows.
7 years ago
Reece H. Dunn
9fdccb7bc3
docs: link to the English espeak transcription guide from the languages document.
7 years ago
Reece H. Dunn
9689cc8860
docs: Split out the IPA phoneme tables from the phoneme feature description.
7 years ago
Reece H. Dunn
7b64aac6c0
en: fix riposted for non US accents
7 years ago
Reece H. Dunn
07e155a150
TranslateWord2: Don't process invalid phonemes.
If ph_code is not located in the phoneme_tab, the resulting ph
value will be NULL. This does not normally happen, but it can
happen if word_phonemes contains garbage data, such as with the
1.49.2 multi-word logic when processing words like 'riposted'.
7 years ago
Reece H. Dunn
eaa08a2bc3
translate: Don't crash translating root words that map to another list entry.
If the list file contains a text replacement to another
entry in the list file, e.g.:
ripost riposte $text
riposte rI#p0st
calling it from a prefix or suffix rule such as 'riposted'
causes word_out[0] to be NULL, as TranslateWord3 has the
information needed to perform the mapping. In this case,
no phonemes have been written in this loop and the phonemes
have been calculated, so don't override them.
7 years ago
Reece H. Dunn
ad4155e705
tests: Add test cases for NVDA issue 7805.
7 years ago
Reece H. Dunn
6873c45d1a
Merge branch 'docs-english'
7 years ago
Reece H. Dunn
f4ff5c6802
Merge branch 'reorganise-tests'
7 years ago
Reece H. Dunn
05e571ca4a
compiledict.h: espeak_ng_CompileDictionary is defined in espeak_ng.h, so don't redefine it here.
7 years ago
Reece H. Dunn
c73530f7dd
Merge remote-tracking branch 'jaacoppi/includes'
7 years ago
Reece H. Dunn
181ae49c81
docs (en.md): move the split vowels section into the short vowels section.
7 years ago
Reece H. Dunn
b39ef7aca4
docs (en.md): document the Scottish NURSE vowel in the main rhotic vowel lexical set table.
7 years ago
Reece H. Dunn
7e5d785ae9
tests: extend the English language pronunciation tests to cover all the lexical sets.
7 years ago
Reece H. Dunn
28edb446e6
docs: group the vowel sections in en.md under a general 'vowels' section.
7 years ago
Reece H. Dunn
38a226859a
docs: align the lexical set tables in en.md for vim.
7 years ago
Reece H. Dunn
7885f06583
docs: describe the Scottish English lexical sets in en.md.
7 years ago
Reece H. Dunn
3dbb0e6de3
tests: rename {languages => language-pronunciation}.test
7 years ago
Reece H. Dunn
5e1671f08b
tests: rename {phoneme-audio => language-phonemes}.test
7 years ago
Reece H. Dunn
15190d4de1
tests: rename {phoneme-output => translate}.test
7 years ago
Reece H. Dunn
439b2d45d1
tests: move the Latvian pronunciation tests to languages.test
7 years ago
Reece H. Dunn
9e1bed69f0
tests: make the language tests phoneme-based.
The phoneme to audio tests are covered in the phoneme-audio tests.
Therefore, the language tests just need to test the text to
phoneme logic.
7 years ago
Juho Hiltunen
29cba35a9e
headers: add new file mbrola.h with declarations of functions in compilembrola.c and synth_mbrola.c
7 years ago
Juho Hiltunen
f00ff91fe4
headers: add new file wavegen.h with declarations of functions in wavegen.c
7 years ago
Juho Hiltunen
9012f3f0bf
headers: continue with synthdata.h
7 years ago
Juho Hiltunen
246d1006e9
include readclause.h in tests
7 years ago
Juho Hiltunen
e04ae259e0
headers: add new file compiledict.h with declarations of functions in compiledict.c
7 years ago
Juho Hiltunen
655dbf6b7a
remove unnecessary include of synthesize.h
7 years ago
Juho Hiltunen
231a1d0944
headers: add new file dictionary.h with declarations of functions in dictionary.c
7 years ago
Juho Hiltunen
cd991bd2c9
headers: add new file numbers.h with declarations of functions in numbers.c
7 years ago
Juho Hiltunen
07160f9286
headers: add new file synthdata.h with declarations of functions in synthdata.c
7 years ago
Juho Hiltunen
d395efa481
headers: add new file phonemelist.h with declarations of functions in phonemelist.c
7 years ago
Juho Hiltunen
098904dfe0
headers: add new file setlengths.h with declarations of functions in setlengths.c
7 years ago
Juho Hiltunen
9d12d23d2a
headers: add new file intonation.h with declarations of functions in intonation.c
7 years ago
Juho Hiltunen
706df97b20
headers: add new file readclause.h with declarations of functions in readclause.c
7 years ago
Reece H. Dunn
9ff086a2f1
Merge remote-tracking branch 'jaacoppi/includes'
7 years ago
Juho Hiltunen
079d5a92c5
remove more unnecessary speech.h includes
7 years ago
Juho Hiltunen
30ad5c39f6
move struct MatchRecord to dictionary.c since it's the only file that uses it
7 years ago
Juho Hiltunen
342f077755
remove unused declarations of ChangePhonemes_ru() and struct CHANGEPH
these are the only references in the code.
7 years ago
Juho Hiltunen
d1fd650219
Replace references to USHORT, DOUBLEX and UCHAR with unsigned short, double and unsigned char.
This makes the codebase more consistent. Including speech.h is not necessary anymore in some files. Includes have been removed.
7 years ago
Juho Hiltunen
738492100a
make all headers (almost) self-contained by using include guards and #include statements within headers
7 years ago
Reece H. Dunn
f55cce345e
tests: test gd consonant and vowel audio generation
7 years ago
Reece H. Dunn
8c41a01ec4
tests: test ga consonant and vowel audio generation
7 years ago
Reece H. Dunn
6dc13c99a9
fr: remove the unused fr-CA phoneme table.
There is no fr-CA language dialect dialect file, nor has there
been in the espeak/espeak-ng history.
The fr-CA phoneme table defined the additional phonemes [U], [y"],
[E:], and [A]. The fr-FR phoneme table mapped these to [u], [y],
[E], and [a] respectively. This meant to describe the phonemes that
have not been merged in fr-CA, but have merged in fr-FR, as described
in https://en.wikipedia.org/wiki/Quebec_French_phonology .
The only use of these phonemes in the French dictionary was with
the word "tramway" using [E:]. This has been replaced with [E] to
match the rest of the dictionary file transcriptions, and those
phonemes for fr-CA have been removed.
If fr-CA is supported in the future, the French dictionary would
need to be modified to reverse the merger of the phonemes that are
not merged in fr-CA, with the merge logic being performed in the
fr-FR phoneme table like in the code being removed in this commit.
7 years ago
Reece H. Dunn
c5f88c51dd
translate.c: Don't loop to the end of sbuf, as sbuf gets null terminated, so needs a byte for the null character. [msvc /analyze].
7 years ago
Reece H. Dunn
c49164334b
Ensure each name in proc_names can fit an item_string [msvc /analyze].
7 years ago
Reece H. Dunn
583a23f0cd
Use ENV_LEN in the fwrite call in LoadEnvelope2 to be consistent with the rest of the function.
7 years ago