Android:语音识别附加字典? [英] Android: Speech Recognition Append Dictionary?

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

问题描述

我在Android中使用语音识别器意图。有没有办法将自己的自定义单词或短语添加到Android的语音识别字典中。

解决方案

否。您只能使用支持的两种语言模型。
Google提供的内置语音识别功能仅支持听写和搜索语言模型。请参阅 http://developer.android.com/reference/android/speech/RecognizerIntent.html 和LANGUAGE_MODEL_FREE_FORM或LANGUAGE_MODEL_WEB_SEARCH。



http:// developer.android.com/resources/articles/speech-input.html 说:


您可以确保您的用户有
最好的经验可能通过请求
适当的语言模型:
free_form for dictation,或web_search
用于较短的,类似搜索的短语。我们

开发了自由形式模型,以提高
语音键盘的听写准确性,而当用户想要
时使用web search
模型通过语音搜索



I'm using the Speech Recognizer Intent in Android. Is there a way to add your own customized words or phrases to Android's Speech recognition 'dictionary'

解决方案

No. You can only use the two language models supported. The built in speech recognition provided by google only supports the dictation and search language models. See http://developer.android.com/reference/android/speech/RecognizerIntent.html and LANGUAGE_MODEL_FREE_FORM or LANGUAGE_MODEL_WEB_SEARCH.

http://developer.android.com/resources/articles/speech-input.html says:

You can make sure your users have the best experience possible by requesting the appropriate language model: free_form for dictation, or web_search for shorter, search-like phrases. We developed the "free form" model to improve dictation accuracy for the voice keyboard, while the "web search" model is used when users want to search by voice

这篇关于Android:语音识别附加字典?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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