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:
Juho Hiltunen
2021-07-27 22:15:28 +03:00
parent 602847371d
commit 537617afc5
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -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
+2
View File
@@ -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
-1
View File
@@ -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;