Speech recognition in PHP?

I am looking for voice recognition in PHP.

I have a lot of wav files (10-15 seconds), and I would like Voice Recognition to recognize 1 or 2 words from each wav file, and then mark it in a database or csv.

All files have the same voice and accent (same person)

Pseudo-code example:

$voice = new play('file.wav'); $result = $voice->recognise("Good Morning"); if ($result) { echo "Matched Good Morning"; //flag to database or csv } else { echo "No match found"; } 

What PHP voice recognition library can do this?

+8
php speech-recognition voice-recognition audio
source share
2 answers

PHP does not have built-in functionality, but APIs are available for this. SpeechAPI is one of them. Sphinx is different.

+6
source share

Similar questions were asked before. You might want to see https://stackoverflow.com/a/168268/11832 to start a search for the speech engine.

There were also several questions regarding the use of Php for speech recognition on web pages. It doesn't seem like you are doing this, but this is Php - stack overflow.site/questions/670484 / ...

0
source share

All Articles