Browse Source

As secondary stress is still spelled differently it is disabled

master
Valdis Vitolins 8 years ago
parent
commit
0c3ceb2e70
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/libespeak-ng/tr_languages.c

+ 3
- 3
src/libespeak-ng/tr_languages.c View File

break; break;
case L('l', 'v'): // latvian case L('l', 'v'): // latvian
{ {
static const unsigned char stress_amps_lv[8] = { 17, 13, 20, 20, 20, 22, 22, 21 };
static const short stress_lengths_lv[8] = { 180, 130, 210, 210, 0, 0, 210, 210 };
static const unsigned char stress_amps_lv[8] = { 14, 10, 10, 8, 0, 0, 20, 15 };
static const short stress_lengths_lv[8] = { 180, 180, 180, 160, 0, 0, 230, 180 };


SetupTranslator(tr, stress_lengths_lv, stress_amps_lv); SetupTranslator(tr, stress_lengths_lv, stress_amps_lv);


tr->langopts.spelling_stress = 1; tr->langopts.spelling_stress = 1;
tr->charset_a0 = charsets[4]; // ISO-8859-4 tr->charset_a0 = charsets[4]; // ISO-8859-4
tr->langopts.numbers = NUM_DECIMAL_COMMA | NUM_OMIT_1_HUNDRED | NUM_DFRACTION_4 | NUM_ORDINAL_DOT; tr->langopts.numbers = NUM_DECIMAL_COMMA | NUM_OMIT_1_HUNDRED | NUM_DFRACTION_4 | NUM_ORDINAL_DOT;
tr->langopts.stress_flags = S_FINAL_DIM_ONLY | S_FINAL_NO_2 | S_EO_CLAUSE1;
tr->langopts.stress_flags = S_NO_AUTO_2 | S_FINAL_DIM | S_FINAL_DIM_ONLY | S_EO_CLAUSE1;
} }
break; break;
case L('m', 'k'): // Macedonian case L('m', 'k'): // Macedonian

Loading…
Cancel
Save