Use stressRule instead of stressrule for consistency

This commit is contained in:
Juho Hiltunen
2017-12-10 21:05:20 +02:00
parent 6042eb8d1e
commit 2ec4ad38ea
5 changed files with 19 additions and 4 deletions
+15
View File
@@ -25,6 +25,7 @@
- [dictionary](#dictionary)
- [dictrules](#dictrules)
- [replace](#replace)
- [stressRule](#stressrule)
- [stressLength](#stresslength)
- [stressAdd](#stressadd)
- [stressAmp](#stressamp)
@@ -372,6 +373,20 @@ e.g.
The phoneme mnemonics can be defined for each language, but some are
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 <8 integer values>