语音识别减少可能的搜索结果 [英] speech recognition reduce possible search results

查看:130
本文介绍了语音识别减少可能的搜索结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开始用语音识别采用了android,SL4A和python,到目前为止,它工作正常。 我的用户只是假定输入数字0到9之间与他的声音。有没有办法告诉机器人在这些数字只搜索,从而减少识别的时间(也可能是错误的)?

I have started with Speech recognition using android, sl4a and python and so far, it works fine. My user is just supposed to input numbers between 0 and 9 with his voice. Is there a way to tell android to only search in those number and therefore reduce the time of recognition (and probably errors) ?

推荐答案

没有。你不能改变什么谷歌返回。您只能处理结果。

No. You cannot change what google returns. You can only process the results.

幸运的是,可以处理结果,以增加的匹配的机会。

Fortunately, you can process the results to increase the chance of a match.

例如,您可以使用语音匹配算法像 探测法

For example, you could use a phonetic matching algorithm like Soundex

使用探测法或类似的东西,如果识别器听到类似真正的你的code仍可将其识别为2号。

Using Soundex or something similar, if the recognizer hears something like "true" your code could still recognize it as the number 2.

这篇关于语音识别减少可能的搜索结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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