简体   繁体   中英

Android App- speech to text in Indian English

I am developing an Android App that uses speech to text recognition.I have used RecognizerIntent and i know about the link http://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_LANGUAGE But this allows US-english. I want the speech recognizer to recognize Indian Englishas i need the App to recognize Indian names. Is it possible?

As the linked document says, the value is a "IETF language tag (as defined by BCP 47)". Which values are actually supported depends on the speech recognizer that you are using. Eg Google's recognizer supports en-IN , so if you are using Google's recognizer then you could try to set the value of EXTRA_LANGUAGE to en-IN and test if Indian names will be recognized.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM