• 大小: 12.36MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-14
  • 语言: Matlab
  • 标签: HMM算法  

资源简介

基于MATLAB的使用hmm算法实现0到9是个数字,以及几个汉字的语音识别系统,并设计了gui界面。

资源截图

代码片段和文件信息

function y=barkquzao(x)
 TPTR0=‘rigrsure‘%自适应阈值选择使用Stein的无偏风险估计原理。
%  TPTR1=‘heursure‘%使用启发式阈值选择。????????
%  TPTR2=‘sqtwolog‘%阈值等于sqrt(2*log(length(X))).????????
%  TPTR3=‘minimaxi‘%用极大极小原理选择阈值。?
  THR(1)=thselect(xTPTR0)
%  THR(2)=thselect(xTPTR1)
%  THR(3)=thselect(xTPTR2)
%  THR(4)=thselect(xTPTR3)

wptree=wpdec(x5‘db10‘);
for i=11:14
   wptree=wpjoin(wptreei);
end
for i=19:20
   wptree=wpjoin(wptreei);
end
for i=22:22
   wptree=wpjoin(wptreei);
end


for i=4:7
  c5(:i+1)=wpcoef(wptree[5 i]);
  c5(:i+1)=wthresh(c5(:i+1)‘s‘THR(1)); 
  wptree=write(wptree‘data‘[5 i]c5(:i+1));
end
for i=12:13
  c5(:i-11)=wpcoef(wptree[5 i]);
  c5(:i-11)=wthresh(c5(:i-11)‘s‘THR(1)); 
  wptree=write(wptree‘data‘[5 i]c5(:i-11));
end
for i=4:5
  c4(:i-3)=wpcoef(wptree[4 i]);
  c4(:i-3)=wthresh(c4(:i-3)‘s‘THR(1)); 
  wptree=write(wptree‘data‘[4 i]c4(:i-3));
end
for i=7:7
  c4(:i-3)=wpcoef(wptree[4 i]);
  c4(:i-3)=wthresh(c4(:i-3)‘s‘THR(1)); 
  wptree=write(wptree‘data‘[4 i]c4(:i-3));
end
for i=4:7
  c3(:i-3)=wpcoef(wptree[3 i]);
  c3(:i-3)=wthresh(c3(:i-3)‘s‘THR(1)); 
  wptree=write(wptree‘data‘[3 i]c3(:i-3));
end
y=wprec(wptree); 









 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-05-29 23:21  learntosay\
     文件        1296  2015-05-15 18:18  learntosay\barkquzao.m
     文件        1764  2005-06-28 10:13  learntosay\baum.m
     文件         298  2015-03-02 20:25  learntosay\ceshi.m
     文件         456  2005-06-27 11:40  learntosay\getmix.m
     文件        2238  2015-05-16 19:18  learntosay\getparam.m
     文件       67990  2015-05-20 18:06  learntosay\hmmmat.mat
     文件       67983  2015-05-21 16:43  learntosay\hmmmat0.mat
     文件         820  2005-06-22 22:13  learntosay\inithmm.m
     文件        4373  2015-05-21 16:17  learntosay\learntosay.asv
     文件        5324  2015-05-20 16:16  learntosay\learntosay.fig
     文件        4374  2015-05-27 10:47  learntosay\learntosay.m
     文件         437  2005-07-11 10:20  learntosay\main.m
     文件         879  2005-06-21 21:59  learntosay\mfcc.m
     文件         323  2003-01-03 21:57  learntosay\mixture.m
     文件         260  2005-07-11 10:20  learntosay\pdf.m
     文件        1007  2005-06-28 16:26  learntosay\test.m
     文件         894  2005-06-27 22:12  learntosay\train.m
     文件        2612  2015-05-15 18:34  learntosay\vad.asv
     文件        2652  2015-05-16 20:32  learntosay\vad.m
     文件        1013  2005-06-22 22:35  learntosay\viterbi.m
     文件         149  2015-03-28 14:50  learntosay\xiaobo.asv
     文件         167  2015-05-16 15:54  learntosay\xiaobo.m
     文件         601  2015-03-21 22:11  learntosay\xunlian.m
     目录           0  2015-05-17 10:31  learntosay\yuanyin2\
     文件       32044  2015-04-11 15:23  learntosay\yuanyin2\.wav
     文件       32044  2015-05-02 11:06  learntosay\yuanyin2\0_0.wav
     文件       32044  2015-05-02 11:06  learntosay\yuanyin2\0_1.wav
     文件       32044  2015-05-02 11:06  learntosay\yuanyin2\0_2.wav
     文件       32044  2015-05-02 11:06  learntosay\yuanyin2\0_3.wav
     文件       32044  2015-05-02 11:07  learntosay\yuanyin2\0_4.wav
............此处省略460个文件信息

评论

共有 条评论