• 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:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
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.)
 
Watchya got in that poodle gun? Anything for me? Or this tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic