2

我想使用 HTS(基于 HMM 的语音合成系统)为印度尼西亚语构建自己的 TTS(文本到语音)应用程序。

当我想将 Context-dependent-label 和 question-set 更改为适合我的语言时,我遇到了问题。我怎样才能做到这一点?

到目前为止,我所知道的是我必须更改文件中的上下文相关标签

data/script/label-full.awk

并在文件中设置问题

data/script/questions/qst_[verion].hed

(我将 HTS 培训演示用于示例项目)。当我打开这些文件时,我得到这个:

标签-full.awk
### SEGMENT
# boundary
printf "%10.0f %10.0f ", 1e7 * $65, 1e7 * $66 # pp.name
printf "%s", ($63 == "0") ? "x" : $63 # p.name
printf "^%s", ($1 == "0") ? "x" : $1 # c.name
printf "-%s", $2 # n.name
printf "+%s", ($3 == "0") ? "x" : $3 # nn.name
printf "=%s", ($64 == "0") ? "x" : $64
bla..bla..bla..

对于 .hed 文件:

QS "LL-Vowel" {aa^,ae^,ah^,ao^,aw^,ax^,axr^,ay^,eh^,el^,em^,en^,er^,ey^,ih^,ix^,iy^,ow^,oy^,uh^,uw^*}
QS "LL-Consonant" {b^,ch^,d^,dh^,dx^,f^,g^,hh^,hv^,jh^,k^,l^,m^,n^,nx^,ng^,p^,r^,s^,sh^,t^,th^,v^,w^,y^,z^,zh^*}
QS "LL-Stop" {b^,d^,dx^,g^,k^,p^,t^*}
QS "LL-Nasal" {m^,n^,en^,ng^}
QS "LL-Fricative" {ch^,dh^,f^,hh^,hv^,s^,sh^,th^,v^,z^,zh^*}
QS "LL-Liquid" {el^,hh^,l^,r^,w^,y^}
QS "LL-Front" {ae^,b^,eh^,em^,f^,ih^,ix^,iy^,m^,p^,v^,w^}
QS "LL-Central" {ah^,ao^,axr^,d^,dh^,dx^,el^,en^,er^,l^,n^,r^,s^,t^,th^,z^,zh^*}
QS "LL-Back" {aa^,ax^,ch^,g^,hh^,jh^,k^,ng^,ow^,sh^,uh^,uw^,y^*}
bla..bla..bla...

那个字符串是什么意思?如何为这些文件自定义或添加新的上下文(如一个音节的语气)?

4

0 回答 0