The J.A.R.V.I.S. Speech API is designed to be simple and efficient, using the speech engines created by Google to provide functionality for parts of the API. Essentially, it is an API written in Java, including a recognizer, synthesizer, and a microphone capture utility. The project uses Google services for the synthesizer and recognizer. While this requires an Internet connection, it provides a complete, modern, and fully functional speech API in Java.
I would like to use the Speech API for a home system. That's why the connection needs to be alive for a long time. Unfortunately, at the moment the connection aborts after a short time. The output of inStream.toString() (--> Scanner) contains: "[source closed=true]". Furthermore the message "Finished write on down stream..." appears.
What could be the reason for this error? Doesn't Google allow a permanent connection or is it the fault of the HttpsURLConnection created by Java?
Hello,
I would like to use the Speech API for a home system. That's why the connection needs to be alive for a long time. Unfortunately, at the moment the connection aborts after a short time. The output of inStream.toString() (--> Scanner) contains: "[source closed=true]". Furthermore the message "Finished write on down stream..." appears.
What could be the reason for this error? Doesn't Google allow a permanent connection or is it the fault of the HttpsURLConnection created by Java?