语音识别API适用于所有浏览器 [英] Speech recognition API for all browsers

查看:379
本文介绍了语音识别API适用于所有浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我见过Google Speech API,它仅适用于chrome 25+版本和HTML5 Speech API
也仅适用于chrome。我想知道是否有任何好的Javascript / Jquery API,以便我可以用它来处理我的项目。如果有人能帮助我,那将是伟大的。我正在搜索很多,但所有的例子都使用谷歌语音API。我更喜欢Javascript API,但如果我甚至可以获得C#或PHP API并在所有浏览器上工作,那也应该很好。

预先感谢

解决方案

Speech API目前仅适用于Chrome和Opera( caniuse.com )。您不能在浏览器中使用C#或PHP API,因为这些是服务器端技术。您可以做的是在客户端录制音频,将其发布到服务器,并让服务器识别它;我相信C#可以使用 System.Speech.Recognition.SpeechRecognizer ,并且您可以使用PHP提供的几种解决方案。


I have seen Google Speech API which is only working on chrome 25+ versions and HTML5 Speech API is also working on chrome only. I am wondering is there any good Javascript/ Jquery API so that i can used it to work on my project. Please if anyone can help me out that would be great. I am searching alot but all the examples are using google speech API. i would prefer Javascript API but if i can even get C# or PHP API and worked on all browsers that should be fine as well.

Thanks in advance

解决方案

Speech API only currently works on Chrome and Opera (caniuse.com). You cannot use C# or PHP API in a browser, since those are serverside technologies. What you could do is record audio on clientside, post it to the server, and have the server recognise it; I believe C# can use System.Speech.Recognition.SpeechRecognizer, and there are several solutions you can use from PHP.

这篇关于语音识别API适用于所有浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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