Mike6679
Mike6679

Reputation: 6117

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'

Upvotes: 7

Views: 10001

Answers (2)

gregm
gregm

Reputation: 12159

Michael is correct, you cannot change the Language Model.

However, you can use "sounds like" algorithms to process the results from Android and match words it doesn't know.

See my answer here:

speech recognition reduce possible search results

Upvotes: 4

Michael Levy
Michael Levy

Reputation: 13297

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

Upvotes: 8

Related Questions