[espeak-ng:master] reported: There needs to be a way to explicitly set stress only via rules to support unstressed languages and other non-European languages. #github
espeak-ng@groups.io Integration <espeak-ng@...>
[espeak-ng:master] New Comment on Issue #793 There needs to be a way to explicitly set stress only via rules to support unstressed languages and other non-European languages.
As a test I added:
to dictionary.c I then updated the file espeak-ng-data/lang/iro/chr to have "stressRule 14" When I test the rebuilt espeak-ng I get:
The IPA shows both a secondary and primary stress being added. -x output:
-X output:
|
|
espeak-ng@groups.io Integration <espeak-ng@...>
[espeak-ng:master] New Comment on Issue #793 There needs to be a way to explicitly set stress only via rules to support unstressed languages and other non-European languages.
@michael-conrad, you need to disable secondary stress for language. I have done it with this commit, which is compiled on test site. If it is ok (all syllables are equally stressed), I'll push it to upstream project also. There are more settings, which you can set only in code, e.g. for Latvian and other languages. These settings are described, but to understand, what description exactly means, you can usually through tests.
|
|
espeak-ng@groups.io Integration <espeak-ng@...>
[espeak-ng:master] New Comment on Issue #793 There needs to be a way to explicitly set stress only via rules to support unstressed languages and other non-European languages.
OK, just did a test with the testing website using "U²no¹de⁴na hạ²wi²ya u²no¹de⁴na hạ²wi²ya.". Though the final word is still getting it's final vowel lengthened, it definitely shows an improvement with not adding stress to the whole word (as evidenced by the 'h' portion of the wave form). We, (myself + a couple of testers), have been having difficulties with differentiating between "t", "d", "g", "k", and "n". Hopefully having less stress will make these consonants more clear to us. See screen shot. I cut the audio up into segments for easier compare. The first segment is in the middle of the sentence, the second segment is at the end of the sentence. Right now the clause, sentence, etc intonation patterns are all set to '0 ... 0', would this be having any sort of impact? Just as an FYI:
|
|
espeak-ng@groups.io Integration <espeak-ng@...>
[espeak-ng:master] New Comment on Issue #793 There needs to be a way to explicitly set stress only via rules to support unstressed languages and other non-European languages.
I can't seem to get this working locally. The patch is applied, but I'm still showing a sentence final stress mark in the -x output. I also have added the 'case 0' -> abort operation to SetWordStress(...) and set stressRule 0 in the language file. What am I missing?
|
|