Commit Graph
88 Commits
Author SHA1 Message Date
Reece H. Dunn 8585b0b47d Fix the return status code from Synthesize when the voices cannot be found. 2017-08-19 12:27:39 +01:00
Reece H. Dunn 882c2651e1 Fix setting the default voice from espeak_SetVoiceByProperties. 2017-08-19 12:08:39 +01:00
Reece H. Dunn 16bea7fd0f Don't crash in LoadVoice if langopts is NULL. 2017-08-19 11:44:13 +01:00
Reece H. Dunn 4d4a8419f8 Test espeak_SetVoiceByName with an invalid voice name. 2017-08-19 10:19:00 +01:00
Reece H. Dunn aee367c334 Add espeak_SetVoiceByProperties tests with the languages property. 2017-08-19 10:11:32 +01:00
Reece H. Dunn c0308e3140 tests/api: test that the translator's dictionary is correct. 2017-08-19 09:05:27 +01:00
Reece H. Dunn 7fc1e30316 Add tests for espeak_SetVoiceByName. 2017-08-19 08:59:50 +01:00
Reece H. Dunn cec0e773a4 Remove the tokenizer code. This is not currently used, and should be designed from espeak's behaviour. 2017-08-16 19:04:26 +01:00
Reece H. Dunn ddee4d6386 languages.test: fix running the Japanese test 2017-06-04 17:08:19 +01:00
Reece H. Dunn ea0dcc9473 Testing UTS 51 (5.0-12) ED-14c. emoji keycap sequence 2017-05-23 07:56:14 +01:00
Reece H. Dunn 37819f0781 Testing UTS 51 (5.0-12) ED-14b. emoji combining sequence 2017-05-23 07:49:37 +01:00
Reece H. Dunn 6f39beb154 Testing UTS 51 (5.0-12) ED-14. emoji tag sequence (tag_base = emoji character) 2017-05-23 07:28:11 +01:00
Reece H. Dunn 421518e8cc Testing UTS 51 (5.0-12) ED-14. emoji flag sequence 2017-05-22 07:46:36 +01:00
Reece H. Dunn 40eed16247 Testing UTS 51 (5.0-12) ED-13. emoji modifier sequence 2017-05-22 07:32:26 +01:00
Reece H. Dunn 281cb5513e Testing UTS 51 (5.0-12) ED-9a. emoji presentation sequence 2017-05-22 07:12:58 +01:00
Reece H. Dunn e02ab7d0c2 Testing UTS 51 (5.0-12) ED-8a. text presentation sequence 2017-05-22 07:05:23 +01:00
Reece H. Dunn f94f7effcd Test ReadClause with a Latin-character sentence. 2017-05-21 13:49:47 +01:00
Reece H. Dunn fbd2e679fc Don't crash if loading the default voice fails. 2017-05-21 12:44:10 +01:00
Reece H. Dunn dced9f58fd Clean up the decoder memory in espeak_Terminate. 2017-05-21 12:07:15 +01:00
Reece H. Dunn 63e2826753 Ensure that the old translator is not used after calling espeak_Terminate. 2017-05-21 12:01:46 +01:00
Reece H. Dunn ae6116bf97 Fix calling espeak_Synth without first setting a voice, with tests. 2017-05-21 10:47:47 +01:00
Reece H. Dunn 3189d194f1 Testing UTS 51 (5.0-12) ED-3. emoji character 2017-05-20 15:52:58 +01:00
Reece H. Dunn 27a08c5fea Test ReadClause on single character emoji sequences. 2017-05-20 10:23:59 +01:00
Reece H. Dunn 5aa47e01ea Simplify the readclause test names.
This is to support additional logic (i.e. testing the ReadClause
function) in the test functions.
2017-05-19 20:40:15 +01:00
Reece H. Dunn 37bae427c4 Remove the current voice tests.
These tests are limited in scope and should really be part of a
more comprehensive API tests.
2017-05-19 20:11:10 +01:00
Reece H. Dunn 48ca2239bb Fix non-Latin character languages falling back to English when reading Latin characters. 2017-05-12 07:35:27 +01:00
Reece H. Dunn d674529b9c tests/languages.test: Rename the test function to test_lang, to avoid a conflict with the test command. 2017-05-12 07:31:48 +01:00
Reece H. Dunn 5030ff95cc automake: don't make the tests print 'done', have the make rule print 'PASSED' instead. 2017-05-09 08:01:21 +01:00
Reece H. Dunn 8821c9e361 Split out the readclause tests so the tokenizer tests can use public-only APIs. 2017-05-09 07:44:42 +01:00
Reece H. Dunn d72557aed2 Add simple tests for testing voice selection by name. 2017-05-08 07:56:49 +01:00
Reece H. Dunn 6ec3e85007 Add language.tests for de, en and jp to test the phoneme generation. 2017-05-06 11:00:18 +01:00
Reece H. Dunn dd90d3812d tokenizer.c: Support general symbol tokens. 2017-05-03 08:08:40 +01:00
Reece H. Dunn 786575c6ed tokenizer.c: Support general punctuation tokens. 2017-05-03 07:56:53 +01:00
Reece H. Dunn 683579f403 Make the tokenizer.h API public. 2017-05-02 18:52:06 +01:00
Reece H. Dunn 9af96da469 Make the encoding.h API public. 2017-05-02 18:40:16 +01:00
Reece H. Dunn 55bfbb4754 tokenizer.c: Support ellipsis tokens. 2017-05-02 07:28:29 +01:00
Reece H. Dunn b847df63b5 tokenizer.c: Support semicolon tokens. 2017-05-01 19:38:37 +01:00
Reece H. Dunn af7e8fc5a3 tokenizer.c: Support colon tokens. 2017-05-01 19:22:48 +01:00
Reece H. Dunn 7560070dcd tokenizer.c: Support comma tokens. 2017-05-01 19:14:47 +01:00
Reece H. Dunn c9199cfacb tokenizer.c: Support exclamation mark tokens. 2017-05-01 19:00:40 +01:00
Reece H. Dunn 128ceaff6a tokenizer.c: Support question mark tokens. 2017-05-01 17:50:54 +01:00
Reece H. Dunn 8f62e18324 tokenizer.c: Support full stop tokens. 2017-05-01 17:45:55 +01:00
Reece H. Dunn d50f3f2fa5 tokenizer.c: Support word tokens. 2017-05-01 09:37:23 +01:00
Reece H. Dunn a902f451d8 tests/tokenizer.test: Support printing the tokens from a provided file, making it easy to investigate tokenizer issues. 2017-04-29 10:13:16 +01:00
Reece H. Dunn d093513b65 tokenizer.c: Add an options parameter to the tokenizer_reset API. 2017-04-28 07:48:55 +01:00
Reece H. Dunn c41ac642fa tokenizer.c: Tokenise Zp codepoints as paragraphs. 2017-04-28 07:44:22 +01:00
Reece H. Dunn f3ea6f68f3 tokenizer.c: Tokenise U+000B [VERTICAL TAB (VT)] as whitespace, not as newlines. 2017-04-28 07:37:00 +01:00
Reece H. Dunn fc7a4e6701 tokenizer.c: Recognise U+000C [FORM FEED (FF)] as a newline codepoint. 2017-04-28 07:31:05 +01:00
Reece H. Dunn d2d718d700 tokenizer.c: Tokenize line separator codepoints as newline tokens. 2017-04-28 07:16:38 +01:00
Reece H. Dunn bf45e7ce36 tokenizer.c: Recognise U+0085 [NEW LINE (NEL)] as a newline codepoint. 2017-04-28 07:08:02 +01:00