Commit Graph
414 Commits
Author SHA1 Message Date
Juho Hiltunen 80976d7fbf docs: add a section about tests when adding a new language
Closes #1194.
2022-09-24 08:25:26 +03:00
Benson Muite 3be0b98a1a Fix vowels link 2022-09-17 09:17:24 +03:00
Quin 97414c47b9 Fixed typo in dictionary documentation. 2022-08-23 00:13:31 +02:00
Valdis Vitolins 5891514b17 Describe contribution quality rules in more details 2022-08-21 22:30:18 +03:00
Alexander Epaneshnikov 2802103844 android: update building documentation 2022-04-22 00:04:43 +03:00
AlsoScratch 29e621c213 Add missing entry 2021-12-26 15:47:45 +02:00
TpaeFawzen d24ad7638c Fixed a note of Japanese input
Should be input in hiragana and katakana, not Arabic alphabet.
2021-12-21 06:28:30 +09:00
bespsm 7aacdef65d Add initial suport for Belarusian 2021-11-15 15:35:28 +02:00
Marco BARNIG be962b067b Add support for Luxembourgish 2021-11-11 22:05:09 +02:00
Valdis Vitolins 9e3528e6a9 Merge pull request #991 2021-07-30 21:58:15 +03:00
Valdis Vitolins fda3504911 Android build doesn't work with gradle 7.0.1 2021-07-30 21:57:34 +03:00
Valdis Vitolins aa992d8e5a Add Hebrew MBROLA voices to the list 2021-07-30 11:40:27 +03:00
Juho Hiltunen c28412db78 Don't set stress_flags with language option "stressRule".
Language option "stressOpt" already handles separate flags instead of a
single integer. There's no reason to have two ways of setting the same
option.
2021-07-27 22:15:28 +03:00
Juho Hiltunen 4f5f1e8310 doc: add documentation for language option "stressOpt" 2021-07-27 22:15:28 +03:00
Valdis Vitolins a4c8d7f1fe Update list of languages 2021-07-20 17:04:08 +03:00
Juho Hiltunen fb233a7b0c code cleanup: move stressLength, stressAdd and stressAmp handling in LoadVoice()
From now on, stressLength must be set before stressAdd because
stressLength will overwrite any previous value. Usually stressLength is
set in a language file and stressAdd in a voice file.

Previously the order of the two commands didn't matter.
2021-05-22 13:38:03 +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
Valdis Vitolins d2bc4980a5 Update list of language files 2021-04-13 14:55:04 +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
jaacoppi c315a10109 docs: add details about ordinal numbers 2021-03-20 08:46:45 +02:00
jaacoppi a54824c9e5 voices: Change default number pronunciation rule to enabled.
docs: add details about number flags to the documentation.

It's clearly intended to be enabled by default:
- it's defined as default behaviour translate.h (NUM_DEFAULT)
- tr_languages.c sets many default values related to number processing
  that have no meaning unless langopts.numbers == 1.

It is also a more sensible default since most languages will want to
have number processing on. This makes adding new languages easier
because  adding an entry to tr_languages.c is unnecessary.

A negative side effect is that languages with partial number defines
might experience bugs when reading undefined numbers. This is a bug and
should be fixed.

This will have the side effect of enabling number processing for
languages that currently have it disabled. However, there shouldn't be
any.

Here's a way to check affected languages:
for voice in $(ESPEAK_DATA_PATH=`pwd` LD_LIBRARY_PATH=src:${LD_LIBRARY_PATH}
src/espeak-ng --voices | grep -v Languages | awk '{print $2}'); do
OUTPUT=$(ESPEAK_DATA_PATH=`pwd` LD_LIBRARY_PATH=src:${LD_LIBRARY_PATH}
src/espeak-ng -qx -v $voice "1 - 2 - 3 - 12 - 123") && echo "$voice:
$OUTPUT" ; done

These voices clearly benefit from enabling numbers (they already have
number rules in *_list):
ba, cmn (zh), hak, haw, ja, kok, nb, nci

Some languages are missing some definitions (like _12) in _list files.
It causes the program to skip some numbers.
Numbering needs to be turned off explicitly for:
jbo, mi, my, piqd, py, qu, quc, th, uz

Languages with no number rules at all:
chr, cv, he, nog, tk, ug
2021-03-04 19:13:09 +02:00
Juho Hiltunen 0cb4b1b654 docs: add sox as an optional dependency.
using sox for ssml <audio> tag is hardcoded in readclause.c and for
--compile-phonemes in compiledict.c

