Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Speech Recognition Append Dictionary?

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'

like image 608
Mike6679 Avatar asked May 23 '11 21:05

Mike6679


People also ask

What is speech recognizer in android?

android.speech.SpeechRecognizer. This class provides access to the speech recognition service. This service allows access to the speech recognizer. Do not instantiate this class directly, instead, call SpeechRecognizer#createSpeechRecognizer(Context) , or SpeechRecognizer#createOnDeviceSpeechRecognizer(Context) .


1 Answers

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

like image 158
Michael Levy Avatar answered Sep 27 '22 20:09

Michael Levy