Browse Source

code cleanup: remove dead code related to Kiryarwanda

This is the only reference to the language.
master
Juho Hiltunen 2 years ago
parent
commit
8976875590
2 changed files with 0 additions and 13 deletions
  1. 0
    3
      phsource/phonemes
  2. 0
    10
      src/libespeak-ng/tr_languages.c

+ 0
- 3
phsource/phonemes View File

@@ -1867,9 +1867,6 @@ include ph_klingon
phonemetable ro base2
include ph_romanian

phonemetable rw base2
include ph_kinyarwanda

phonemetable tk base2
include ph_turkmen


+ 0
- 10
src/libespeak-ng/tr_languages.c View File

@@ -1319,16 +1319,6 @@ Translator *SelectTranslator(const char *name)
case L('r', 'u'): // Russian
Translator_Russian(tr);
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('c', 's'): // Czech
{

Loading…
Cancel
Save