1

I am an advanced developer of PHP. I want to make a custom speech recognition app in PHP but not in English, I want to make it in Punjabi. Can you tell me where can I start? What approach would you follow? There are many English speech to text apps but I want to make one of Punjabi. This is my dream project for my native language.

Francisco Presencia
  • 8,732
  • 6
  • 46
  • 90
Shahbaz Singh
  • 191
  • 1
  • 9
  • 2
    Find an open source English project, see how that's made, and start implementing it for your own language. Do know, that's just about the deepest end of the pool right there. – Madara's Ghost Sep 24 '12 at 13:22
  • As PHP is a server side language, I'm not sure this is all you will need ... You're probably going to need languages like Java etc – David Sep 24 '12 at 13:22
  • 3
    This is a huge task/project that has been under constant research, implementation and improvement for the past couple of decades in English, it is no easy feat and PHP would not be the answer either. – Zeritor Sep 24 '12 at 13:23
  • It seems to me that the problem of speech-to-text is pretty much the same, independant of language. So look at how it's already been done before re-inventing the wheel. – dnagirl Sep 24 '12 at 13:25
  • hmmmmm......i think it's really a difficult task..... – Shahbaz Singh Sep 24 '12 at 13:28

1 Answers1

1

Normally for PHP I think of web applications. The challenge with speech recognition is how do you capture speech on the web. There are some mechanisms to do this. 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. For some more info, see Speech to text conversion php,javascript or flash online. For other browsers, people have used Flash or Java in the web page to capture speech and send it to a speech engine for processing.

To support a specific language like Punjabi you'll have to research the various speech engines that are available. I don't know of any that currently support Punjabi, but for a good overview of different speech technologies Text-to-speech (voice generation) and speech-to-text (voice recognition) APIs? might be a good place to start.

Community
  • 1
  • 1
Michael Levy
  • 13,097
  • 15
  • 66
  • 100