i installed JSPAI and CloudGarden TalkingJava SDK
and i included the jar file in classpath
i downloaded the sample code
when i was trying to run it shows the NullPointerException here my output screen
CloudGarden's JSAPI1.0 implementation
Version 1.7.0
Implementation contained in files cgjsapi.jar and cgjsapi170.dll
>> Initializing Cloudgarden's JSAPI 1.0, version 1.7.0
>> Free for personal use only.
>> Any form of commercial, corporate or institutional use requires purchase of a
license.
>> Please visit http://www.cloudgarden.com for details.
java.lang.NullPointerException at SpeechToTextConverter.main(SpeechToTextConverter.java:33)
>> Shutting down Cloudgarden's JSAPI 1.0 version 1.7.0
please help me to solve the problem i am new to the speech api
-Đinê$h
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35236
7
posted
0
So which object is null - my guess would be "recognizer". If so, check the javadocs to see under which circumstances "Central.createRecognizer(desc)" can return null.
Ulf Dittmer wrote:So which object is null - my guess would be "recognizer". If so, check the javadocs to see under which circumstances "Central.createRecognizer(desc)" can return null.
thanks for your reply
Correct Central.createRecognizer method only returns null ...
i tried with Java doc examples to load recognizer but it always return null
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35236
7
posted
0
The javadocs state:
a recognizer matching the required properties or null if none is available
So it would seem that no speech recognizer is available. Does the recognizer you're trying to use come with examples or instructions of how to run it? That's where I would start.