how to implemment HMM [Hidden Markov Model of speech recognition]

조회 수: 3 (최근 30일)
Nada Gamal
Nada Gamal 2011년 4월 17일
답변: kanchan itankar 2020년 11월 5일
Hi,
I want to implemment HMM of speech recognition using matlab . what can i do because i need to improve quality of speech recognition.
Thanks a lot :)
Nada Gamal

채택된 답변

Jiro Doke
Jiro Doke 2011년 4월 18일
편집: John Kelly 2015년 2월 26일
If you have Statistics Toolbox, take a look at HMM there.
  댓글 수: 2
Nada Gamal
Nada Gamal 2011년 4월 21일
Thanks a lot Jiro But I need explination on this functions of HMM to be able to connect it with my speech recognition code .
Jiro Doke
Jiro Doke 2011년 4월 22일
Did you read all the relevant pages in the documentation?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

kanchan itankar
kanchan itankar 2020년 11월 5일
clc;
close all;
in_st = [0.5 , 0.5] ;
s = [0.9,0.1;0.9,0.1];
r = [0.25 , 0.75];
b = [0.75 , 0.25];
inp = [1,2,2];
alpha = zeros(2,length(inp));
p1 = in_st(1);
p2 = in_st(2);
if(inp(1) == 1)
alpha(1,1) = p1 * r(1);
alpha(2,1) = p2 * r(2);
end
if(inp(1) == 2)
alpha(1,1) = p1 * b(1);
alpha(2,1) = p2 * b(2);
end
for i = 2 :length(inp)
if(inp(i) == 1)
alpha(1,i) = (alpha(1,i-1) * s(1,1) + alpha(2,i-1)*s(2,1)) * r(1);
alpha(2,i) = (alpha(1,i-1) * s(1,2) + alpha(2,i-1)*s(2,2)) * r(2);
end
if(inp(i) == 2)
alpha(1,i) = (alpha(1,i-1) * s(1,1) + alpha(2,i-1)*s(2,1)) * b(1);
alpha(2,i) = (alpha(1,i-1) * s(1,2) + alpha(2,i-1)*s(2,2)) * b(2);
end
end

카테고리

Help CenterFile Exchange에서 Speech Recognition에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by