festvox / festival

Festival Speech Synthesis System
Other
376 stars 58 forks source link

lex.syllabify.phstress stresses only 1 and 0 stress #56

Open Shallowmallow opened 3 years ago

Shallowmallow commented 3 years ago

https://github.com/festvox/festival/blob/a96ad7e77e36812363c0d7d7465f8450a558ebdf/src/modules/Lexicon/lex_aux.cc#L70-L88

As you can see,

when you have a phone list like ( ao1 b uh2) it will return ((b ao)1)((b uh)1) instead of ((b ao)1)((b uh)2)

It should at least put stress to 2, but maybe all numbers till 9.