I want to build a speech recognizer to android for a native language (Non-English language, Mongolian). Is there any tool I can use to achieve that?
Asked
Active
Viewed 1,034 times
2 Answers
2
You can use Android Speech recognition Api for this purpose and it's quite easy to use. You can pass language code in the intent like this :
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en-US");
and Here you go! Here is the list of language codes. And this is the way how you do it. If you want a complete tutorial then follow this or this detailed tutorial. Cheers!!

Community
- 1
- 1

Fahid Nadeem
- 412
- 2
- 7
- 19
-
Is there any way to do this for non-supported languages like Mongolian? – Suragch Apr 06 '15 at 11:52
-
@Suragch you can check if Mongolian is supported or not though this method http://stackoverflow.com/a/7893333/3651574 – Fahid Nadeem Apr 06 '15 at 12:08
-
Yup, Thanx it is certainly the answer for languages which support this method. Well I want to identify names too. Lets say a name of a town or a person Which obviously not in the vocabulary of the recognizer. So is there a way to achieve that? And if the native language is not supported for this method. In this case what methods can I use to achieve a recognizer? – MarterJay Apr 06 '15 at 13:38
-
@Fahid Nadeem, I'm pretty sure Mongolian is not supported. But even if it is, how do you get speech recognition for an unsupported language? – Suragch Apr 06 '15 at 13:58
2
Android STT has no tools to add a new languages, other external libraries have them. For example, you can add Mongolian language to Pocketsphinx
The tutorial for adding a new language is provided here.

Nikolay Shmyrev
- 24,897
- 5
- 43
- 87