基于Windows的离线关键词语音识别系统设计与实现

2019-10-18 02:57:59孙林超秦会斌崔佳冬
软件导刊 2019年9期

孙林超 秦会斌 崔佳冬

摘 要:由于传统人机交互大多使用键盘、鼠标等交互方式,速度较慢,因此语音识别开始受到越来越多人的青睐。但语音识别也存在如扩展性太差、可复制性不好造成单个产品价格过高、过于依赖外部条件导致对自身使用有所限制等问题。设计并实现一种基于本地的语音识别系统,通过构建抽象语法树,实现语音控制操作。实验结果表明,该系统的离线识别准确率可达70%以上,可以在局域网内实现语音操作。

关键词:语音识别;离线识别;XML文件;语法树

DOI:10. 11907/rjdk. 192017 开放科学(资源服务)标识码(OSID):

中图分类号:TP319文献标识码:A 文章编号:1672-7800(2019)009-0116-05

Design and Implementation of Offline Keyword Recognition Based on Windows

SUN Lin-chao,QIN Hui-bin,CUI Jia-dong

(Institute of Electron Devices & Application, Hangzhou Dianzi University,Hangzhou 310018, China)

Abstract:In view of the shortcomings of the keyboard and mouse interaction methods used in the traditional human-computer interaction mode, such as slow speed and easy travel, voice recognition is increasingly favored by everyone. Nowadays, there are different problems in the speech recognition, such as extremely poor expansion, poor reproducibility of individual products, and relatively limited dependence on external conditions. We have designed and implemented a local speech recognition system in which an abstract grammar tree is constructed to realize operation controlled by speech. The experimental results show that the accuracy of the design is over 70%, and the effective speech recognition is realized. By setting off-line keywords with good extensibility and reproducibility, we can achieve the independence of speech recognition and the desired voice operation in the LAN.

Key Words:speech recognition;offline recognition;XML file;grammar tree

0 引言

語言是人们最常使用的交流方式之一,因此语音识别技术也成为人们关注的焦点。语音识别是将语音信号转化为机器可理解信号的技术[1],涉及概率论、人工智能、信号论等多学科知识。语音识别始于上世纪50年代,当时主要实现了针对特定说话人的数字识别[2]以及对10个单音节词的识别[3]。之后苏联学者Vintsyuk[4]以及日本的Itakura[5]、Sakoe[6]提出动态时间规划与线性预测编码技术,对于特定人与特定词的语音识别取得了较好效果;1973年,美国的卡耐基梅隆大学和贝尔实验室等研究单位构造了Harpy[7]等系统,为之后语音识别技术的快速发展奠定了基础;进入80年代后,语音识别技术进入高速发展期,工具包HTK(Hidden Markov Toolkit)[8]等开源开发包与卡耐基梅隆大学搭建的SPHINX[9]的出现极大降低了语音识别技术的研究门槛,引发了语音识别技术新的研究……

登录APP查看全文