mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-14 17:47:19 +00:00
code cleanup: remove dead code related to Kiryarwanda
This is the only reference to the language.
This commit is contained in:
@@ -1867,9 +1867,6 @@ include ph_klingon
|
|||||||
phonemetable ro base2
|
phonemetable ro base2
|
||||||
include ph_romanian
|
include ph_romanian
|
||||||
|
|
||||||
phonemetable rw base2
|
|
||||||
include ph_kinyarwanda
|
|
||||||
|
|
||||||
phonemetable tk base2
|
phonemetable tk base2
|
||||||
include ph_turkmen
|
include ph_turkmen
|
||||||
|
|
||||||
|
|||||||
@@ -1319,16 +1319,6 @@ Translator *SelectTranslator(const char *name)
|
|||||||
case L('r', 'u'): // Russian
|
case L('r', 'u'): // Russian
|
||||||
Translator_Russian(tr);
|
Translator_Russian(tr);
|
||||||
break;
|
break;
|
||||||
case L('r', 'w'): // Kiryarwanda
|
|
||||||
{
|
|
||||||
tr->langopts.stress_rule = STRESSPOSN_2R;
|
|
||||||
tr->langopts.stress_flags = S_FINAL_DIM_ONLY | S_FINAL_NO_2;
|
|
||||||
tr->langopts.length_mods0 = tr->langopts.length_mods; // don't lengthen vowels in the last syllable
|
|
||||||
tr->langopts.param[LOPT_UNPRONOUNCABLE] = 1; // disable check for unpronouncable words. Need to allow "bw'" prefix
|
|
||||||
tr->langopts.numbers = NUM_HUNDRED_AND | NUM_AND_UNITS | NUM_DFRACTION_2 | NUM_AND_HUNDRED;
|
|
||||||
tr->langopts.numbers2 = NUM2_SWAP_THOUSANDS;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case L('s', 'k'): // Slovak
|
case L('s', 'k'): // Slovak
|
||||||
case L('c', 's'): // Czech
|
case L('c', 's'): // Czech
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user