php PHP中的语音识别?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10269499/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Voice Recognition in PHP?
提问by I'll-Be-Back
I am looking for Voice Recognition in PHP.
我正在寻找 PHP 中的语音识别。
I have a lot of wav files (10-15 seconds) and I would like Voice Recognition to recognise 1 or 2 words from each wav file and then flag it to database or csv.
我有很多 wav 文件(10-15 秒),我希望 Voice Recognition 从每个 wav 文件中识别 1 或 2 个单词,然后将其标记到数据库或 csv。
All the files have the same voice and accent (same person lol)
所有文件都有相同的声音和口音(同一个人哈哈)
Example pseudocode:
示例伪代码:
$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";
}
Which PHP Voice Recognition library can do this?
哪个 PHP 语音识别库可以做到这一点?
采纳答案by John Conde
回答by Michael Levy
Similar questions have been asked before. You might want to see https://stackoverflow.com/a/6351055/90236to start your search for a speech engine.
以前也有人问过类似的问题。您可能希望查看https://stackoverflow.com/a/6351055/90236以开始搜索语音引擎。
There have also been a few questions regarding uses Php for speech recognition in web pages. Doesn't seem like your doing that, but it is Php - https://stackoverflow.com/a/8717077/90236
还有一些关于在网页中使用 Php 进行语音识别的问题。看起来不像你这样做,但它是 PHP - https://stackoverflow.com/a/8717077/90236

