Reputation: 75
like what the title states, is it possible for SpeechRecognizer to recognize other languages? If i want it to recognize mandarin instead of english, how would i set that up? Thanks.
Upvotes: 0
Views: 786
Reputation: 18151
I do not know if the Google speech recognizer engine support Mandarin, but if it is then you can get it to recognize Mandarin by using the EXTRA_LANGUAGE
Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "zh-cmn");
Document link http://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_LANGUAGE
Upvotes: 2