mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
et: fi: move stressopt from tr_languages.c to language files
This is to make sure "stressopt" language option works. Current tests would fail if it didn't.
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
name Estonian
|
||||
language et
|
||||
|
||||
stressOpt 1 2 4 6 // (S_NO_DIM + S_FINAL_DIM = S_FINAL_DIM_ONLY), S_FINAL_NO_2, S_2_TO_HEAVY
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
name Finnish
|
||||
language fi
|
||||
|
||||
stressOpt 1 2 4 6 // (S_NO_DIM + S_FINAL_DIM = S_FINAL_DIM_ONLY), S_FINAL_NO_2, S_2_TO_HEAVY
|
||||
|
||||
@@ -807,7 +807,6 @@ Translator *SelectTranslator(const char *name)
|
||||
SetupTranslator(tr, stress_lengths_fi, stress_amps_fi);
|
||||
|
||||
tr->langopts.stress_rule = STRESSPOSN_1L;
|
||||
tr->langopts.stress_flags = S_FINAL_DIM_ONLY | S_FINAL_NO_2 | S_2_TO_HEAVY; // move secondary stress from light to a following heavy syllable
|
||||
tr->langopts.param[LOPT_IT_DOUBLING] = 1;
|
||||
tr->langopts.long_stop = 130;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user