基于matlab的语音识别系统的设计本科毕设毕业论文 联系客服

发布时间 : 星期六 文章基于matlab的语音识别系统的设计本科毕设毕业论文更新完毕开始阅读f8419990541810a6f524ccbff121dd36a32dc49b

河南理工大学毕业设计(论文)说明书

摘 要

语音识别主要是让机器听懂人说的话,即在各种情况下,准确地识别出语音的内容,从而根据其信息执行人的各种意图。语音识别技术既是国际竞争的一项重要技术,也是每一个国家经济发展不可缺少的重要技术支撑。本文基于语音信号产生的数学模型,从时域、频域出发对语音信号进行分析,论述了语音识别的基本理论。在此基础上讨论了语音识别的五种算法:动态时间伸缩算法(Dynamic Time Warping,DTW)、基于规则的人工智能方法、人工神经网络(Artificial Neural Network,ANN)方法、隐马尔可夫(Hidden Markov Model,HMM)方法、HMM和ANN的混合模型。重点是从理论上研究隐马尔可夫(HMM)模型算法,对经典的HMM模型算法进行改进。

语音识别算法有多种实现方案,本文采取的方法是利用Matlab强大的数学运算能力,实现孤立语音信号的识别。Matlab 是一款功能强大的数学软件,它附带大量的信号处理工具箱为信号分析研究,特别是文中主要探讨的声波分析研究带来极大便利。本文应用隐马尔科夫模型(HMM) 为识别算法,采用MFCC(MEL频率倒谱系数)为主要语音特征参数,建立了一个汉语数字语音识别系统,其中包括语音信号的预处理、特征参数的提取、识别模板的训练、识别匹配算法;同时,提出利用Matlab图形用户界面开发环境设计语音识别系统界面,设计简单,使用方便,系统界面友好。经过统计,识别效果明显达到了预期目标。

关键词:语音识别算法;HMM模型;Matlab;GUI

ABSTRACT

Speech Recognition is designed to allow machines to understand what people say,and accurately identify the contents of voice to execute the intent of people.Speech recognition technology is not only an important internationally competed technology,but also an indispensable foundational technology for the national economic development.Based on the mathematical model from the speech signal,this paper analyze audio signal from the time domain,frequency domain proceeding,and discussed the basic theory of speech recognition technology.Five algorithm are discussed:Dynamic Time Warping(DTW)、Rule-based Artificial Intelligence,Artificial Neural Network(ANN),Hidden Markov Model(HMM),HMM combined with ANN.The focus is put in the theoretical studies of Hidden Markov(HMM) model algorithm,and the classical HMM algorithm is improved.

Speech recognition algorithm is realized in various programs,this article taking the method is to use Matlab powerful mathematical operation ability to realize the recognition of speech signal isolation. Matlab is a powerful mathematic software with a mass of toolboxes dealing with signal processing. It gives a terrific shortcut to the research of signal processing,especially the wave analysis. We can characterize the sound with key parameters such as intensity, frequency etc. In this paper, hidden Markov model (HMM) recognition algorithm using MFCC (MEL

I

河南理工大学毕业设计(论文)说明书

frequency cepstral coefficients) as the main voice characteristic parameters, the establishment of a Chinese digital speech recognition system, including the preprocessing of the speech signal,the extraction of characteristic parameters the training of the recognition template,identifying matching algorithm;the same time,the use of Matlab graphical user interface development environment designed speech recognition system interface,is designed to be simple,easy to use,friendly interface. Besides,to have a simple exploration of the voice recognition is another target.After statistics,recognition result obviously is made out as the expected goal.

Key words:Speech recognition algorithm;HMM model;Matlab;GUI

II

河南理工大学毕业设计(论文)说明书

目录

一、前言 ................................................................................................................................ 1

1.1语音识别的发展历史 .............................................................................................. 1 1.2语音识别研究现状 .................................................................................................. 1 1.3语音识别系统的分类 .............................................................................................. 2 1.4语音识别系统的基本构成 ...................................................................................... 3 1.5语音识别技术难点 .................................................................................................. 3 1.6语音识别发展前景 .................................................................................................. 4 二、语音信号分析 ................................................................................................................. 4

2.1语音学知识 .............................................................................................................. 4

2.1.1音素和音节 .................................................................................................. 5 2.1.2汉语的声调 .................................................................................................. 5 2.1.3语音信号产生模型 ...................................................................................... 6 2.2语音信号数字化和预处理 ...................................................................................... 7

2.2.1数字化 .......................................................................................................... 7 2.2.2预加重处理 .................................................................................................. 7 2.2.3防混叠滤波 .................................................................................................. 8 2.2.4加窗处理 ...................................................................................................... 8 2.3语音信号的时域分析 .............................................................................................. 9

2.3.1短时能量分析 .............................................................................................. 9 2.3.2短时平均过零率 ........................................................................................ 11 2.3.3短时自相关函数和短时平均幅度差函数 ................................................ 12 2.3.4语音端点检测 ............................................................................................ 13 2.4语音信号的频域分析 ............................................................................................ 14

2.4.1滤波器组法 ................................................................................................ 14 2.4.2傅立叶频谱分析 ........................................................................................ 14 2.5特征参数提取 ........................................................................................................ 15

2.5.1 LPCC倒谱系数 .......................................................................................... 15 2.5.2 Mel频率倒谱系数 .................................................................................... 16

三、语音识别主要算法 ....................................................................................................... 17

3.1动态时间伸缩算法 ................................................................................................ 17 3.2基于规则的人工智能方法 .................................................................................... 18 3.3人工神经网络方法 ................................................................................................ 19 3.4隐马尔可夫方法 .................................................................................................... 20 3.5 HMM和ANN的混合模型 ........................................................................................ 21 四、隐含马尔可夫模型算法 ............................................................................................... 23

4.1 HMM的基本理论和数学描述 ................................................................................ 23 4.2 HMM的三个基本问题及解决算法 ........................................................................ 24 4.3 HMM算法的改进 .................................................................................................... 31

III

河南理工大学毕业设计(论文)说明书

4.4 HMM的结构和类型 ................................................................................................ 33 4.5 HMM算法实现的问题 ............................................................................................ 34 五、基于Matlab环境下的语音识别算法实现 ................................................................. 35

5.1识别系统平台介绍 ................................................................................................ 35 5.2在Matlab中HMM算法的实现 .............................................................................. 36

5.2.1端点检测 .................................................................................................... 36 5.2.2特征参数提取 ............................................................................................ 36 5.2.3训练和识别 ................................................................................................ 37 5.3实验结论分析 ........................................................................................................ 38 六、结束语 ........................................................................................................................... 39

6.1回顾 ......................................................................................................................... 39 6.2展望 ......................................................................................................................... 39 七、致谢 ............................................................................................................................... 40 参考文献 ............................................................................................................................... 40

IV