执行HDMan命令时出现致命错误

时间:2013-02-25 18:05:24

标签: fatal-error htk

我正在尝试使用htk工具包的HDMan命令,但收到“致命”错误。 我的控制台如下所示:

shekhar@ubuntu:/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~
shekhar@ubuntu:/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
shekhar@ubuntu:/host/Shekhar/htkWorld/trial_1$ 

HDMan无法找到names个文件。我不知道如何创建这个文件以及该文件的内容是什么。

有人可以帮助我吗?

1 个答案:

答案 0 :(得分:2)

HDMan用于汇集各种词典中的发音,并作为

调用
HDMan [options] output_dictionary input_dictionary1 input_dictionary2 ...

看起来你正试图从beep / beep-1.0和名字创建一个名为dict的新词典。名称不存在,这是错误的来源。只需删除名称即可修复错误。

如果您确实需要名为“字典”的词典中的发音,那么这将是后续过程中的问题。没有更多信息,就不可能知道该文件的内容应该是什么。通常,文件的格式为

WORD [optional pronunciation probability] phone1 phone2 ...

并且每行只包含一个这样的条目。

相关问题