我尝试使用voxforge模型运行julius asr但是我收到了以下错误消息:
Error: voca_load_htkdict: the line content was: DECORATE [DECORATE] d eh k er ey t sp
Error: voca_load_htkdict: line 3118: triphone "ax-d+sp" not found
Error: voca_load_htkdict: line 3118: triphone "d-sp+*" or biphone "d-sp" not found
Error: voca_load_htkdict: the line content was: DECORATED [DECORATED] d eh k er ey dx ax d sp
Error: voca_load_htkdict: line 3119: triphone "iy-s+sp" not found
Error: voca_load_htkdict: line 3119: triphone "s-sp+*" or biphone "s-sp" not found
Error: voca_load_htkdict: the line content was: DECREASE [DECREASE] d ix k r iy s sp
Error: voca_load_htkdict: line 3120: triphone "ax-z+sp" not found
Error: voca_load_htkdict: line 3120: triphone "z-sp+*" or biphone "z-sp" not found
Error: voca_load_htkdict: the line content was: DECREASES [DECREASES] d ix k r iy s ax z sp
Error: voca_load_htkdict: line 3121: triphone "ix-ng+sp" not found
Error: voca_load_htkdict: line 3121: triphone "ng-sp+*" or biphone "ng-sp" not found
Error: voca_load_htkdict: the line content was: DECREASING [DECREASING] d ix k r iy s ix ng sp
Error: voca_load_htkdict: line 3122: triphone "r-iy+sp" not found
Error: voca_load_htkdict: line 3122: triphone "iy-sp+*" or biphone "iy-sp" not found
依此类推(错误很长)
答案 0 :(得分:4)
错误原因:
当你的单词字典包含未在声学模型中训练的单词时,julius会输入这些消息,因为“voca_load_htkdict.c”试图将dict文件中的三音素与声学模型中的三音素列表相匹配,所以当它没有找到时它,它显示此错误并停止程序。可能的错误解决方案:
将“未找到的triphone”映射到hmmlist文件“tiedlist”中最接近的物理三音素。 例如: b-ey + t v-eh + t 第一列是triphone的名称(从您的字典生成),第二列是您在AM中实际定义的HMM的名称。 但如果“未找到的三部电话”不是太多,这个解决方案就可以完成。
最好的解决方案是不要在dict文件中包含不在A.M中的单词 请注意,前两个解决方案仅用于测试julius,因为对于生产或商业项目,您必须使用相同的语料库训练声学模型和语言模型。
答案 1 :(得分:2)
简而言之:你的词典文件中每个单词的发音末尾都有“sp”音素。删除它们,它将工作