有关语音转文字的问题 [英] A question about Speech to text

查看:146
本文介绍了有关语音转文字的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我使用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方法.


这篇关于有关语音转文字的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