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.
GNU General Public License v3.0
535
stars
301
forks
source link
YOU NEED ORG.JSON API //Error while using API #112
When I want to recognize something i get an error.
Exception in thread "main" java.lang.NoClassDefFoundError: org/json/JSONObject
at com.darkprograms.speech.recognizer.Recognizer.parseResponse(Recognizer.java:368)
at com.darkprograms.speech.recognizer.Recognizer.getRecognizedDataForFlac(Recognizer.java:282)
at de.Robin.assistent.SpeechToText.main(SpeechToText.java:45)
Caused by: java.lang.ClassNotFoundException: org.json.JSONObject
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 3 more
When I want to recognize something i get an error.
Exception in thread "main" java.lang.NoClassDefFoundError: org/json/JSONObject at com.darkprograms.speech.recognizer.Recognizer.parseResponse(Recognizer.java:368) at com.darkprograms.speech.recognizer.Recognizer.getRecognizedDataForFlac(Recognizer.java:282) at de.Robin.assistent.SpeechToText.main(SpeechToText.java:45) Caused by: java.lang.ClassNotFoundException: org.json.JSONObject at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 3 more
Can anyone help me?