Android上的小尺寸的语音识别寻找关键字 [英] Small-size speech recognition on Android to look for keywords

查看:305
本文介绍了Android上的小尺寸的语音识别寻找关键字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个语音命令的应用程序,需要使用语音在Android中的文本。
我想我的应用程序脱机工作。其还可能仅在软糖版本,它需要巨大尺寸的数据库下载并保持在设备中。但我并不需要整个数据库,我只是想为转换的几个关键字。

I'm developing a voice command app and need to use speech to text in Android. I want my app to work offline. Its yet possible only in jellybean version and it requires huge sized database to download and keep in the device. But i don't require whole database, i just want few keywords for the conversions.

是否有可能记录在我们自己的一个.wav文件及其参考设置为一个特定的词,并且当给定的声音输入,我们可以匹配两个语音轨道和相应地识别相应的单词。所以基本上我想我自己的语音到文本词典数据库?如果是的话那我该怎么实现呢?

Is it possible to record a .wav files on our own and set its reference to a particular word and when a voice input is given we could match the two voice tracks and recognize the corresponding word accordingly. So basically i want to make my own speech to text dictionary database? If yes then how can i achieve it?

推荐答案

您可以尝试在Android Pocketsphinx:

You can try Pocketsphinx on Android:

http://cmusphinx.sourceforge.net/wiki/tutorialandroid

它可以让你寻找关键字。数据库大小约为5MB的了,但如果限制关键字它可以降低到大约500KB。您可以了解更多关于CMUSphinx从网站

It allows you to look for keywords. Database size is about 5mb now, but if you limit keywords it can be reduced to about 500kb. You can learn more about CMUSphinx from website

http://cmusphinx.sourceforge.net/wiki/tutorial

这篇关于Android上的小尺寸的语音识别寻找关键字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