Commit Graph
396 Commits
Author SHA1 Message Date
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
Valdis Vitolins 3d88d7edd4 Issue #761: add initial support for Turkmen language 2020-05-27 23:01:23 +03:00
Valdis Vitolins c24c5cbf94 Add comment, when Makefile.am needs to be changed 2020-05-23 17:32:50 +03:00
Valdis Vitolins 09c8c54083 Fix number of supported langugages
(Hebrew was added without updating number)
2020-05-23 17:31:28 +03:00
Valdis Vitolins 6f90a5af12 Add initial support for Latgalian language 2020-05-23 17:29:55 +03:00
Alexander Epaneshnikov 5e8e6b1d46 update gradle plugin 2020-05-22 21:59:29 +03:00
Valdis Vitolins 1af7ec6e07 Merge pull request #748 2020-05-11 21:55:41 +03:00
guest271314 ab2d44eba2 Fix link to tts:style 2020-05-04 02:58:14 +00:00
Valdis Vitolins 4573cea94e he: issue #732: add initial support for Hebrew language 2020-04-16 18:17:24 +03:00
Valdis Vitolins fc88652194 docs: update total number 2020-04-13 19:32:07 +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 7e69e33588 docs: allow to call any instance of espeak-ng 2020-04-13 17:54:13 +03:00
Valdis Vitolins 54723e8492 docs: move creation of language definition up 2020-04-13 17:52:27 +03:00
Valdis Vitolins a10a6b71cd docs: add links to action steps 2020-04-13 17:48:47 +03:00
Valdis Vitolins a8cae87bad docs: add missing languages to the list 2020-04-13 00:09:13 +03:00
Valdis Vitolins ad2b12f642 docs: move taking responsibility to explicit step 2020-02-27 10:41:48 +02:00
Valdis Vitolins d69a25b317 docs: add step about closing issue 2020-02-27 10:40:55 +02:00
Samuel Thibault d3ecd919e4 Factorize mbrola build rule 2019-12-03 22:58:31 +01:00
Valdis Vitolins f4c2ad3b7f docs: add missing languages to the list 2019-11-16 21:40:42 +02:00