Commit Graph
42 Commits
Author SHA1 Message Date
Juho Hiltunen d395efa481 headers: add new file phonemelist.h with declarations of functions in phonemelist.c 2018-03-10 08:02:24 +02:00
Juho Hiltunen 098904dfe0 headers: add new file setlengths.h with declarations of functions in setlengths.c 2018-03-10 08:02:17 +02:00
Juho Hiltunen 9d12d23d2a headers: add new file intonation.h with declarations of functions in intonation.c 2018-03-10 07:49:04 +02:00
Juho Hiltunen 706df97b20 headers: add new file readclause.h with declarations of functions in readclause.c 2018-03-10 07:18:07 +02:00
Juho Hiltunen 30ad5c39f6 move struct MatchRecord to dictionary.c since it's the only file that uses it 2018-03-09 21:08:38 +02:00
Juho Hiltunen 342f077755 remove unused declarations of ChangePhonemes_ru() and struct CHANGEPH
these are the only references in the code.
2018-03-09 21:08:38 +02:00
Juho Hiltunen 738492100a make all headers (almost) self-contained by using include guards and #include statements within headers 2018-03-09 21:08:15 +02:00
Juho Hiltunen 78749f14f8 readability fix: use boolean instead of 0 and 1 for loop control 2018-02-17 18:17:00 +02:00
Valdis Vitolins 5a0af78af9 3-letter language code constants replaced with C macro L3() 2017-12-29 12:08:23 +02:00
Reece H. Dunn 70d492c8dc Move utf8_out back to translate.c as it is no longer used in tests. 2017-10-24 07:49:24 +01:00
Reece H. Dunn 54e87adbb8 Move isspace2 from compiledict.c to translate.c. 2017-10-24 07:29:58 +01:00
Reece H. Dunn 7f42e0aaca compiledict.c: Fix -Wmissing-prototypes warnings. 2017-10-11 07:51:36 +01:00
Reece H. Dunn b8b0119b62 dictionary.c: Fix -Wmissing-prototypes warnings. 2017-10-11 07:46:17 +01:00
Reece H. Dunn 8dde51ca87 Remove the now unused emoji_zwj specifier. 2017-05-25 07:23:21 +01:00
Reece H. Dunn 7e85b36b4d en: (emoji) -- Unicode Emoji 4.0 (Emoji Roles) 2017-05-18 07:16:05 +01:00
Reece H. Dunn 85801fc1e3 Remove the now unused dictdialect functionality from the code. 2017-05-07 15:17:47 +01:00
Reece H. Dunn 2f8f125c68 Remove voice/language support for alphabet2.
This is not used by any of the espeak-ng voices and languages.
Additionally, this functionality would be superceded by support
for specifying the language used by different scripts in the
language argument on the command line.
2017-05-07 15:10:42 +01:00
Reece H. Dunn 1c4ce3dcd3 tokenizer.c: create and use a clause_type_from_codepoint function, with tests. 2017-04-19 22:33:32 +01:00
Reece H. Dunn 8749891069 Better specify the CLAUSE_ flags returned by ReadClause. 2017-04-17 22:04:45 +01:00
Reece H. Dunn 62d4aff9a9 Remove the now unused option_multibyte variable. 2017-04-01 15:12:49 +01:00
Reece H. Dunn ec8a7b810f Use the text decoder object at the top-level Synthesize/espeak_TextToPhonemes call, not in TranslateClause. 2017-04-01 15:11:01 +01:00
Reece H. Dunn be480c12de Make TranslateClause return 'const void *' to preserve constness. 2017-03-31 20:23:22 +01:00
Reece H. Dunn 7c16ac543c Use the text decoder API in readclause.c. 2017-03-31 13:17:37 +01:00
Reece H. Dunn 8933185de4 Remove the unused f_in argument to the Read/Translate/SpeakNextClause functions. 2017-03-31 07:13:36 +01:00
Reece H. Dunn 0b0661cef0 Use the encoding.c tables for 8-bit encodings.
1.  Store the encoding enumeration values in the Translation
    object, instead of the charset table.

2.  Use the encoding.c charset table data instead of the ones
    in translate.c.

3.  Remove the charset language file option -- it is only used
    in the Arabic language file, but is used incorrectly there.

4.  Specify ISO 8859-6 for the 8-bit encoding for Arabic instead
    of UTF-8, so that espeakCHARS_8BIT and espeakCHARS_AUTO work
    correctly for Arabic.
2017-03-31 00:01:14 +01:00
Reece H. Dunn 5975f07095 Replace the *2 wchar/wctype APIs with their standard versions. These will be fixed using compatibility headers. 2017-02-13 07:43:23 +00:00
Reece H. Dunn 21b3cf314c Clean up the RULE_ constants in translate.h. 2016-08-28 10:40:02 +01:00
Valdis Vitolins 77d526102d Fix for issue #120 Allow to decrease the score in the rule by adding - 2016-08-24 22:16:44 +03:00
Valdis Vitolins 252c894e59 Issue espeak-ng/espeak-ng#120
Allow to decrease the score in the rule by adding
2016-08-07 16:13:16 +03:00
Reece H. Dunn 4cde8b6d13 option_quiet is no longer used (always set to 0), so remove it 2016-02-06 10:45:32 +00:00
Reece H. Dunn 914e64aba8 option_waveout is no longer used in libespeak-ng, so remove it 2016-02-06 10:41:43 +00:00
Reece H. Dunn f09c83640b Fix GCC -Wnarrowing warnings. 2016-01-20 20:48:29 +00:00
Reece H. Dunn 11101806ce Support building espeak-ng.exe with Visual C++. 2016-01-09 13:32:16 +00:00
Reece H. Dunn 7d8d91698f Remove the f_logespeak logging code. 2016-01-02 14:55:32 +00:00
Reece H. Dunn f38a075575 The next_pause parameter of TranslateWord is not used, so remove it. 2015-12-30 08:58:36 +00:00
Reece H. Dunn 3e99752d0c Check and fix source code formatting. 2015-12-27 22:34:53 +00:00
Reece H. Dunn 12e0bb122b Reformat the code using the uncrustify program. 2015-12-22 15:06:50 +00:00
Reece H. Dunn c71b24a9a5 Use a consistent license notice in the source files. 2015-12-18 07:06:29 +00:00
Reece H. Dunn cbe8695fcb Remove the * box around the file headers. 2015-12-17 23:45:36 +00:00
Reece H. Dunn 36be9ac13f Use the default uncrustify config (with indentation changes) to reformat the code. 2015-12-17 07:40:24 +00:00
Reece H. Dunn 5e0050419d Remove comments that deliniate the start and end of functions, etc.. 2015-12-15 22:26:02 +00:00
Reece H. Dunn f185786b87 Move libespeak-ng internal headers to src/libespeak-ng. 2015-12-10 07:14:37 +00:00