mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-02 22:52:29 +00:00
Use stressRule instead of stressrule for consistency
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
- [dictionary](#dictionary)
|
- [dictionary](#dictionary)
|
||||||
- [dictrules](#dictrules)
|
- [dictrules](#dictrules)
|
||||||
- [replace](#replace)
|
- [replace](#replace)
|
||||||
|
- [stressRule](#stressrule)
|
||||||
- [stressLength](#stresslength)
|
- [stressLength](#stresslength)
|
||||||
- [stressAdd](#stressadd)
|
- [stressAdd](#stressadd)
|
||||||
- [stressAmp](#stressamp)
|
- [stressAmp](#stressamp)
|
||||||
@@ -372,6 +373,20 @@ e.g.
|
|||||||
The phoneme mnemonics can be defined for each language, but some are
|
The phoneme mnemonics can be defined for each language, but some are
|
||||||
listed in [Phonemes](phonemes.md).
|
listed in [Phonemes](phonemes.md).
|
||||||
|
|
||||||
|
### stressRule
|
||||||
|
|
||||||
|
stressRule <4 integer values>
|
||||||
|
|
||||||
|
Four integer parameters. These correspond to:
|
||||||
|
|
||||||
|
1. langopts->stress_rule (values in translate.h)
|
||||||
|
2. langopts->stress_flags
|
||||||
|
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"
|
||||||
|
|
||||||
### stressLength
|
### stressLength
|
||||||
|
|
||||||
stressLength <8 integer values>
|
stressLength <8 integer values>
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ name Nahuatl (Classical)
|
|||||||
language nci
|
language nci
|
||||||
|
|
||||||
intonation 3
|
intonation 3
|
||||||
stressrule 2
|
stressRule 2
|
||||||
stressLength 190 190 200 200 0 0 220 240
|
stressLength 190 190 200 200 0 0 220 240
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ language ur
|
|||||||
maintainer Ejaz Shah <eashah67@gmail.com>
|
maintainer Ejaz Shah <eashah67@gmail.com>
|
||||||
status testing
|
status testing
|
||||||
|
|
||||||
stressrule 6
|
stressRule 6
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
name Latin
|
name Latin
|
||||||
language la
|
language la
|
||||||
stressrule 2 33 0 2
|
stressRule 2 33 0 2
|
||||||
// rule=penultimate
|
// rule=penultimate
|
||||||
// flags=0100001 (no automatic secondary stress + don't stres monosyllables)
|
// flags=0100001 (no automatic secondary stress + don't stres monosyllables)
|
||||||
// unstressed_wd1=0
|
// unstressed_wd1=0
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ static MNEM_TAB keyword_tab[] = {
|
|||||||
{ "intonation", V_INTONATION },
|
{ "intonation", V_INTONATION },
|
||||||
{ "tunes", V_TUNES },
|
{ "tunes", V_TUNES },
|
||||||
{ "dictrules", V_DICTRULES },
|
{ "dictrules", V_DICTRULES },
|
||||||
{ "stressrule", V_STRESSRULE },
|
{ "stressRule", V_STRESSRULE },
|
||||||
{ "stressopt", V_STRESSOPT },
|
{ "stressopt", V_STRESSOPT },
|
||||||
{ "replace", V_REPLACE },
|
{ "replace", V_REPLACE },
|
||||||
{ "words", V_WORDGAP },
|
{ "words", V_WORDGAP },
|
||||||
|
|||||||
Reference in New Issue
Block a user