Speech to text conversion php,javascript or flash online

橙三吉。 提交于 2019-12-02 19:03:27

问题


I know php well and I use javascript and jquery but I don't seem to know how to make a speech to text conversion with them though, but i do know that there are many flash speech recognition api's around but I would like a faster, I would like a script for this that can accurately use your voice and convert it into text. Thank you very Much, Anonymous.


回答1:


If your goal is to do speech recognition from an html page, you might want to look at some other alternatives. Chrome supports speech recognition for text input. See http://slides.html5rocks.com/#speech-input and http://www.filosophy.org/2011/03/talking-to-the-web-the-basics-of-html5-speech-input/.

These use the following tag for speech recognition:

<input type=”text” speech x-webkit-speech />

I believe Chrome is the only browser that currently supports this. http://tomlerendu.com/tutorial/how-to-use-html-5-speech-input/ has a good example and shows

if( document.createElement('input').webkitSpeech==undefined )
{
  //no speech support
}

as a means to test if speech recognition is supported.

Historically, there have been other approaches. Opera implemented a different solution, but it appears they are no longer supporting it - http://dev.opera.com/articles/view/getting-to-know-voice/.

Another approach that has been used is to use a java applet or flash app that communicates with a speech recognition back end. WAMI is a good example of this - http://wami.csail.mit.edu/. These approaches use a rich client (Java or Flash or other plug in) to capture speech and send it to a server or some local speech engine for processing.




回答2:


In html 5 trere is a tag you can do it with that..

Read: link1 link2




回答3:


You could have a look at speechapi.com and build yourself what you need but if its the other way around;text to speech,speak.js will do.

Hope that helps.



来源:https://stackoverflow.com/questions/8693641/speech-to-text-conversion-php-javascript-or-flash-online

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!