Move most stress rule definitions from tr_languages.c to language files

Keyword stressRule in voices.c handles setting langopts->stress_rule.

tr_languages.c still contains the setting for some languages that don't have a language file yet.

Contributes to:
Issue #218, https://github.com/espeak-ng/espeak-ng/issues/218
This commit is contained in:
Juho Hiltunen
2017-12-10 21:05:21 +02:00
parent 2ec4ad38ea
commit 0f55204522
73 changed files with 74 additions and 63 deletions
+1 -2
View File
@@ -384,8 +384,7 @@ Four integer parameters. These correspond to:
3. langopts->unstressed_wd1 (stress for $u word of 1 syllable)
4. langopts->unstressed_wd2 (stress for $u word of >1 syllable)
If a value is not given, it defaults to zero. For example:
"stressRule 2" is equal to "stressRule 2 0 0 0"
All parameters are not required. For example, "stressRule 2 1" is valid.
### stressLength