运行 HTK 时出现 hybrid_segmentation HMError 错误

Error in hybrid_segmentation HMError when running HTK

我的 64 位 Ubuntu 中的 HTS-2.3 和 HTK-3.4.1 以及 gcc 3.4 编译器。

我在运行demo的时候,HTK导致了一个问题:

错误 hybrid_segmentation

非常感谢您的帮助。 ^

rm: No match.   ERROR [+3233]  DoAlignment: cannot align empty
transcription  FATAL ERROR - Terminating program HVite rm: No match.
rm: No match. cat: map_table: No such file or directory   ERROR
[+5010]  SetScriptFile: Cannot open script file map_table   ERROR
[+5020]  InitShell: SetScriptFile failed on file map_table   ERROR
[+1000]  HCopy: InitShell failed  FATAL ERROR - Terminating program
HCopy   ERROR [+2319]  HERest: data file name expected  FATAL ERROR -
Terminating program HERest   ERROR [+5010]  InitSource: Cannot open
source file hmm1/macros   ERROR [+7010]  LoadAllMacros: Can't open
file   ERROR [+5010]  InitSource: Cannot open source file hmm1/hmmdefs
ERROR [+7010]  LoadAllMacros: Can't open file   ERROR [+7050] 
LoadHMMSet: Macro name expected   ERROR [+2321]  Initialise:
LoadHMMSet failed  FATAL ERROR - Terminating program HERest   ERROR
[+5010]  InitSource: Cannot open source file hmm2/macros   ERROR
[+7010]  LoadAllMacros: Can't open file   ERROR [+5010]  InitSource:
Cannot open source file hmm2/hmmdefs   ERROR [+7010]  LoadAllMacros:
Can't open file   ERROR [+7050]  LoadHMMSet: Macro name expected  
ERROR [+2321]  Initialise: LoadHMMSet failed  FATAL ERROR -
Terminating program HERest   ERROR [+5010]  InitSource: Cannot open
source file hmm3/macros   ERROR [+7010]  LoadAllMacros: Can't open
file   ERROR [+5010]  InitSource: Cannot open source file hmm3/hmmdefs
ERROR [+7010]  LoadAllMacros: Can't open file   ERROR [+7050] 
LoadHMMSet: Macro name expected   ERROR [+2321]  Initialise:
LoadHMMSet failed  FATAL ERROR - Terminating program HERest   ERROR
[+5010]  InitSource: Cannot open source file hmm4/macros   ERROR
[+7010]  LoadAllMacros: Can't open file   ERROR [+5010]  InitSource:
Cannot open source file hmm4/hmmdefs   ERROR [+7010]  LoadAllMacros:
Can't open file   ERROR [+7050]  LoadHMMSet: Macro name expected  
ERROR [+2321]  Initialise: LoadHMMSet failed  FATAL ERROR -
Terminating program HERest   ERROR [+5010]  InitSource: Cannot open
source file hmm5/macros   ERROR [+7010]  LoadAllMacros: Can't open
file   ERROR [+5010]  InitSource: Cannot open source file hmm5/hmmdefs
ERROR [+7010]  LoadAllMacros: Can't open file   ERROR [+7050] 
LoadHMMSet: Macro name expected   ERROR [+2321]  Initialise:
LoadHMMSet failed  FATAL ERROR - Terminating program HERest   ERROR
[+5010]  InitSource: Cannot open source file hmm6/macros   ERROR
[+7010]  LoadAllMacros: Can't open file   ERROR [+5010]  InitSource:
Cannot open source file hmm6/hmmdefs   ERROR [+7010]  LoadAllMacros:
Can't open file   ERROR [+7050]  LoadHMMSet: Macro name expected  
ERROR [+2321]  Initialise: LoadHMMSet failed  FATAL ERROR -
Terminating program HERest   ERROR [+5010]  InitSource: Cannot open
source file hmm7/macros   ERROR [+7010]  LoadAllMacros: Can't open
file   ERROR [+5010]  InitSource: Cannot open source file hmm7/hmmdefs
ERROR [+7010]  LoadAllMacros: Can't open file   ERROR [+7050] 
LoadHMMSet: Macro name expected   ERROR [+3228]  Initialise:
LoadHMMSet failed  FATAL ERROR - Terminating program HVite rm: No
match. rm: No match. rm: cannot remove 'map_table': No such file or
directory cat: map_table: No such file or directory   ERROR [+5010] 
SetScriptFile: Cannot open script file map_table   ERROR [+5020] 
InitShell: SetScriptFile failed on file map_table   ERROR [+1000] 
HCopy: InitShell failed  FATAL ERROR - Terminating program HCopy cp:
cannot stat 'hmm7/hmmdefs': No such file or directory cp: cannot stat
'hmm7/macros': No such file or directory   ERROR [+2319]  HERest: data
file name expected  FATAL ERROR - Terminating program HERest   ERROR
[+5010]  InitSource: Cannot open source file hmm1/macros   ERROR
[+7010]  LoadAllMacros: Can't open file   ERROR [+5010]  InitSource:
Cannot open source file hmm1/hmmdefs   ERROR [+7010]  LoadAllMacros:
Can't open file   ERROR [+7050]  LoadHMMSet: Macro name expected  
ERROR [+2321]  Initialise: LoadHMMSet failed  FATAL ERROR -
Terminating program HERest   ERROR [+5010]  InitSource: Cannot open
source file hmm2/macros   ERROR [+7010]  LoadAllMacros: Can't open
file   ERROR [+5010]  InitSource: Cannot open source file hmm2/hmmdefs
ERROR [+7010]  LoadAllMacros: Can't open file   ERROR [+7050] 
LoadHMMSet: Macro name expected   ERROR [+2321]  Initialise:
LoadHMMSet failed  FATAL ERROR - Terminating program HERest   ERROR
[+5010]  InitSource: Cannot open source file hmm3/macros   ERROR
[+7010]  LoadAllMacros: Can't open file   ERROR [+5010]  InitSource:
Cannot open source file hmm3/hmmdefs   ERROR [+7010]  LoadAllMacros:
Can't open file   ERROR [+7050]  LoadHMMSet: Macro name expected  
ERROR [+2321]  Initialise: LoadHMMSet failed  FATAL ERROR -
Terminating program HERest   ERROR [+5010]  InitSource: Cannot open
source file hmm4/macros   ERROR [+7010]  LoadAllMacros: Can't open
file   ERROR [+5010]  InitSource: Cannot open source file hmm4/hmmdefs
ERROR [+7010]  LoadAllMacros: Can't open file   ERROR [+7050] 
LoadHMMSet: Macro name expected   ERROR [+2321]  Initialise:
LoadHMMSet failed  FATAL ERROR - Terminating program HERest   ERROR
[+5010]  InitSource: Cannot open source file hmm5/macros   ERROR
[+7010]  LoadAllMacros: Can't open file   ERROR [+5010]  InitSource:
Cannot open source file hmm5/hmmdefs   ERROR [+7010]  LoadAllMacros:
Can't open file   ERROR [+7050]  LoadHMMSet: Macro name expected  
ERROR [+2321]  Initialise: LoadHMMSet failed  FATAL ERROR -
Terminating program HERest   ERROR [+5010]  InitSource: Cannot open
source file hmm6/macros   ERROR [+7010]  LoadAllMacros: Can't open
file   ERROR [+5010]  InitSource: Cannot open source file hmm6/hmmdefs
ERROR [+7010]  LoadAllMacros: Can't open file   ERROR [+7050] 
LoadHMMSet: Macro name expected   ERROR [+2321]  Initialise:
LoadHMMSet failed  FATAL ERROR - Terminating program HERest   ERROR
[+3230]  HVite: Network must be specified for recognition from audio 
FATAL ERROR - Terminating program HVite   ERROR [+5010]  InitSource:
Cannot open source file hmm7/macros   ERROR [+7010]  LoadAllMacros:
Can't open file   ERROR [+5010]  InitSource: Cannot open source file
hmm7/hmmdefs   ERROR [+7010]  LoadAllMacros: Can't open file   ERROR
[+7050]  LoadHMMSet: Macro name expected   ERROR [+3228]  Initialise:
LoadHMMSet failed  FATAL ERROR - Terminating program HVite cp: cannot
stat 'hybrid_phone_lab/*': No such file or directory sed: can't read
../output_lab_phone/*: No such file or directory sed: can't read
../output_lab_phone/*: No such file or directory   ERROR [+5010] 
InitSource: Cannot open source file hmm7/macros   ERROR [+7010] 
LoadAllMacros: Can't open file   ERROR [+5010]  InitSource: Cannot
open source file hmm7/hmmdefs   ERROR [+7010]  LoadAllMacros: Can't
open file   ERROR [+7050]  LoadHMMSet: Macro name expected   ERROR
[+3228]  Initialise: LoadHMMSet failed  FATAL ERROR - Terminating
program HVite

这看起来像是文件丢失的情况。您确定已将 PWD(当前工作目录)设置为构建指南所说的内容,并且您确定拥有所有文件吗?