Commit Graph
3718 Commits
Author SHA1 Message Date
Valdis Vitolins 39d662de10 ar: update list when letters are spelled by name:
1. only in separate words,
2. at the end of entered text.
2018-05-17 16:47:11 +03:00
Valdis Vitolins 2193ecf19b ar: reorganize rules for diacritics 2018-05-17 15:52:59 +03:00
Valdis Vitolins 84b1d8d133 ar: move Arabic comma and semicolon to .replace group 2018-05-17 14:44:11 +03:00
Valdis Vitolins 46f2f99ed1 ar: move alef with hamzas together alef groups 2018-05-17 14:37:23 +03:00
Valdis Vitolins 86768ba5e4 ar: remove wrongly declared letter groups
Letter groups A, B, C, E etc. should be redefined in C code
t https://github.com/espeak-ng/espeak-ng/blob/master/docs/dictionary.md#redefinition-of-charater-groups
2018-05-17 13:41:16 +03:00
Valdis Vitolins a7ea333d37 ar: move Shadda form post rule to consumed letter.
As Shadda is diacritic mark, it doesn't have meaning as separate letter,
therefore it should be consumed together with diacritized letter.
2018-05-17 13:29:01 +03:00
Valdis Vitolins 6e554c97d3 ar: fix typo for letter group 2018-05-17 13:23:38 +03:00
Valdis Vitolins c4d9d7b57a docs: clarify order for replaced characters 2018-05-17 12:02:16 +03:00
Valdis Vitolins a7f84cb53d ar: fix most common words 2018-05-17 11:53:46 +03:00
Valdis Vitolins e571f8eb2d ar: format list file 2018-05-17 11:53:46 +03:00
Valdis Vitolins 7e5299e63a ar: remove replacement rules for Hamza,
because then words in ar_list file should be written in replaced form
2018-05-17 11:53:46 +03:00
Valdis Vitolins bae4b8c1c1 ar: format and sort rules 2018-05-17 11:53:46 +03:00
Valdis Vitolins 98fe60d72c ar: remove custom voice settings as they are not better than default 2018-05-17 11:53:38 +03:00
Valdis Vitolins 16c21d67fc ar: patch arabic ZAH phoneme 2018-05-17 11:50:28 +03:00
Reece H. Dunn a9b3e1f58e ru: remove commented out rules. 2018-05-15 20:29:03 +01:00
Reece H. Dunn fd0d139f67 ru: don't stress 'ж' when used as a particle. 2018-05-15 19:14:03 +01:00
Reece H. Dunn 5c88f81107 ru: fix the particle 'б' and prepositions 'в' and 'с'. 2018-05-15 08:04:45 +01:00
Reece H. Dunn 79f41a822b ru: use 'n;' instead of 'n^', and 'l;' instead of 'l^'. 2018-05-15 07:57:33 +01:00
Reece H. Dunn 5c6a4c8804 ru: format the ph_russian file and remove commented out lines 2018-05-15 07:22:29 +01:00
Valdis Vitolins 7b19be8850 ru: more formatting fixes 2018-05-15 07:13:42 +01:00
Valdis Vitolins 349cf83e98 ru: n is softened before iotated vowel 2018-05-15 07:10:55 +01:00
Reece H. Dunn 5461b09ea5 ru: revert to d1ce948058 2018-05-15 07:10:12 +01:00
Reece H. Dunn 55d001514e Don't print 'Bad rules data in ...' if there are no rules in the dictionary. 2018-05-13 09:36:18 +01:00
Reece H. Dunn 632f4fbd08 Merge remote-tracking branch 'hozosch/master' 2018-05-10 21:11:48 +01:00
Karl Eick 82af175585 Added rule: fügbar
If this rule wouldn't be there, the g would be pronounced voiced by espeak which it shouldn't do.
2018-05-08 21:50:22 +02:00
Karl Eick a4f59d92dc Add one more word to rules: Papier 2018-05-08 15:17:21 +02:00
Karl Eick aacc0689db Yet more fixes
Those are even more fixes. 1 entry in list added, and few existing entries in rules and list modified.
2018-05-08 13:12:00 +02:00
Reece H. Dunn e7a1703b8c Merge remote-tracking branch 'hozosch/master' 2018-05-08 07:33:05 +01:00
Reece H. Dunn 0325a42374 Revert "wavegen.c: Fix -Wunused-but-set-variable warning."
This reverts commit 6d751c93bf.