Currently, --compile-phoneme doesn't need to run sox since the
samplerate for the specific file is correct. There might be a lot of
dead code in compiledata.c
2021-02-27 20:24:44 +02:00
Juho Hiltunen 0cf3ee564c Code cleanup: remove param2 from langopts and rename keyword option in language files.
- param2[] is only used to set a second value to LOPT_BRACKET_PAUSE. It is simpler
to have two values in param[] instead. This simplifies the codebase.

- Instead of setting "option bracket X Y" in language files, use
keywords "brackets X" and "bracketsAnnounced Y" instead to follow the
naming convention of other keywords.

- Add missing documentation to docs/voices.md.
2021-02-21 15:01:29 +02:00
Juho Hiltunen 673c12a54e docs: add an explanation to $pause, $brk, $verbextend and $nounf 2021-01-26 20:57:42 +02:00
Valdis Vitolins 3e0254949b Fix issue #868: add initial support for Klingon 2021-01-05 20:17:51 +02:00
Valdis Vitolins 7fcd74e741 Merge pull request #858 2020-12-28 18:07:20 +02:00
Valdis Vitolins 838a7ddc34 qdb: add missing configuration for Lang Belta and update documentation 2020-12-28 18:06:53 +02:00
Valdis Vitolins b7d2dc0941 Note that language name should be single word only.
See more at: https://github.com/espeak-ng/espeak-ng/pull/863
2020-12-28 15:42:08 +02:00
datajake1999 5e502661d6 Add speechPlayer Klatt implementation as Klatt 6. 2020-12-06 08:34:38 -08:00
Valdis Vitolins 52246c4043 docs: add more details about language vs voice settings 2020-10-21 22:32:57 +03:00
Valdis Vitolins 8e697086e9 docs: add more details for names of 10^3X orders 2020-10-15 18:23:23 +03:00
Valdis Vitolins 8481ced2d9 docs: make clear that listed languages are supported in development version, move comments below table 2020-10-14 18:14:35 +03:00
Valdis Vitolins c1d9341f86 docs: add description for make -B command 2020-10-07 15:57:10 +03:00
Valdis Vitolins bcfc001269 docs: remove specific clang version from parameters 2020-10-07 15:50:26 +03:00
Valdis Vitolins 6d3c1dfb4b Add entries for Ido language 2020-08-19 17:27:39 +03:00
Valdis Vitolins 30d5735db5 docs: fix link and make it more descriptive 2020-07-21 18:20:10 +03:00
Valdis Vitolins 9adc6e157e docs: fix link 2020-07-21 18:13:42 +03:00
Valdis Vitolins df282f8f3d docs: add dedicated user guide for installation and usage 2020-07-21 18:02:46 +03:00
Valdis Vitolins 3aa4c10ef8 docs: remove entry about binaries, move dependencies into dependencies chapter 2020-07-21 17:47:09 +03:00
Valdis Vitolins aec8baf093 docs: add examples how to use eSpeak NG as a C library 2020-07-21 17:14:30 +03:00
Valdis Vitolins 24eb5b3cde Issue #757: add initial support for Thai language 2020-06-13 21:56:38 +03:00
Valdis Vitolins e6e4994a0d docs: use standard ronn and kramdown packages 2020-06-13 18:37:13 +03:00
Valdis Vitolins eb04601dc5 docs: add information about roadmap and 'easy fixes/good first issue' 2020-05-30 23:46:32 +03:00
Valdis Vitolins 60d9d977b9 Issue #767: add initial support for Chuvash language 2020-05-29 21:59:01 +03:00
Valdis Vitolins 3a7cc32db8 Issue #764: add initial support for Nogai language 2020-05-29 20:17:01 +03:00
Valdis Vitolins 82595dd089 docs: add notes for other languages which support several alphabets 2020-05-29 19:09:26 +03:00
Valdis Vitolins e8b9c3e977 docs: reorganize comments 2020-05-29 18:55:54 +03:00
Valdis Vitolins 3a0392f3b3 Issue #763: add initial support for Uyghur language 2020-05-29 18:41:32 +03:00
Valdis Vitolins 6e41ddef3d Issue #766 — add information about external sound editors 2020-05-28 00:14:11 +03:00