• Post Reply Bookmark Topic Watch Topic
  • New Topic

java speech recognition help

 
krish arya
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends

I got stuck while i began to write a speechh recognizer using java

When i try the following simple program to test if any recognizers are present or not then the output comes out to be null.




import javax.speech.recognition.*;
import javax.speech.*;
import javax.speech.synthesis.*;

class recogdemo
{
public static void main (String args[]) throws Exception
{
EngineModeDesc desc=new EngineModeDesc(null);
Recognizer recog=null;

recog=Central.createRecognizer(desc);

System.out.println(recog);

}
}




I dont the what is the problem .........
Somebody please help me its urgent........
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would guess that means that no recognizers are installed. Did you install any? I fairly certain that JavaSpeech does not come with any recognizers - it's just an API, but with no implementation.

Last time I looked (which was a while ago, and I didn't look very hard) I didn't notice any freely available speech recognition engines for JavaSpeech. (There's a free synthesis engine called FreeTTS on SourceForge, though.)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!