Commit Graph
386 Commits
Author SHA1 Message Date
Lucas Werkmeister ca2ca4c5cb Add Sindarin ⟨ae⟩, ⟨ai⟩, ⟨oe⟩, ⟨ui⟩ diphthongs
For ⟨ae⟩, we used to use the Latin [[aI]] phoneme, which sounds like
/ae/. Call that phoneme [[aE]] for us and introduce a separate [[aI]]
one, which sounds more like /ai/ (since Sindarin has both, and they’re
supposed to sound different, though Appendix E of The Lord of the Rings
notes that there is nothing closely corresponding to ⟨ae⟩ in English and
that it may be pronounced like ⟨ai⟩). Furthermore, for ⟨oe⟩, just remove
the TODO – the Latin phoneme is called [[OI]] but sounds more like /oe/
than /oi/, so it’s actually just fine for our purposes. Finally, the
⟨ui⟩ diphthong is copied from Finnish, just like in Quenya.
2021-07-18 13:28:02 +02:00
Lucas Werkmeister e8fb04bb44 Add Quenya ⟨iu⟩, ⟨ui⟩ diphthongs
Both are copied from the Finnish phonemes, since Finnish was a major
inspiration for Quenya. This means that the ⟨iu⟩ diphthong is a
“falling” one – according to Appendix E of The Lord of the Rings, this
is the original pronunciation, but by the Third Age (the time in which
The Lord of the Rings is set) it had become a “rising” one, so I may
change the phoneme later, not sure.
2021-07-18 13:27:37 +02:00
Lucas Werkmeister beeac74300 Initial setup for Elvish languages
This prepares the languages of Quenya and Sindarin, setting up their
infrastructure without declaring a lot of rules yet – just enough for
“Eä” (a Quenya word, but I can’t think of a similarly simple one for
Sindarin). Phonemes are inherited from Esperanto for now.
2021-07-18 13:27:26 +02:00
Lucas Werkmeister c85d497e7f Add missing phsource/ files to Makefile.am
Found with the following script:

    for file in phsource/ph_*; do
        grep -qF "$file" Makefile.am || echo "$file missing!";
    done

I’ve left out one of the files highlighted by that script: ph_burmese
exists, but isn’t actually used by phsource/phonemes (there’s no
`include` directive for it).
2021-07-16 21:08:30 +02:00
Minas Tirith Citizen 3dfd750bf6 removed another space
fix compilation error within the testsuite
2021-06-16 15:41:09 +02:00
Minas Tirith Citizen d44f6e0c99 remove space between -D and PATH_ESPEAK_DATA
fixed a wrong compilation parameter
2021-06-16 15:34:11 +02:00
Valdis Vitolins 83f9312130 Merge pull request #930 2021-05-17 18:42:59 +03:00
Juho Hiltunen d91b7cf288 Rename zh (Mandarin) to cmn across the codebase.
See discussion in #933.
2021-05-11 20:14:54 +03:00
Juho Hiltunen 875174c3e9 Rename zhy (Cantonese) to yue across the codebase.
See discussion in #933.
2021-05-11 19:19:55 +03:00
Philippe Antoine 39e6a58659 Take comments into account 2021-05-04 14:57:53 +02:00
Philippe Antoine 24bfbcfeca Oss-fuzz integration
- fix a buffer overflow in ucd_tolower leading to failure when
compiling with address sanitizer
- force the use of C++ compiler for espeak-ng
- adding a malloc to have a null-terminated string in the fuzz target
- setting (but not overwriting) ESPEAK_DATA_PATH environment
variable inside the fuzz target
2021-05-04 13:12:42 +02:00
John Bowler 8954354ba1 Avoid reuse of old dictionary when building new.
And simplify the _dict pattern rule.  If a build had completed in the
directory before and "make distclean" had not been run ??_dict
dictionaries still existed, if one of these was rebuilt espeak-ng
loaded the old (out of date) one first resulting in inconsistent
execution of the build the second time round.  The change removes the
target before building it thus ensuring that old, possibly damaged, data
is not used.

I also changed the extraction of the language code; the GNU make %
(pattern) extension along with the long-standing $* extension (which
precedes GNU make) allow the match to the '%' to be used directly in the
command line.  The cd .. at the end of the command is unnecessary; make
(all versions) execute each command line using a single system() call,
so the cd never happens inside make.

