• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

java speech recognition help

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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........
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic