C++语音识别API
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/16264606/
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
C++ Speech recognition API
提问by Lemon Juice
I am seeking for a C++ speech recognition/voice recognition API. I have gone through few, including VOCE and pocketphenix. However this is my requirement
我正在寻找 C++ 语音识别/语音识别 API。我经历了一些,包括VOCE和pocketphenix。然而这是我的要求
- Text to speech
- Speech to text (voice commands - I am planning to convert voice into string and check whether it is a command)
- Identify my voice (not mandatory)
- 文字转语音
- 语音到文本(语音命令 - 我打算将语音转换为字符串并检查它是否是命令)
- 识别我的声音(非强制性)
VOCE api seems not to provide what I am asking for, and pocketphenix seems extremely complex. The API will be used with QT - latest version which works with Visual Studio 2010 compiler.
VOCE api 似乎没有提供我所要求的,而pocketphenix 似乎非常复杂。该 API 将与 QT 一起使用 - 与 Visual Studio 2010 编译器一起使用的最新版本。
I have heard there is a API provided by Microsoft, but I am willing to stay away from Microsoft APIs as much as possible.
听说有微软提供的API,但我愿意尽量远离微软的API。
I am using MS Windows 7 ultimate, so the it is enough if the API works with windows.
我使用的是 MS Windows 7 Ultimate,所以如果 API 与 Windows 一起工作就足够了。
The API should be free and better if opensource because I will be using this in my Final Year project at university.
如果开源,API 应该是免费的并且更好,因为我将在大学的最后一年项目中使用它。
采纳答案by JBentley
According to the Voce home page, it does text to voice and voice to text. As for using it with C++, when I look at the source code, I can see a C++ header here, and there are some instructions here. I can't advise you specifically on JNI as I have no experience with it.
根据Voce 主页,它可以进行文本到语音和语音到文本的转换。至于使用它与C ++,当我在看源代码,我可以看到一个C ++头在这里,有一些指令在这里。由于我没有这方面的经验,因此我无法就 JNI 专门为您提供建议。