我可以在 Android 上获得英语以外语言的语音识别吗?
我正在尝试构建一个应用程序(将使用印地语和其他区域语言)来获取语音命令。
我的应用程序中还需要文本转语音功能。
我想知道是否有什么方法可以在 Android 上获得语音识别库?我在 Google 上进行了快速搜索,并在互联网上找到了几个印地语库,但我不确定是否可以将它们包含在我的 Android 项目中。我可以吗?
I am trying to build an application (which would use the Hindi language and other regional languages) to get speech voice commands.
I also need text to speech functionality in my application.
I was wondering if there was any way I could get a speech recognition library on Android? I did a quick Google search and found a couple of libraries for Hindi on the Internet but I am not sure if I can include them in my Android project. Can I?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在您的应用程序中使用 pocketsphinx。它具有用于捕获和识别语音的 JAVA 和 Python API。默认情况下它只识别英语。但是如果您提供自己的语言模型(LM)和字典文件(.DIC),您应该能够让它工作。
不像使用 API 那样直接简单,但肯定是可行的
http://cmusphinx.sourceforge.net/wiki/教程android
You can use pocketsphinx for your app.It has JAVA and Python API's for capturing and recognizing speech. By default it recognizes only English. But if you provide your own Language Model (LM) and Dictionary File(.DIC), you should be able to get it working.
Not directly straightforward as using an API, but can be certainly doable
http://cmusphinx.sourceforge.net/wiki/tutorialandroid
Android确实支持一些语言,但不是很多,我认为目前的列表是美国、日本和中国。还不是印地语,不过我认为他们正在努力尽快添加新的语言支持。
在 Android 开发者页面上,他们有一个很好的示例。
Android does support a few languages but not very many, I think the list currently is US, Japanese and Chinese. Not Hindi yet though I would think they are working to add new language support soon.
Over on the Android Developers page they have a good example.