本文介绍了有关语音转文字的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
最近,我使用Microsoft Speech SDK版本5.1创建了一个语音转文本的小程序, (objRecoContext = new SpeechLib.SpSharedRecoContext();) 但是,我无法关闭语音识别,
Recently I creat a small program of speech to text with Microsoft Speech SDK Version 5.1, (objRecoContext = new SpeechLib.SpSharedRecoContext();) however,I can not close the speech recognition,
if(obj is SpeechLib.SpSharedRecoContext) { SpeechLib.SpSharedRecoContext s = (SpeechLib.SpSharedRecoContext)obj; s = null; }推荐答案
检查是否有.Close方法.
更多推荐
有关语音转文字的问题
发布评论