Signed-off-by: John Bowler <jbowler@acm.org>
2021-04-29 10:43:56 -07:00
katrihiovainandSebastien Le Maguer 93d3c67df6 smj: Support for new language Lule Saami
Co-authored-by: Sebastien Le Maguer <lemagues@tcd.ie>
2021-04-10 13:54:41 +03:00
Juho Hiltunen c4740b3053 New language option lowercaseSentence
When set in a language file, a period followed by a lower case letter is
detected as end of sentence. Normal behavior is to require a capital
letter.
2021-04-05 19:29:18 +03:00
Reece H. Dunn a0b0f58cf5 [#864]: Fix installing the Japanese language on windows. 2021-03-24 17:58:55 +00:00
Juho Hiltunen 6e197d967e code cleanup: move soundicon logic to a new file
Soundicons are used for external audio with SSML <audio> tag and for
replacing punctuation names with sound files in LoadConfig().

Currently there's a bug wih soundicon slots: if both LoadConfig and
<audio> are used, the punctuation reserves all slots and no sound from
<audio> is played.
2021-03-21 18:53:05 +02:00
Juho Hiltunen 75ea4b0bdf Tests: add tests for voice variants 2021-03-10 21:19:55 +02:00
Juho Hiltunen 6a43f8c984 code cleanup: remove dead code for Divehi (dv)
The language is not supported and apparently never has been.
2021-03-05 17:21:08 +02:00
Juho Hiltunen 4838b35602 Tests: new test file for command line options
This is intended for testing command line options such as -k 2, --punct
and so on.
2021-01-26 20:57:57 +02:00
Juho Hiltunen a36f5573d2 Tests: new test collection for dictionary files.
The file is intended for everything mentioned in docs/dictionary.md.
2021-01-26 20:57:34 +02:00
Valdis Vitolins 3e0254949b Fix issue #868: add initial support for Klingon 2021-01-05 20:17:51 +02:00
Barry Schwartz 06bcb7ab93 Added missing backslash. 2021-01-02 17:15:29 -06:00
Valdis Vitolins 838a7ddc34 qdb: add missing configuration for Lang Belta and update documentation 2020-12-28 18:06:53 +02:00
datajake1999 5e502661d6 Add speechPlayer Klatt implementation as Klatt 6. 2020-12-06 08:34:38 -08:00
Valdis Vitolins 5deac40b1a Fix issue #811: improve Interlingua language 2020-08-25 23:17:26 +03:00
Valdis Vitolins 925052c35f Add makefile entries for for Ido language 2020-08-19 17:27:08 +03:00
Valdis Vitolins 02174e2f76 Add test for Klatt voices 2020-07-22 16:20:33 +03:00
Daniel Bair b56c9429bc Add check for kramdown so that both RONN and KRAMDOWN are set by configure script 2020-07-03 17:13:16 +07:00
Daniel Bair fd14487698 RONN is set by configure script 2020-07-03 10:12:34 +07:00
Daniel Bair 6834b2f8c9 Update Makefile.am
Allows setting the path for ronn and kramdown
2020-07-02 09:56:47 +07:00
Valdis Vitolins 3660a44bdc Add test for MBROLA voice 2020-06-14 22:11:16 +03:00
Valdis Vitolins 24eb5b3cde Issue #757: add initial support for Thai language 2020-06-13 21:56:38 +03:00
Valdis Vitolins 60d9d977b9 Issue #767: add initial support for Chuvash language 2020-05-29 21:59:01 +03:00
Valdis Vitolins 7cc25ab301 Issue #761: make improvements for Turkmen
Updates from second zip file, also add missing entry in Makefile.am
2020-05-29 21:35:46 +03:00
Valdis Vitolins 6ecba786f1 Sort properly entries 2020-05-29 20:37:08 +03:00
Valdis Vitolins 3a7cc32db8 Issue #764: add initial support for Nogai language 2020-05-29 20:17:01 +03:00
Valdis Vitolins 3a0392f3b3 Issue #763: add initial support for Uyghur language 2020-05-29 18:41:32 +03:00
Valdis Vitolins 3d88d7edd4 Issue #761: add initial support for Turkmen language 2020-05-27 23:01:23 +03:00
Valdis Vitolins 9f9a4980a7 Issue #760: improve Uzbek language 2020-05-26 23:57:44 +03:00
Valdis Vitolins 1af7ec6e07 Merge pull request #748 2020-05-11 21:55:41 +03:00
Valdis Vitolins 2d2830c92e Merge pull request #738 2020-05-04 13:08:55 +03:00
Valdis Vitolins c8512c305f Reorder makefile entries 2020-04-16 18:47:02 +03:00
Valdis Vitolins 4573cea94e he: issue #732: add initial support for Hebrew language 2020-04-16 18:17:24 +03:00
Valdis Vitolins 0ee91aaa06 haw: fix issue #578: add initial support for Hawaiian language 2020-04-13 19:23:04 +03:00
Valdis Vitolins da359384fa qu: fix issue #561: add initial support for Quechua language 2020-04-12 23:44:48 +03:00
Valdis Vitolins d17a5ecc53 Fix issue #546: add initial support for Ukrainian language 2020-04-12 15:29:16 +03:00
Valdis Vitolins 875ef11d77 Fix bug #703: update version number for shared library
When update next version number, look at differences for e.g. b47a75f4 commit
and update following files:
  - CHANGELOG.md
  - android/jni/include/config.h
  - configure.ac
  - src/windows/config.h
  - Makefile.am
2020-04-09 16:51:05 +03:00
Valdis Vitolins 53f65b51eb Add a test to ensure source files do not have Byte Order Mark 2019-12-16 22:31:09 +02:00
Samuel Thibault 03ec605432 Use $(CURDIR) instead of $(PWD) 2019-12-03 22:59:06 +01:00
Samuel Thibault d3ecd919e4 Factorize mbrola build rule 2019-12-03 22:58:31 +01:00