Speech to text conversion php,javascript or flash online

后端 未结 3 719
忘了有多久
忘了有多久 2021-01-28 18:13

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 speec

相关标签:
3条回答
  • 2021-01-28 18:39

    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.

    0 讨论(0)
  • 2021-01-28 18:46

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

    Read: link1 link2

    0 讨论(0)
  • 2021-01-28 18:50

    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.

    0 讨论(0)
提交回复
热议问题