自定义语法为Android语音识别 [英] Custom grammar for Android speech recognition

查看:124
本文介绍了自定义语法为Android语音识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想申请自定义语法语音识别。我发现了很多关于android.speech.recognition包文件,其接缝作为良好的开端,但它接缝,它并没有在Android SDK中存在。

I am trying to apply the custom grammar for speech recognition. I have found a lot of documentation about android.speech.recognition package, it seams as the good place to start, but it seams that it doesn't exist in the Android SDK..

有没有办法将自定义的语法规则到Android语音识别所有..?

Is there a way to apply a custom grammar rules to the android speech recognition at all..?

推荐答案

没有,Android的识别目的只支持两种语言模型。这些都是自由形式模式和网页搜索的模式。它不支持自定义的语法。

No, Android's recognizer intent only supports two language models. These are the "Free Form" model and the "web search" model. It does not support custom grammars.

请参阅 <一href="http://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_LANGUAGE_MODEL" rel="nofollow">http://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_LANGUAGE_MODEL

这篇关于自定义语法为Android语音识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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