问题
Can we add custom language for RecognizerIntent?
I have search many SO Question like https://stackoverflow.com/questions/2080401/is-there-a-speech-to-text-api-by-google
That solve my problem of using limited number of language during Speech to Text conversion.
My problem is that, I need to used Burmese(Local Language of Burma) Speech and convert it to text. any other help can be appreciated.
UPDATE :
Google's servers currently support English, Mandarin Chinese, and Japanese. Speech Input API for android
回答1:
Google will unlikely support small languages any time soon. The only way to custom language is to train CMUSphinx model and use it with Pocketsphinx:
http://cmusphinx.sourceforge.net/wiki/tutorialam
http://cmusphinx.sourceforge.net/2011/05/building-pocketsphinx-on-android/
回答2:
I don't know for sure but have you tried using RecognizerIntent?
See reference, there is a section to specify the IETF language see this section.
There is also this api demo code which you could try: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.html
I really don't know if Burmese is supported as it certainly is not listed as one of the default locales but speech recognition is different.
Have just found this project: http://code.google.com/p/recognizer-intent/ it is probably highly unlikely that Burmese will be supported out of the box but I think it is worth trying the api demo code and seeing what it says in the drop down box, good luck.
来源:https://stackoverflow.com/questions/10051820/burmese-speech-to-text-conversion-in-android