Closed jaag12 closed 5 years ago
No, you need to use Google Cloud Speech
Yes, continuous recognition possible.
you can add this in onSpeechResult method after setting text,
Speech.getInstance().stopTextToSpeech();
Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
try {
Speech.getInstance().startListening(progress, MainActivity.this);
} catch (SpeechRecognitionNotAvailable speechRecognitionNotAvailable) {
speechRecognitionNotAvailable.printStackTrace();
} catch (GoogleVoiceTypingDisabledException e) {
e.printStackTrace();
}
}
}, 100);
Is a continuous recognition possible with this library?