Fixes https://github.com/nvaccess/nvda/issues/8231.
2018-05-08 07:28:52 +01:00
Karl Eick ba04c2c056 1 Entry added in rules, and 1 in list 2018-05-07 14:27:35 +02:00
Reece H. Dunn 3582aa6aca docs: Support a non-verbose output when building the html documentation. 2018-05-06 08:18:54 +01:00
Luc Gommans 5f48057e7c Add accepted values and an example for some SSML 2018-05-05 23:08:30 +02:00
Karl Eick b912ab2a5f Modified 2 existing entries in list 2018-05-05 09:04:48 +02:00
Karl Eick 06f6cecc09 Added 1 more rule 2018-05-05 07:48:41 +02:00
Karl Eick e9e45eafa2 Added 2 rules and made 1 change to an existing one
The first rule I added was to indicate that "ur" at the end of a word is stressed so that it now can pronounce words like Gravur, Tastatur, Klausur, Zensur, etc. correctly. The second rule I added was a word which it pronounced incorrectly before. The change to the existing rules were so that it pronounces kanal and signal  everywhere with the stress on the a.
2018-05-05 07:22:18 +02:00
Karl Eick d8d94c2ea2 Revised rules, added correct stress mark for word "archiv" in list. 2018-05-04 22:14:11 +02:00
Karl Eick e09b63a8e1 Some more rule additions, and hopefully some conflicts resolved. 2018-05-04 22:02:17 +02:00
Karl Eick d8b30da896 Correct a rule to match with the espeak-ng upstream 2018-05-04 08:26:24 +02:00
Karl Eick e472500140 More fixes for German
Those are more rules for correct pronunciation. The ey rule at end of word was removed to make espeak pronounce names like Meyer, Speyer, etc. correctly which it didn't do before. The other rules I added are also for correct compound word pronunciation. German's got a lot of compound words, a lot of them espeak can't say, but adding every single word there exists would be hard I guess, those are at least a few
2018-05-04 06:50:28 +02:00
Reece H. Dunn a766b22643 Merge commit 'df247b7cab6e28e691e1db5b4abe7f0649e3b339' 2018-05-03 21:33:59 +01:00
Reece H. Dunn df247b7cab Fix the ispunct ctype implementation. 2018-05-03 21:29:17 +01:00
Reece H. Dunn 0be3cbde76 Merge remote-tracking branch 'sthibaul/audio_reopen' 2018-05-03 20:31:51 +01:00
Samuel Thibault d844a47804 Make it possible to restart speech even when audio open failed once
When notably the audio card is busy, we should report the issue to the
application, but still permit the application to retry submitting text
to synth, and eventually succeed to open it.

This change simply fixes the update of the out_samplerate variable to track
whether audio is open, and if not when text is submitted by the application,
try again to open it.
2018-05-03 21:27:02 +02:00
Samuel Thibault f75c5ccbe3 Fix out of bound access when buffer size is odd
Valgrind reports

==20307== Invalid write of size 1
==20307==    at 0x4E856FE: Wavegen.part.1 (wavegen.c:880)
==20307==    by 0x4E86682: Wavegen (wavegen.c:670)
==20307==    by 0x4E86682: Wavegen2 (wavegen.c:1235)
==20307==    by 0x4E86682: WavegenFill2 (wavegen.c:1317)
==20307==    by 0x4E86CA7: WavegenFill (wavegen.c:1398)
==20307==    by 0x4E7093F: Synthesize (speech.c:442)
==20307==    by 0x4E712E0: sync_espeak_Synth (speech.c:549)
==20307==    by 0x4E8A5C0: process_espeak_command (espeak_command.c:317)
==20307==    by 0x4E8B387: say_thread (fifo.c:333)
==20307==    by 0x50E85A9: start_thread (pthread_create.c:463)
==20307==    by 0x53F5CBE: clone (clone.S:95)
==20307==  Address 0xad5e1bd is 0 bytes after a block of size 2,205 alloc'd
==20307==    at 0x4C2CABF: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20307==    by 0x4C2EE04: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20307==    by 0x4E70CFC: espeak_ng_InitializeOutput (speech.c:286)
==20307==    by 0x4E6176E: espeak_Initialize (espeak_api.c:67)
==20307==    by 0x10A5D8: initialize_espeak (espeak.c:303)
==20307==    by 0x109D1D: main (espeakup.c:201)
==20307==

Indeed, the out_ptr >= out_end test is not enough: it only checks that
one byte can fit the buffer, while klatt and wavegen produce two bytes.
2018-05-03 21:04:53 +02:00
Reece H. Dunn 888bb71bbf Add Hatian Creole to the language list. 2018-05-02 19:55:50 +01:00
Valdis Vitolins 82214e80cf ru: issue #474 — 'л' and 'н' should be palatalized instead of softened before iotated vowel 2018-05-02 21:18:36 +03:00
Valdis Vitolins 8be30d259e ht: issue #452 — add initial support for Haitian Creole language 2018-05-02 21:04:44 +03:00
Valdis Vitolins f2c2ec5da0 lv: improve sound of 'zv' 2018-05-02 21:01:16 +03:00
Valdis Vitolins 05ec8d89ed docs: change MBROLA's info file to README.txt as it is named in GitHub 2018-05-02 20:58:45 +03:00
Valdis Vitolins c2edaa50a2 docs: separate pre- and post- rules in examples to make them less confusing.
Write more explicit table header for phonetic spelling.
2018-05-02 20:57:23 +03:00