Commit Graph
3697 Commits
Author SHA1 Message Date
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
Juho Hiltunen 6d751c93bf wavegen.c: Fix -Wunused-but-set-variable warning. 2018-05-01 19:02:32 +01:00
Juho Hiltunen f4aec775cf compiledata.c: Fix -Wunused-result warning. 2018-05-01 19:02:21 +01:00
Reece H. Dunn afc29cd776 ru: pronounce the single-letter particles as letters when requested to (_letter) and at the end of sentences. 2018-05-01 18:54:04 +01:00
Reece H. Dunn d2b2b819d4 Revert "ru: fix for 'щ'"
This reverts commit 1e8e037613.
2018-05-01 18:28:11 +01:00
Reece H. Dunn 89402caa3f de: fix the formatting of the file 2018-05-01 18:18:04 +01:00
Reece H. Dunn ab383c97f9 de: revert 'gn' in Gnom, etc.. 2018-05-01 18:17:46 +01:00
Reece H. Dunn b6f9f89753 de: fix stress for 100 and 1000. 2018-05-01 18:16:46 +01:00
Reece H. Dunn e5a6d6b4bb de: remove symbol entries defined in en_emoji. 2018-04-30 19:27:11 +01:00
Reece H. Dunn cf35226f61 Merge remote-tracking branch 'hozosch/master' 2018-04-30 19:20:55 +01:00
Reece H. Dunn eb8ced46e3 Don't treat words without alpha characters (e.g. emoji) as upper case. 2018-04-30 07:09:28 +01:00
Reece H. Dunn b1754542fb Add a test case for espeak-ng issue #471. 2018-04-30 07:06:56 +01:00
Karl Eick be8cbecbd4 Yet another correction in the list where the tilde was omitted 2018-04-29 16:09:59 +02:00
Karl Eick f9474e81ea Correct 2 entries in list 2018-04-29 16:00:08 +02:00
Karl Eick e1af75c12d Correct mistake in phoneme definition for W~ 2018-04-29 15:34:44 +02:00
Karl Eick abdf5d2c88 Add W~ phoneme, more changes to list and rules 2018-04-29 15:29:08 +02:00
Karl Eick fb8b4a0e8d At last 2 rules for correct compound word pronunciation 2018-04-29 12:54:55 +02:00
Reece H. Dunn d6c1b5d597 Fix the README to reference the correct Unicode version. 2018-04-29 11:36:32 +01:00
Karl Eick 4261894ed7 Add word "summe" in rules for correct compound word pronunciation
I hope that will be my last change. Most of them, like Zitat, gedulds, etc have been added for correct compound word pronunciation. The A: phoneme in komma and beta sounds more natural for me; I also did Komma this way because it matches the way espeak reads it when written as an actual word.
2018-04-29 11:56:35 +02:00
Karl Eick 0d6bd0b67b Added one more rule: "Gedulds" 2018-04-29 11:38:32 +02:00
Karl Eick 33d518aa53 Correct mistake in rule "ik" at end of word 2018-04-29 11:17:03 +02:00
Karl Eick 7735fb3944 Made some more changes to various rules 2018-04-29 11:05:59 +02:00