Speech to text conversion php,javascript or flash

2019-03-06 04:37发布

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.

3条回答
不美不萌又怎样
2楼-- · 2019-03-06 04:49

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.

查看更多
贼婆χ
3楼-- · 2019-03-06 04:51

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

Read: link1 link2

查看更多
欢心
4楼-- · 2019-03-06 04:52

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.

查看更多
登录 后发表回答