执行HDMan命令时发生致命错误
问题描述:
我试图使用htk工具包的HDMan
命令,但却出现'致命'错误。 我的控制台看上去象下面这样:执行HDMan命令时发生致命错误
[email protected]:/host/Shekhar/htkWorld/trial_1$ ls
beep dlog sentences (copy).txt sentences.txt~ try1.gram wlist
dict monophones1 sentences.txt sentences (with sentence numbers).txt wdnet wlist~
[email protected]:/host/Shekhar/htkWorld/trial_1$ HDMan -m -w wlist -n monophones1 -l dlog dict beep/beep-1.0 names
ERROR [+5010] InitSource: Cannot open source file names
ERROR [+1410] CreateBuffer: Can't open file names
FATAL ERROR - Terminating program HDMan
[email protected]:/host/Shekhar/htkWorld/trial_1$
HDMan
是无法找到names
文件。我不知道如何创建这个文件,以及这个文件的内容是什么。
任何人都可以帮我吗?
答
HDMan用于从各种字典发音拉在一起,被调用为
HDMan [options] output_dictionary input_dictionary1 input_dictionary2 ...
它看起来像你正试图创建一个新的字典从哔/嘟嘟1.0和名字命名的字典。名称不存在,那就是错误来自的地方。简单地删除名称应该修复错误。
如果您实际上确实需要名称字典中的发音,那么这将在后面的过程中成为问题。没有更多的信息,就不可能知道该文件的内容应该是什么。一般来说,该文件的格式是
WORD [optional pronunciation probability] phone1 phone2 ...
并且每行只包含一个这样的条目。