im using below code for speech to text for raspberry Pi3
Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,
RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en-US");
try {
startActivityForResult(intent, RESULT_SPEECH);
} catch (ActivityNotFoundException a) {
a.printStackTrace();
}
But the code does not work, it gives an exception like
Devicedoes not support speech in the text
Is there a way to support speech in text for Raspberry Pi using Android stuff or any package or apk, you need to install it on Raspberry Pi to support speech to text. Please, help
source
share