A Tutorial Example of Using HTK 961018 Introduction

  • Slides: 10
Download presentation
語音辨認概論 A Tutorial Example of Using HTK 96/10/18 老師: 廖元甫 演講者: 蔡明峰

語音辨認概論 A Tutorial Example of Using HTK 96/10/18 老師: 廖元甫 演講者: 蔡明峰

Introduction n 數據準備 step 1 step 2 step 3 step 4 step 5 n

Introduction n 數據準備 step 1 step 2 step 3 step 4 step 5 n : : : the Task Grammar the Dictionary Recording the Data Creating the Transcription Files Coding the Data 建立單聲道的HMM模型 step 6 : Creating Flat Start Monophone step 7 : Fixing the Silence Models step 8 : Realigning the Training Data n 建立聯繫狀態的三音素HMM模型 step 9 : Making Triphones from Monophones step 10 : Making Tied-State Triphones n 辨別器評估 step 11 : Recognising the Test Data

step 5 : Coding the Data(數據的特徵提取) HCopy -T 1 -C config/config 1 -S codetr.

step 5 : Coding the Data(數據的特徵提取) HCopy -T 1 -C config/config 1 -S codetr. scp HCopy: 數據文件格式的轉換

Config 1 and codetr. scp: codetr/clean/FAC_13 A. 08 codetr/clean/FAC_1473533 A. 08 codetr/clean/FAC_172 A. 08

Config 1 and codetr. scp: codetr/clean/FAC_13 A. 08 codetr/clean/FAC_1473533 A. 08 codetr/clean/FAC_172 A. 08 train/FAC_13 A. mfc train/FAC_1473533 A. mfc train/FAC_172 A. mfc 訓練文件就會存在train. scp中。

step 6 : Creating Flat Start Monophone (創建初始化的單音素模型) 原始模型proto 用到的音素列表( 包括sil) Config 1 And

step 6 : Creating Flat Start Monophone (創建初始化的單音素模型) 原始模型proto 用到的音素列表( 包括sil) Config 1 And Train. scp (2) 產生新的proto、si and v. Floors. . (1) HComp. V: 統計訓練數據的均值與方差 HERest: 對HMM模型進行訓練

(1)HComp. V -T 1 -C config/config 1 -f 0. 01 -m -S train. scp

(1)HComp. V -T 1 -C config/config 1 -f 0. 01 -m -S train. scp -M hmm 0 Proto/proto…………. . 產生proto。 HComp. V -T 1 -C config/config 1 -f 0. 01 -m -S train. scp -M hmm 0 Proto/sil………………. 產生sil。 (2)HERest -C config/config 1 -I /labels/phone 0. mlf -t 250. 0 1000. 0 –S train. scp -H hmms/hmm 0/macros -H hmms/hmm 0/hmmdefs -M hmms/hmm 1 /lists/monophones 0…hmm 0 ->hmm 1 ->hmm 2 ->hmm 3。

proto

proto

step 7 : Fixing the Silence Models (修補Silence音素模型加入sp) 加入sp Form hmm 3/macros and hmmdefs

step 7 : Fixing the Silence Models (修補Silence音素模型加入sp) 加入sp Form hmm 3/macros and hmmdefs 加入sp (1) HHED: 升mixture HERest: 對HMM模型進行訓練 (2)

(1)HHEd -T 1 -H hmms/hmm 4/macros –H hmms/hmm 4/hmmdefs -M hmms/hmm 5 sil. hed

(1)HHEd -T 1 -H hmms/hmm 4/macros –H hmms/hmm 4/hmmdefs -M hmms/hmm 5 sil. hed /lists/monophone ………用一個mixture逼近。 (2)HERest -C config/config 1 -I /labels/phone 1. mlf -t 250. 0 1000. 0 –S train. scp -H hmms/hmm 5/macros -H hmms/hmm 5/hmmdefs -M hmms/hmm 6 /lists/monophones 1…hmm 5 ->hmm 6 ->hmm 7。 反覆的升mixture逼近與HERest訓練hmm模型。