使用sapi进行语音到文本的转换 [英] Voice to text conversion using sapi
本文介绍了使用sapi进行语音到文本的转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在我自己的应用程序中使用SAPI?我可以将其与我的应用程序集成吗?还是我应该单独使用?
how to use SAPI in my own application? can i integrate it with my application? Or should i use separately?
推荐答案
您不必直接在非托管级别处理SAPI.使用.NET时,可以使用其随附的程序集System.Speech
.添加对此程序集的引用(它在CAG中),并使用名称空间System.Speech.Recognition
参见 ^ ].
但是,在ASP.NET中使用语音识别是一个非常特殊的问题.请参阅以下讨论: http://forums.asp.net/t/1515996.aspx/1 [ ^ ].
—SA
You don''t to have to deal with SAPI directly at unmanaged level. As you use .NET, you can use the assemblySystem.Speech
it comes with. Add the reference to this assembly (it''s in the CAG) and use the name spaceSystem.Speech.Recognition
see http://msdn.microsoft.com/en-us/library/system.speech.recognition.aspx[^].
Using speech recognition in ASP.NET is a very special problem though. Please see this discussion: http://forums.asp.net/t/1515996.aspx/1[^].
—SA
这篇关于使用sapi进行语音到文本的转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文